diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2016-01-13 03:30:29 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-18 11:47:07 +0000 |
commit | 4f481bcfaab6cd3aebed94579e59b184333f7609 (patch) | |
tree | c635ab0efd427cdcf31ac5d79676a5d5e3353b7b /meta/recipes-devtools/pax-utils/pax-utils_1.1.4.bb | |
parent | f9974f2a612b6b8929130a4e35dd554c0f1e068f (diff) | |
download | poky-4f481bcfaab6cd3aebed94579e59b184333f7609.tar.gz |
pax-utils: 1.0.5 -> 1.1.4
- Support autotools:
*) Touch NEWS/AUTHORS/ChangeLog to workaroud failure
caused by 'automake --add-missing'
*) Add patch to fix configure failure caused by missing
macro definition in m4 directory
- Add PACKAGECONFIG flags for libcap, libseccomp and pyelftools,
and disable them by default.
- Add PACKAGECONFIG flag for largefile.
- Since we add PACKAGECONFIG flags for pyelftools, we do not need
python in RDEPENDS.
BTW:
Currently oe-core does not support libseccomp.
(https://github.com/seccomp/libseccomp)
Currently oe-core does not support pyelftools.
(https://github.com/eliben/pyelftools)
(From OE-Core rev: d966a4ed8f0de7dc9b08880505c668421e6d4488)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/pax-utils/pax-utils_1.1.4.bb')
-rw-r--r-- | meta/recipes-devtools/pax-utils/pax-utils_1.1.4.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-devtools/pax-utils/pax-utils_1.1.4.bb b/meta/recipes-devtools/pax-utils/pax-utils_1.1.4.bb new file mode 100644 index 0000000000..48b342e2e3 --- /dev/null +++ b/meta/recipes-devtools/pax-utils/pax-utils_1.1.4.bb | |||
@@ -0,0 +1,36 @@ | |||
1 | SUMMARY = "Security-focused ELF files checking tool" | ||
2 | DESCRIPTION = "This is a small set of various PaX aware and related \ | ||
3 | utilities for ELF binaries. It can check ELF binary files and running \ | ||
4 | processes for issues that might be relevant when using ELF binaries \ | ||
5 | along with PaX, such as non-PIC code or executable stack and heap." | ||
6 | HOMEPAGE = "http://www.gentoo.org/proj/en/hardened/pax-utils.xml" | ||
7 | LICENSE = "GPLv2+" | ||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" | ||
9 | |||
10 | SRC_URI = "http://gentoo.osuosl.org/distfiles/pax-utils-${PV}.tar.xz \ | ||
11 | file://fix-configure-failure.patch \ | ||
12 | " | ||
13 | |||
14 | SRC_URI[md5sum] = "1bfbb5237881f0c5e476b2f7ffcc00d5" | ||
15 | SRC_URI[sha256sum] = "796860fbd48c5f811e699e8492dc1110459bad0a62efa8d346b74a4f6f556414" | ||
16 | |||
17 | RDEPENDS_${PN} += "bash" | ||
18 | |||
19 | do_configure_prepend() { | ||
20 | touch ${S}/NEWS ${S}/AUTHORS ${S}/ChangeLog | ||
21 | } | ||
22 | |||
23 | do_install() { | ||
24 | oe_runmake PREFIX=${D}${prefix} DESTDIR=${D} install | ||
25 | } | ||
26 | |||
27 | BBCLASSEXTEND = "native" | ||
28 | |||
29 | inherit autotools pkgconfig | ||
30 | |||
31 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'largefile', '', d)} \ | ||
32 | " | ||
33 | PACKAGECONFIG[libcap] = "--with-caps, --without-caps, libcap" | ||
34 | PACKAGECONFIG[libseccomp] = "--with-seccomp, --without-seccomp, libseccomp" | ||
35 | PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,," | ||
36 | PACKAGECONFIG[pyelftools] = "--with-python, --without-python,, pyelftools" | ||