From: Daniel Mack <zonque@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] Add package acl
Date: Mon, 30 May 2011 20:16:29 +0200 [thread overview]
Message-ID: <1306779390-19947-2-git-send-email-zonque@gmail.com> (raw)
In-Reply-To: <1306779390-19947-1-git-send-email-zonque@gmail.com>
Signed-off-by: Daniel Mack <zonque@gmail.com>
---
package/Config.in | 1 +
package/acl/Config.in | 7 +++++++
package/acl/acl.mk | 27 +++++++++++++++++++++++++++
3 files changed, 35 insertions(+), 0 deletions(-)
create mode 100644 package/acl/Config.in
create mode 100644 package/acl/acl.mk
diff --git a/package/Config.in b/package/Config.in
index 40f523d..cefe90e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -483,6 +483,7 @@ source "package/xmlstarlet/Config.in"
endmenu
menu "System tools"
+source "package/acl/Config.in"
if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
source "package/bootutils/Config.in"
endif
diff --git a/package/acl/Config.in b/package/acl/Config.in
new file mode 100644
index 0000000..0a07d1e
--- /dev/null
+++ b/package/acl/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_ACL
+ bool "ACL tools"
+ depends on BR2_PACKAGE_ATTR
+ help
+ Commands for Manipulating POSIX Access Control Lists
+ See http://savannah.nongnu.org/projects/acl
+
diff --git a/package/acl/acl.mk b/package/acl/acl.mk
new file mode 100644
index 0000000..30faad1
--- /dev/null
+++ b/package/acl/acl.mk
@@ -0,0 +1,27 @@
+#############################################################
+#
+# acl
+#
+#############################################################
+ACL_VERSION = 2.2.51
+ACL_SOURCE = acl-$(ACL_VERSION).src.tar.gz
+ACL_SITE = http://mirror.its.uidaho.edu/pub/savannah/acl/
+ACL_LIBTOOL_PATCH = NO
+ACL_INSTALL_STAGING = YES
+ACL_INSTALL_TARGET = YES
+ACL_DEPENDENCIES = attr
+ACL_CONF_OPT = --enable-gettext=no
+
+define ACL_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 0755 -D $(@D)/getfacl/.libs/getfacl $(TARGET_DIR)/usr/bin/
+ $(INSTALL) -m 0755 -D $(@D)/setfacl/.libs/setfacl $(TARGET_DIR)/usr/bin/
+ $(INSTALL) -m 0644 -D $(@D)/libacl/.libs/libacl.so* $(STAGING_DIR)/usr/lib/
+endef
+
+define ACL_INSTALL_STAGING_CMDS
+ test -d $(STAGING_DIR)/usr/include/acl/ || mkdir $(STAGING_DIR)/usr/include/acl/
+ $(INSTALL) -m 0644 -D $(@D)/include/*.h $(STAGING_DIR)/usr/include/acl/
+ $(SED) s,sys/acl.h,acl/acl.h, -i $(STAGING_DIR)/usr/include/acl/libacl.h
+endef
+
+$(eval $(call AUTOTARGETS,package,acl))
--
1.7.5.1
next prev parent reply other threads:[~2011-05-30 18:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-30 18:16 [Buildroot] Add two more packages Daniel Mack
2011-05-30 18:16 ` Daniel Mack [this message]
2011-05-30 18:54 ` [Buildroot] [PATCH 1/2] Add package acl Heiko Zuerker
2011-05-30 19:02 ` Thomas Petazzoni
2011-05-31 9:06 ` Daniel Mack
2011-05-31 12:47 ` Heiko Zuerker
2011-05-31 16:18 ` Daniel Mack
2011-06-21 10:14 ` Yegor Yefremov
2011-06-21 17:40 ` Heiko Zuerker
2011-06-28 8:35 ` Yegor Yefremov
2011-05-30 18:16 ` [Buildroot] [PATCH 2/2] Add package attr Daniel Mack
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1306779390-19947-2-git-send-email-zonque@gmail.com \
--to=zonque@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.