Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/whois: ChangeLog whois-4.7.34.ebuild
Date: Thu, 25 Jun 2009 22:28:49
Message-Id: E1MJxR2-0002am-74@stork.gentoo.org
1 vapier 09/06/25 22:28:48
2
3 Modified: ChangeLog
4 Added: whois-4.7.34.ebuild
5 Log:
6 Version bump with fixes from Petr Pisar #275209.
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.128 net-misc/whois/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/whois/ChangeLog?rev=1.128&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/whois/ChangeLog?rev=1.128&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/whois/ChangeLog?r1=1.127&r2=1.128
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v
19 retrieving revision 1.127
20 retrieving revision 1.128
21 diff -u -r1.127 -r1.128
22 --- ChangeLog 30 May 2009 18:24:06 -0000 1.127
23 +++ ChangeLog 25 Jun 2009 22:28:48 -0000 1.128
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-misc/whois
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.127 2009/05/30 18:24:06 nixnut Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.128 2009/06/25 22:28:48 vapier Exp $
29 +
30 +*whois-4.7.34 (25 Jun 2009)
31 +
32 + 25 Jun 2009; Mike Frysinger <vapier@g.o> +whois-4.7.34.ebuild:
33 + Version bump with fixes from Petr Pisar #275209.
34
35 30 May 2009; nixnut <nixnut@g.o> whois-4.7.30.ebuild:
36 ppc stable #271096
37
38
39
40 1.1 net-misc/whois/whois-4.7.34.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/whois/whois-4.7.34.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/whois/whois-4.7.34.ebuild?rev=1.1&content-type=text/plain
44
45 Index: whois-4.7.34.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/net-misc/whois/whois-4.7.34.ebuild,v 1.1 2009/06/25 22:28:48 vapier Exp $
50
51 inherit eutils toolchain-funcs
52
53 MY_P=${P/-/_}
54 DESCRIPTION="improved Whois Client"
55 HOMEPAGE="http://www.linux.it/~md/software/"
56 SRC_URI="mirror://debian/pool/main/w/whois/${MY_P}.tar.gz"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
61 IUSE="nls"
62 RESTRICT="test" #59327
63
64 RDEPEND="net-dns/libidn"
65 DEPEND="${RDEPEND}
66 >=dev-lang/perl-5"
67
68 src_unpack() {
69 unpack ${A}
70 cd "${S}"
71 epatch "${FILESDIR}"/${PN}-4.7.26-gentoo-security.patch
72 epatch "${FILESDIR}"/${PN}-4.7.2-config-file.patch
73
74 if use nls ; then
75 sed -i -e 's:#\(.*pos\):\1:' Makefile
76 else
77 sed -i -e '/ENABLE_NLS/s:define:undef:' config.h
78 fi
79 }
80
81 src_compile() {
82 tc-export CC
83 emake CFLAGS="${CFLAGS} ${CPPFLAGS}" HAVE_LIBIDN=1 || die
84 }
85
86 src_install() {
87 emake BASEDIR="${D}" prefix=/usr install || die
88 insinto /etc
89 doins whois.conf
90 dodoc README debian/changelog
91
92 if [[ ${USERLAND} != "GNU" ]]; then
93 mv "${D}"/usr/share/man/man1/{whois,mdwhois}.1
94 mv "${D}"/usr/bin/{whois,mdwhois}
95 fi
96 }