1 |
commit: 87f108782b208f4c1e36727c2a5351b829accc6b |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 6 23:46:51 2021 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 7 01:54:22 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87f10878 |
7 |
|
8 |
sys-apps/net-tools: drop old 1.60_p20161110235919 version |
9 |
|
10 |
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org> |
11 |
|
12 |
sys-apps/net-tools/Manifest | 1 - |
13 |
.../net-tools-1.60_p20161110235919.ebuild | 94 ---------------------- |
14 |
2 files changed, 95 deletions(-) |
15 |
|
16 |
diff --git a/sys-apps/net-tools/Manifest b/sys-apps/net-tools/Manifest |
17 |
index 4a2fce50b87..f57cda944ee 100644 |
18 |
--- a/sys-apps/net-tools/Manifest |
19 |
+++ b/sys-apps/net-tools/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST net-tools-1.60_p20161110235919.tar.xz 227552 BLAKE2B 0dba75b7b7345be047bd8618811c6ea43f96f0d7c8a2c67cd03138b8f31dc47a641c7ff1e93fb1ad295423f9b82e3d222178c7c97233d4e3698355fed729f723 SHA512 06c2900305a5b11035bdb9d94e9d0a50c2ca832e14598d00d6907d99a4a3c981169475bbe916805888f9746a7d787829f20e6a4dec283731a2c85a72875b8e01 |
22 |
DIST net-tools-1.60_p20180626073013.tar.xz 228276 BLAKE2B 1545533abf75cb960896994710a02f0e4f5534232057fa9c80d2ec54af84d068d3337a93e869e8377539584eebf4c4d8175e16f19bc12360946ab908b41b2f2f SHA512 3ea9036c2597e6da3a1d9a61a77bbe0b80c448d42a3cc59469f37255064d9e046b5f331155adac256f9812200342f72624ba1ea27a4ee3696b3c9ad53b6b86eb |
23 |
|
24 |
diff --git a/sys-apps/net-tools/net-tools-1.60_p20161110235919.ebuild b/sys-apps/net-tools/net-tools-1.60_p20161110235919.ebuild |
25 |
deleted file mode 100644 |
26 |
index 56b1c2da865..00000000000 |
27 |
--- a/sys-apps/net-tools/net-tools-1.60_p20161110235919.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,94 +0,0 @@ |
30 |
-# Copyright 1999-2020 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI="5" |
34 |
- |
35 |
-inherit flag-o-matic toolchain-funcs |
36 |
- |
37 |
-if [[ ${PV} == "9999" ]] ; then |
38 |
- EGIT_REPO_URI="https://git.code.sf.net/p/net-tools/code" |
39 |
- inherit git-r3 |
40 |
-else |
41 |
- SRC_URI="mirror://gentoo/${P}.tar.xz" |
42 |
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux" |
43 |
-fi |
44 |
- |
45 |
-DESCRIPTION="Standard Linux networking tools" |
46 |
-HOMEPAGE="http://net-tools.sourceforge.net/" |
47 |
- |
48 |
-LICENSE="GPL-2" |
49 |
-SLOT="0" |
50 |
-IUSE="+arp +hostname ipv6 nis nls plipconfig selinux slattach static" |
51 |
-REQUIRED_USE="nis? ( hostname )" |
52 |
- |
53 |
-RDEPEND="selinux? ( sys-libs/libselinux )" |
54 |
-DEPEND="${RDEPEND} |
55 |
- selinux? ( virtual/pkgconfig ) |
56 |
- app-arch/xz-utils" |
57 |
-if [[ ${PV} == "9999" ]]; then |
58 |
- DEPEND+=" nls? ( sys-devel/gettext )" |
59 |
-fi |
60 |
-RDEPEND+=" |
61 |
- hostname? ( !sys-apps/coreutils[hostname] ) |
62 |
- !<sys-apps/openrc-0.9.9.3" |
63 |
- |
64 |
-maint_pkg_create() { |
65 |
- cd /usr/local/src/net-tools |
66 |
- #git-update |
67 |
- local stamp=$(date --date="$(git log -n1 --pretty=format:%ci master)" -u +%Y%m%d%H%M%S) |
68 |
- local pv="${PV/_p*}_p${stamp}"; pv=${pv/9999/1.60} |
69 |
- local p="${PN}-${pv}" |
70 |
- git archive --prefix="${p}/" master | tar xf - -C "${T}" |
71 |
- pushd "${T}" >/dev/null |
72 |
- emake -C "${p}/po" dist |
73 |
- sed -i "/^RELEASE/s:=.*:=${pv}:" */Makefile || die |
74 |
- tar cf - ${p}/ | xz > ${p}.tar.xz |
75 |
- popd >/dev/null |
76 |
- |
77 |
- du -b "${T}"/*.tar.xz |
78 |
-} |
79 |
- |
80 |
-pkg_setup() { [[ -n ${VAPIER_LOVES_YOU} ]] && maint_pkg_create ; } |
81 |
- |
82 |
-set_opt() { |
83 |
- local opt=$1 ans |
84 |
- shift |
85 |
- ans=$("$@" && echo y || echo n) |
86 |
- einfo "Setting option ${opt} to ${ans}" |
87 |
- sed -i \ |
88 |
- -e "/^bool.* ${opt} /s:[yn]$:${ans}:" \ |
89 |
- config.in || die |
90 |
-} |
91 |
- |
92 |
-src_prepare() { |
93 |
- epatch "${FILESDIR}/${P}-fix-building-w-older-linux-headers.patch" |
94 |
-} |
95 |
- |
96 |
-src_configure() { |
97 |
- # Clear out env vars from the user. #599602 |
98 |
- unset BASEDIR BINDIR SBINDIR |
99 |
- |
100 |
- set_opt I18N use nls |
101 |
- set_opt HAVE_AFINET6 use ipv6 |
102 |
- set_opt HAVE_HWIB has_version '>=sys-kernel/linux-headers-2.6' |
103 |
- set_opt HAVE_HWTR has_version '<sys-kernel/linux-headers-3.5' |
104 |
- set_opt HAVE_HWSTRIP has_version '<sys-kernel/linux-headers-3.6' |
105 |
- set_opt HAVE_SELINUX use selinux |
106 |
- set_opt HAVE_ARP_TOOLS use arp |
107 |
- set_opt HAVE_HOSTNAME_TOOLS use hostname |
108 |
- set_opt HAVE_HOSTNAME_SYMLINKS use nis |
109 |
- set_opt HAVE_PLIP_TOOLS use plipconfig |
110 |
- set_opt HAVE_SERIAL_TOOLS use slattach |
111 |
- if use static ; then |
112 |
- append-flags -static |
113 |
- append-ldflags -static |
114 |
- fi |
115 |
- tc-export AR CC |
116 |
- yes "" | ./configure.sh config.in || die |
117 |
-} |
118 |
- |
119 |
-src_install() { |
120 |
- # We need to use emake by hand to pass ED. #567300 |
121 |
- emake DESTDIR="${ED}" install |
122 |
- dodoc README THANKS TODO |
123 |
-} |