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.1.2.ebuild
Date: Sat, 03 May 2014 08:33:15
Message-Id: 20140503083311.4E88E2004C@flycatcher.gentoo.org
1 radhermit 14/05/03 08:33:11
2
3 Modified: ChangeLog
4 Added: whois-5.1.2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.200 net-misc/whois/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/ChangeLog?rev=1.200&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/ChangeLog?rev=1.200&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/ChangeLog?r1=1.199&r2=1.200
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v
20 retrieving revision 1.199
21 retrieving revision 1.200
22 diff -u -r1.199 -r1.200
23 --- ChangeLog 20 Jan 2014 13:59:15 -0000 1.199
24 +++ ChangeLog 3 May 2014 08:33:11 -0000 1.200
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-misc/whois
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.199 2014/01/20 13:59:15 chainsaw Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.200 2014/05/03 08:33:11 radhermit Exp $
30 +
31 +*whois-5.1.2 (03 May 2014)
32 +
33 + 03 May 2014; Tim Harder <radhermit@g.o> +whois-5.1.2.ebuild:
34 + Version bump.
35
36 *whois-5.1.1 (20 Jan 2014)
37
38
39
40
41 1.1 net-misc/whois/whois-5.1.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/whois-5.1.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/whois-5.1.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: whois-5.1.2.ebuild
47 ===================================================================
48 # Copyright 1999-2014 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.1.2.ebuild,v 1.1 2014/05/03 08:33:11 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="iconv? ( virtual/libiconv )
67 idn? ( net-dns/libidn )
68 nls? ( virtual/libintl )"
69 DEPEND="${RDEPEND}
70 app-arch/xz-utils
71 >=dev-lang/perl-5
72 nls? ( sys-devel/gettext )"
73
74 src_prepare() {
75 epatch "${FILESDIR}"/${PN}-4.7.2-config-file.patch
76
77 if use nls ; then
78 sed -i -e 's:#\(.*pos\):\1:' Makefile || die
79 else
80 sed -i -e '/ENABLE_NLS/s:define:undef:' config.h || die
81
82 # don't generate po files when nls is disabled (bug #419889)
83 sed -i -e '/^all:/s/ pos//' \
84 -e '/^install:/s/ install-pos//' Makefile || die
85 fi
86 }
87
88 src_configure() { :;} # expected no-op
89
90 src_compile() {
91 unset HAVE_ICONV HAVE_LIBIDN
92 use iconv && export HAVE_ICONV=1
93 use idn && export HAVE_LIBIDN=1
94 tc-export CC
95 emake CFLAGS="${CFLAGS} ${CPPFLAGS}"
96 }
97
98 src_install() {
99 emake BASEDIR="${ED}" prefix=/usr install
100 insinto /etc
101 doins whois.conf
102 dodoc README debian/changelog
103
104 if [[ ${USERLAND} != "GNU" ]]; then
105 mv "${ED}"/usr/share/man/man1/{whois,mdwhois}.1 || die
106 mv "${ED}"/usr/bin/{whois,mdwhois} || die
107 fi
108 }