1 |
commit: 941dec9a994ca9be796db8d8ffe63e9fc829d3a5 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 13 22:10:42 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 13 22:10:42 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=941dec9a |
7 |
|
8 |
sys-process/lsof: Remove old 4.93.2-r1 |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
sys-process/lsof/Manifest | 1 - |
14 |
sys-process/lsof/lsof-4.93.2-r1.ebuild | 113 --------------------------------- |
15 |
2 files changed, 114 deletions(-) |
16 |
|
17 |
diff --git a/sys-process/lsof/Manifest b/sys-process/lsof/Manifest |
18 |
index ca06222d720..dde851268b0 100644 |
19 |
--- a/sys-process/lsof/Manifest |
20 |
+++ b/sys-process/lsof/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST lsof-4.93.2.tar.gz 1319222 BLAKE2B 3b1756e7b72a0b0a2a11bce82a9b386f6dc5727d7837a4d544e2e33a98be3bfb46af50f0d8cc7b4a4bc419148d13f86d0f34cf806d90ba5d31312f426f81b7e9 SHA512 3c4a4d503391b1a648a08a4947c2e72a9629b169eddf50738b16a16a82f2a26967e4db2902e4a9157de5a73ae638db48e392117ffbd591e9fafd6b1725cd01a0 |
23 |
DIST lsof-4.94.0.tar.gz 1340224 BLAKE2B b3d3c4707dac22c5431ac37c6a9f28ba5057b9a8dce65038934f1148209ef4615012ed887e263ec648679d0d95a06c78ed83a7d76cc8d97c05c013c563938793 SHA512 852b12e621e1dbf71e5f7fd848a200339ca278fbe8c39dcd33f745d1aea4e61552c0f30a3f6469ad9d4b86a9163e677f8c95298159ebd647357734225aa06c0c |
24 |
|
25 |
diff --git a/sys-process/lsof/lsof-4.93.2-r1.ebuild b/sys-process/lsof/lsof-4.93.2-r1.ebuild |
26 |
deleted file mode 100644 |
27 |
index b0aa61597ce..00000000000 |
28 |
--- a/sys-process/lsof/lsof-4.93.2-r1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,113 +0,0 @@ |
31 |
-# Copyright 1999-2021 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-inherit flag-o-matic toolchain-funcs |
37 |
- |
38 |
-MY_P="${P/-/_}" |
39 |
-DESCRIPTION="Lists open files for running Unix processes" |
40 |
-HOMEPAGE="https://github.com/lsof-org/lsof" |
41 |
-SRC_URI="https://github.com/lsof-org/lsof/archive/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
- |
43 |
-LICENSE="lsof" |
44 |
-SLOT="0" |
45 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
46 |
-IUSE="examples ipv6 rpc selinux" |
47 |
- |
48 |
-RDEPEND="rpc? ( net-libs/libtirpc ) |
49 |
- selinux? ( sys-libs/libselinux )" |
50 |
-DEPEND="${RDEPEND}" |
51 |
-BDEPEND=" |
52 |
- sys-apps/groff |
53 |
- rpc? ( virtual/pkgconfig ) |
54 |
-" |
55 |
- |
56 |
-PATCHES=( |
57 |
- "${FILESDIR}"/${PN}-4.85-cross.patch #432120 |
58 |
-) |
59 |
- |
60 |
-src_prepare() { |
61 |
- default |
62 |
- # fix POSIX compliance with `echo` |
63 |
- sed -i \ |
64 |
- -e 's:echo -n:printf:' \ |
65 |
- AFSConfig Configure Customize Inventory tests/CkTestDB || die |
66 |
- # Convert `test -r header.h` into a compile test. |
67 |
- # Make sure we convert `test ... -a ...` into two `test` commands |
68 |
- # so we can then convert both over into a compile test. #601432 |
69 |
- sed -i -E \ |
70 |
- -e '/if test .* -a /s: -a : \&\& test :g' \ |
71 |
- -e '/test -r/s:test -r \$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo "#include <\1>" | ${LSOF_CC} ${LSOF_CFGF} -E - >/dev/null 2>\&1:g' \ |
72 |
- -e 's:grep (.*) \$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo "#include <\2>" | ${LSOF_CC} ${LSOF_CFGF} -E -P -dD - 2>/dev/null | grep \1:' \ |
73 |
- Configure || die |
74 |
- |
75 |
- # "create" man-page (bug #689462) |
76 |
- # inspired by shipped "makeman" ksh script |
77 |
- soelim < Lsof.8 > lsof.8 || die |
78 |
-} |
79 |
- |
80 |
-target() { |
81 |
- case ${CHOST} in |
82 |
- *-darwin*) echo darwin ;; |
83 |
- *-freebsd*) echo freebsd ;; |
84 |
- *-solaris*) echo solaris ;; |
85 |
- *-aix*) echo aixgcc ;; |
86 |
- *) echo linux ;; |
87 |
- esac |
88 |
-} |
89 |
- |
90 |
-src_configure() { |
91 |
- append-cppflags $(use rpc && $(tc-getPKG_CONFIG) libtirpc --cflags || echo "-DHASNOTRPC -DHASNORPC_H") |
92 |
- append-cppflags $(usex ipv6 -{D,U}HASIPv6) |
93 |
- [[ ${CHOST} == *-solaris2.11 ]] && append-cppflags -DHAS_PAD_MUTEX |
94 |
- if [[ ${CHOST} == *-darwin* ]] ; then |
95 |
- # make sys/proc_info.h available in ${T} because of LSOF_INCLUDE |
96 |
- # dummy location -- Darwin needs this for a Configure check to |
97 |
- # succeed |
98 |
- if [[ -e /usr/include/sys/proc_info.h ]] ; then |
99 |
- mkdir -p "${T}"/sys || die |
100 |
- ( cd "${T}"/sys && ln -s /usr/include/sys/proc_info.h ) || die |
101 |
- fi |
102 |
- fi |
103 |
- |
104 |
- export LSOF_CFGL="${CFLAGS} ${LDFLAGS} \ |
105 |
- $(use rpc && $(tc-getPKG_CONFIG) libtirpc --libs)" |
106 |
- |
107 |
- # Set LSOF_INCLUDE to a dummy location so the script doesn't poke |
108 |
- # around in it and mix /usr/include paths with cross-compile/etc. |
109 |
- touch .neverInv |
110 |
- LINUX_HASSELINUX=$(usex selinux y n) \ |
111 |
- LSOF_INCLUDE=${T} \ |
112 |
- LSOF_CC=$(tc-getCC) \ |
113 |
- LSOF_AR="$(tc-getAR) rc" \ |
114 |
- LSOF_RANLIB=$(tc-getRANLIB) \ |
115 |
- LSOF_CFGF="${CFLAGS} ${CPPFLAGS}" \ |
116 |
- ./Configure -n $(target) || die |
117 |
-} |
118 |
- |
119 |
-src_compile() { |
120 |
- emake DEBUG="" all |
121 |
-} |
122 |
- |
123 |
-src_install() { |
124 |
- dobin lsof |
125 |
- |
126 |
- if use examples ; then |
127 |
- insinto /usr/share/lsof/scripts |
128 |
- doins scripts/* |
129 |
- fi |
130 |
- |
131 |
- doman lsof.8 |
132 |
- dodoc 00* |
133 |
-} |
134 |
- |
135 |
-pkg_postinst() { |
136 |
- if [[ ${CHOST} == *-solaris* ]] ; then |
137 |
- einfo "Note: to use lsof on Solaris you need read permissions on" |
138 |
- einfo "/dev/kmem, i.e. you need to be root, or to be in the group sys" |
139 |
- elif [[ ${CHOST} == *-aix* ]] ; then |
140 |
- einfo "Note: to use lsof on AIX you need read permissions on /dev/mem and" |
141 |
- einfo "/dev/kmem, i.e. you need to be root, or to be in the group system" |
142 |
- fi |
143 |
-} |