Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/whois/
Date: Wed, 01 Jan 2020 18:27:15
Message-Id: 1577903227.a8ed10c36eae5add067b45cc0c7546d50cade654.polynomial-c@gentoo
1 commit: a8ed10c36eae5add067b45cc0c7546d50cade654
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 1 18:26:55 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 1 18:27:07 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8ed10c3
7
8 net-misc/whois: Removed old
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 net-misc/whois/Manifest | 1 -
14 net-misc/whois/whois-5.5.2.ebuild | 72 ---------------------------------------
15 2 files changed, 73 deletions(-)
16
17 diff --git a/net-misc/whois/Manifest b/net-misc/whois/Manifest
18 index 09c7856d37d..72d8fb8ebef 100644
19 --- a/net-misc/whois/Manifest
20 +++ b/net-misc/whois/Manifest
21 @@ -1,4 +1,3 @@
22 -DIST whois-5.5.2.tar.gz 103312 BLAKE2B a1b5c7ad0147dd5b9a63deed9433f31f46f141af88673e858f7316bd6ea72c632c9c804fc0691faabb992bf525d29e6c1e0106f98b6457933adab87d94f51a2d SHA512 39cb2a8eb105096d8905d9509b86750e4850808e74d5a3640c0e57185255e2ae18b322b7cfe98f2e00ad13638e5403d93c78280b0ae2477e6e7ae8a0f0b8c234
23 DIST whois-5.5.4.tar.gz 103246 BLAKE2B 2faf638f45d57c3f19845c37bfee061c2586121a4bb5e1f4b37c23dbe08ef0642db7cc58c14dea8edbbbb8de91cfbfaf72d1901c19a2bd3ca19f6838e3500362 SHA512 f2fa92dc9490356c3584c2f9ac4e443dd4f57fbbeb0499fefc80af62665b886cb19d33ca55c5a8a0f9378588a646dfbd4dfda4da6c55681ba974b49ed93208d7
24 DIST whois_5.4.3.tar.xz 83904 BLAKE2B 19b78ca984c86ad711c317ca6090003ae354eee2b39f353081e99f44396e254b3cb75d38c8f6df9fe88283c5036e9e02f38c74401de8245dbd4f5dae3a6e1a0a SHA512 762feec983d29696796bea87fb47c5bd7357ca96d701b2e30cccb186c248225c45b451289ab45936d7e3eed5c0ff4e8fa249255ceb061a4e1ba1f6cd8fcdf084
25 DIST whois_5.5.3.tar.xz 85456 BLAKE2B fb64150ef2a3c40c7e9b7467198f1187b07d7b0a75e7f89f36a613cd9480016434a187607f93c102142f2f82cba405f5b0a7b16314f1b13aea793da6eb3b9ade SHA512 cf92c17b9187da1fb5ef38d3e814cb5590fc9bcb5c8f53640428cb7680fd003ce71d8a6819279b571138da1b31042b65eb1dac5d3b220ab725d191958c4ba47b
26
27 diff --git a/net-misc/whois/whois-5.5.2.ebuild b/net-misc/whois/whois-5.5.2.ebuild
28 deleted file mode 100644
29 index 8b649d81bce..00000000000
30 --- a/net-misc/whois/whois-5.5.2.ebuild
31 +++ /dev/null
32 @@ -1,72 +0,0 @@
33 -# Copyright 1999-2019 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -inherit toolchain-funcs
39 -
40 -MY_P="${P/-/_}"
41 -DESCRIPTION="improved Whois Client"
42 -HOMEPAGE="https://github.com/rfc1036/whois"
43 -if [[ "${PV}" == *9999 ]] ; then
44 - inherit git-r3
45 - EGIT_REPO_URI="https://github.com/rfc1036/whois.git"
46 -else
47 - #SRC_URI="mirror://debian/pool/main/w/whois/${MY_P}.tar.xz"
48 - SRC_URI="https://github.com/rfc1036/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
49 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
50 -fi
51 -LICENSE="GPL-2"
52 -SLOT="0"
53 -IUSE="iconv idn nls"
54 -RESTRICT="test" #59327
55 -
56 -RDEPEND="iconv? ( virtual/libiconv )
57 - idn? ( net-dns/libidn2:= )
58 - nls? ( virtual/libintl )"
59 -DEPEND="${RDEPEND}"
60 -BDEPEND="
61 - app-arch/xz-utils
62 - >=dev-lang/perl-5
63 - virtual/pkgconfig
64 - nls? ( sys-devel/gettext )"
65 -
66 -PATCHES=(
67 - "${FILESDIR}"/${PN}-4.7.2-config-file.patch
68 - "${FILESDIR}"/${PN}-5.3.0-libidn_automagic.patch
69 -)
70 -
71 -src_prepare() {
72 - default
73 - if use nls ; then
74 - sed -i -e 's:#\(.*pos\):\1:' Makefile || die
75 - else
76 - sed -i -e '/ENABLE_NLS/s:define:undef:' config.h || die
77 -
78 - # don't generate po files when nls is disabled (bug #419889)
79 - sed -i -e '/^all:/s/ pos//' \
80 - -e '/^install:/s/ install-pos//' Makefile || die
81 - fi
82 -}
83 -
84 -src_configure() { :; } # expected no-op
85 -
86 -src_compile() {
87 - unset HAVE_ICONV HAVE_LIBIDN
88 - use iconv && export HAVE_ICONV=1
89 - use idn && export HAVE_LIBIDN=1
90 - tc-export CC
91 - emake CFLAGS="${CFLAGS} ${CPPFLAGS}"
92 -}
93 -
94 -src_install() {
95 - emake BASEDIR="${ED}" prefix=/usr install
96 - insinto /etc
97 - doins whois.conf
98 - dodoc README debian/changelog
99 -
100 - if [[ ${USERLAND} != "GNU" ]]; then
101 - mv "${ED}"/usr/share/man/man1/{whois,mdwhois}.1 || die
102 - mv "${ED}"/usr/bin/{whois,mdwhois} || die
103 - fi
104 -}