1 |
commit: 9f550b9bf83b90b935f178da78aa09c9b9fe4cea |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 26 11:06:11 2019 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 26 11:06:23 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f550b9b |
7 |
|
8 |
net-misc/gwhois: Use Debian sources as they are still maintained |
9 |
|
10 |
Bug: https://bugs.gentoo.org/675980 |
11 |
Package-Manager: Portage-2.3.58, Repoman-2.3.12 |
12 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
13 |
|
14 |
net-misc/gwhois/Manifest | 1 + |
15 |
net-misc/gwhois/gwhois-20120626-r1.ebuild | 59 +++++++++++++++++++++++++++++++ |
16 |
2 files changed, 60 insertions(+) |
17 |
|
18 |
diff --git a/net-misc/gwhois/Manifest b/net-misc/gwhois/Manifest |
19 |
index 7d2e72b05ca..09ff5a1acb3 100644 |
20 |
--- a/net-misc/gwhois/Manifest |
21 |
+++ b/net-misc/gwhois/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
+DIST gwhois_20120626-1.2.tar.gz 41800 BLAKE2B 695005bd37abaf0dc39593dcc3dfd01102b896dc2bb74a8f3be774d5f7316861588ca3ca621eabdeb19739abfda9be0ab215c757181d3d08ce0416f315410d0d SHA512 c18e20a033e3d2de3b1a5c81d1fdae88cfd9dbc5261b4512b87376d0909ea538db46b3380aaa426ef43904ef292662185dd2f3cb59c56dba306c41a0e827bcb0 |
24 |
DIST gwhois_20120626.tar.gz 41698 BLAKE2B cce3a6eb385bb782a772a7532cecc2ae164d6ea00a42a6afa29b2ff4d16526507511c16e9cae3dab3d26e7818126b2fcd20a5d88a4affa472162f9ef30c0e464 SHA512 8ffaa611389929435f70d3f020e28249e6e3109c4e822e9318b050f52cf09d6934adbb14ab67a6361574ce8645656d5eaf24808dea453f2187352fc2b2513e0e |
25 |
|
26 |
diff --git a/net-misc/gwhois/gwhois-20120626-r1.ebuild b/net-misc/gwhois/gwhois-20120626-r1.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..59fb8f605ff |
29 |
--- /dev/null |
30 |
+++ b/net-misc/gwhois/gwhois-20120626-r1.ebuild |
31 |
@@ -0,0 +1,59 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+inherit readme.gentoo-r1 |
37 |
+ |
38 |
+MY_P="${P/_p/.}" |
39 |
+S="${WORKDIR}/${MY_P}" |
40 |
+ |
41 |
+DESCRIPTION="Generic whois" |
42 |
+HOMEPAGE="https://julijane.de/gwhois/" |
43 |
+# Debian is still maintaining it |
44 |
+#SRC_URI="http://gwhois.de/gwhois/${MY_P/-/_}.tar.gz" |
45 |
+ |
46 |
+DEBIAN_VER="1.2" |
47 |
+SRC_URI="mirror://debian/pool/main/g/${PN}/${MY_P/-/_}-${DEBIAN_VER}.tar.gz" |
48 |
+ |
49 |
+LICENSE="GPL-2" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
52 |
+IUSE="" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ www-client/lynx |
56 |
+ net-misc/curl |
57 |
+ dev-lang/perl:= |
58 |
+ dev-perl/libwww-perl |
59 |
+ dev-perl/Net-LibIDN |
60 |
+" |
61 |
+DEPEND="" |
62 |
+ |
63 |
+DOC_CONTENTS=" |
64 |
+ See included gwhois.xinetd for an example on how to |
65 |
+ use gwhois as a whois proxy using xinetd. |
66 |
+ Just copy gwhois.xinetd to /etc/xinetd.d/gwhois |
67 |
+ and reload xinetd. |
68 |
+" |
69 |
+ |
70 |
+src_install() { |
71 |
+ dodir /etc/gwhois |
72 |
+ insinto /etc/gwhois |
73 |
+ doins pattern |
74 |
+ dobin gwhois |
75 |
+ doman gwhois.1 |
76 |
+ dodoc TODO "${FILESDIR}/gwhois.xinetd" README.RIPE |
77 |
+ readme.gentoo_create_doc |
78 |
+} |
79 |
+ |
80 |
+pkg_postinst() { |
81 |
+ if [ -f /etc/gwhois/pattern.ripe ]; then |
82 |
+ ewarn "" |
83 |
+ ewarn "Will move old /etc/gwhois/pattern.ripe to removethis-pattern.ripe" |
84 |
+ ewarn "as it causes malfunction with this version." |
85 |
+ ewarn "If you did not modify the file, just remove it." |
86 |
+ ewarn "" |
87 |
+ mv /etc/gwhois/pattern.ripe /etc/gwhois/removethis-pattern.ripe |
88 |
+ fi |
89 |
+ readme.gentoo_print_elog |
90 |
+} |