ports/121444: patch: net/rsync - provide FLAGS and ACL options

Emanuel Haupt ehaupt at FreeBSD.org
Thu Mar 6 21:00:06 UTC 2008


>Number:         121444
>Category:       ports
>Synopsis:       patch: net/rsync - provide FLAGS and ACL options
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 06 21:00:05 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Emanuel Haupt
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 7.0-STABLE FreeBSD 7.0-STABLE #33: Fri Feb 29 00:53:41 UTC 2008 simon at freefall.freebsd.org:/usr/src/sys/i386/compile/FREEFALL i386


	
>Description:
Provide two additional build OPTIONS:

  * File system flags support patch, adds --fileflags
  * ACL support patch, adds --acls

>How-To-Repeat:
	
>Fix:

	

--- rsync.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net/rsync/Makefile,v
retrieving revision 1.125
diff -u -r1.125 Makefile
--- Makefile	3 Mar 2008 22:39:18 -0000	1.125
+++ Makefile	6 Mar 2008 20:53:46 -0000
@@ -15,6 +15,8 @@
 		ftp://ftp.fu-berlin.de/pub/unix/network/%SUBDIR%/ \
 		http://www.mirrorservice.org/sites/rsync.samba.org/
 MASTER_SITE_SUBDIR=	rsync
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
+DISTFILES+=	${PORTNAME}-patches-${PORTVERSION}${EXTRACT_SUFX}
 
 MAINTAINER=	pav at FreeBSD.org
 COMMENT=	A network file distribution/synchronization utility
@@ -35,10 +37,24 @@
 MAN5=		rsyncd.conf.5
 
 OPTIONS=	POPT_PORT "Use popt from devel/popt instead of bundled one" off \
-		SSH "Use SSH instead of RSH" on
+		SSH       "Use SSH instead of RSH" on \
+		FLAGS     "File system flags support patch, adds --fileflags" off \
+		ACL       "ACL support patch, adds --acls" off
 
 .include <bsd.port.pre.mk>
 
+.if defined(WITH_FLAGS)
+USE_PERL5_BUILD=yes
+PATCH_STRIP=	-p1
+EXTRA_PATCHES+=	${WRKSRC}/patches/fileflags.diff
+.endif
+
+.if defined(WITH_ACL)
+USE_PERL5_BUILD=yes
+PATCH_STRIP=	-p1
+EXTRA_PATCHES+=	${WRKSRC}/patches/acls.diff
+.endif
+
 .if defined(WITH_POPT_PORT)
 LIB_DEPENDS+=	popt.0:${PORTSDIR}/devel/popt
 CONFIGURE_ENV=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/net/rsync/distinfo,v
retrieving revision 1.49
diff -u -r1.49 distinfo
--- distinfo	3 Mar 2008 22:39:18 -0000	1.49
+++ distinfo	6 Mar 2008 20:53:46 -0000
@@ -1,3 +1,6 @@
 MD5 (rsync-3.0.0.tar.gz) = 2122d460b4119749c6e5993938a9b501
 SHA256 (rsync-3.0.0.tar.gz) = 17697db5bb9de399b71f7927070f60b3554b70b0ecc0419b50455d56560ea169
 SIZE (rsync-3.0.0.tar.gz) = 757821
+MD5 (rsync-patches-3.0.0.tar.gz) = 2d3560f213ae59ebee67f81fc55a02a7
+SHA256 (rsync-patches-3.0.0.tar.gz) = 936eb1b21fe3c1082d691cc69139e79ade8c98ff93859f52449ade12e53f07f6
+SIZE (rsync-patches-3.0.0.tar.gz) = 130581
--- rsync.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list