Skip to contentSkip to conversation

New package: acl

PATCH New Yegor Yefremov 2 participants 2 messages Jul 13, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 New package: acl

POSIX Access Control Lists, which are used to define more fine-grained discretionary access rights for files and directories.

---
 package/Config.in     |    1 +
 package/acl/Config.in |   10 ++++++++++
 package/acl/acl.mk    |   28 ++++++++++++++++++++++++++++
 3 files changed, 39 insertions(+)
 create mode 100644 package/acl/Config.in
 create mode 100644 package/acl/acl.mk
 create mode 100644 package/attr/Config.in
 create mode 100644 package/attr/attr.mk
package/Config.in +1 -0
Index: b/package/Config.in
===================================================================
@@ -492,6 +492,7 @@
 endmenu
 
 menu "System tools"
+source "package/acl/Config.in"
 source "package/attr/Config.in"
 if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 source "package/bootutils/Config.in"
package/acl/Config.in new file +10 -0
Index: b/package/acl/Config.in
===================================================================
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_ACL
+	bool "acl"
+	select BR2_PACKAGE_ATTR
+	help
+	  POSIX Access Control Lists, which are used to define more
+	  fine-grained discretionary access rights for files and
+	  directories.
+	  This package also provides libacl.
+
+	  http://savannah.nongnu.org/projects/acl
package/acl/acl.mk new file +28 -0
Index: b/package/acl/acl.mk
===================================================================
@@ -0,0 +1,28 @@
+#############################################################
+#
+# acl
+#
+#############################################################
+
+ACL_VERSION = 2.2.51
+ACL_SOURCE = acl-$(ACL_VERSION).src.tar.gz
+ACL_SITE = http://download.savannah.gnu.org/releases/acl
+ACL_INSTALL_STAGING = YES
+ACL_DEPENDENCIES = attr
+ACL_CONF_OPT = --enable-gettext=no
+
+# While the configuration system uses autoconf, the Makefiles are
+# hand-written and do not use automake. Therefore, we have to hack
+# around their deficiencies by passing installation paths.
+ACL_INSTALL_STAGING_OPT = 			\
+	prefix=$(STAGING_DIR)/usr 		\
+	exec_prefix=$(STAGING_DIR)/usr 		\
+	PKG_DEVLIB_DIR=$(STAGING_DIR)/usr/lib	\
+	install-dev install-lib
+
+ACL_INSTALL_TARGET_OPT = 			\
+	prefix=$(TARGET_DIR)/usr 		\
+	exec_prefix=$(TARGET_DIR)/usr 		\
+	install install-lib
+
+$(eval $(call AUTOTARGETS,package,acl))
#1 lore raw

PATCH 1/1 New package: acl

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yegor" == Yegor Yefremov <[email protected]> writes:

Yegor> POSIX Access Control Lists, which are used to define more Yegor> fine-grained discretionary access rights for files and Yegor> directories.

It needs largefile support in the toolchain, otherwise it looks good.

Committed with that change - Thanks everyone.

Signature · 1 line
Bye, Peter Korsgaard