diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2026-02-05 20:06:00 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-02-06 10:06:26 -0800 |
| commit | 6a900d8190ff1858d939c84d73e90fcc1afb2705 (patch) | |
| tree | e3cd8558ded5ec41d6f3e9e078e3956621d1f41e /meta-oe/recipes-devtools | |
| parent | 727a2163639f724b5aeaa7c814f7b75e1456c696 (diff) | |
| download | meta-openembedded-6a900d8190ff1858d939c84d73e90fcc1afb2705.tar.gz | |
pax-utils: upgrade 1.3.3 -> 1.3.10
Update the SRC_URI also, the previous one became inaccessible
a while ago. This is an official mirror[1].
Since the last update the project switched to meson build system.
Changes:
https://github.com/gentoo/pax-utils/compare/v1.3.3...v1.3.10
[1]: https://packages.gentoo.org/packages/app-misc/pax-utils
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools')
| -rw-r--r-- | meta-oe/recipes-devtools/pax-utils/pax-utils_1.3.10.bb | 30 | ||||
| -rw-r--r-- | meta-oe/recipes-devtools/pax-utils/pax-utils_1.3.3.bb | 35 |
2 files changed, 30 insertions, 35 deletions
diff --git a/meta-oe/recipes-devtools/pax-utils/pax-utils_1.3.10.bb b/meta-oe/recipes-devtools/pax-utils/pax-utils_1.3.10.bb new file mode 100644 index 0000000000..08dfcb7545 --- /dev/null +++ b/meta-oe/recipes-devtools/pax-utils/pax-utils_1.3.10.bb | |||
| @@ -0,0 +1,30 @@ | |||
| 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 = "https://wiki.gentoo.org/wiki/Hardened/PaX_Utilities" | ||
| 7 | LICENSE = "GPL-2.0-or-later" | ||
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" | ||
| 9 | |||
| 10 | SRC_URI = "git://github.com/gentoo/pax-utils;protocol=https;branch=master;tag=v${PV}" | ||
| 11 | SRCREV = "d279ca563775105859f1f8c8467b8244d758cc62" | ||
| 12 | |||
| 13 | RDEPENDS:${PN} += "bash" | ||
| 14 | |||
| 15 | BBCLASSEXTEND = "native" | ||
| 16 | |||
| 17 | inherit meson pkgconfig | ||
| 18 | |||
| 19 | PACKAGECONFIG ??= "" | ||
| 20 | |||
| 21 | PACKAGECONFIG[libcap] = "-Duse_libcap=enabled, -Duse_libcap=disabled, libcap" | ||
| 22 | PACKAGECONFIG[libseccomp] = "-Duse_seccomp=true, -Duse_seccomp=false, libseccomp" | ||
| 23 | PACKAGECONFIG[pyelftools] = "-Dlddtree_implementation=python, -Dlddtree_implementation=sh,, python3-pyelftools" | ||
| 24 | |||
| 25 | do_install:append(){ | ||
| 26 | if ${@bb.utils.contains('PACKAGECONFIG', 'pyelftools', 'true', 'false', d)}; then | ||
| 27 | sed -i 's,#!/usr/bin/env python,#!/usr/bin/env python3,' ${D}${bindir}/lddtree | ||
| 28 | fi | ||
| 29 | } | ||
| 30 | |||
diff --git a/meta-oe/recipes-devtools/pax-utils/pax-utils_1.3.3.bb b/meta-oe/recipes-devtools/pax-utils/pax-utils_1.3.3.bb deleted file mode 100644 index 4e80ca87ee..0000000000 --- a/meta-oe/recipes-devtools/pax-utils/pax-utils_1.3.3.bb +++ /dev/null | |||
| @@ -1,35 +0,0 @@ | |||
| 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 = "GPL-2.0-or-later" | ||
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a" | ||
| 9 | |||
| 10 | SRC_URI = "https://dev.gentoo.org/~vapier/dist/pax-utils-${PV}.tar.xz" | ||
| 11 | SRC_URI[sha256sum] = "eeca7fbd98bc66bead4a77000c2025d9f17ea8201b84245882406ce00b9b6b14" | ||
| 12 | |||
| 13 | RDEPENDS:${PN} += "bash" | ||
| 14 | |||
| 15 | export GNULIB_OVERRIDES_WINT_T = "0" | ||
| 16 | |||
| 17 | do_configure:prepend() { | ||
| 18 | touch ${S}/NEWS ${S}/AUTHORS ${S}/ChangeLog ${S}/README | ||
| 19 | } | ||
| 20 | |||
| 21 | do_install() { | ||
| 22 | oe_runmake PREFIX=${D}${prefix} DESTDIR=${D} install | ||
| 23 | } | ||
| 24 | |||
| 25 | BBCLASSEXTEND = "native" | ||
| 26 | |||
| 27 | inherit autotools pkgconfig | ||
| 28 | |||
| 29 | PACKAGECONFIG ??= "" | ||
| 30 | |||
| 31 | PACKAGECONFIG[libcap] = "--with-caps, --without-caps, libcap" | ||
| 32 | PACKAGECONFIG[libseccomp] = "--with-seccomp, --without-seccomp, libseccomp" | ||
| 33 | PACKAGECONFIG[pyelftools] = "--with-python, --without-python,, python3-pyelftools" | ||
| 34 | |||
| 35 | EXTRA_OECONF += "--enable-largefile" | ||
