ports/55469: Update port: net/librsync to 0.9.6

KATO Tsuguru tkato at prontomail.com
Mon Aug 11 14:00:40 UTC 2003


>Number:         55469
>Category:       ports
>Synopsis:       Update port: net/librsync to 0.9.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 11 07:00:36 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Update to version 0.9.6

Remove file:
files/patch-buf.c

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/net/librsync/Makefile net/librsync/Makefile
--- /usr/ports/net/librsync/Makefile	Fri Jun 13 10:23:11 2003
+++ net/librsync/Makefile	Mon Aug 11 13:58:38 2003
@@ -7,9 +7,10 @@
 #
 
 PORTNAME=	librsync
-PORTVERSION=	0.9.5.1
+PORTVERSION=	0.9.6
 CATEGORIES=	net
-MASTER_SITES=	http://rdiff-backup.stanford.edu/
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Library for delta compression of streams
@@ -19,14 +20,18 @@
 LIB_DEPENDS+=	bz2.1:${PORTSDIR}/archivers/bzip2
 .endif
 
+USE_REINPLACE=	yes
+USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib" \
-		CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include"
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LDFLAGS="-L${LOCALBASE}/lib"
 CONFIGURE_ARGS=	--enable-shared --disable-trace
-USE_GMAKE=	yes
 INSTALLS_SHLIB=	yes
 
-MAN1=	rdiff.1
 MAN3=	librsync.3
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|= rdiff.1|=|g' ${WRKSRC}/doc/Makefile.in
 
 .include <bsd.port.mk>
diff -urN /usr/ports/net/librsync/distinfo net/librsync/distinfo
--- /usr/ports/net/librsync/distinfo	Fri Jun 13 10:23:11 2003
+++ net/librsync/distinfo	Mon Aug 11 13:44:59 2003
@@ -1 +1 @@
-MD5 (librsync-0.9.5.1.tar.gz) = d65dcd7dce50ba71364a1c0b15ce21bd
+MD5 (librsync-0.9.6.tar.gz) = b2e7fb16f1e8f66f8397928dcc0436c8
diff -urN /usr/ports/net/librsync/files/patch-buf.c net/librsync/files/patch-buf.c
--- /usr/ports/net/librsync/files/patch-buf.c	Tue Mar 13 19:42:29 2001
+++ net/librsync/files/patch-buf.c	Thu Jan  1 09:00:00 1970
@@ -1,10 +0,0 @@
---- buf.c.orig	Tue Mar 13 16:27:52 2001
-+++ buf.c	Tue Mar 13 16:28:53 2001
-@@ -40,6 +40,7 @@
-  */
- 
- 
-+#include <sys/types.h>
- #include <config.h>
- 
- #include <assert.h>
diff -urN /usr/ports/net/librsync/files/patch-ltmain.sh net/librsync/files/patch-ltmain.sh
--- /usr/ports/net/librsync/files/patch-ltmain.sh	Sun Mar  3 15:44:05 2002
+++ net/librsync/files/patch-ltmain.sh	Mon Aug 11 13:59:30 2003
@@ -1,33 +1,6 @@
---- ltmain.sh.orig	Fri Sep  7 03:45:46 2001
-+++ ltmain.sh	Sat Mar  2 15:45:11 2002
-@@ -1040,7 +1040,7 @@
- 	    # These systems don't actually have a C library (as such)
- 	    test "X$arg" = "X-lc" && continue
- 	    ;;
--	  *-*-openbsd*)
-+	  *-*-openbsd* | *-*-freebsd*)
- 	    # Do not include libc due to us having libc/libc_r.
- 	    test "X$arg" = "X-lc" && continue
- 	    ;;
-@@ -1048,7 +1048,7 @@
- 	 fi
- 	 if test "X$arg" = "X-lc_r"; then
- 	  case $host in
--	  *-*-openbsd*)
-+	  *-*-openbsd* | *-*-freebsd*)
- 	    # Do not include libc_r directly, use -pthread flag.
- 	    continue
- 	    ;;
-@@ -2439,7 +2439,7 @@
- 	  *-*-netbsd*)
- 	    # Don't link with libc until the a.out ld.so is fixed.
- 	    ;;
--	  *-*-openbsd*)
-+	  *-*-openbsd* | *-*-freebsd*)
- 	    # Do not include libc due to us having libc/libc_r.
- 	    ;;
- 	  *)
-@@ -4208,10 +4208,12 @@
+--- ltmain.sh.orig	Sat Jun 14 11:42:11 2003
++++ ltmain.sh	Mon Aug 11 13:59:20 2003
+@@ -4330,10 +4330,12 @@
  	fi
  
  	# Install the pseudo-library for information purposes.
diff -urN /usr/ports/net/librsync/pkg-descr net/librsync/pkg-descr
--- /usr/ports/net/librsync/pkg-descr	Fri Sep 14 15:11:35 2001
+++ net/librsync/pkg-descr	Mon Aug 11 13:44:07 2003
@@ -5,4 +5,4 @@
 files on the same machine, but rather only a short ``signature'' of the
 old file and the complete contents of the new file.
 
-WWW: http://rproxy.samba.org/
+WWW: http://librsync.sourceforge.net/
diff -urN /usr/ports/net/librsync/pkg-plist net/librsync/pkg-plist
--- /usr/ports/net/librsync/pkg-plist	Sun Mar  3 15:44:04 2002
+++ net/librsync/pkg-plist	Mon Aug 11 13:55:01 2003
@@ -1,5 +1,5 @@
-bin/rdiff
-include/rsync.h
+include/librsync.h
+include/librsync-config.h
 lib/librsync.a
 lib/librsync.so
 lib/librsync.so.1
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list