summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-01-08 04:55:48 +0000
committerMike Frysinger <vapier@gentoo.org>2007-01-08 04:55:48 +0000
commitc1219cb0edd7ad93f7952485a093084f3426d538 (patch)
treef0656f667d19c4538f06c5ba19a6c2a84dc4350d /net-misc/jwhois
parentQA: Set WANT_AUTOCONF and WANT_AUTOMAKE when using autotools.eclass, bug 160529 (diff)
downloadgentoo-2-c1219cb0edd7ad93f7952485a093084f3426d538.tar.gz
gentoo-2-c1219cb0edd7ad93f7952485a093084f3426d538.tar.bz2
gentoo-2-c1219cb0edd7ad93f7952485a093084f3426d538.zip
Fix from upstream for handling .de whois #159776 by Alexander Schneider.
(Portage version: 2.1.2_rc4-r6)
Diffstat (limited to 'net-misc/jwhois')
-rw-r--r--net-misc/jwhois/ChangeLog10
-rw-r--r--net-misc/jwhois/files/digest-jwhois-3.2.3-r13
-rw-r--r--net-misc/jwhois/files/jwhois-3.2.3-whois-de.patch18
-rw-r--r--net-misc/jwhois/jwhois-3.2.3-r1.ebuild36
4 files changed, 65 insertions, 2 deletions
diff --git a/net-misc/jwhois/ChangeLog b/net-misc/jwhois/ChangeLog
index 471e85b29fd7..48bb78519ec8 100644
--- a/net-misc/jwhois/ChangeLog
+++ b/net-misc/jwhois/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/jwhois
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/jwhois/ChangeLog,v 1.27 2006/10/27 21:52:29 vapier Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/jwhois/ChangeLog,v 1.28 2007/01/08 04:55:48 vapier Exp $
+
+*jwhois-3.2.3-r1 (08 Jan 2007)
+
+ 08 Jan 2007; Mike Frysinger <vapier@gentoo.org>
+ +files/jwhois-3.2.3-whois-de.patch, +jwhois-3.2.3-r1.ebuild:
+ Fix from upstream for handling .de whois #159776 by Alexander Schneider.
29 Apr 2006; Joshua Kinard <kumba@gentoo.org> jwhois-3.2.3.ebuild:
Marked stable on mips.
diff --git a/net-misc/jwhois/files/digest-jwhois-3.2.3-r1 b/net-misc/jwhois/files/digest-jwhois-3.2.3-r1
new file mode 100644
index 000000000000..962c4cf1cc7b
--- /dev/null
+++ b/net-misc/jwhois/files/digest-jwhois-3.2.3-r1
@@ -0,0 +1,3 @@
+MD5 1232661cebd79a9772f416599d3f5929 jwhois-3.2.3.tar.gz 430792
+RMD160 32624b5472beb7cc383f2cf46cb3be7800ad41db jwhois-3.2.3.tar.gz 430792
+SHA256 ada17cb751ec09f91d4f22938bf9a83e7cc548f2cfce09fcc00101c142583f24 jwhois-3.2.3.tar.gz 430792
diff --git a/net-misc/jwhois/files/jwhois-3.2.3-whois-de.patch b/net-misc/jwhois/files/jwhois-3.2.3-whois-de.patch
new file mode 100644
index 000000000000..9bd56b5b2eda
--- /dev/null
+++ b/net-misc/jwhois/files/jwhois-3.2.3-whois-de.patch
@@ -0,0 +1,18 @@
+fix from upstream cvs
+
+http://bugs.gentoo.org/159776
+
+--- jwhois-3.2.3/example/jwhois.conf
++++ jwhois-3.2.3/example/jwhois.conf
+@@ -180,7 +180,10 @@
+ "\\.cx$" = "whois.nic.cx";
+ "\\.cy$" = "whois.ripe.net";
+ "\\.cz$" = "whois.nic.cz";
+- "\\.de$" = "www.denic.de";
++ "\\.de$" {
++ whois-server = "whois.denic.de";
++ query-format = "-C UTF-8 -T dn,ace $*";
++ }
+ "\\.dk$" = "whois.dk-hostmaster.dk";
+ "\\.do$" = "whois.nic.do";
+ "\\.dz$" = "whois.ripe.net";
diff --git a/net-misc/jwhois/jwhois-3.2.3-r1.ebuild b/net-misc/jwhois/jwhois-3.2.3-r1.ebuild
new file mode 100644
index 000000000000..7095120aaf34
--- /dev/null
+++ b/net-misc/jwhois/jwhois-3.2.3-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/jwhois/jwhois-3.2.3-r1.ebuild,v 1.3 2007/01/08 04:55:48 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="Advanced Internet Whois client capable of recursive queries"
+HOMEPAGE="http://www.gnu.org/software/jwhois/"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
+IUSE="nls"
+
+DEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-whois-de.patch #159776
+}
+
+src_compile() {
+ econf \
+ --localstatedir=/var/cache \
+ --without-cache \
+ $(use_enable nls) \
+ || die "econf failed"
+ emake || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog NEWS README TODO
+}