diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2024-03-06 07:42:02 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-03-07 17:25:02 +0000 |
| commit | d92454308b0dc8d404b025b4421cea4f8f3366a6 (patch) | |
| tree | 0791183f9f52689c488e458ad4ae6c35d74a2284 /meta/recipes-support/attr/acl_2.3.2.bb | |
| parent | e65840bdd53b8ec97ab1f8cdc041d55e4ee49e10 (diff) | |
| download | poky-d92454308b0dc8d404b025b4421cea4f8f3366a6.tar.gz | |
acl: upgrade 2.3.1 -> 2.3.2
(From OE-Core rev: 2daf3cebd0786ffe6b661d0e62296c3c5b864f63)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/attr/acl_2.3.2.bb')
| -rw-r--r-- | meta/recipes-support/attr/acl_2.3.2.bb | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/meta/recipes-support/attr/acl_2.3.2.bb b/meta/recipes-support/attr/acl_2.3.2.bb new file mode 100644 index 0000000000..6178473873 --- /dev/null +++ b/meta/recipes-support/attr/acl_2.3.2.bb | |||
| @@ -0,0 +1,85 @@ | |||
| 1 | SUMMARY = "Utilities for managing POSIX Access Control Lists" | ||
| 2 | DESCRIPTION = "ACL allows you to provide different levels of access to files \ | ||
| 3 | and folders for different users." | ||
| 4 | |||
| 5 | HOMEPAGE = "http://savannah.nongnu.org/projects/acl/" | ||
| 6 | BUGTRACKER = "http://savannah.nongnu.org/bugs/?group=acl" | ||
| 7 | |||
| 8 | SECTION = "libs" | ||
| 9 | |||
| 10 | LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later" | ||
| 11 | LICENSE:${PN} = "GPL-2.0-or-later" | ||
| 12 | LICENSE:lib${BPN} = "LGPL-2.1-or-later" | ||
| 13 | LIC_FILES_CHKSUM = "file://doc/COPYING;md5=c781d70ed2b4d48995b790403217a249 \ | ||
| 14 | file://doc/COPYING.LGPL;md5=9e9a206917f8af112da634ce3ab41764" | ||
| 15 | |||
| 16 | DEPENDS = "attr" | ||
| 17 | |||
| 18 | SRC_URI = "${SAVANNAH_GNU_MIRROR}/acl/${BP}.tar.gz \ | ||
| 19 | file://run-ptest \ | ||
| 20 | file://0001-tests-do-not-hardcode-the-build-path-into-a-helper-l.patch \ | ||
| 21 | file://0001-test-patch-out-failing-bits.patch \ | ||
| 22 | " | ||
| 23 | |||
| 24 | SRC_URI[sha256sum] = "5f2bdbad629707aa7d85c623f994aa8a1d2dec55a73de5205bac0bf6058a2f7c" | ||
| 25 | |||
| 26 | inherit autotools gettext ptest | ||
| 27 | |||
| 28 | EXTRA_OECONF += "--enable-largefile" | ||
| 29 | |||
| 30 | PACKAGES =+ "lib${BPN}" | ||
| 31 | |||
| 32 | FILES:lib${BPN} = "${libdir}/lib*${SOLIBS}" | ||
| 33 | |||
| 34 | PTEST_BUILD_HOST_FILES = "builddefs" | ||
| 35 | PTEST_BUILD_HOST_PATTERN = "^RPM" | ||
| 36 | |||
| 37 | do_compile_ptest() { | ||
| 38 | oe_runmake libtestlookup.la | ||
| 39 | } | ||
| 40 | |||
| 41 | do_install_ptest() { | ||
| 42 | cp -rf ${S}/test/ ${D}${PTEST_PATH} | ||
| 43 | cp -rf ${S}/build-aux/ ${D}${PTEST_PATH} | ||
| 44 | mkdir -p ${D}${PTEST_PATH}/.libs | ||
| 45 | cp -rf ${B}/.libs/libtestlookup* ${D}${PTEST_PATH}/.libs | ||
| 46 | cp ${B}/Makefile ${D}${PTEST_PATH} | ||
| 47 | |||
| 48 | sed -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \ | ||
| 49 | -e 's|${DEBUG_PREFIX_MAP}||g' \ | ||
| 50 | -e 's:${HOSTTOOLS_DIR}/::g' \ | ||
| 51 | -e 's:${RECIPE_SYSROOT_NATIVE}::g' \ | ||
| 52 | -e 's:${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}::g' \ | ||
| 53 | -i ${D}${PTEST_PATH}/Makefile | ||
| 54 | |||
| 55 | sed -i "s|^srcdir =.*|srcdir = \.|g" ${D}${PTEST_PATH}/Makefile | ||
| 56 | sed -i "s|^abs_srcdir =.*|abs_srcdir = \.|g" ${D}${PTEST_PATH}/Makefile | ||
| 57 | sed -i "s|^abs_top_srcdir =.*|abs_top_srcdir = \.\.|g" ${D}${PTEST_PATH}/Makefile | ||
| 58 | sed -i "s|^Makefile:.*|Makefile:|g" ${D}${PTEST_PATH}/Makefile | ||
| 59 | |||
| 60 | rm ${D}${PTEST_PATH}/.libs/libtestlookup.lai | ||
| 61 | } | ||
| 62 | |||
| 63 | do_install_ptest:append:libc-musl() { | ||
| 64 | sed -i -e '/test\/misc.test/d' ${D}${PTEST_PATH}/Makefile | ||
| 65 | } | ||
| 66 | |||
| 67 | RDEPENDS:${PN}-ptest = "acl \ | ||
| 68 | bash \ | ||
| 69 | coreutils \ | ||
| 70 | perl \ | ||
| 71 | perl-module-constant \ | ||
| 72 | perl-module-filehandle \ | ||
| 73 | perl-module-getopt-std \ | ||
| 74 | perl-module-posix \ | ||
| 75 | shadow \ | ||
| 76 | make \ | ||
| 77 | gawk \ | ||
| 78 | e2fsprogs-mke2fs \ | ||
| 79 | perl-module-cwd \ | ||
| 80 | perl-module-file-basename \ | ||
| 81 | perl-module-file-path \ | ||
| 82 | perl-module-file-spec \ | ||
| 83 | " | ||
| 84 | |||
| 85 | BBCLASSEXTEND = "native nativesdk" | ||
