Skip to contentSkip to conversation

coreutils: allow for acl support

PATCH In review Joe Slater 3 participants 4 messages Aug 13, 2013 – Aug 15, 2013

lore
Share & tools
lore

Joe Slater

author
#0 lore raw

PATCH 1/1 coreutils: allow for acl support

CQID: 430353

Define PACKAGECONFIG info for acl assuming it
might be a DISTRO_FEATURE.

---
 meta/recipes-core/coreutils/coreutils_8.21.bb |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)
meta/recipes-core/coreutils/coreutils_8.21.bb +11 -3
index 26ada48..e784329 100644
@@ -7,7 +7,7 @@ BUGTRACKER = "http://debbugs.gnu.org/coreutils"
 LICENSE = "GPLv3+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
                     file://src/ls.c;beginline=5;endline=16;md5=38b79785ca88537b75871782a2a3c6b8"
-PR = "r0"
+PR = "r1"
 DEPENDS = "gmp libcap"
 DEPENDS_class-native = ""
 
@@ -22,8 +22,16 @@ SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \
 SRC_URI[md5sum] = "065ba41828644eca5dd8163446de5d64"
 SRC_URI[sha256sum] = "adaa44bdab3fa5eb352e80d8a31fdbf957b78653d0c2cd30d63e161444288e18"
 
-EXTRA_OECONF = "--disable-acl"
-EXTRA_OECONF_class-native = "--disable-acl --without-gmp"
+EXTRA_OECONF_class-native = "--without-gmp"
+
+# 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,"
 
 # [ df mktemp base64 gets a special treatment and is not included in this
 bindir_progs = "basename chcon cksum comm csplit cut dir dircolors dirname du \
Signature · 1 line
1.7.3.4
#1 lore raw
Quoted 5 lines · Joe Slater

CQID: 430353

Define PACKAGECONFIG info for acl assuming it
might be a DISTRO_FEATURE.

Thanks for the Patch!

Will you be doing the same for the GPLv2 version?

I guess this means we should be expecting a set of patches to enable other recipes that have --disable-acl by default?

Thanks
Sau!

Quoted 38 lines
---
  meta/recipes-core/coreutils/coreutils_8.21.bb |   14 +++++++++++---
  1 files changed, 11 insertions(+), 3 deletions(-)
meta/recipes-core/coreutils/coreutils_8.21.bb +11 -3
index 26ada48..e784329 100644
@@ -7,7 +7,7 @@ BUGTRACKER = "http://debbugs.gnu.org/coreutils"
  LICENSE = "GPLv3+"
  LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
                      file://src/ls.c;beginline=5;endline=16;md5=38b79785ca88537b75871782a2a3c6b8"
-PR = "r0"
+PR = "r1"
  DEPENDS = "gmp libcap"
  DEPENDS_class-native = ""
 
@@ -22,8 +22,16 @@ SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \
  SRC_URI[md5sum] = "065ba41828644eca5dd8163446de5d64"
  SRC_URI[sha256sum] = "adaa44bdab3fa5eb352e80d8a31fdbf957b78653d0c2cd30d63e161444288e18"
 
-EXTRA_OECONF = "--disable-acl"
-EXTRA_OECONF_class-native = "--disable-acl --without-gmp"
+EXTRA_OECONF_class-native = "--without-gmp"
+
+# 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,"
 
  # [ df mktemp base64 gets a special treatment and is not included in this
  bindir_progs = "basename chcon cksum comm csplit cut dir dircolors dirname du \
#2 lore raw
Quoted 12 lines

-----Original Message-----
From: Saul Wold [mailto:[email protected]]
Sent: Tuesday, August 13, 2013 2:48 PM
To: Slater, Joseph
Cc: [email protected]
Subject: Re: [OE-core] [PATCH 1/1] coreutils: allow for acl support

Quoted 2 lines · Joe Slater

CQID: 430353

Quoted 7 lines
Quoted 3 lines

Define PACKAGECONFIG info for acl assuming it
might be a DISTRO_FEATURE.

Thanks for the Patch!

Will you be doing the same for the GPLv2 version?

I guess I should.

Quoted 3 lines

I guess this means we should be expecting a set of patches to enable other recipes that have --disable-acl by default?

Yeah, but I might not know whether some recipes really never, ever, want acl support enabled.

Joe

Quoted 46 lines

Thanks
Sau!

meta/recipes-

Quoted 6 lines
---
  meta/recipes-core/coreutils/coreutils_8.21.bb |   14 +++++++++++---
  1 files changed, 11 insertions(+), 3 deletions(-)
meta/recipes- renamed from meta/recipes-core/coreutils/coreutils_8.21.bb +0 -0

core/coreutils/coreutils_8.21.bb

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

Quoted 7 lines

index 26ada48..e784329 100644

meta/recipes-core/coreutils/coreutils_8.21.bb +0 -0
@@ -7,7 +7,7 @@ BUGTRACKER = "http://debbugs.gnu.org/coreutils"
  LICENSE = "GPLv3+"
  LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
 

file://src/ls.c;beginline=5;endline=16;md5=38b79785ca88537b75871782a2a3c6b8"

meta/recipes-core/coreutils/coreutils_8.21.bb SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \ · line 23

Quoted 8 lines
meta/recipes-core/coreutils/coreutils_8.21.bb +1 -1
-PR = "r0"
+PR = "r1"
  DEPENDS = "gmp libcap"
  DEPENDS_class-native = ""
 
@@ -22,8 +22,16 @@ SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \
  SRC_URI[md5sum] = "065ba41828644eca5dd8163446de5d64"
  SRC_URI[sha256sum] =

"adaa44bdab3fa5eb352e80d8a31fdbf957b78653d0c2cd30d63e161444288e18"

meta/recipes-core/coreutils/coreutils_8.21.bb SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \

Quoted 8 lines
meta/recipes-core/coreutils/coreutils_8.21.bb +5 -2
-EXTRA_OECONF = "--disable-acl"
-EXTRA_OECONF_class-native = "--disable-acl --without-gmp"
+EXTRA_OECONF_class-native = "--without-gmp"
+
+# acl is not a default feature
+#
+PACKAGECONFIG_class-target ??= "${@base_contains('DISTRO_FEATURES', 'acl', 'acl', '',

d)}"

Quoted 9 lines
meta/recipes-core/coreutils/coreutils_8.21.bb +5 -0
+PACKAGECONFIG_class-native ??= ""
+
+# with, without, depends, rdepends
+#
+PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl,"
 
  # [ df mktemp base64 gets a special treatment and is not included in this
  bindir_progs = "basename chcon cksum comm csplit cut dir dircolors dirname du \
 
#3 lore raw
In reply to Saul Wold
Quoted 32 lines · Saul Wold
Quoted 5 lines · Joe Slater

CQID: 430353

Define PACKAGECONFIG info for acl assuming it
might be a DISTRO_FEATURE.

Thanks for the Patch!

Will you be doing the same for the GPLv2 version?

I guess this means we should be expecting a set of patches to enable other recipes that have --disable-acl by default?

Thanks
Sau!

Quoted 15 lines
---
  meta/recipes-core/coreutils/coreutils_8.21.bb |   14 +++++++++++---
  1 files changed, 11 insertions(+), 3 deletions(-)
meta/recipes-core/coreutils/coreutils_8.21.bb +0 -0
index 26ada48..e784329 100644
@@ -7,7 +7,7 @@ BUGTRACKER = "http://debbugs.gnu.org/coreutils"
  LICENSE = "GPLv3+"
  LIC_FILES_CHKSUM =
 "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
 
Quoted 4 lines

meta/recipes-core/coreutils/coreutils_8.21.bb BUGTRACKER = "http://debbugs.gnu.org/coreutils" · line 10

Quoted 4 lines

file://src/ls.c;beginline=5;endline=16;md5=38b79785ca88537b75871782a2a3c6b8"

meta/recipes-core/coreutils/coreutils_8.21.bb +1 -1
-PR = "r0"
+PR = "r1"

I missed noticing this on the first round, please drop the PR Update

Thanks
Sau!

Quoted 33 lines
Quoted 23 lines

DEPENDS = "gmp libcap"
DEPENDS_class-native = ""

meta/recipes-core/coreutils/coreutils_8.21.bb +0 -0
@@ -22,8 +22,16 @@ SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz \
  SRC_URI[md5sum] = "065ba41828644eca5dd8163446de5d64"
  SRC_URI[sha256sum] =

"adaa44bdab3fa5eb352e80d8a31fdbf957b78653d0c2cd30d63e161444288e18"

meta/recipes-core/coreutils/coreutils_8.21.bb +5 -2
-EXTRA_OECONF = "--disable-acl"
-EXTRA_OECONF_class-native = "--disable-acl --without-gmp"
+EXTRA_OECONF_class-native = "--without-gmp"
+
+# acl is not a default feature
+#
+PACKAGECONFIG_class-target ??= "${@base_contains('DISTRO_FEATURES',

'acl', 'acl', '', d)}"

meta/recipes-core/coreutils/coreutils_8.21.bb +5 -0
+PACKAGECONFIG_class-native ??= ""
+
+# with, without, depends, rdepends
+#
+PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl,"
 
  # [ df mktemp base64 gets a special treatment and is not included in
Quoted 4 lines

this
bindir_progs = "basename chcon cksum comm csplit cut dir dircolors
dirname du \

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core