From 33b44ffc6634a83ac73673a2186b3da36fab3dd0 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 8 Jan 2007 04:55:48 +0000 Subject: [PATCH] Fix from upstream for handling .de whois #159776 by Alexander Schneider. Package-Manager: portage-2.1.2_rc4-r6 --- net-misc/jwhois/ChangeLog | 10 ++++-- net-misc/jwhois/Manifest | 27 +++++++++----- net-misc/jwhois/files/digest-jwhois-3.2.3-r1 | 3 ++ .../jwhois/files/jwhois-3.2.3-whois-de.patch | 18 ++++++++++ net-misc/jwhois/jwhois-3.2.3-r1.ebuild | 36 +++++++++++++++++++ 5 files changed, 84 insertions(+), 10 deletions(-) create mode 100644 net-misc/jwhois/files/digest-jwhois-3.2.3-r1 create mode 100644 net-misc/jwhois/files/jwhois-3.2.3-whois-de.patch create mode 100644 net-misc/jwhois/jwhois-3.2.3-r1.ebuild 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 + +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 jwhois-3.2.3.ebuild: Marked stable on mips. diff --git a/net-misc/jwhois/Manifest b/net-misc/jwhois/Manifest index 45f107fbca80..eef8ce1bfbbc 100644 --- a/net-misc/jwhois/Manifest +++ b/net-misc/jwhois/Manifest @@ -1,15 +1,23 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX jwhois-3.2.3-whois-de.patch 462 RMD160 65cf54dcf9d70b9a47d799c1c0387b59ae5ccbdb SHA1 3b0c5281e113d6f1be5915bb7864f147aacc24bb SHA256 cb6dba5ea51fc39e444daa00b8476f97138afbce2ea331ee20e1896a941f1b73 +MD5 85d6d41c211fd42278ef182bd5a6f64b files/jwhois-3.2.3-whois-de.patch 462 +RMD160 65cf54dcf9d70b9a47d799c1c0387b59ae5ccbdb files/jwhois-3.2.3-whois-de.patch 462 +SHA256 cb6dba5ea51fc39e444daa00b8476f97138afbce2ea331ee20e1896a941f1b73 files/jwhois-3.2.3-whois-de.patch 462 DIST jwhois-3.2.3.tar.gz 430792 RMD160 32624b5472beb7cc383f2cf46cb3be7800ad41db SHA1 8965bab3a8fc9bdab31b5a2209f888cb189fb21b SHA256 ada17cb751ec09f91d4f22938bf9a83e7cc548f2cfce09fcc00101c142583f24 +EBUILD jwhois-3.2.3-r1.ebuild 856 RMD160 225c9828ac22cf68c8af7f68be62e102a6596086 SHA1 5637f54c85fed926afb0386eaebb966e959c1694 SHA256 8cfacf9097002a3afe61acd4c0ca399680d41b4ef0b3f33574e2f20a6625bc8b +MD5 9d008a7b9de5a48e6c2bfceb4e59f48c jwhois-3.2.3-r1.ebuild 856 +RMD160 225c9828ac22cf68c8af7f68be62e102a6596086 jwhois-3.2.3-r1.ebuild 856 +SHA256 8cfacf9097002a3afe61acd4c0ca399680d41b4ef0b3f33574e2f20a6625bc8b jwhois-3.2.3-r1.ebuild 856 EBUILD jwhois-3.2.3.ebuild 738 RMD160 9070a96f4bff85aa8a524399e4f007a7ecda9321 SHA1 b7681c991e95acf9947b7e48eda0edbac7ebef9a SHA256 9e3487a60971bac16b90d05e52474761aa140435b036498bcd116c99c32c8d7d MD5 f03313287753d2e4d524ed5457e3e52d jwhois-3.2.3.ebuild 738 RMD160 9070a96f4bff85aa8a524399e4f007a7ecda9321 jwhois-3.2.3.ebuild 738 SHA256 9e3487a60971bac16b90d05e52474761aa140435b036498bcd116c99c32c8d7d jwhois-3.2.3.ebuild 738 -MISC ChangeLog 3117 RMD160 6afa6e163d509b814c86d9ad47d008ee3c202b0b SHA1 b1ed3da297a30e01eb296fe2fabf648410f26813 SHA256 2e892620c4b615d3c5039c669622a449d5a85f5113300478cce2f768bd0858b8 -MD5 ac3fa96e28eebcc1221b0499ffd4b129 ChangeLog 3117 -RMD160 6afa6e163d509b814c86d9ad47d008ee3c202b0b ChangeLog 3117 -SHA256 2e892620c4b615d3c5039c669622a449d5a85f5113300478cce2f768bd0858b8 ChangeLog 3117 +MISC ChangeLog 3338 RMD160 2394b50970137044191bb5c055200a7b86fd9867 SHA1 4b416d8c18491967fe5dfe3dc612cdee28dfab7b SHA256 16c70469621d8ccfc355aa58eec26ab75b3dfcc974758b3018b0afcf65126168 +MD5 7e8a4605ad092a887fe9df2092ceda8a ChangeLog 3338 +RMD160 2394b50970137044191bb5c055200a7b86fd9867 ChangeLog 3338 +SHA256 16c70469621d8ccfc355aa58eec26ab75b3dfcc974758b3018b0afcf65126168 ChangeLog 3338 MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164 @@ -17,10 +25,13 @@ SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 metadata MD5 46d3aa2b51963dd08d0ba872bdef889b files/digest-jwhois-3.2.3 238 RMD160 83070505bfadee4fbba9a72eb603c64302dd2956 files/digest-jwhois-3.2.3 238 SHA256 83e8d0d75687297a28dc63fce014f2c5f124078b52a029a207a32f021d65a570 files/digest-jwhois-3.2.3 238 +MD5 46d3aa2b51963dd08d0ba872bdef889b files/digest-jwhois-3.2.3-r1 238 +RMD160 83070505bfadee4fbba9a72eb603c64302dd2956 files/digest-jwhois-3.2.3-r1 238 +SHA256 83e8d0d75687297a28dc63fce014f2c5f124078b52a029a207a32f021d65a570 files/digest-jwhois-3.2.3-r1 238 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) +Version: GnuPG v2.0.1 (GNU/Linux) -iD8DBQFFQn/gamhnQswr0vIRAmpzAKC1UtpfTNYPOwLKzM7Ngyh1bQHhmgCgqv20 -7gZxKgkDzf1AKdSwf5pk/Cc= -=N+Wb +iD8DBQFFoc7n8bi6rjpTunYRAlJmAKCoOKo6IFSYw23A76dUG+y1cLaR5gCeOpDk +DXR/qRhR0lERNLVoK+aFmUo= +=489Z -----END PGP SIGNATURE----- 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 +} -- 2.26.2