Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | SUMMARY = "Utilities for managing POSIX Access Control Lists" |
| 2 | HOMEPAGE = "http://savannah.nongnu.org/projects/acl/" |
| 3 | SECTION = "libs" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 4 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 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 \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 14 | file://configure.ac;subdir=${BP} \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 15 | file://run-ptest \ |
| 16 | file://acl-fix-the-order-of-expected-output-of-getfacl.patch \ |
| 17 | file://test-fix-insufficient-quoting-of.patch \ |
| 18 | file://test-fixups-on-SELinux-machines-for-root-testcases.patch \ |
| 19 | file://test-fix-directory-permissions.patch \ |
| 20 | file://Makefile-libacl-should-depend-on-include.patch \ |
| 21 | " |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 22 | |
| 23 | SRC_URI[md5sum] = "a61415312426e9c2212bd7dc7929abda" |
| 24 | SRC_URI[sha256sum] = "179074bb0580c06c4b4137be4c5a92a701583277967acdb5546043c7874e0d23" |
| 25 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 26 | require ea-acl.inc |
| 27 | |
| 28 | # avoid RPATH hardcode to staging dir |
| 29 | do_configure_append() { |
| 30 | sed -i ${S}/config.status -e s,^\\\(hardcode_into_libs=\\\).*$,\\1\'no\', |
| 31 | ${S}/config.status |
| 32 | } |
| 33 | |
| 34 | # libdir should point to .la |
| 35 | do_install_append() { |
| 36 | sed -i ${D}${libdir}/libacl.la -e \ |
| 37 | s,^libdir=\'${base_libdir}\'$,libdir=\'${libdir}\', |
| 38 | } |
| 39 | |
| 40 | inherit ptest |
| 41 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 42 | PTEST_BUILD_HOST_FILES = "builddefs" |
| 43 | PTEST_BUILD_HOST_PATTERN = "^RPM" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 44 | do_install_ptest() { |
| 45 | tar -c --exclude=nfs test/ | ( cd ${D}${PTEST_PATH} && tar -xf - ) |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 46 | install -d ${D}${PTEST_PATH}/include |
| 47 | install -m 644 ${S}/include/builddefs ${S}/include/buildmacros ${S}/include/buildrules ${D}${PTEST_PATH}/include/ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 48 | } |
| 49 | |
| 50 | RDEPENDS_${PN}-ptest = "acl bash coreutils perl perl-module-filehandle perl-module-getopt-std perl-module-posix shadow" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 51 | |
| 52 | BBCLASSEXTEND = "native nativesdk" |