# ChangeLog for net-misc/whois
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.78 2007/03/08 18:52:18 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.79 2007/04/24 14:19:08 solar Exp $
+
+*whois-4.7.21 (24 Apr 2007)
+
+ 24 Apr 2007; <solar@gentoo.org> +whois-4.7.21.ebuild:
+ - Version bump. bug 175857
08 Mar 2007; Tobias Scherbaum <dertobi123@gentoo.org> whois-4.7.20.ebuild:
Stable on ppc wrt bug #169099.
DIST whois_4.7.12.tar.gz 58652 RMD160 3799855858b8a43f30f847440a217d18c3c6f346 SHA1 0ea9d82cf7ef81c27ff6925fb6f72e4fd751b9df SHA256 89b0fea0cd105199035f8204dabf3276bd5635a2fad3d6a3873bbb78716b5b83
DIST whois_4.7.19.tar.gz 60524 RMD160 fcd01163739dfabc103665551772c7779868cdbe SHA1 e44b94488ba1c08d2be97f328b409d91113cd826 SHA256 f39fa19bc834b9d78c3f0f182becf6397eaa010a70d1d1072645ae130df1486d
DIST whois_4.7.20.tar.gz 60004 RMD160 731daccb9fb2c7836967cd124982b0bb61a3b838 SHA1 e30854ce446b309229da8c88b55f35bb1c974e80 SHA256 26c0249c2c7bc6c5a852a18d196f9cc661eb9ab775d71089ef034ce43b269b67
+DIST whois_4.7.21.tar.gz 60132 RMD160 f29913db071d58874757c51d8fc1701645b19d9f SHA1 3569982ff0a7ce9fd967af05a773e6e80aea0bcf SHA256 c62dca7c1bc1da469cb98c08075e716c33ef631cbdf86b819949c306b417df77
EBUILD whois-4.7.12.ebuild 1286 RMD160 12e8e896f8fd1a5a6237a96c9dea40c7d9a444df SHA1 ac9b632f9fbf7a360626bc58de269e099579aeac SHA256 df58e47232b31482fb0075f1bfdd10028ad1f0dc0a50a00d861d677b84b38752
MD5 5d776248bb2a38239798110385a6a74e whois-4.7.12.ebuild 1286
RMD160 12e8e896f8fd1a5a6237a96c9dea40c7d9a444df whois-4.7.12.ebuild 1286
MD5 cd2419c40e6bf427903a68d2be3f22e4 whois-4.7.20.ebuild 1291
RMD160 7b808721130adc0a0ac4158ebbbdbf8346d11f1d whois-4.7.20.ebuild 1291
SHA256 15854ef3d282c632a3cb0b7ef8cad020e359771ccdba620898cea2a06ca38264 whois-4.7.20.ebuild 1291
-MISC ChangeLog 10697 RMD160 98ecfe845cfbe075953b668c93b989657b56f78f SHA1 8689e604dd6411d24aceb1ab61b490071950912a SHA256 834641f98db9ad32fa651966a463af62a5260c7127c61acfb8aa53535508d26f
-MD5 373db1c1c1233f1dea473868693dc8af ChangeLog 10697
-RMD160 98ecfe845cfbe075953b668c93b989657b56f78f ChangeLog 10697
-SHA256 834641f98db9ad32fa651966a463af62a5260c7127c61acfb8aa53535508d26f ChangeLog 10697
+EBUILD whois-4.7.21.ebuild 1297 RMD160 162e5f493d082422d869b1e6fe2c9353663d4c86 SHA1 3d701e28a377ae17027a2135f9f4580c4d9da6e4 SHA256 69f04280b26bb7920c132c0afaae906f5ee1b9baabeb447ea1c0ba1cdfe36bf9
+MD5 0d0edbcb9474e637579114d28033fdc2 whois-4.7.21.ebuild 1297
+RMD160 162e5f493d082422d869b1e6fe2c9353663d4c86 whois-4.7.21.ebuild 1297
+SHA256 69f04280b26bb7920c132c0afaae906f5ee1b9baabeb447ea1c0ba1cdfe36bf9 whois-4.7.21.ebuild 1297
+MISC ChangeLog 10807 RMD160 f846a178724f301e18fcd6f99cf7f04bbcc2da01 SHA1 ab2bed161e562e183c66f8104d098fff241a7880 SHA256 7b9dcbd9cc539d076ff6343452280efd2de913887adf44b3ea9aa08eec9ad569
+MD5 acf6febd25b8288e3630e9395e347edd ChangeLog 10807
+RMD160 f846a178724f301e18fcd6f99cf7f04bbcc2da01 ChangeLog 10807
+SHA256 7b9dcbd9cc539d076ff6343452280efd2de913887adf44b3ea9aa08eec9ad569 ChangeLog 10807
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164
MD5 f63abcfb54248ad48ff4cd38988b454a files/digest-whois-4.7.20 235
RMD160 9e10148eef5e7450a9e9e4f57df49c542fc26c9c files/digest-whois-4.7.20 235
SHA256 7084bdbcb14b47f18a42fbc576969f4c86f7cd65da8c0edf859b6397629dee9e files/digest-whois-4.7.20 235
+MD5 07a624fd507e4efe9562accc4ab4812b files/digest-whois-4.7.21 235
+RMD160 1b8b1bdf9fa5be3d1fff4575deb947d137f3faeb files/digest-whois-4.7.21 235
+SHA256 d69f540ac3e786a3e8d8316dd9182f21ce3b82f64327ccbaf7c62f0ae3aaf62c files/digest-whois-4.7.21 235
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/whois-4.7.21.ebuild,v 1.1 2007/04/24 14:19:08 solar Exp $
+
+inherit eutils toolchain-funcs
+
+MY_P=${P/-/_}
+DESCRIPTION="improved Whois Client"
+HOMEPAGE="http://www.linux.it/~md/software/"
+SRC_URI="mirror://debian/pool/main/w/whois/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="nls"
+RESTRICT="test" #59327
+
+RDEPEND="net-dns/libidn"
+DEPEND="${RDEPEND}
+ >=dev-lang/perl-5"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-4.7.19-gentoo-security.patch
+ epatch "${FILESDIR}"/${PN}-4.7.2-config-file.patch
+
+ if use nls ; then
+ cd po
+ sed -i -e "s:/usr/bin/install:install:" Makefile
+ else
+ sed -i -e '/ENABLE_NLS/s:define:undef:' config.h
+ sed -i -e "s:cd po.*::" Makefile
+ fi
+}
+
+src_compile() {
+ tc-export CC
+ emake OPTS="${CFLAGS}" HAVE_LIBIDN=1 || die
+}
+
+src_install() {
+ dodir /usr/bin /usr/share/man/man1
+ make BASEDIR="${D}" prefix=/usr install || die
+ insinto /etc
+ doins whois.conf
+ dodoc README
+
+ if [[ "${USERLAND}" != "GNU" ]]; then
+ mv ${D}/usr/share/man/man1/{whois,mdwhois}.1
+ mv ${D}/usr/bin/{whois,mdwhois}
+ fi
+}