Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/pax-utils/
Date: Wed, 01 Apr 2020 21:14:23
Message-Id: 1585775647.3eacd1912a690505c57411412bc36219b4bd0e52.slyfox@gentoo
1 commit: 3eacd1912a690505c57411412bc36219b4bd0e52
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 1 20:47:02 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 1 21:14:07 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eacd191
7
8 app-misc/pax-utils: drop old
9
10 Package-Manager: Portage-2.3.96, Repoman-2.3.22
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 app-misc/pax-utils/Manifest | 1 -
14 app-misc/pax-utils/pax-utils-1.2.4-r1.ebuild | 72 ----------------------------
15 2 files changed, 73 deletions(-)
16
17 diff --git a/app-misc/pax-utils/Manifest b/app-misc/pax-utils/Manifest
18 index 571ddff0d39..edcf2c384b1 100644
19 --- a/app-misc/pax-utils/Manifest
20 +++ b/app-misc/pax-utils/Manifest
21 @@ -1,2 +1 @@
22 -DIST pax-utils-1.2.4.tar.xz 665648 BLAKE2B f0003f912e42a25c8b587764591f7c466aa4c7a24f38fe101d7b64ea5abca5511b2f9329fa5620d1b4ae1926c2272eb97d4ada0210d4e55d16c7766a055672f4 SHA512 03b84054c59e8ce64d2c07276c61245c8e9b3eca2fc430269531e2dafe120009b541ebb6adc4ff54c13a1da63caf0755fb026ba272cf17d04f75e06b893a3e95
23 DIST pax-utils-1.2.5.tar.xz 679604 BLAKE2B 348c6ab52a5e950f346115802d596fd33142fe2d93a83d686fbec917d3f74c53c332f2fcbd197c5bdd38b545f48568c7b461143fa328433ce3ee931901012601 SHA512 bf2f47393a66b4218eba7981100fc6936c7c9d6d98970f5337e7b3097ce6f7b2ca13de486ff7450e4395b74ba2308d37105508234f323230376ec5814cfe54f9
24
25 diff --git a/app-misc/pax-utils/pax-utils-1.2.4-r1.ebuild b/app-misc/pax-utils/pax-utils-1.2.4-r1.ebuild
26 deleted file mode 100644
27 index cc472149fb3..00000000000
28 --- a/app-misc/pax-utils/pax-utils-1.2.4-r1.ebuild
29 +++ /dev/null
30 @@ -1,72 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -PYTHON_COMPAT=( python3_{6,7,8} )
37 -
38 -inherit eutils python-single-r1 toolchain-funcs unpacker
39 -
40 -DESCRIPTION="ELF utils that can check files for security relevant properties"
41 -HOMEPAGE="https://wiki.gentoo.org/index.php?title=Project:Hardened/PaX_Utilities"
42 -SRC_URI="mirror://gentoo/${P}.tar.xz
43 - https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz"
44 -
45 -LICENSE="GPL-2"
46 -SLOT="0"
47 -KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
48 -IUSE="caps debug python seccomp"
49 -
50 -RDEPEND="caps? ( >=sys-libs/libcap-2.24 )
51 - python? (
52 - ${PYTHON_DEPS}
53 - $(python_gen_cond_dep '
54 - dev-python/pyelftools[${PYTHON_MULTI_USEDEP}]
55 - ')
56 - )
57 - seccomp? ( sys-libs/libseccomp )"
58 -DEPEND="${RDEPEND}
59 - caps? ( virtual/pkgconfig )
60 - seccomp? ( virtual/pkgconfig )
61 - app-arch/xz-utils"
62 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
63 -
64 -_emake() {
65 - emake \
66 - USE_CAP=$(usex caps) \
67 - USE_DEBUG=$(usex debug) \
68 - USE_PYTHON=$(usex python) \
69 - USE_SECCOMP=$(usex seccomp) \
70 - "$@"
71 -}
72 -
73 -pkg_setup() {
74 - if use python; then
75 - python-single-r1_pkg_setup
76 - fi
77 -}
78 -
79 -src_configure() {
80 - # Avoid slow configure+gnulib+make if on an up-to-date Linux system
81 - if use prefix || ! use kernel_linux ||
82 - has_version '<sys-libs/glibc-2.10'
83 - then
84 - econf $(use_with caps) $(use_with debug) $(use_with python) $(use_with seccomp)
85 - else
86 - tc-export CC PKG_CONFIG
87 - fi
88 -}
89 -
90 -src_compile() {
91 - _emake
92 -}
93 -
94 -src_test() {
95 - _emake check
96 -}
97 -
98 -src_install() {
99 - _emake DESTDIR="${D}" PKGDOCDIR='$(DOCDIR)'/${PF} install
100 -
101 - use python && python_fix_shebang "${ED}"/usr/bin/lddtree
102 -}