diff options
| -rw-r--r-- | meta/recipes-support/attr/acl.inc | 42 | ||||
| -rw-r--r-- | meta/recipes-support/attr/acl_2.2.52.bb | 43 |
2 files changed, 41 insertions, 44 deletions
diff --git a/meta/recipes-support/attr/acl.inc b/meta/recipes-support/attr/acl.inc deleted file mode 100644 index 37a0218cbb..0000000000 --- a/meta/recipes-support/attr/acl.inc +++ /dev/null | |||
| @@ -1,42 +0,0 @@ | |||
| 1 | SUMMARY = "Utilities for managing POSIX Access Control Lists" | ||
| 2 | HOMEPAGE = "http://savannah.nongnu.org/projects/acl/" | ||
| 3 | SECTION = "libs" | ||
| 4 | |||
| 5 | LICENSE = "LGPLv2.1+ & GPLv2+" | ||
| 6 | LICENSE_${PN} = "GPLv2+" | ||
| 7 | LICENSE_lib${BPN} = "LGPLv2.1+" | ||
| 8 | LIC_FILES_CHKSUM = "file://doc/COPYING;md5=c781d70ed2b4d48995b790403217a249 \ | ||
| 9 | file://doc/COPYING.LGPL;md5=9e9a206917f8af112da634ce3ab41764" | ||
| 10 | |||
| 11 | DEPENDS = "attr" | ||
| 12 | SRC_URI = "${SAVANNAH_GNU_MIRROR}/acl/${BP}.src.tar.gz \ | ||
| 13 | file://run-ptest \ | ||
| 14 | file://acl-fix-the-order-of-expected-output-of-getfacl.patch \ | ||
| 15 | file://test-fix-insufficient-quoting-of.patch \ | ||
| 16 | file://test-fixups-on-SELinux-machines-for-root-testcases.patch \ | ||
| 17 | file://test-fix-directory-permissions.patch \ | ||
| 18 | " | ||
| 19 | |||
| 20 | require ea-acl.inc | ||
| 21 | |||
| 22 | # avoid RPATH hardcode to staging dir | ||
| 23 | do_configure_append() { | ||
| 24 | sed -i ${S}/config.status -e s,^\\\(hardcode_into_libs=\\\).*$,\\1\'no\', | ||
| 25 | ${S}/config.status | ||
| 26 | } | ||
| 27 | |||
| 28 | # libdir should point to .la | ||
| 29 | do_install_append() { | ||
| 30 | sed -i ${D}${libdir}/libacl.la -e \ | ||
| 31 | s,^libdir=\'${base_libdir}\'$,libdir=\'${libdir}\', | ||
| 32 | } | ||
| 33 | |||
| 34 | inherit ptest | ||
| 35 | |||
| 36 | do_install_ptest() { | ||
| 37 | tar -c --exclude=nfs test/ | ( cd ${D}${PTEST_PATH} && tar -xf - ) | ||
| 38 | mkdir ${D}${PTEST_PATH}/include | ||
| 39 | cp ${S}/include/builddefs ${S}/include/buildmacros ${S}/include/buildrules ${D}${PTEST_PATH}/include/ | ||
| 40 | } | ||
| 41 | |||
| 42 | RDEPENDS_${PN}-ptest = "acl bash coreutils perl perl-module-filehandle perl-module-getopt-std perl-module-posix shadow" | ||
diff --git a/meta/recipes-support/attr/acl_2.2.52.bb b/meta/recipes-support/attr/acl_2.2.52.bb index ecdbdb6b79..4b1ebe0d02 100644 --- a/meta/recipes-support/attr/acl_2.2.52.bb +++ b/meta/recipes-support/attr/acl_2.2.52.bb | |||
| @@ -1,9 +1,48 @@ | |||
| 1 | require acl.inc | 1 | SUMMARY = "Utilities for managing POSIX Access Control Lists" |
| 2 | HOMEPAGE = "http://savannah.nongnu.org/projects/acl/" | ||
| 3 | SECTION = "libs" | ||
| 2 | 4 | ||
| 3 | SRC_URI += "file://add-missing-configure.ac.patch" | 5 | LICENSE = "LGPLv2.1+ & GPLv2+" |
| 6 | LICENSE_${PN} = "GPLv2+" | ||
| 7 | LICENSE_lib${BPN} = "LGPLv2.1+" | ||
| 8 | LIC_FILES_CHKSUM = "file://doc/COPYING;md5=c781d70ed2b4d48995b790403217a249 \ | ||
| 9 | file://doc/COPYING.LGPL;md5=9e9a206917f8af112da634ce3ab41764" | ||
| 10 | |||
| 11 | DEPENDS = "attr" | ||
| 12 | |||
| 13 | SRC_URI = "${SAVANNAH_GNU_MIRROR}/acl/${BP}.src.tar.gz \ | ||
| 14 | file://run-ptest \ | ||
| 15 | file://acl-fix-the-order-of-expected-output-of-getfacl.patch \ | ||
| 16 | file://test-fix-insufficient-quoting-of.patch \ | ||
| 17 | file://test-fixups-on-SELinux-machines-for-root-testcases.patch \ | ||
| 18 | file://test-fix-directory-permissions.patch \ | ||
| 19 | file://add-missing-configure.ac.patch" | ||
| 4 | 20 | ||
| 5 | SRC_URI[md5sum] = "a61415312426e9c2212bd7dc7929abda" | 21 | SRC_URI[md5sum] = "a61415312426e9c2212bd7dc7929abda" |
| 6 | SRC_URI[sha256sum] = "179074bb0580c06c4b4137be4c5a92a701583277967acdb5546043c7874e0d23" | 22 | SRC_URI[sha256sum] = "179074bb0580c06c4b4137be4c5a92a701583277967acdb5546043c7874e0d23" |
| 7 | 23 | ||
| 24 | require ea-acl.inc | ||
| 25 | |||
| 26 | # avoid RPATH hardcode to staging dir | ||
| 27 | do_configure_append() { | ||
| 28 | sed -i ${S}/config.status -e s,^\\\(hardcode_into_libs=\\\).*$,\\1\'no\', | ||
| 29 | ${S}/config.status | ||
| 30 | } | ||
| 31 | |||
| 32 | # libdir should point to .la | ||
| 33 | do_install_append() { | ||
| 34 | sed -i ${D}${libdir}/libacl.la -e \ | ||
| 35 | s,^libdir=\'${base_libdir}\'$,libdir=\'${libdir}\', | ||
| 36 | } | ||
| 37 | |||
| 38 | inherit ptest | ||
| 39 | |||
| 40 | do_install_ptest() { | ||
| 41 | tar -c --exclude=nfs test/ | ( cd ${D}${PTEST_PATH} && tar -xf - ) | ||
| 42 | mkdir ${D}${PTEST_PATH}/include | ||
| 43 | cp ${S}/include/builddefs ${S}/include/buildmacros ${S}/include/buildrules ${D}${PTEST_PATH}/include/ | ||
| 44 | } | ||
| 45 | |||
| 46 | RDEPENDS_${PN}-ptest = "acl bash coreutils perl perl-module-filehandle perl-module-getopt-std perl-module-posix shadow" | ||
| 8 | 47 | ||
| 9 | BBCLASSEXTEND = "native nativesdk" | 48 | BBCLASSEXTEND = "native nativesdk" |
