Re: UPDATE: net/synergy 1.4.17 = 1.5.0

2014-06-02 Thread Brian Callahan


On 05/27/14 22:38, Brian Callahan wrote:

Hi ports --

Here's an update for synergy to 1.5.0. Tested on amd64 and macppc, 
would appreciate tests on other platforms.


I also added in synergyd because we spend the time building it anyway. 
If this isn't desired it's easy enough to remove.


OK?

~Brian



Ping.



UPDATE: net/synergy 1.4.17 = 1.5.0

2014-05-27 Thread Brian Callahan

Hi ports --

Here's an update for synergy to 1.5.0. Tested on amd64 and macppc, would 
appreciate tests on other platforms.


I also added in synergyd because we spend the time building it anyway. 
If this isn't desired it's easy enough to remove.


OK?

~Brian

Index: Makefile
===
RCS file: /cvs/ports/net/synergy/Makefile,v
retrieving revision 1.24
diff -u -p -r1.24 Makefile
--- Makefile	1 May 2014 14:46:53 -	1.24
+++ Makefile	28 May 2014 02:30:04 -
@@ -2,8 +2,8 @@
 
 COMMENT=		mouse and keyboard sharing utility
 
-V=			1.4.17
-DISTNAME=		synergy-${V}-r2055-Source
+V=			1.5.0
+DISTNAME=		synergy-${V}-r2278-Source
 PKGNAME=		synergy-${V}
 CATEGORIES=		net x11
 
@@ -16,7 +16,7 @@ PERMIT_PACKAGE_CDROM=	Yes
 WANTLIB=		ICE SM X11 Xext Xi Xinerama Xrandr Xtst \
 			c cryptopp curl m pthread stdc++
 
-MASTER_SITES=		http://fossfiles.com/synergy/
+MASTER_SITES=		http://synergy-project.org/files/packages/
 
 BUILD_DEPENDS=		archivers/gtar
 
@@ -33,7 +33,7 @@ NO_TEST=		Yes
 WRKDIST=		${WRKDIR}/synergy-${V}-Source
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/synergy[cs] ${PREFIX}/bin/
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/synergy[cds] ${PREFIX}/bin/
 	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/synergy
 	${INSTALL_DATA} ${WRKSRC}/doc/synergy.conf.exampl* \
 		${PREFIX}/share/examples/synergy/
Index: distinfo
===
RCS file: /cvs/ports/net/synergy/distinfo,v
retrieving revision 1.9
diff -u -p -r1.9 distinfo
--- distinfo	1 May 2014 14:46:53 -	1.9
+++ distinfo	28 May 2014 02:30:04 -
@@ -1,2 +1,2 @@
-SHA256 (synergy-1.4.17-r2055-Source.tar.gz) = lcfkDQuiSfkYZtQz8/JAd3HD2fcuJXxbBlXvhPdVitc=
-SIZE (synergy-1.4.17-r2055-Source.tar.gz) = 4320555
+SHA256 (synergy-1.5.0-r2278-Source.tar.gz) = Zr9gFqLnGysrJvxEXSgyTR0oa2/KeuPp0Z/TAHaa8CQ=
+SIZE (synergy-1.5.0-r2278-Source.tar.gz) = 4350894
Index: patches/patch-CMakeLists_txt
===
RCS file: /cvs/ports/net/synergy/patches/patch-CMakeLists_txt,v
retrieving revision 1.5
diff -u -p -r1.5 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt	1 May 2014 14:46:53 -	1.5
+++ patches/patch-CMakeLists_txt	28 May 2014 02:30:04 -
@@ -1,7 +1,7 @@
 $OpenBSD: patch-CMakeLists_txt,v 1.5 2014/05/01 14:46:53 bcallah Exp $
 CMakeLists.txt.orig	Fri Mar 14 16:34:19 2014
-+++ CMakeLists.txt	Tue Apr 15 22:35:21 2014
-@@ -77,7 +77,7 @@ if (UNIX)
+--- CMakeLists.txt.orig	Fri May 23 11:43:58 2014
 CMakeLists.txt	Fri May 23 14:42:41 2014
+@@ -76,7 +76,7 @@ if (UNIX)
  
  	# warnings as errors:
  	# we have a problem with people checking in code with warnings.
@@ -10,7 +10,7 @@ $OpenBSD: patch-CMakeLists_txt,v 1.5 201
  
  	# For config.h, detect the libraries, functions, etc.
  	include(CheckIncludeFiles)
-@@ -99,7 +99,7 @@ if (UNIX)
+@@ -98,7 +98,7 @@ if (UNIX)
  	check_include_files(strings.h HAVE_STRINGS_H)
  	check_include_files(string.h HAVE_STRING_H)
  	check_include_files(sys/select.h HAVE_SYS_SELECT_H)
@@ -19,7 +19,7 @@ $OpenBSD: patch-CMakeLists_txt,v 1.5 201
  	check_include_files(sys/stat.h HAVE_SYS_STAT_H)
  	check_include_files(sys/time.h HAVE_SYS_TIME_H)
  	check_include_files(sys/utsname.h HAVE_SYS_UTSNAME_H)
-@@ -110,7 +110,6 @@ if (UNIX)
+@@ -109,7 +109,6 @@ if (UNIX)
  	check_function_exists(gmtime_r HAVE_GMTIME_R)
  	check_function_exists(nanosleep HAVE_NANOSLEEP)
  	check_function_exists(poll HAVE_POLL)
@@ -27,7 +27,7 @@ $OpenBSD: patch-CMakeLists_txt,v 1.5 201
  	check_function_exists(strftime HAVE_STRFTIME)
  	check_function_exists(vsnprintf HAVE_VSNPRINTF)
  	check_function_exists(inet_aton HAVE_INET_ATON)
-@@ -153,6 +152,8 @@ if (UNIX)
+@@ -152,6 +151,8 @@ if (UNIX)
  		message(FATAL_ERROR Missing library: pthread)
  	endif()
  
@@ -36,7 +36,7 @@ $OpenBSD: patch-CMakeLists_txt,v 1.5 201
  	# curl is used on both Linux and Mac
  	find_package(CURL)
  	if (CURL_FOUND)
-@@ -194,78 +195,60 @@ if (UNIX)
+@@ -193,78 +194,60 @@ if (UNIX)
  
  	else() # not-apple
  
@@ -151,7 +151,7 @@ $OpenBSD: patch-CMakeLists_txt,v 1.5 201
  
  	endif()
  
-@@ -317,7 +300,6 @@ else() # not-unix
+@@ -316,7 +299,6 @@ else() # not-unix
  endif()
  
  add_subdirectory(src)
Index: pkg/PLIST
===
RCS file: /cvs/ports/net/synergy/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -r1.4 PLIST
--- pkg/PLIST	18 Apr 2011 18:37:48 -	1.4
+++ pkg/PLIST	28 May 2014 02:30:04 -
@@ -1,5 +1,6 @@
 @comment $OpenBSD: PLIST,v 1.4 2011/04/18 18:37:48 jasper Exp $
 @bin bin/synergyc
+@bin bin/synergyd
 @bin bin/synergys
 @man man/man1/synergyc.1
 @man man/man1/synergys.1