diff --git a/net-misc/whois/ChangeLog b/net-misc/whois/ChangeLog new file mode 100644 --- /dev/null +++ b/net-misc/whois/ChangeLog @@ -0,0 +1,497 @@ +# ChangeLog for net-misc/whois +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.134 2009/11/17 19:49:49 ranger Exp $ + + 17 Nov 2009; Brent Baude whois-4.7.36.ebuild: + Marking whois-4.7.36 ppc64 for bug 291095 + + 02 Nov 2009; Kenneth Prugh whois-4.7.36.ebuild: + amd64 stable, bug #291095 + + 02 Nov 2009; Jeroen Roovers whois-4.7.36.ebuild: + Stable for HPPA (bug #291095). + + 01 Nov 2009; nixnut whois-4.7.36.ebuild: + ppc stable #291095 + + 30 Oct 2009; Raúl Porcel whois-4.7.36.ebuild: + alpha/arm/ia64/s390/sh/sparc/x86 stable wrt #291095 + +*whois-4.7.36 (12 Sep 2009) + + 12 Sep 2009; Patrick Lauer +whois-4.7.36.ebuild: + Bump + +*whois-4.7.34 (25 Jun 2009) + + 25 Jun 2009; Mike Frysinger +whois-4.7.34.ebuild: + Version bump with fixes from Petr Pisar #275209. + + 30 May 2009; nixnut whois-4.7.30.ebuild: + ppc stable #271096 + + 28 May 2009; Steve Dibb whois-4.7.30.ebuild: + amd64 stable, bug 271096 + + 28 May 2009; Raúl Porcel whois-4.7.30.ebuild: + alpha/arm/ia64/s390/sh stable wrt #271096 + + 27 May 2009; Christian Faulhammer whois-4.7.30.ebuild: + stable x86, bug 271096 + + 26 May 2009; Ferris McCormick whois-4.7.30.ebuild: + Sparc stable, Bug #271096. + + 25 May 2009; Brent Baude whois-4.7.30.ebuild: + Marking whois-4.7.30 ppc64 for bug 271096 + + 24 May 2009; Jeroen Roovers whois-4.7.30.ebuild: + Stable for HPPA (bug #271096). + +*whois-4.7.33 (24 May 2009) + + 24 May 2009; Mike Frysinger +whois-4.7.33.ebuild: + Version bump. + + 29 Dec 2008; Raúl Porcel whois-4.7.27.ebuild: + arm/s390/sh/x86 stable wrt #252525 + + 28 Dec 2008; Tobias Scherbaum whois-4.7.27.ebuild: + ppc stable, bug #252525 + + 27 Dec 2008; Brent Baude whois-4.7.27.ebuild: + stable ppc64, bug 252525 + + 26 Dec 2008; Friedrich Oslage whois-4.7.27.ebuild: + Stable on sparc, bug #252525 + + 26 Dec 2008; Tobias Klausmann whois-4.7.27.ebuild: + Stable on alpha, bug #252525 + + 26 Dec 2008; Jeremy Olexa whois-4.7.27.ebuild: + amd64 stable, bug #252525 + + 25 Dec 2008; Guy Martin whois-4.7.27.ebuild: + hppa stable, #252525 + +*whois-4.7.30 (25 Dec 2008) + + 25 Dec 2008; Mike Frysinger +whois-4.7.30.ebuild: + Version bump #252435 by Arfrever Frehtes Taifersar Arahesis. + +*whois-4.7.27 (17 Aug 2008) + + 17 Aug 2008; Mike Frysinger +whois-4.7.27.ebuild: + Version bump #234746 by Raúl Porcel. + + 05 Jul 2008; Santiago M. Mola whois-4.7.26.ebuild: + amd64 stable + + 30 Jun 2008; Raúl Porcel whois-4.7.26.ebuild: + alpha/ia64/sparc/x86 stable + + 05 May 2008; Rémi Cardona + +files/whois-4.7.26-fix-as-needed.patch, whois-4.7.26.ebuild: + Add patch to fix --as-needed (see bug #220351) + +*whois-4.7.26 (05 May 2008) + + 05 May 2008; Mike Frysinger + +files/whois-4.7.26-gentoo-security.patch, +whois-4.7.26.ebuild: + Version bump #219498 by Conrad Kostecki. + + 08 Jan 2008; Jeroen Roovers whois-4.7.24.ebuild: + Stable for HPPA (bug #202595). + + 08 Jan 2008; Richard Freeman whois-4.7.24.ebuild: + amd64 stable - bug #202595 + + 08 Jan 2008; Brent Baude whois-4.7.24.ebuild: + Marking whois-4.7.24 ppc64 for bug 202595 + + 08 Jan 2008; Brent Baude whois-4.7.24.ebuild: + Marking whois-4.7.24 ppc for bug 202595 + + 07 Jan 2008; Doug Klima whois-4.7.22.ebuild, + whois-4.7.23.ebuild, whois-4.7.24.ebuild: + variable quoting + + 17 Dec 2007; Raúl Porcel whois-4.7.24.ebuild: + alpha/ia64/sparc/x86 stable + + 01 Dec 2007; Markus Rothe whois-4.7.23.ebuild: + Stable on ppc64 + + 19 Nov 2007; Joshua Kinard whois-4.7.23.ebuild: + Stable on mips. + +*whois-4.7.24 (18 Nov 2007) + + 18 Nov 2007; Mike Frysinger +whois-4.7.24.ebuild: + Version bump #199468. + + 29 Oct 2007; Raúl Porcel whois-4.7.23.ebuild: + alpha/ia64/sparc/x86 stable + +*whois-4.7.23 (29 Sep 2007) + + 29 Sep 2007; Mike Frysinger +whois-4.7.23.ebuild: + Version bump. + + 28 Sep 2007; nixnut whois-4.7.22.ebuild: + Stable on ppc wrt bug 194009 + + 28 Sep 2007; Jeroen Roovers whois-4.7.22.ebuild: + Stable for HPPA (bug #194009). + + 28 Sep 2007; Christoph Mende whois-4.7.22.ebuild: + Stable on amd64 wrt bug #194009 + + 28 Sep 2007; Joshua Kinard whois-4.7.22.ebuild: + Stable on mips, per #194009. + + 27 Sep 2007; Brent Baude whois-4.7.22.ebuild: + marking whois-4.7.22 ppc64 for bug#194009 + + 27 Sep 2007; Raúl Porcel whois-4.7.22.ebuild: + sparc stable + + 06 Sep 2007; Raúl Porcel whois-4.7.22.ebuild: + alpha/ia64/x86 stable + +*whois-4.7.22 (07 Aug 2007) + + 07 Aug 2007; Roy Marples +whois-4.7.22.ebuild: + Bump, #187954 thanks to Raúl Porcel. + + 01 Jul 2007; Tobias Scherbaum whois-4.7.21.ebuild: + hppa stable, bug #183412 + + 28 Jun 2007; Joseph Jezak whois-4.7.21.ebuild: + Marked ppc stable for bug #183412. + + 28 Jun 2007; Markus Rothe whois-4.7.21.ebuild: + Stable on ppc64; bug #183412 + + 27 Jun 2007; Christoph Mende whois-4.7.21.ebuild: + Stable on amd64 + + 13 Jun 2007; Gustavo Zacarias whois-4.7.21.ebuild: + Stable on sparc + + 01 Jun 2007; Joshua Kinard whois-4.7.21.ebuild: + Stable on mips. + + 28 May 2007; Raúl Porcel whois-4.7.21.ebuild: + alpha/ia64/x86 stable + + 14 May 2007; Raúl Porcel whois-4.7.20.ebuild: + alpha stable wrt #169099 + +*whois-4.7.21 (24 Apr 2007) + + 24 Apr 2007; +whois-4.7.21.ebuild: + - Version bump. bug 175857 + + 08 Mar 2007; Tobias Scherbaum whois-4.7.20.ebuild: + Stable on ppc wrt bug #169099. + + 07 Mar 2007; Alexander H. Færøy whois-4.7.20.ebuild: + Stable on MIPS; bug #169099 + + 06 Mar 2007; Gustavo Zacarias whois-4.7.20.ebuild: + Stable on sparc wrt #169099 + + 06 Mar 2007; Markus Rothe whois-4.7.20.ebuild: + Stable on ppc64; bug #169099 + + 03 Mar 2007; Guy Martin whois-4.7.20.ebuild: + Stable on hppa + + 03 Mar 2007; Raúl Porcel whois-4.7.20.ebuild: + x86 stable wrt bug 169099 + + 03 Mar 2007; Simon Stelling whois-4.7.20.ebuild: + stable on amd64; bug 169099 + + 21 Dec 2006; Markus Rothe whois-4.7.19.ebuild: + Stable on ppc64; bug #158260 + + 18 Dec 2006; Gustavo Zacarias whois-4.7.19.ebuild: + Stable on sparc wrt #158260 + + 16 Dec 2006; Alexander H. Færøy whois-4.7.19.ebuild: + Stable on Alpha and MIPS; bug #158260 + + 16 Dec 2006; Peter Weller whois-4.7.19.ebuild: + Added amd64 keyword wrt bug #158260 + + 16 Dec 2006; Jeroen Roovers whois-4.7.19.ebuild: + Stable for HPPA (bug #158260). + + 16 Dec 2006; nixnut whois-4.7.19.ebuild: + Stable on ppc wrt bug 158260 + + 16 Dec 2006; Torsten Veller whois-4.7.19.ebuild: + Stable on x86 (#158260) + +*whois-4.7.20 (16 Dec 2006) + + 16 Dec 2006; Mike Frysinger +whois-4.7.20.ebuild: + Version bump. + +*whois-4.7.19 (23 Oct 2006) + + 23 Oct 2006; Mike Frysinger + +files/whois-4.7.19-gentoo-security.patch, +whois-4.7.19.ebuild: + Version bump #152571 by Raúl armin76 Porcel. + + 04 Sep 2006; Joshua Kinard whois-4.7.12.ebuild: + Marked stable on mips. + + 19 Aug 2006; Torsten Veller whois-4.7.12.ebuild: + Stable on x86 (bug #144183). + + 19 Aug 2006; Thomas Cort whois-4.7.12.ebuild: + Stable on alpha wrt Bug #144183. + + 17 Aug 2006; Luca Barbato whois-4.7.12.ebuild: + Marked ppc + + 17 Aug 2006; Gustavo Zacarias whois-4.7.12.ebuild: + Stable on sparc wrt #144183 + + 17 Aug 2006; Thomas Cort whois-4.7.12.ebuild: + Stable on amd64 wrt Bug #144183. + + 17 Aug 2006; Markus Rothe whois-4.7.12.ebuild: + Stable on ppc64; bug #144183 + + 17 Aug 2006; Jeroen Roovers whois-4.7.12.ebuild: + Stable for HPPA (bug #144183). + + 05 Jun 2006; Diego Pettenò whois-4.7.12.ebuild: + Add ~x86-fbsd keyword to latest version, and fix. + + 23 May 2006; Diego Pettenò whois-4.7.8.ebuild: + Add ~x86-fbsd keyword. + +*whois-4.7.12 (19 Feb 2006) + + 19 Feb 2006; Mike Frysinger +whois-4.7.12.ebuild: + Version bump. + +*whois-4.7.8 (31 Oct 2005) + + 31 Oct 2005; Mike Frysinger +whois-4.7.8.ebuild: + Version bump #111004 by Daniel Webert. + + 08 Oct 2005; Diego Pettenò whois-4.7.2.ebuild: + Install as mdwhois (Marco d'Itri) instead of gwhois on other userlands, as + gwhois is another package. + + 26 Aug 2005; Diego Pettenò whois-4.7.2.ebuild: + Make whois install as gwhois while out of GNU userland. Also let the + makefile use the right CC compiler. + +*whois-4.7.2 (19 Apr 2005) + + 19 Apr 2005; Mike Frysinger + +files/whois-4.7.2-config-file.patch, + +files/whois-4.7.2-gentoo-security.patch, +whois-4.7.2.ebuild: + Version bump #73845 by Daniel Webert and add /etc/whois.conf support #89417 + by Wakko Warner. + + 29 Dec 2004; Ciaran McCreesh : + Change encoding to UTF-8 for GLEP 31 compliance + +*whois-4.6.22 (16 Oct 2004) + + 16 Oct 2004; Mike Frysinger +whois-4.6.22.ebuild: + Version bump #49629 by Marcin Kryczek. Restrict maketest #59327 by Daniel + Black. Add support for country domains #43470 by Bernd Wurst. + + 16 Oct 2004; Mike Frysinger whois-4.6.13-r1.ebuild: + Dont install mkpasswd anymore, shadow does #6428 by Paul Thompson. + + 17 Jul 2004; Tom Gall whois-4.6.13-r1.ebuild: + stable on ppc64, bug #55520 + +*whois-4.6.13-r1 (13 Jul 2004) + + 13 Jul 2004; Seemant Kulleen +whois-4.6.13-r1.ebuild, + -whois-4.6.13.ebuild, -whois-4.6.6-r2.ebuild, +whois-4.6.6-r3.ebuild, + +whois-4.6.9-r1.ebuild, -whois-4.6.9.ebuild: + in place bumps to ensure that whois owns the mkpasswd binary and manpage, + rather than expect. This bump corresponds to bug #51353 by Carsten Lohrke + + + 01 Jul 2004; Jon Hood whois-4.6.13.ebuild, + whois-4.6.6-r2.ebuild, whois-4.6.9.ebuild: + change virtual/glibc to virtual/libc + + 08 Jun 2004; Bryan Østergaard whois-4.6.13.ebuild: + Stable on alpha. + + 27 Apr 2004; Aron Griffis whois-4.6.13.ebuild, + whois-4.6.6-r2.ebuild, whois-4.6.9.ebuild: + Add inherit eutils + + 13 Apr 2004; Joshua Kinard whois-4.6.9.ebuild: + Marked stable on mips. + +*whois-4.6.13 (13 Apr 2004) + + 13 Apr 2004; Martin Holzer whois-4.6.13.ebuild, + files/whois-4.6.13-gentoo-security.patch: + Version bumped. Closes 47532 + + 15 Jan 2004; Jon Portnoy whois-4.6.9.ebuild : + Stable on AMD64. + + 14 Jan 2004; Martin Guy whois-4.6.6-r2.ebuild, + whois-4.6.9.ebuild: + Changed /bin/install to install because different versions of coreutils place + install in different locations. + + 08 Dec 2003; Martin Holzer + files/whois-4.6.9-gentoo-security.patch: + correcting security patch. submitted by Marcin Krycze + in #34768. + +*whois-4.6.9 (07 Dec 2003) + + 07 Dec 2003; Martin Holzer whois-4.6.9.ebuild, + files/whois-4.6.9-gentoo-security.patch: + Version bumped. + + 28 Nov 2003; Chuck Short whois-4.6.8.ebuild: + Added ~amd64 keywords. + +*whois-4.6.8 (23 Nov 2003) + + 23 Nov 2003; Martin Holzer whois-4.6.8.ebuild, + files/whois-4.6.8-gentoo-security.patch: + Version bumped. Closes #34109. + + 21 Nov 2003; Aron Griffis whois-4.6.6-r2.ebuild: + Stable on alpha + +*whois-4.6.6-r2 (11 Aug 2003) + + 11 Aug 2003; whois-4.6.6-r1.ebuild, + whois-4.6.6-r2.ebuild, files/whois-4.6.6-gentoo-security-2.patch, + files/whois-4.6.6-gentoo-security.patch: + whois does not check the return values of malloc and realloc to ensure that + they succeeded which can lead to unexpected results including segfaults. So + I merged the last gentoo-security.patch with Matt Kraai's idea from debian + bug report - #135822 to form the gentoo-security-2.patch + +*whois-4.6.6-r1 (11 Aug 2003) + + 11 Aug 2003; whois-4.5.28-r1.ebuild, whois-4.6.2.ebuild, + whois-4.6.5.ebuild, whois-4.6.6-r1.ebuild, whois-4.6.6.ebuild, + files/whois-4.6.6-gentoo-security.patch: + Ok so looking at the whois code, there seems to be quite a few ways to + overflow it. I've written a little patch which should address this. I'm also + removing all the older exploitable versions of whois from the portage tree, + and adding my patch. Closes bug 24860 + + 08 Jul 2003; Jason Wever whois-4.6.6.ebuild: + Changed ~sparc keyword to sparc. + + 30 Jun 2003; Martin Holzer whois-4.6.6.ebuild: + Stable on x86 + +*whois-4.6.6 (25 Jun 2003) + + 06 Jul 2003; Guy Martin whois-4.6.6.ebuild : + Marked stable on hppa. + + 25 Jun 2003; Martin Holzer whois-4.6.6.ebuild: + Version bumped. + + 24 May 2003; Christian Birchinger whois-4.6.5.ebuild: + Added sparc stable keyword + +*whois-4.6.5 (09 May 2003) + + 19 Jun 2003; Zach Welch whois-4.6.5.ebuild: + Marked stable on x86. + + 09 May 2003; Martin Holzer whois-4.5.31.ebuild, + whois-4.5.31.ebuild, whois-4.5.33.ebuild, whois-4.5.33.ebuild, + whois-4.6.1.ebuild, whois-4.6.1.ebuild, whois-4.6.5.ebuild: + Version bumped. Cleanup. + +*whois-4.6.2 (29 Jan 2003) + + 06 Apr 2003; Guy Martin whois-4.6.2.ebuild : + Added hppa to KEYWORDS. + + 30 Mar 2003; Christian Birchinger whois-4.6.2.ebuild: + Added sparc stable keyword + + 24 Feb 2003; Nicholas Wourms whois-4.6.2.ebuild : + Added stable mips keyword to the ebuild. + + 29 Jan 2003; Martin Holzer whois-4.6.2.ebuild + files/digest-whois-4.6.2 ChangeLog : + Version bumped. Closes #14695. + +*whois-4.6.1 (25 Dec 2002) + + 24 Feb 2003; Nicholas Wourms whois-4.6.1.ebuild : + Added stable mips keyword to the ebuild. + + 25 Dec 2002; Martin Holzer whois-4.6.1.ebuild + files/digest-whois-4.6.1 ChangeLog : + Version bumped. Closes #12107. + +*whois-4.5.33 (21 Nov 2002) + + 24 Feb 2003; Nicholas Wourms whois-4.5.33.ebuild : + Added stable mips keyword to the ebuild. + + 21 Nov 2002; Hannes Mehnert whois-4.5.33.ebuild, + files/digest-whois-4.5.33: version bump + +*whois-4.5.31 (31 Oct 2002) + + 24 Feb 2003; Nicholas Wourms whois-4.5.31.ebuild : + Added stable mips keyword to the ebuild. + + 31 Oct 2002; Hannes Mehnert whois-4.5.31.ebuild, + files/digest-whois-4.5.31: version bump + +*whois-4.5.28-r1 (1 Jul 2002) + + 24 Feb 2003; Nicholas Wourms whois-4.5.28-r1.ebuild : + Added stable mips keyword to the ebuild. + + 01 Jul 2002; Seemant Kulleen whois-4.5.28-r1.ebuild + files/digest-whois-4.5.28-r1 : + + NLS fixes (bloat reduction) + +*whois-4.5.28 (25 Jun 2002) + + 09 Jul 2002; phoen][x whois-4.5.28.ebuild : + Added KEYWORDS. + + 25 Jun 2002; Thilo Bangert whois-4.5.28.ebuild : + version bump - added SLOT + + +*whois-4.5.8 (1 Feb 2002) + + 1 Feb 2002; G.Bevin ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/net-misc/whois/Manifest b/net-misc/whois/Manifest new file mode 100644 --- /dev/null +++ b/net-misc/whois/Manifest @@ -0,0 +1,12 @@ +AUX whois-4.7.2-config-file.patch 198 RMD160 874ed86cab594d8fa69ee9599e2a1c3b52c611c7 SHA1 83b2db998f9ee90398138029816952f19a91634a SHA256 b7ad9cb716a8dbd1bb64dc80c1d4460c4a5661ba9420b771f9323c4337dbbea2 +AUX whois-4.7.26-gentoo-security.patch 2846 RMD160 e68e6a00fa79ca7a1d06cf8732c01f338563fd1b SHA1 d1ed78c1f9bf21b0db6324901ed3dfbc1fbd2733 SHA256 33d7b92a7506d8de19b9311aac4ec137de82ad592b59116807eef384d81fe6e2 +DIST whois_4.7.30.tar.gz 69685 RMD160 a311c17d19fa8d062379144f9051e22952521262 SHA1 049a8946a62d95d00ca1cafe928a064119237cb0 SHA256 67581c0fa7b75ccea366e531b807b02a7f1dbe6fc55d4cd440e8f09eea491d36 +DIST whois_4.7.33.tar.gz 71804 RMD160 0c05765851c68d4ae512a735ab4d3a18e77ec770 SHA1 0b7ead36d5dd3155ca1563e089371da468894176 SHA256 d27d6936d23a81e481eb35b3ed8d0cde6e2ac801b299580ceae8104bb10e6883 +DIST whois_4.7.34.tar.gz 71941 RMD160 026b134caff5998d355ed6e07919067f36555dc6 SHA1 bf706efc0b85e180e2cd5d2fa265c6015f7b791d SHA256 4ab43d1b638cf3603c8117cdfce25b76e15ab828a1e762ba25ec924cb080e299 +DIST whois_4.7.36.tar.gz 72516 RMD160 0c26501e4de028fb62541db2a5fe8a38dd99d532 SHA1 b3625fac4fb7fdb9b6ab1305d78bcfe260ec0691 SHA256 5bfbb9f9ad9747795945f876764c974719509705b5c445f42b3bdd6c60c66cea +EBUILD whois-4.7.30.ebuild 1310 RMD160 d872c4fe7e4907cb67e9217e40c9ded12deb1d09 SHA1 e87d733ab8ab663bdab19444427c30a12718ac90 SHA256 a90a0749988f82801ecdbe017f636f4ce5546d218dc45edbe350ffc73db08964 +EBUILD whois-4.7.33.ebuild 1321 RMD160 3f9cd9b84a714353f702c7a4f0d2f67b06793687 SHA1 084ee205a520534873979e22ff794539967e6c32 SHA256 03e9fceacc3e1933f9c89c0a334d385f408d6833bad7ad5a45dc87d4645b4c15 +EBUILD whois-4.7.34.ebuild 1242 RMD160 001c00db3e7875cc8d98652714f1bb76d2429673 SHA1 a1cfb74266bfaf43f40537b772c1d9d1b0f5c795 SHA256 7be9c0740cabde3c33dbdd30a0e914da869e575ad1e9a9a5238a58c5a9f8f5e7 +EBUILD whois-4.7.36.ebuild 1231 RMD160 3b5c68918eb89f336ad87baab57ef4f173eb7a98 SHA1 afea5dfdc49091710d862c6a17753cc48db0b8b5 SHA256 1bc52753e723dc825cc6ebf79e31878b0e935b5a77ed559e13a11cdeb0e9aa6b +MISC ChangeLog 16797 RMD160 81fae3968e182640eb1c9531c21c95916fa23320 SHA1 d4dc2140a2b850a79027fee7eae6051ff23789a2 SHA256 b996c64eadff87a6ae42f50e5dcd5e13431acef293704ecd4ebbd99276ab17b9 +MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 diff --git a/net-misc/whois/files/whois-4.7.2-config-file.patch b/net-misc/whois/files/whois-4.7.2-config-file.patch new file mode 100644 --- /dev/null +++ b/net-misc/whois/files/whois-4.7.2-config-file.patch @@ -0,0 +1,12 @@ +Enable /etc/whois.conf support. + +http://bugs.gentoo.org/show_bug.cgi?id=89417 + +--- config.h ++++ config.h +@@ -13,5 +13,3 @@ + /* Configuration file */ +-/* + #define CONFIG_FILE "/etc/whois.conf" +-*/ + diff --git a/net-misc/whois/files/whois-4.7.26-gentoo-security.patch b/net-misc/whois/files/whois-4.7.26-gentoo-security.patch new file mode 100644 --- /dev/null +++ b/net-misc/whois/files/whois-4.7.26-gentoo-security.patch @@ -0,0 +1,79 @@ +--- whois-4.7.26/whois.c ++++ whois-4.7.26/whois.c +@@ -87,7 +87,7 @@ + /* RIPE flags */ + if (strchr(ripeflags, ch)) { + for (p = fstring; *p; p++); +- sprintf(p--, "-%c ", ch); ++ snprintf(p--, sizeof(fstring), "-%c ", ch); + continue; + } + if (strchr(ripeflagsp, ch)) { +@@ -141,10 +141,10 @@ + while (1) { + qslen += strlen(*argv) + 1 + 1; + qstring = realloc(qstring, qslen); +- strcat(qstring, *argv++); ++ strncat(qstring, *argv++, qslen-1); + if (argc == 1) + break; +- strcat(qstring, " "); ++ strncat(qstring, " ", qslen-1); + argc--; + } + } +@@ -467,8 +467,10 @@ + char *buf, *p; + int i, isripe = 0; + ++ /* buflen was always 0 in original patch and buf was allocated twice /Aye */ + /* 64 bytes reserved for server-specific flags added later */ +- buf = malloc(strlen(flags) + strlen(query) + strlen(client_tag) + 64); ++ int buflen = strlen(flags) + strlen(query) + strlen(client_tag) + 64; ++ buf = malloc(buflen); + *buf = '\0'; + for (i = 0; ripe_servers[i]; i++) + if (streq(server, ripe_servers[i])) { +@@ -481,7 +483,7 @@ + if (*flags) { + if (!isripe && !streq(server, "whois.corenic.net")) + puts(_("Warning: RIPE flags used with a traditional server.")); +- strcat(buf, flags); ++ strncat(buf, flags, buflen-1); + } + + #ifdef HAVE_LIBIDN +@@ -490,28 +492,28 @@ + */ + if (streq(server, "whois.denic.de") && domcmp(query, ".de") + && !strchr(query, ' ') && !*flags) +- sprintf(buf, "-T dn,ace -C US-ASCII %s", query); ++ snprintf(buf, buflen-1, "-T dn,ace -C US-ASCII %s", query); + else + /* here we have another registrar who could not make things simple + * -C sets the language for both input and output + */ + if (!isripe && streq(server, "whois.cat") && domcmp(query, ".cat") + && !strchr(query, ' ')) +- sprintf(buf, "-C US-ASCII ace %s", query); ++ snprintf(buf, buflen-1, "-C US-ASCII ace %s", query); + else + #endif + if (!isripe && (streq(server, "whois.nic.mil") || + streq(server, "whois.nic.ad.jp")) && + strncaseeq(query, "AS", 2) && isasciidigit(query[2])) + /* FIXME: /e is not applied to .JP ASN */ +- sprintf(buf, "AS %s", query + 2); /* fix query for DDN */ ++ snprintf(buf, buflen-1, "AS %s", query + 2); /* fix query for DDN */ + else if (!isripe && (streq(server, "whois.nic.ad.jp") || + streq(server, "whois.jprs.jp"))) { + char *lang = getenv("LANG"); /* not a perfect check, but... */ + if (!lang || !strneq(lang, "ja", 2)) +- sprintf(buf, "%s/e", query); /* ask for english text */ ++ snprintf(buf, buflen-1, "%s/e", query); /* ask for english text */ + else +- strcat(buf, query); ++ strncat(buf, query, buflen-1); + } else if (!isripe && streq(server, "whois.arin.net") && + (p = strrchr(query, '/'))) { + strncat(buf, query, p - query); /* strip CIDR */ diff --git a/net-misc/whois/metadata.xml b/net-misc/whois/metadata.xml new file mode 100644 --- /dev/null +++ b/net-misc/whois/metadata.xml @@ -0,0 +1,5 @@ + + + +base-system + diff --git a/net-misc/whois/whois-4.7.30.ebuild b/net-misc/whois/whois-4.7.30.ebuild new file mode 100644 --- /dev/null +++ b/net-misc/whois/whois-4.7.30.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/whois-4.7.30.ebuild,v 1.8 2009/05/30 18:24:06 nixnut 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.26-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 + echo 'install-pos: 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 CFLAGS="${CFLAGS} ${CPPFLAGS}" HAVE_LIBIDN=1 || die +} + +src_install() { + emake 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 +} diff --git a/net-misc/whois/whois-4.7.33.ebuild b/net-misc/whois/whois-4.7.33.ebuild new file mode 100644 --- /dev/null +++ b/net-misc/whois/whois-4.7.33.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/whois-4.7.33.ebuild,v 1.1 2009/05/24 18:31:47 vapier 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.26-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 + echo 'install-pos: 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 CFLAGS="${CFLAGS} ${CPPFLAGS}" HAVE_LIBIDN=1 || die +} + +src_install() { + emake 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 +} diff --git a/net-misc/whois/whois-4.7.34.ebuild b/net-misc/whois/whois-4.7.34.ebuild new file mode 100644 --- /dev/null +++ b/net-misc/whois/whois-4.7.34.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/whois-4.7.34.ebuild,v 1.1 2009/06/25 22:28:48 vapier 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.26-gentoo-security.patch + epatch "${FILESDIR}"/${PN}-4.7.2-config-file.patch + + if use nls ; then + sed -i -e 's:#\(.*pos\):\1:' Makefile + else + sed -i -e '/ENABLE_NLS/s:define:undef:' config.h + fi +} + +src_compile() { + tc-export CC + emake CFLAGS="${CFLAGS} ${CPPFLAGS}" HAVE_LIBIDN=1 || die +} + +src_install() { + emake BASEDIR="${D}" prefix=/usr install || die + insinto /etc + doins whois.conf + dodoc README debian/changelog + + if [[ ${USERLAND} != "GNU" ]]; then + mv "${D}"/usr/share/man/man1/{whois,mdwhois}.1 + mv "${D}"/usr/bin/{whois,mdwhois} + fi +} diff --git a/net-misc/whois/whois-4.7.36.ebuild b/net-misc/whois/whois-4.7.36.ebuild new file mode 100644 --- /dev/null +++ b/net-misc/whois/whois-4.7.36.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/whois-4.7.36.ebuild,v 1.6 2009/11/17 19:49:49 ranger 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.26-gentoo-security.patch + epatch "${FILESDIR}"/${PN}-4.7.2-config-file.patch + + if use nls ; then + sed -i -e 's:#\(.*pos\):\1:' Makefile + else + sed -i -e '/ENABLE_NLS/s:define:undef:' config.h + fi +} + +src_compile() { + tc-export CC + emake CFLAGS="${CFLAGS} ${CPPFLAGS}" HAVE_LIBIDN=1 || die +} + +src_install() { + emake BASEDIR="${D}" prefix=/usr install || die + insinto /etc + doins whois.conf + dodoc README debian/changelog + + if [[ ${USERLAND} != "GNU" ]]; then + mv "${D}"/usr/share/man/man1/{whois,mdwhois}.1 + mv "${D}"/usr/bin/{whois,mdwhois} + fi +}