tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
new package: devel/acl
Hi,
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,
Alex.
--
"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/buildlink3.mk wip/acl/buildlink3.mk
--- /usr/pkgsrc/devel/acl/buildlink3.mk 1970-01-01 00:00:00.000000000 +0000
+++ wip/acl/buildlink3.mk 2023-04-07 18:02:52.270469716 +0000
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= acl
+
+.if !defined(ACL_BUILDLINK3_MK)
+ACL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.acl+= acl>=2.2.52
+BUILDLINK_PKGSRCDIR.acl?= ../../devel/acl
+
+.include "../../sysutils/attr/buildlink3.mk"
+.endif # ACL_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -acl
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 1.1.1.1 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
+MASTER_SITES= http://download.savannah.nongnu.org/releases/acl/
+
+MAINTAINER= als%thangorodrim.ch@localhost
+HOMEPAGE= https://savannah.nongnu.org/projects/acl
+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
+ONLY_FOR_PLATFORM= Linux-*-*
+
+WRKSRC= ${WRKDIR}/${DISTNAME:S/.src//}
+GNU_CONFIGURE= yes
+USE_TOOLS= gmake
+
+USE_LIBTOOL= yes
+
+.include "../../sysutils/attr/buildlink3.mk"
+.include "../../mk/bsd.pkg.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$
+bin/chacl
+bin/getfacl
+bin/setfacl
+include/acl/libacl.h
+include/sys/acl.h
+lib/libacl.la
+lib/pkgconfig/libacl.pc
+man/man1/chacl.1
+man/man1/getfacl.1
+man/man1/setfacl.1
+man/man3/acl_add_perm.3
+man/man3/acl_calc_mask.3
+man/man3/acl_check.3
+man/man3/acl_clear_perms.3
+man/man3/acl_cmp.3
+man/man3/acl_copy_entry.3
+man/man3/acl_copy_ext.3
+man/man3/acl_copy_int.3
+man/man3/acl_create_entry.3
+man/man3/acl_delete_def_file.3
+man/man3/acl_delete_entry.3
+man/man3/acl_delete_perm.3
+man/man3/acl_dup.3
+man/man3/acl_entries.3
+man/man3/acl_equiv_mode.3
+man/man3/acl_error.3
+man/man3/acl_extended_fd.3
+man/man3/acl_extended_file.3
+man/man3/acl_extended_file_nofollow.3
+man/man3/acl_free.3
+man/man3/acl_from_mode.3
+man/man3/acl_from_text.3
+man/man3/acl_get_entry.3
+man/man3/acl_get_fd.3
+man/man3/acl_get_file.3
+man/man3/acl_get_perm.3
+man/man3/acl_get_permset.3
+man/man3/acl_get_qualifier.3
+man/man3/acl_get_tag_type.3
+man/man3/acl_init.3
+man/man3/acl_set_fd.3
+man/man3/acl_set_file.3
+man/man3/acl_set_permset.3
+man/man3/acl_set_qualifier.3
+man/man3/acl_set_tag_type.3
+man/man3/acl_size.3
+man/man3/acl_to_any_text.3
+man/man3/acl_to_text.3
+man/man3/acl_valid.3
+man/man5/acl.5
+share/doc/acl/CHANGES
+share/doc/acl/COPYING
+share/doc/acl/COPYING.LGPL
+share/doc/acl/PORTING
+share/doc/acl/extensions.txt
+share/doc/acl/libacl.txt
+share/locale/de/LC_MESSAGES/acl.mo
+share/locale/en@boldquot/LC_MESSAGES/acl.mo
+share/locale/en@quot/LC_MESSAGES/acl.mo
+share/locale/es/LC_MESSAGES/acl.mo
+share/locale/fr/LC_MESSAGES/acl.mo
+share/locale/gl/LC_MESSAGES/acl.mo
+share/locale/pl/LC_MESSAGES/acl.mo
+share/locale/sv/LC_MESSAGES/acl.mo
Home |
Main Index |
Thread Index |
Old Index