pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/synergy



Module Name:    pkgsrc
Committed By:   tnn
Date:           Thu Oct 22 13:47:34 UTC 2020

Modified Files:
        pkgsrc/net/synergy: Makefile distinfo
        pkgsrc/net/synergy/patches: patch-CMakeLists.txt
Added Files:
        pkgsrc/net/synergy/patches: patch-src_lib_server_Config.cpp
Removed Files:
        pkgsrc/net/synergy/patches: patch-src_lib_server_CConfig.cpp
            patch-tools_gmock-1.6.0_configure
            patch-tools_gmock-1.6.0_include_gmock_internal_gmock-port.h
            patch-tools_gtest-1.6.0_configure
            patch-tools_gtest-1.6.0_include_gtest_internal_gtest-port.h

Log Message:
synergy: update to 1.12.0

Bug fixes:
    #6748 Copyright year in about dialog isn't updated
    #6730 Updating synergy looses settings
    #6734 Fixed naming of installers for linux and windows
    #6487 Mouse freezes or key repeats on Linux client
    #6663 Limit GUI log Window to prevent it using up too much RAM over time
    #6587 Auto config setting doesn't do anything
    #6620 Unit tests are no longer built
    #6670 Build computers failing with language file error
    #6661 Removed deprecated namespace in gtest/gmock by updating
    #6601 Update man page with missing crypto option
    #4036 Client cursor constrained to old resolution
    #6716 Denial of Service vulnerability on servers with 4GB of ram or less
Enhancements:
    #6739 Add submodules cloning to cmake
    #6736 Command line option for custom TLS Certificate
    #6666 Add doxygen documentation output from pipelines
    #6715 Updated language file from Crowdin
    #6722 Allow servers to be announced by screen name instead of IP
    #6720 Add macqtdeploy to cmake
    #6725 Disable the building of tests with CMake option
Features:
    #6538 System-wide config for all system users


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 pkgsrc/net/synergy/Makefile
cvs rdiff -u -r1.32 -r1.33 pkgsrc/net/synergy/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/synergy/patches/patch-CMakeLists.txt
cvs rdiff -u -r1.3 -r0 \
    pkgsrc/net/synergy/patches/patch-src_lib_server_CConfig.cpp \
    pkgsrc/net/synergy/patches/patch-tools_gmock-1.6.0_configure \
    pkgsrc/net/synergy/patches/patch-tools_gmock-1.6.0_include_gmock_internal_gmock-port.h \
    pkgsrc/net/synergy/patches/patch-tools_gtest-1.6.0_configure \
    pkgsrc/net/synergy/patches/patch-tools_gtest-1.6.0_include_gtest_internal_gtest-port.h
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/net/synergy/patches/patch-src_lib_server_Config.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/synergy/Makefile
diff -u pkgsrc/net/synergy/Makefile:1.64 pkgsrc/net/synergy/Makefile:1.65
--- pkgsrc/net/synergy/Makefile:1.64    Fri May 22 10:56:31 2020
+++ pkgsrc/net/synergy/Makefile Thu Oct 22 13:47:34 2020
@@ -1,12 +1,14 @@
-# $NetBSD: Makefile,v 1.64 2020/05/22 10:56:31 adam Exp $
+# $NetBSD: Makefile,v 1.65 2020/10/22 13:47:34 tnn Exp $
 
-DISTNAME=              synergy-core-1.11.1
+DISTNAME=              synergy-core-1.12.0
 PKGNAME=               ${DISTNAME:S/-core//}
-PKGREVISION=           2
 CATEGORIES=            net x11
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=symless/}
 GITHUB_PROJECT=                synergy-core
 GITHUB_TAG=            v${PKGVERSION_NOREV}-stable
+DISTFILES=             ${DEFAULT_DISTFILES} googletest-1.10.0.tar.gz
+SITES.googletest-1.10.0.tar.gz=        \
+       -${MASTER_SITE_GITHUB:=google/}googletest/archive/release-1.10.0.tar.gz
 
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=              http://synergy-project.org/
@@ -14,20 +16,10 @@ COMMENT=            Let a user share a mouse and k
 LICENSE=               gnu-gpl-v2
 
 USE_LANGUAGES=         c c++11
-# Main configuration is CMake, but subdirectories are GNU configure.
-# We need to set GNU_CONFIGURE=yes for config.{guess,sub} overrides to kick in.
-# We override the do-configure target to prevent pkgsrc from running both
-# configuration mechanisms.
 USE_CMAKE=             yes
-GNU_CONFIGURE=         yes
 CMAKE_ARGS+=           -DSYNERGY_BUILD_LEGACY_GUI=OFF
 
-CONFIG_SUB_OVERRIDE+=  ext/gmock/build-aux/config.sub
-CONFIG_SUB_OVERRIDE+=  ext/gtest/build-aux/config.sub
-CONFIG_GUESS_OVERRIDE+=        ext/gmock/build-aux/config.guess
-CONFIG_GUESS_OVERRIDE+=        ext/gtest/build-aux/config.guess
-
-CONFIGURE_ENV+=                GIT_COMMIT=1b4c0761
+CONFIGURE_ENV+=                GIT_COMMIT=cb8064e8
 
 EXAMPLES=      MacReadme.txt org.synergy-foss.org.synergyc.plist \
                org.synergy-foss.org.synergys.plist synergy.conf.example \
@@ -40,10 +32,9 @@ SUBST_FILES.fix-paths=               src/lib/arch/uni
 SUBST_FILES.fix-paths+=                src/lib/arch/unix/ArchDaemonUnix.h
 SUBST_SED.fix-paths=           -e 's,"/etc,"${PKG_SYSCONFDIR},g'
 
-BUILDLINK_TRANSFORM+=          rm:-march=native
-
-.PHONY: do-configure
-do-configure: do-configure-cmake
+post-extract:
+       ${RM} -rf ${WRKSRC}/ext/googletest
+       ${LN} -s ${WRKDIR}/googletest-* ${WRKSRC}/ext/googletest
 
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 share/examples/${PKGBASE}
 
@@ -80,6 +71,7 @@ BUILDLINK_TRANSFORM+= rm:-ldl
 
 LDFLAGS.SunOS+=        -lsocket -lnsl
 
+.include "../../net/mDNSResponder/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"
 .include "../../www/curl/buildlink3.mk"
 .if !exists(/System/Library/Frameworks/Carbon.framework)

Index: pkgsrc/net/synergy/distinfo
diff -u pkgsrc/net/synergy/distinfo:1.32 pkgsrc/net/synergy/distinfo:1.33
--- pkgsrc/net/synergy/distinfo:1.32    Sat May  2 11:36:41 2020
+++ pkgsrc/net/synergy/distinfo Thu Oct 22 13:47:34 2020
@@ -1,12 +1,12 @@
-$NetBSD: distinfo,v 1.32 2020/05/02 11:36:41 tnn Exp $
+$NetBSD: distinfo,v 1.33 2020/10/22 13:47:34 tnn Exp $
 
-SHA1 (synergy-core-1.11.1.tar.gz) = 60e39496a706af65056a8d5e0360915641db446c
-RMD160 (synergy-core-1.11.1.tar.gz) = 84f0a1ade8bb9337229295bb9fcf9f3898f73493
-SHA512 (synergy-core-1.11.1.tar.gz) = 54c84596c543eb799ba9244f100d67045b159ec5ef622375fb5b763144b211833999c05f6d5dae42086e28a90b3a87a9d3fc7d7469d4d900f2e4ad9b9a48e0a2
-Size (synergy-core-1.11.1.tar.gz) = 7556850 bytes
-SHA1 (patch-CMakeLists.txt) = caedc76c85272bb9d72c690a136f49a2a1210a00
-SHA1 (patch-src_lib_server_CConfig.cpp) = 94c5e9a57f9880ab8fcb75320bd2dbb306540966
-SHA1 (patch-tools_gmock-1.6.0_configure) = 0a3a23076b15858b79a8b3c2a9144ddaaad7ebe3
-SHA1 (patch-tools_gmock-1.6.0_include_gmock_internal_gmock-port.h) = 70d0f775e952a67b2680c480f757e60eb183e5be
-SHA1 (patch-tools_gtest-1.6.0_configure) = df73a2566790e23501795af54f9c17324e7a6c83
-SHA1 (patch-tools_gtest-1.6.0_include_gtest_internal_gtest-port.h) = ee496a203a5372a06a83a3d73d6d87b1b0c58157
+SHA1 (googletest-1.10.0.tar.gz) = 9c89be7df9c5e8cb0bc20b3c4b39bf7e82686770
+RMD160 (googletest-1.10.0.tar.gz) = f2f7f96adf1ab8aae3f6204fdba3ff150fd4396b
+SHA512 (googletest-1.10.0.tar.gz) = bd52abe938c3722adc2347afad52ea3a17ecc76730d8d16b065e165bc7477d762bce0997a427131866a89f1001e3f3315198204ffa5d643a9355f1f4d0d7b1a9
+Size (googletest-1.10.0.tar.gz) = 904349 bytes
+SHA1 (synergy-core-1.12.0.tar.gz) = 48d70c1d09b4c6c93cf3866ad0da289825bbba36
+RMD160 (synergy-core-1.12.0.tar.gz) = bcef3d62a1c67e97089fbb85f5a1439e0db92f38
+SHA512 (synergy-core-1.12.0.tar.gz) = 234e8eb42624f006aa45dfcf50a80089a82347c7151da040f10066b412f729adf01600bc9ec2274a0941965e91ab7bab74abd398287a20906dd4a70b1948db5a
+Size (synergy-core-1.12.0.tar.gz) = 8237539 bytes
+SHA1 (patch-CMakeLists.txt) = 76fc21ec8ed63b35e71ed3a08012a05b7ef65ddf
+SHA1 (patch-src_lib_server_Config.cpp) = 94c5e9a57f9880ab8fcb75320bd2dbb306540966

Index: pkgsrc/net/synergy/patches/patch-CMakeLists.txt
diff -u pkgsrc/net/synergy/patches/patch-CMakeLists.txt:1.4 pkgsrc/net/synergy/patches/patch-CMakeLists.txt:1.5
--- pkgsrc/net/synergy/patches/patch-CMakeLists.txt:1.4 Sat Mar  7 09:14:17 2020
+++ pkgsrc/net/synergy/patches/patch-CMakeLists.txt     Thu Oct 22 13:47:34 2020
@@ -1,26 +1,13 @@
-$NetBSD: patch-CMakeLists.txt,v 1.4 2020/03/07 09:14:17 tnn Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.5 2020/10/22 13:47:34 tnn Exp $
 
 Don't use hardcoded paths for finding libcrypto and libssl.
 
---- CMakeLists.txt.orig        2019-12-16 10:03:44.000000000 +0000
+--- CMakeLists.txt.orig        2020-08-25 14:19:22.000000000 +0000
 +++ CMakeLists.txt
-@@ -279,31 +279,7 @@ endif()
- #
- # OpenSSL
- #
--if (${CMAKE_SYSTEM_NAME} MATCHES "Windows")
--    set (OPENSSL_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/ext/openssl/windows)
--    if (CMAKE_SIZEOF_VOID_P EQUAL 8)
--        set (OPENSSL_ROOT "${OPENSSL_ROOT}/x64")
--    else()
--        set (OPENSSL_ROOT "${OPENSSL_ROOT}/x86")
--    endif()
--
--    include_directories (BEFORE SYSTEM ${OPENSSL_ROOT}/include)
--    set (OPENSSL_LIBS
--        ${OPENSSL_ROOT}/lib/libssl.lib
--        ${OPENSSL_ROOT}/lib/libcrypto.lib
--    )
+@@ -301,17 +301,8 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Window
+         ${OPENSSL_ROOT}/lib/libssl.lib
+         ${OPENSSL_ROOT}/lib/libcrypto.lib
+     )
 -elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
 -    set (OPENSSL_ROOT /usr/local/opt/openssl)
 -    include_directories (BEFORE SYSTEM ${OPENSSL_ROOT}/include)
@@ -28,12 +15,11 @@ Don't use hardcoded paths for finding li
 -        ${OPENSSL_ROOT}/lib/libssl.a
 -        ${OPENSSL_ROOT}/lib/libcrypto.a
 -    )
--elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+-elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux|.*BSD|DragonFly")
 -    set (OPENSSL_LIBS ssl crypto)
--else()
+ else()
 -    message (FATAL_ERROR "Couldn't find OpenSSL")
--endif()
-+set (OPENSSL_LIBS ssl crypto)
++    set (OPENSSL_LIBS ssl crypto)
+ endif()
  
  #
- # Configure_file... but for directories, recursively.

Added files:

Index: pkgsrc/net/synergy/patches/patch-src_lib_server_Config.cpp
diff -u /dev/null pkgsrc/net/synergy/patches/patch-src_lib_server_Config.cpp:1.1
--- /dev/null   Thu Oct 22 13:47:34 2020
+++ pkgsrc/net/synergy/patches/patch-src_lib_server_Config.cpp  Thu Oct 22 13:47:34 2020
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_lib_server_Config.cpp,v 1.1 2020/10/22 13:47:34 tnn Exp $
+
+Fix for some EOF problem. Not sure it's still required as the
+previous patch has been adapted to upstream changes.
+
+--- src/lib/server/Config.cpp.orig     2014-12-02 15:03:19.000000000 +0000
++++ src/lib/server/Config.cpp
+@@ -1931,7 +1931,7 @@ ConfigReadContext::getLineNumber() const
+ bool
+ ConfigReadContext::operator!() const
+ {
+-      return !m_stream;
++      return m_stream.bad();
+ }
+ 
+ OptionValue



Home | Main Index | Thread Index | Old Index