2013-12-19 15:13:01 +00:00
|
|
|
SUMMARY = "Utilities for managing POSIX Access Control Lists"
|
2010-07-29 10:43:55 +00:00
|
|
|
HOMEPAGE = "http://savannah.nongnu.org/projects/acl/"
|
|
|
|
SECTION = "libs"
|
|
|
|
|
|
|
|
LICENSE = "LGPLv2.1+ & GPLv2+"
|
|
|
|
LICENSE_${PN} = "GPLv2+"
|
2011-08-18 06:55:33 +00:00
|
|
|
LICENSE_lib${BPN} = "LGPLv2.1+"
|
2010-07-29 10:43:55 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://doc/COPYING;md5=c781d70ed2b4d48995b790403217a249 \
|
|
|
|
file://doc/COPYING.LGPL;md5=9e9a206917f8af112da634ce3ab41764"
|
|
|
|
|
|
|
|
DEPENDS = "attr"
|
2014-05-08 03:44:04 +00:00
|
|
|
SRC_URI = "${SAVANNAH_GNU_MIRROR}/acl/${BP}.src.tar.gz \
|
2014-01-26 07:50:14 +00:00
|
|
|
file://run-ptest \
|
2014-03-24 08:12:47 +00:00
|
|
|
file://acl-fix-the-order-of-expected-output-of-getfacl.patch \
|
2016-03-03 07:16:43 +00:00
|
|
|
file://test-fix-insufficient-quoting-of.patch \
|
|
|
|
file://test-fixups-on-SELinux-machines-for-root-testcases.patch \
|
2014-01-26 07:50:14 +00:00
|
|
|
"
|
2010-07-29 10:43:55 +00:00
|
|
|
|
|
|
|
require ea-acl.inc
|
|
|
|
|
|
|
|
# avoid RPATH hardcode to staging dir
|
|
|
|
do_configure_append() {
|
|
|
|
sed -i ${S}/config.status -e s,^\\\(hardcode_into_libs=\\\).*$,\\1\'no\',
|
|
|
|
${S}/config.status
|
|
|
|
}
|
|
|
|
|
|
|
|
# libdir should point to .la
|
|
|
|
do_install_append() {
|
|
|
|
sed -i ${D}${libdir}/libacl.la -e \
|
|
|
|
s,^libdir=\'${base_libdir}\'$,libdir=\'${libdir}\',
|
|
|
|
}
|
2014-01-26 07:50:14 +00:00
|
|
|
|
|
|
|
inherit ptest
|
|
|
|
|
|
|
|
do_install_ptest() {
|
|
|
|
tar -cf - test/ --exclude nfs | ( cd ${D}${PTEST_PATH} && tar -xf - )
|
|
|
|
mkdir ${D}${PTEST_PATH}/include
|
|
|
|
cp ${S}/include/builddefs ${S}/include/buildmacros ${S}/include/buildrules ${D}${PTEST_PATH}/include/
|
|
|
|
}
|
|
|
|
|
2014-10-31 21:49:19 +00:00
|
|
|
RDEPENDS_${PN}-ptest = "acl bash coreutils perl perl-module-filehandle perl-module-getopt-std perl-module-posix shadow"
|