Skip to contentSkip to conversation

coreutils: add PACKAGECONFIG info for act support

PATCH Superseded Joe Slater 2 participants 2 messages Aug 14, 2013

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Joe Slater

author
#0 lore raw

PATCH 1/1 coreutils: add PACKAGECONFIG info for act support

CQID: 430353

Add configuration data to enable acl support if
it is a distro feature.

---
 meta/recipes-core/coreutils/coreutils_6.9.bb |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)
meta/recipes-core/coreutils/coreutils_6.9.bb +12 -1
index c0778ba..2bdd297 100644
@@ -8,7 +8,7 @@ BUGTRACKER = "http://debbugs.gnu.org/coreutils"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
                     file://src/ls.c;beginline=4;endline=16;md5=15ed60f67b1db5fedd5dbc37cf8a9543"
-PR = "r5"
+PR = "r6"
 DEPENDS_class-native = "gettext-native"
 
 inherit autotools gettext
@@ -32,6 +32,17 @@ SRC_URI_class-native = "${SRC_URI_BASE}"
 SRC_URI[md5sum] = "c9607d8495f16e98906e7ed2d9751a06"
 SRC_URI[sha256sum] = "89c2895ad157de50e53298b22d91db116ee4e1dd3fdf4019260254e2e31497b0"
 
+
+# acl is not a default feature
+#
+PACKAGECONFIG_class-target ??= "${@base_contains('DISTRO_FEATURES', 'acl', 'acl', '', d)}"
+PACKAGECONFIG_class-native ??= ""
+
+# with, without, depends, rdepends
+#
+PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl,"
+
+
 # [ gets a special treatment and is not included in this
 bindir_progs = "base64 basename cksum comm csplit cut dir dircolors dirname du \
                 env expand expr factor fmt fold groups head hostid id install \
Signature · 1 line
1.7.3.4
#1 lore raw
Quoted 2 lines · Joe Slater

CQID: 430353

act support or acl support :-)

Quoted 13 lines

Add configuration data to enable acl support if
it is a distro feature.

---
  meta/recipes-core/coreutils/coreutils_6.9.bb |   13 ++++++++++++-
  1 files changed, 12 insertions(+), 1 deletions(-)
meta/recipes-core/coreutils/coreutils_6.9.bb +0 -0
index c0778ba..2bdd297 100644

meta/recipes-core/coreutils/coreutils_6.9.bb BUGTRACKER = "http://debbugs.gnu.org/coreutils" · line 11

Quoted 5 lines
meta/recipes-core/coreutils/coreutils_6.9.bb +1 -1
@@ -8,7 +8,7 @@ BUGTRACKER = "http://debbugs.gnu.org/coreutils"
  LICENSE = "GPLv2+"
  LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
                      file://src/ls.c;beginline=4;endline=16;md5=15ed60f67b1db5fedd5dbc37cf8a9543"
-PR = "r5"
+PR = "r6"

No PR Bumps

Quoted 22 lines
meta/recipes-core/coreutils/coreutils_6.9.bb +11 -0
  DEPENDS_class-native = "gettext-native"
 
  inherit autotools gettext
@@ -32,6 +32,17 @@ SRC_URI_class-native = "${SRC_URI_BASE}"
  SRC_URI[md5sum] = "c9607d8495f16e98906e7ed2d9751a06"
  SRC_URI[sha256sum] = "89c2895ad157de50e53298b22d91db116ee4e1dd3fdf4019260254e2e31497b0"
 
+
+# acl is not a default feature
+#
+PACKAGECONFIG_class-target ??= "${@base_contains('DISTRO_FEATURES', 'acl', 'acl', '', d)}"
+PACKAGECONFIG_class-native ??= ""
+
+# with, without, depends, rdepends
+#
+PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl,"
+
+
  # [ gets a special treatment and is not included in this
  bindir_progs = "base64 basename cksum comm csplit cut dir dircolors dirname du \
                  env expand expr factor fmt fold groups head hostid id install \