tech-pkg archive

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

new package: devel/acl


someone (you know who you are) complained that filesystems/glusterfs
doesn't build on Linux. Fair point, so I'll fix that.

On the way to that, I'm working my way through the dependencies of
filesystems/glusterfs on Linux, which looks like it is going to mean
about 3 new packages of basically Linux-only stuff.

The first is devel/acl - tools to manipulate POSIX ACLs as well as
library/headers to write other programs to do so. Hard build dependency
for filesystems/glusterfs on Linux.

Package was built & tested on Linux amd64, included binaries work,
and glusterfs builds against. This will _not_ build on NetBSD due to
too many "All the world is Linux" assumptions (and has been marked
so in the Makefile).

This was built on linux-acl (and renamed) which was abandoned in 2006,
so I fixed the naming, updated to the last upstream version and tested it.

Comitted to pkgsrc-wip, also patch attached.

Please take a look.

Kind regards,
"Opportunity is missed by most people because it is dressed in overalls and
 looks like work."                                      -- Thomas A. Edison
diff -Nru '--exclude=CVS' /usr/pkgsrc/devel/acl/ wip/acl/
--- /usr/pkgsrc/devel/acl/	1970-01-01 00:00:00.000000000 +0000
+++ wip/acl/	2023-04-07 18:02:52.270469716 +0000
@@ -0,0 +1,14 @@
+# $NetBSD$
+.if !defined(ACL_BUILDLINK3_MK)
+BUILDLINK_API_DEPENDS.acl+=	acl>=2.2.52
+BUILDLINK_PKGSRCDIR.acl?=	../../devel/acl
+.include "../../sysutils/attr/"
diff -Nru '--exclude=CVS' /usr/pkgsrc/devel/acl/DESCR wip/acl/DESCR
--- /usr/pkgsrc/devel/acl/DESCR	1970-01-01 00:00:00.000000000 +0000
+++ wip/acl/DESCR	2023-04-08 20:08:38.863727077 +0000
@@ -0,0 +1,5 @@
+Access Control Lists (acl package)
+The acl package contains getfacl and setfacl utilities and the libacl
+loadable library as well as  additional files required for developing
+access control list programs.
diff -Nru '--exclude=CVS' /usr/pkgsrc/devel/acl/distinfo wip/acl/distinfo
--- /usr/pkgsrc/devel/acl/distinfo	1970-01-01 00:00:00.000000000 +0000
+++ wip/acl/distinfo	2023-04-07 18:02:23.271241580 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 2006/08/09 23:08:51 ondratu Exp $
+BLAKE2s (acl-2.3.1.tar.gz) = 3bf04a465f75087f2ebc660ffdf9f2e946fe5b014a66a8897a6d60b19820a32b
+SHA512 (acl-2.3.1.tar.gz) = f101e27058c959f4c412f475c3fc77a90d1ead8728701e4ce04ff08b34139d35e0e72278c9ac7622ba6054e81c0aeca066e09491b5f5666462e3866705a0e892
+Size (acl-2.3.1.tar.gz) = 518292 bytes
diff -Nru '--exclude=CVS' /usr/pkgsrc/devel/acl/Makefile wip/acl/Makefile
--- /usr/pkgsrc/devel/acl/Makefile	1970-01-01 00:00:00.000000000 +0000
+++ wip/acl/Makefile	2023-04-07 18:04:02.728595432 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.3 2012/10/03 09:10:41 asau Exp $
+DISTNAME=		acl-2.3.1
+CATEGORIES=		sysutils
+COMMENT=		Commands for Manipulating POSIX Access Control Lists
+LICENSE=		gnu-gpl-v2 AND gnu-lgpl-v2.1
+# uses linux/version.h and only tested under Linux
+USE_TOOLS=		gmake
+.include "../../sysutils/attr/"
+.include "../../mk/"
diff -Nru '--exclude=CVS' /usr/pkgsrc/devel/acl/PLIST wip/acl/PLIST
--- /usr/pkgsrc/devel/acl/PLIST	1970-01-01 00:00:00.000000000 +0000
+++ wip/acl/PLIST	2023-04-07 18:02:23.271241580 +0000
@@ -0,0 +1,65 @@
+@comment $NetBSD$

Home | Main Index | Thread Index | Old Index