summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>2022-01-19 20:01:18 +0000
committerkim <kim@pkgsrc.org>2022-01-19 20:01:18 +0000
commit1ebcf9e64175ce10a4dfd5f23e3311cef4a5c7ea (patch)
tree97b6e0632201877ecb6772246a609f928fbc140d /net
parent97ea91e32355c58cd77e88928e5f95df2a7f3661 (diff)
downloadpkgsrc-1ebcf9e64175ce10a4dfd5f23e3311cef4a5c7ea.tar.gz
rsync: Add an option for disabling ACL support
Diffstat (limited to 'net')
-rw-r--r--net/rsync/Makefile6
-rw-r--r--net/rsync/options.mk12
2 files changed, 16 insertions, 2 deletions
diff --git a/net/rsync/Makefile b/net/rsync/Makefile
index df47f829f83..5d921168261 100644
--- a/net/rsync/Makefile
+++ b/net/rsync/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.117 2021/11/30 22:57:02 nia Exp $
+# $NetBSD: Makefile,v 1.118 2022/01/19 20:01:18 kim Exp $
DISTNAME= rsync-3.2.3
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= http://rsync.samba.org/ftp/rsync/
MASTER_SITES+= http://rsync.samba.org/ftp/rsync/old-versions/
@@ -32,6 +32,8 @@ SUBST_FILES.paths= rsync.1 rsyncd.conf.5
SUBST_SED.paths= -e 's|/etc/rsyncd|${PKG_SYSCONFDIR}/rsyncd|g'
SUBST_SED.paths+= -e 's|/usr/bin/rsync|${PREFIX}/bin/rsync|g'
+.include "options.mk"
+
.include "../../archivers/lz4/buildlink3.mk"
.include "../../archivers/zstd/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
diff --git a/net/rsync/options.mk b/net/rsync/options.mk
new file mode 100644
index 00000000000..daaffec35f5
--- /dev/null
+++ b/net/rsync/options.mk
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.3 2022/01/19 20:01:18 kim Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.rsync
+
+PKG_SUPPORTED_OPTIONS= acl
+PKG_SUGGESTED_OPTIONS= acl
+
+.include "../../mk/bsd.options.mk"
+
+.if empty(PKG_OPTIONS:Macl)
+CONFIGURE_ARGS+= --disable-acl-support
+.endif