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: Mon, 14 Jan 2019 23:07:27
Message-Id: 1547507225.4488acbbb6b05499b6f87e60eebf0b55fb9047db.slyfox@gentoo
1 commit: 4488acbbb6b05499b6f87e60eebf0b55fb9047db
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 14 23:06:26 2019 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 14 23:07:05 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4488acbb
7
8 app-misc/pax-utils: drop old
9
10 Package-Manager: Portage-2.3.55, Repoman-2.3.12
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 app-misc/pax-utils/pax-utils-1.2.3-r2.ebuild | 70 ----------------------------
14 1 file changed, 70 deletions(-)
15
16 diff --git a/app-misc/pax-utils/pax-utils-1.2.3-r2.ebuild b/app-misc/pax-utils/pax-utils-1.2.3-r2.ebuild
17 deleted file mode 100644
18 index f0127f587d2..00000000000
19 --- a/app-misc/pax-utils/pax-utils-1.2.3-r2.ebuild
20 +++ /dev/null
21 @@ -1,70 +0,0 @@
22 -# Copyright 1999-2018 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -
27 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
28 -
29 -inherit eutils python-single-r1 toolchain-funcs unpacker
30 -
31 -DESCRIPTION="ELF utils that can check files for security relevant properties"
32 -HOMEPAGE="https://wiki.gentoo.org/index.php?title=Project:Hardened/PaX_Utilities"
33 -SRC_URI="mirror://gentoo/${P}.tar.xz
34 - https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.xz"
35 -
36 -LICENSE="GPL-2"
37 -SLOT="0"
38 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~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"
39 -IUSE="caps debug python seccomp"
40 -
41 -RDEPEND="caps? ( >=sys-libs/libcap-2.24 )
42 - python? (
43 - ${PYTHON_DEPS}
44 - dev-python/pyelftools[${PYTHON_USEDEP}]
45 - )
46 - seccomp? ( sys-libs/libseccomp )"
47 -DEPEND="${RDEPEND}
48 - caps? ( virtual/pkgconfig )
49 - seccomp? ( virtual/pkgconfig )
50 - app-arch/xz-utils"
51 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
52 -
53 -_emake() {
54 - emake \
55 - USE_CAP=$(usex caps) \
56 - USE_DEBUG=$(usex debug) \
57 - USE_PYTHON=$(usex python) \
58 - USE_SECCOMP=$(usex seccomp) \
59 - "$@"
60 -}
61 -
62 -pkg_setup() {
63 - if use python; then
64 - python-single-r1_pkg_setup
65 - fi
66 -}
67 -
68 -src_configure() {
69 - # Avoid slow configure+gnulib+make if on an up-to-date Linux system
70 - if use prefix || ! use kernel_linux ||
71 - has_version '<sys-libs/glibc-2.10'
72 - then
73 - econf $(use_with caps) $(use_with debug) $(use_with python) $(use_with seccomp)
74 - else
75 - tc-export CC PKG_CONFIG
76 - fi
77 -}
78 -
79 -src_compile() {
80 - _emake
81 -}
82 -
83 -src_test() {
84 - _emake check
85 -}
86 -
87 -src_install() {
88 - _emake DESTDIR="${D}" PKGDOCDIR='$(DOCDIR)'/${PF} install
89 -
90 - use python && python_fix_shebang "${ED}"/usr/bin/lddtree
91 -}