Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Apr 2006 11:44:42 +0200 (CEST)
From:      Thomas Spreng <spreng@socket.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/96455: Update sysutils/synergy port to 1.3.1
Message-ID:  <200604280944.k3S9igW7014793@idspreng.unibe.ch>
Resent-Message-ID: <200604280950.k3S9oTFP036650@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         96455
>Category:       ports
>Synopsis:       Update sysutils/synergy port to 1.3.1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 28 09:50:28 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Spreng <spreng@socket.ch>
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD idspreng.unibe.ch 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Thu Apr 6 10:46:37 CEST 2006 toor@idspreng.unibe.ch:/usr/obj/usr/src/sys/IDSPRENG i386


	
>Description:
	Patch to update synergy to the latest version. I also removed the patch 
	which was included in the previous port versions because the port runs fine
	with the original sources and I don't see the necessity for including it 
	in this version as well (the patch basically changed alloca() calls to malloc()).
	
>How-To-Repeat:
	
>Fix:

	

--- synergy.diff begins here ---
diff -ruN synergy.bak/Makefile synergy/Makefile
--- synergy.bak/Makefile	Fri Apr 28 10:37:59 2006
+++ synergy/Makefile	Fri Apr 28 09:30:37 2006
@@ -2,11 +2,11 @@
 # Date created:		26 March 2003
 # Whom:			Kevin Lo <kevlo@FreeBSD.org>
 #
-# $FreeBSD: ports/sysutils/synergy/Makefile,v 1.9 2005/11/17 00:57:07 kevlo Exp $
+# $FreeBSD: $
 #
 
 PORTNAME=	synergy
-PORTVERSION= 	1.2.6
+PORTVERSION= 	1.3.1
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}2
@@ -24,7 +24,7 @@
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 .for file in ${DOCS}
-	@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}	
+	@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
 .endfor
 .endif
 	${MKDIR} ${PREFIX}/share/examples/synergy
diff -ruN synergy.bak/distinfo synergy/distinfo
--- synergy.bak/distinfo	Fri Apr 28 10:37:59 2006
+++ synergy/distinfo	Fri Apr 28 09:31:40 2006
@@ -1,3 +1,3 @@
-MD5 (synergy-1.2.6.tar.gz) = 80b495847c408d23ae5d52e1ca4218b1
-SHA256 (synergy-1.2.6.tar.gz) = 77a7062c80863bc6e65cbd73f606749dab2dd3e5424ea763c447884b83f1d803
-SIZE (synergy-1.2.6.tar.gz) = 679489
+MD5 (synergy-1.3.1.tar.gz) = a6e09d6b71cb217f23069980060abf27
+SHA256 (synergy-1.3.1.tar.gz) = 4a15e26456498dda5f3aa7d688a4892e0c50394a2f01685136fbc954bacc9691
+SIZE (synergy-1.3.1.tar.gz) = 793172
diff -ruN synergy.bak/files/patch-CArchNetworkBSD.cpp synergy/files/patch-CArchNetworkBSD.cpp
--- synergy.bak/files/patch-CArchNetworkBSD.cpp	Fri Apr 28 10:37:59 2006
+++ synergy/files/patch-CArchNetworkBSD.cpp	Thu Jan  1 01:00:00 1970
@@ -1,19 +0,0 @@
---- lib/arch/CArchNetworkBSD.cpp.orig	Wed Sep  1 13:52:08 2004
-+++ lib/arch/CArchNetworkBSD.cpp	Wed Sep  1 13:52:31 2004
-@@ -50,7 +50,6 @@
- #if HAVE_ALLOCA_H
- #	define freea(x_)
- #else
--#	define alloca(x_) malloc(x_)
- #	define freea(x_) free(x_)
- #endif
- 
-@@ -292,7 +291,7 @@
- 
- 	// allocate space for translated query
- 	struct pollfd* pfd = reinterpret_cast<struct pollfd*>(
--								alloca((1 + num) * sizeof(struct pollfd)));
-+								malloc((1 + num) * sizeof(struct pollfd)));
- 
- 	// translate query
- 	for (int i = 0; i < num; ++i) {
diff -ruN synergy.bak/pkg-plist synergy/pkg-plist
--- synergy.bak/pkg-plist	Fri Apr 28 10:37:59 2006
+++ synergy/pkg-plist	Fri Apr 28 10:36:25 2006
@@ -1,11 +1,11 @@
 bin/synergyc
 bin/synergys
-share/examples/synergy/synergy.conf
-%%PORTDOCS%%share/doc/synergy/AUTHORS
-%%PORTDOCS%%share/doc/synergy/COPYING
-%%PORTDOCS%%share/doc/synergy/ChangeLog
-%%PORTDOCS%%share/doc/synergy/INSTALL
-%%PORTDOCS%%share/doc/synergy/NEWS
-%%PORTDOCS%%share/doc/synergy/README
-%%PORTDOCS%%@dirrm share/doc/synergy
-@dirrm share/examples/synergy
+%%EXAMPLESDIR%%/synergy.conf
+@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- synergy.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604280944.k3S9igW7014793>