Latest changes
This commit is contained in:
parent
894391a8e5
commit
dc24a8362d
2
app-misc/pax-utils/Manifest
Normal file
2
app-misc/pax-utils/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
DIST pax-utils-1.2.4.tar.xz 665648 BLAKE2B f0003f912e42a25c8b587764591f7c466aa4c7a24f38fe101d7b64ea5abca5511b2f9329fa5620d1b4ae1926c2272eb97d4ada0210d4e55d16c7766a055672f4 SHA512 03b84054c59e8ce64d2c07276c61245c8e9b3eca2fc430269531e2dafe120009b541ebb6adc4ff54c13a1da63caf0755fb026ba272cf17d04f75e06b893a3e95
|
||||
EBUILD pax-utils-1.2.4.ebuild 1769 BLAKE2B 8c1bc1db322924b228ea5c1eb4862cbdcfdd2d8d2efe0ce9f1a42a64367e6e56f2cf7eb754a34db9e205b0f01aada53887511502157d772c1dc8c78971769f63 SHA512 cfe892a2cc57cc2b89a22cefacbf033a824151ce64b639f8b841c8fee97e8b223689186e9f6a6737d8e24b59eeb7637916f20edf2a03e1afe62d8567469d8a5f
|
70
app-misc/pax-utils/pax-utils-1.2.4.ebuild
Normal file
70
app-misc/pax-utils/pax-utils-1.2.4.ebuild
Normal file
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
|
||||
|
||||
inherit eutils python-single-r1 toolchain-funcs unpacker
|
||||
|
||||
DESCRIPTION="ELF utils that can check files for security relevant properties"
|
||||
HOMEPAGE="https://wiki.gentoo.org/index.php?title=Project:Hardened/PaX_Utilities"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.xz
|
||||
https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="caps debug python seccomp"
|
||||
|
||||
RDEPEND="caps? ( >=sys-libs/libcap-2.24 )
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
dev-python/pyelftools[${PYTHON_USEDEP}]
|
||||
)
|
||||
seccomp? ( sys-libs/libseccomp )"
|
||||
DEPEND="${RDEPEND}
|
||||
caps? ( virtual/pkgconfig )
|
||||
seccomp? ( virtual/pkgconfig )
|
||||
app-arch/xz-utils"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
_emake() {
|
||||
emake \
|
||||
USE_CAP=$(usex caps) \
|
||||
USE_DEBUG=$(usex debug) \
|
||||
USE_PYTHON=$(usex python) \
|
||||
USE_SECCOMP=$(usex seccomp) \
|
||||
"$@"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use python; then
|
||||
python-single-r1_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Avoid slow configure+gnulib+make if on an up-to-date Linux system
|
||||
if use prefix || ! use kernel_linux ||
|
||||
has_version '<sys-libs/glibc-2.10'
|
||||
then
|
||||
econf $(use_with caps) $(use_with debug) $(use_with python) $(use_with seccomp)
|
||||
else
|
||||
tc-export CC PKG_CONFIG
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
_emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
_emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
_emake DESTDIR="${D}" PKGDOCDIR='$(DOCDIR)'/${PF} install
|
||||
|
||||
use python && python_fix_shebang "${ED}"/usr/bin/lddtree
|
||||
}
|
3
dev-python/pyelftools/Manifest
Normal file
3
dev-python/pyelftools/Manifest
Normal file
@ -0,0 +1,3 @@
|
||||
DIST pyelftools-0.24.tar.gz 411874 BLAKE2B 304721cc440599d6436366c14a17d7e3132464686cdd870257a0180dd5f292a23c50a4e654966552d643875ac2683fda8584684cfeb611a3f22f02f73852a288 SHA512 5169617f9a8446ffc21dfc44ee185a388c8945a0296bdc6752483b0756888dccb10e3ee88e529d101cf31a4595de924b5c95f5459d5ee4448f57c0c4f2c56887
|
||||
EBUILD pyelftools-0.24.ebuild 898 BLAKE2B 0cd615b2b72ef946012f55f91818bc67ed644eb653a9e9190d6d2d31c9e9566ba856e402e56545f360d27747fa5d6ef86bcb5856f5aed4e53f452d44f0df654e SHA512 2cdb324db9b663c815e5b9f63bc953dac8f04c412f31ac0b0968f73554b7201d5330a584da36b4dcb7b6d3410401a4fc5a532ca3b2f3aa6bf47d026ca61d371a
|
||||
MISC metadata.xml 370 BLAKE2B 8dcbbb8d9add514bc0daf421c6739f8ee8426af39a0cf36758c594ee859a1aead4bddcfab3466cb50761ae289f7d58426dacb5a51b745a290530abeb511204eb SHA512 0f00113fb42e48e7b232b8a500ac77958f3ead50ff51d547e015a2c1aa7b87ff7a25495094ba10480176f3653742f18473378fe336f544ec93d645db9057ec20
|
12
dev-python/pyelftools/metadata.xml
Normal file
12
dev-python/pyelftools/metadata.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">pyelftools</remote-id>
|
||||
<remote-id type="github">eliben/pyelftools</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
29
dev-python/pyelftools/pyelftools-0.24.ebuild
Normal file
29
dev-python/pyelftools/pyelftools-0.24.ebuild
Normal file
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="pure-Python library for analyzing ELF files and DWARF debugging information"
|
||||
HOMEPAGE="https://pypi.org/project/pyelftools/ https://github.com/eliben/pyelftools"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="examples"
|
||||
|
||||
python_test() {
|
||||
# readelf_tests often fails due to host `readelf` changing output format
|
||||
local t
|
||||
for t in all_unittests examples_test ; do
|
||||
"${PYTHON}" ./test/run_${t}.py || die "Tests fail with ${EPYTHON}"
|
||||
done
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && dodoc -r examples
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST libvpx-1.7.0.tar.gz 2679797 SHA512 8b3b766b550f8d86907628d7ed88035f9a2612aac21542e0fd5ad35b905eb82cbe1be02a1a24afce7a3bcc4766f62611971f72724761996b392136c40a1e7ff0
|
||||
DIST libvpx-1.7.0.tar.gz 2679797 BLAKE2B de7992adb517e375c5be2a9facf2b4a73174adcaef11185ed6d3102c2f6b73f378b0d415c5e3a4d915b3a6889bd8b31ba3e8c007a87a433a345ef7696a1dd899 SHA512 8b3b766b550f8d86907628d7ed88035f9a2612aac21542e0fd5ad35b905eb82cbe1be02a1a24afce7a3bcc4766f62611971f72724761996b392136c40a1e7ff0
|
||||
EBUILD libvpx-1.7.0.ebuild 4063 BLAKE2B 4712537cf3ebaa5bffb0af30fa5100e3b5f20c016f8a4d9f68cb2c43317b393a00af19028f4fde48f38e1f66248da5713d653a5c27a87e1f52f29f935c951e9c SHA512 5bdce3f25d09c925de12e986294684a03209def39d630732efb12eda411f3e13a5c64c54d5f9fe51b8cad695dd43c5474eb4bd06a4c59d4dc284b5eb3be5d7d4
|
||||
|
Loading…
x
Reference in New Issue
Block a user