mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-31 01:10:08 +00:00
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>
This commit is contained in:
@@ -0,0 +1,30 @@
|
|||||||
|
SUMMARY = "Security-focused ELF files checking tool"
|
||||||
|
DESCRIPTION = "This is a small set of various PaX aware and related \
|
||||||
|
utilities for ELF binaries. It can check ELF binary files and running \
|
||||||
|
processes for issues that might be relevant when using ELF binaries \
|
||||||
|
along with PaX, such as non-PIC code or executable stack and heap."
|
||||||
|
HOMEPAGE = "https://wiki.gentoo.org/wiki/Hardened/PaX_Utilities"
|
||||||
|
LICENSE = "GPL-2.0-or-later"
|
||||||
|
LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a"
|
||||||
|
|
||||||
|
SRC_URI = "git://github.com/gentoo/pax-utils;protocol=https;branch=master;tag=v${PV}"
|
||||||
|
SRCREV = "d279ca563775105859f1f8c8467b8244d758cc62"
|
||||||
|
|
||||||
|
RDEPENDS:${PN} += "bash"
|
||||||
|
|
||||||
|
BBCLASSEXTEND = "native"
|
||||||
|
|
||||||
|
inherit meson pkgconfig
|
||||||
|
|
||||||
|
PACKAGECONFIG ??= ""
|
||||||
|
|
||||||
|
PACKAGECONFIG[libcap] = "-Duse_libcap=enabled, -Duse_libcap=disabled, libcap"
|
||||||
|
PACKAGECONFIG[libseccomp] = "-Duse_seccomp=true, -Duse_seccomp=false, libseccomp"
|
||||||
|
PACKAGECONFIG[pyelftools] = "-Dlddtree_implementation=python, -Dlddtree_implementation=sh,, python3-pyelftools"
|
||||||
|
|
||||||
|
do_install:append(){
|
||||||
|
if ${@bb.utils.contains('PACKAGECONFIG', 'pyelftools', 'true', 'false', d)}; then
|
||||||
|
sed -i 's,#!/usr/bin/env python,#!/usr/bin/env python3,' ${D}${bindir}/lddtree
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
SUMMARY = "Security-focused ELF files checking tool"
|
|
||||||
DESCRIPTION = "This is a small set of various PaX aware and related \
|
|
||||||
utilities for ELF binaries. It can check ELF binary files and running \
|
|
||||||
processes for issues that might be relevant when using ELF binaries \
|
|
||||||
along with PaX, such as non-PIC code or executable stack and heap."
|
|
||||||
HOMEPAGE = "http://www.gentoo.org/proj/en/hardened/pax-utils.xml"
|
|
||||||
LICENSE = "GPL-2.0-or-later"
|
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a"
|
|
||||||
|
|
||||||
SRC_URI = "https://dev.gentoo.org/~vapier/dist/pax-utils-${PV}.tar.xz"
|
|
||||||
SRC_URI[sha256sum] = "eeca7fbd98bc66bead4a77000c2025d9f17ea8201b84245882406ce00b9b6b14"
|
|
||||||
|
|
||||||
RDEPENDS:${PN} += "bash"
|
|
||||||
|
|
||||||
export GNULIB_OVERRIDES_WINT_T = "0"
|
|
||||||
|
|
||||||
do_configure:prepend() {
|
|
||||||
touch ${S}/NEWS ${S}/AUTHORS ${S}/ChangeLog ${S}/README
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
oe_runmake PREFIX=${D}${prefix} DESTDIR=${D} install
|
|
||||||
}
|
|
||||||
|
|
||||||
BBCLASSEXTEND = "native"
|
|
||||||
|
|
||||||
inherit autotools pkgconfig
|
|
||||||
|
|
||||||
PACKAGECONFIG ??= ""
|
|
||||||
|
|
||||||
PACKAGECONFIG[libcap] = "--with-caps, --without-caps, libcap"
|
|
||||||
PACKAGECONFIG[libseccomp] = "--with-seccomp, --without-seccomp, libseccomp"
|
|
||||||
PACKAGECONFIG[pyelftools] = "--with-python, --without-python,, python3-pyelftools"
|
|
||||||
|
|
||||||
EXTRA_OECONF += "--enable-largefile"
|
|
||||||
Reference in New Issue
Block a user