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.23.ebuild
Date: Sat, 29 Sep 2007 13:46:27
Message-Id: E1IbcVq-0002m5-HJ@stork.gentoo.org
1 vapier 07/09/29 13:37:42
2
3 Modified: ChangeLog
4 Added: whois-4.7.23.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.96 net-misc/whois/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/whois/ChangeLog?rev=1.96&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/whois/ChangeLog?rev=1.96&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/whois/ChangeLog?r1=1.95&r2=1.96
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v
19 retrieving revision 1.95
20 retrieving revision 1.96
21 diff -u -r1.95 -r1.96
22 --- ChangeLog 28 Sep 2007 17:16:40 -0000 1.95
23 +++ ChangeLog 29 Sep 2007 13:37:42 -0000 1.96
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-misc/whois
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.95 2007/09/28 17:16:40 nixnut Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.96 2007/09/29 13:37:42 vapier Exp $
29 +
30 +*whois-4.7.23 (29 Sep 2007)
31 +
32 + 29 Sep 2007; Mike Frysinger <vapier@g.o> +whois-4.7.23.ebuild:
33 + Version bump.
34
35 28 Sep 2007; nixnut <nixnut@g.o> whois-4.7.22.ebuild:
36 Stable on ppc wrt bug 194009
37
38
39
40 1.1 net-misc/whois/whois-4.7.23.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/whois/whois-4.7.23.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/whois/whois-4.7.23.ebuild?rev=1.1&content-type=text/plain
44
45 Index: whois-4.7.23.ebuild
46 ===================================================================
47 # Copyright 1999-2007 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.23.ebuild,v 1.1 2007/09/29 13:37:42 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.19-gentoo-security.patch
72 epatch "${FILESDIR}"/${PN}-4.7.2-config-file.patch
73
74 if use nls ; then
75 cd po
76 sed -i -e "s:/usr/bin/install:install:" Makefile
77 else
78 sed -i -e '/ENABLE_NLS/s:define:undef:' config.h
79 sed -i -e "s:cd po.*::" Makefile
80 fi
81 }
82
83 src_compile() {
84 tc-export CC
85 emake OPTS="${CFLAGS}" HAVE_LIBIDN=1 || die
86 }
87
88 src_install() {
89 dodir /usr/bin /usr/share/man/man1
90 make BASEDIR="${D}" prefix=/usr install || die
91 insinto /etc
92 doins whois.conf
93 dodoc README
94
95 if [[ "${USERLAND}" != "GNU" ]]; then
96 mv ${D}/usr/share/man/man1/{whois,mdwhois}.1
97 mv ${D}/usr/bin/{whois,mdwhois}
98 fi
99 }
100
101
102
103 --
104 gentoo-commits@g.o mailing list