aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2008-03-06 22:12:12 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2008-03-06 22:12:12 +0000
commit237b260c0b2260e43ddaedbc82ce81b9c102bc08 (patch)
tree2361877d6354f99d85018d4a290f7cb4dbe037be /net
parent257c7cf052a2ff6b0fa827b2b9b7eb13ff3d0a28 (diff)
downloadports-237b260c0b2260e43ddaedbc82ce81b9c102bc08.tar.gz
ports-237b260c0b2260e43ddaedbc82ce81b9c102bc08.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/rsync/Makefile20
-rw-r--r--net/rsync/distinfo3
2 files changed, 21 insertions, 2 deletions
diff --git a/net/rsync/Makefile b/net/rsync/Makefile
index 7987a131c6fb..a23f06caa4bc 100644
--- a/net/rsync/Makefile
+++ b/net/rsync/Makefile
@@ -15,8 +15,10 @@ MASTER_SITES= http://rsync.samba.org/ftp/%SUBDIR%/ \
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@FreeBSD.org
+MAINTAINER= ehaupt@FreeBSD.org
COMMENT= A network file distribution/synchronization utility
USE_RC_SUBR= rsyncd.sh
@@ -35,10 +37,24 @@ MAN1= rsync.1
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" \
diff --git a/net/rsync/distinfo b/net/rsync/distinfo
index 59cd079246ba..aced4d4784b9 100644
--- a/net/rsync/distinfo
+++ b/net/rsync/distinfo
@@ -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