Gentoo Archives: gentoo-commits

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