summaryrefslogtreecommitdiff
path: root/misc/gnuls
diff options
context:
space:
mode:
authorChris D. Faulhaber <jedgar@FreeBSD.org>2001-08-25 01:09:34 +0000
committerChris D. Faulhaber <jedgar@FreeBSD.org>2001-08-25 01:09:34 +0000
commitf529ddaf3ed9a56039e6da8f061fc727e8245306 (patch)
tree98b13c18e6e89b68ca8bf5463b622c3a65fd209b /misc/gnuls
parentAdd PORTREVISION whose value is one (it has to been done in my previous commit) (diff)
Add optional ACL support to gnuls. This causes the last field
in the mode to show up as a '+' when a file/directory has extended ACLs set (per the POSIX.2e draft): -rw-rw-r--+ 1 jedgar jedgar 267 Aug 14 21:47 TODO This only works on -current systems and can be activated by defining WITH_ACL_SUPPORT when building. New versions of the GNU fileutils (i.e. 4.1) contain native ACL support but will not build without CVS versions of autoconf/automake which are not currently supported. Approved by: Maintainer
Notes
Notes: svn path=/head/; revision=46838
Diffstat (limited to 'misc/gnuls')
-rw-r--r--misc/gnuls/Makefile16
-rw-r--r--misc/gnuls/distinfo1
2 files changed, 16 insertions, 1 deletions
diff --git a/misc/gnuls/Makefile b/misc/gnuls/Makefile
index d6e2ac67e5c0..23d5048b4161 100644
--- a/misc/gnuls/Makefile
+++ b/misc/gnuls/Makefile
@@ -17,4 +17,18 @@ MAINTAINER= bmc@WillsCreek.COM
GNU_CONFIGURE= yes
MAN1= gnuls.1 dircolors.1 dir.1 vdir.1
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 500019
+.if defined(WITH_ACL_SUPPORT)
+PATCHFILES= gnuls-acl-20010821.patch
+PATCH_SITES= ${MASTER_SITE_LOCAL}
+PATCH_SITE_SUBDIR= jedgar
+.else
+pre-fetch:
+ @${ECHO} "To build this port with ACL support, define"
+ @${ECHO} "WITH_ACL_SUPPORT (i.e. make -DWITH_ACL_SUPPORT)"
+.endif
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/misc/gnuls/distinfo b/misc/gnuls/distinfo
index db4e26da04bc..9114ecbdbe9f 100644
--- a/misc/gnuls/distinfo
+++ b/misc/gnuls/distinfo
@@ -1 +1,2 @@
MD5 (fileutils-4.0.tar.gz) = 082ab37b7f37c00e768b04e37bc736be
+MD5 (gnuls-acl-20010821.patch) = 6e7e4bb8bc2ed814cd221d4c349cc0d5