Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/whois: ChangeLog whois-5.0.16.ebuild
Date: Tue, 01 May 2012 14:19:39
Message-Id: 20120501141926.6B53D2004B@flycatcher.gentoo.org
1 radhermit 12/05/01 14:19:26
2
3 Modified: ChangeLog
4 Added: whois-5.0.16.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.170 net-misc/whois/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/ChangeLog?rev=1.170&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/ChangeLog?rev=1.170&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/ChangeLog?r1=1.169&r2=1.170
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v
20 retrieving revision 1.169
21 retrieving revision 1.170
22 diff -u -r1.169 -r1.170
23 --- ChangeLog 6 Mar 2012 12:45:22 -0000 1.169
24 +++ ChangeLog 1 May 2012 14:19:26 -0000 1.170
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-misc/whois
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.169 2012/03/06 12:45:22 radhermit Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.170 2012/05/01 14:19:26 radhermit Exp $
30 +
31 +*whois-5.0.16 (01 May 2012)
32 +
33 + 01 May 2012; Tim Harder <radhermit@g.o> +whois-5.0.16.ebuild:
34 + Version bump.
35
36 *whois-5.0.15 (06 Mar 2012)
37
38
39
40
41 1.1 net-misc/whois/whois-5.0.16.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/whois-5.0.16.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/whois-5.0.16.ebuild?rev=1.1&content-type=text/plain
45
46 Index: whois-5.0.16.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-misc/whois/whois-5.0.16.ebuild,v 1.1 2012/05/01 14:19:26 radhermit Exp $
51
52 EAPI=4
53 inherit eutils toolchain-funcs
54
55 MY_P=${P/-/_}
56 DESCRIPTION="improved Whois Client"
57 HOMEPAGE="http://www.linux.it/~md/software/"
58 SRC_URI="mirror://debian/pool/main/w/whois/${MY_P}.tar.xz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
63 IUSE="iconv idn nls"
64 RESTRICT="test" #59327
65
66 RDEPEND="idn? ( net-dns/libidn )"
67 DEPEND="${RDEPEND}
68 app-arch/xz-utils
69 >=dev-lang/perl-5"
70
71 src_prepare() {
72 epatch "${FILESDIR}"/${PN}-4.7.2-config-file.patch
73
74 if use nls ; then
75 sed -i -e 's:#\(.*pos\):\1:' Makefile || die
76 else
77 sed -i -e '/ENABLE_NLS/s:define:undef:' config.h || die
78 fi
79 }
80
81 src_configure() { :;} # expected no-op
82
83 src_compile() {
84 unset HAVE_ICONV HAVE_LIBIDN
85 use iconv && export HAVE_ICONV=1
86 use idn && export HAVE_LIBIDN=1
87 tc-export CC
88 emake CFLAGS="${CFLAGS} ${CPPFLAGS}"
89 }
90
91 src_install() {
92 emake BASEDIR="${ED}" prefix=/usr install
93 insinto /etc
94 doins whois.conf
95 dodoc README debian/changelog
96
97 if [[ ${USERLAND} != "GNU" ]]; then
98 mv "${ED}"/usr/share/man/man1/{whois,mdwhois}.1 || die
99 mv "${ED}"/usr/bin/{whois,mdwhois} || die
100 fi
101 }