pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/rsync rsync: Add an option for disabling ACL support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eafa4889c953
branches:  trunk
changeset: 372106:eafa4889c953
user:      kim <kim%pkgsrc.org@localhost>
date:      Wed Jan 19 20:01:18 2022 +0000

description:
rsync: Add an option for disabling ACL support

diffstat:

 net/rsync/Makefile   |   6 ++++--
 net/rsync/options.mk |  12 ++++++++++++
 2 files changed, 16 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r e4ab15a0717b -r eafa4889c953 net/rsync/Makefile
--- a/net/rsync/Makefile        Wed Jan 19 18:16:01 2022 +0000
+++ b/net/rsync/Makefile        Wed Jan 19 20:01:18 2022 +0000
@@ -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_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 -r e4ab15a0717b -r eafa4889c953 net/rsync/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/rsync/options.mk      Wed Jan 19 20:01:18 2022 +0000
@@ -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



Home | Main Index | Thread Index | Old Index