mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
app-misc/pax-utils: add 1.3.10
Fixes SIGSYS due to seccomp filter. Closes: https://bugs.gentoo.org/957985 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
parent
771deae0e4
commit
e26a7ac92a
@ -1,3 +1,4 @@
|
||||
DIST pax-utils-1.3.10.tar.xz 123576 BLAKE2B d0d68d12bbbe3771da6a22d04b246593952e39ad5233fbb36c4283800431c707015477192d6e3225985016828189280662cda642b161322d3eb19bea5f4bdc86 SHA512 06be65f1ad954427cc666e53e1aaa45dda04c43f26d9e4c9ded9e4dc33e4fd2827acd0c7cbb5cbf4a169a19f5c356d59a5dfb2d2e63a037fe62c26394648ee4d
|
||||
DIST pax-utils-1.3.7.tar.xz 113740 BLAKE2B d801df9c426f318c871655f238fe27b53e656c2789ef8508019997c98bbc540987b611642d87e76ae9f76a95f6cce1acd0b10e3491a146d1e3b3f727a6f96bdc SHA512 f1b87a564573da838a02c4cc10e0d5f9754c3b004ecb172a6290b48a8179b30695ae556942457dfac3caf07b91dd56eb1d801475c35e9708e4d671aa507f9576
|
||||
DIST pax-utils-1.3.8.tar.xz 123556 BLAKE2B 9e658334f37bfee90d4d168cdb81bc3b4012c38b569c22c3b01688408e90f4727043636ff8908e6c049fce7be5476ba86773f07cb192e3a34721c1469f69b48d SHA512 0dde95f86802729d80b7b38af84dec636e973f6abc70600633edcb05d3d5f95c1b2861300ce478dd7f798c7a1e5eccb1011c06c53adba38e11a996b69d463656
|
||||
DIST pax-utils-1.3.9.tar.xz 123560 BLAKE2B fdaf8eb6d66dd96db3acbe21264163247323d95b798be3a0041f88ff2574ea739c3a2c6408cd20b9a5bfd4b8e4ff2306d5dfe682d7bada803c88770e5103f250 SHA512 96caf7f2087bedc7949db828d966835f7d691e29ef8177dee00605c10d433d4c5b5770a3d7f2e25e3c0218f5b9a6c6967669a3dea18cf138d6f0111d2bb5288b
|
||||
|
||||
78
app-misc/pax-utils/pax-utils-1.3.10.ebuild
Normal file
78
app-misc/pax-utils/pax-utils-1.3.10.ebuild
Normal file
@ -0,0 +1,78 @@
|
||||
# Copyright 2022-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Note: if bumping pax-utils because of syscall changes in glibc, please
|
||||
# revbump glibc and update the dependency in its ebuild for the affected
|
||||
# versions.
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit meson python-single-r1
|
||||
|
||||
DESCRIPTION="ELF utils that can check files for security relevant properties"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Hardened/PaX_Utilities"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="caps python seccomp test"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/pax-utils.git"
|
||||
inherit git-r3
|
||||
IUSE+=" +man"
|
||||
else
|
||||
SRC_URI="
|
||||
https://dev.gentoo.org/~floppym/dist/${P}.tar.xz
|
||||
"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE+=" man"
|
||||
fi
|
||||
|
||||
REQUIRED_USE="
|
||||
python? ( ${PYTHON_REQUIRED_USE} )
|
||||
test? ( python )
|
||||
"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
MY_PYTHON_DEPS="
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pyelftools[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
RDEPEND="
|
||||
caps? ( >=sys-libs/libcap-2.24 )
|
||||
python? ( ${MY_PYTHON_DEPS} )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
caps? ( virtual/pkgconfig )
|
||||
man? ( app-text/xmlto )
|
||||
python? ( ${MY_PYTHON_DEPS} )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
if use test || use python; then
|
||||
python-single-r1_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
"-Dlddtree_implementation=$(usex python python sh)"
|
||||
$(meson_feature caps use_libcap)
|
||||
$(meson_feature man build_manpages)
|
||||
$(meson_use seccomp use_seccomp)
|
||||
$(meson_use test tests)
|
||||
|
||||
# fuzzing is currently broken
|
||||
-Duse_fuzzing=false
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
use python && python_fix_shebang "${ED}"/usr/bin/lddtree
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user