Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/whois: ChangeLog whois-5.0.5.ebuild
Date: Thu, 24 Jun 2010 04:35:36
Message-Id: 20100624043528.A84402CF40@corvid.gentoo.org
1 jer 10/06/24 04:35:28
2
3 Modified: ChangeLog
4 Added: whois-5.0.5.ebuild
5 Log:
6 Version bump thanks to Michael (bug #325239).
7 (Portage version: 2.2_rc67/cvs/Linux i686)
8
9 Revision Changes Path
10 1.136 net-misc/whois/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/ChangeLog?rev=1.136&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/ChangeLog?rev=1.136&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/ChangeLog?r1=1.135&r2=1.136
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v
19 retrieving revision 1.135
20 retrieving revision 1.136
21 diff -u -r1.135 -r1.136
22 --- ChangeLog 26 Apr 2010 20:26:06 -0000 1.135
23 +++ ChangeLog 24 Jun 2010 04:35:28 -0000 1.136
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-misc/whois
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.135 2010/04/26 20:26:06 vapier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.136 2010/06/24 04:35:28 jer Exp $
29 +
30 +*whois-5.0.5 (24 Jun 2010)
31 +
32 + 24 Jun 2010; Jeroen Roovers <jer@g.o> +whois-5.0.5.ebuild:
33 + Version bump thanks to Michael (bug #325239).
34
35 *whois-5.0.2 (26 Apr 2010)
36
37
38
39
40 1.1 net-misc/whois/whois-5.0.5.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/whois-5.0.5.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/whois-5.0.5.ebuild?rev=1.1&content-type=text/plain
44
45 Index: whois-5.0.5.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/net-misc/whois/whois-5.0.5.ebuild,v 1.1 2010/06/24 04:35:28 jer 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.2-config-file.patch
72
73 if use nls ; then
74 sed -i -e 's:#\(.*pos\):\1:' Makefile
75 else
76 sed -i -e '/ENABLE_NLS/s:define:undef:' config.h
77 fi
78 }
79
80 src_compile() {
81 tc-export CC
82 emake CFLAGS="${CFLAGS} ${CPPFLAGS}" HAVE_LIBIDN=1 || die
83 }
84
85 src_install() {
86 emake BASEDIR="${D}" prefix=/usr install || die
87 insinto /etc
88 doins whois.conf
89 dodoc README debian/changelog
90
91 if [[ ${USERLAND} != "GNU" ]]; then
92 mv "${D}"/usr/share/man/man1/{whois,mdwhois}.1
93 mv "${D}"/usr/bin/{whois,mdwhois}
94 fi
95 }