Gentoo Archives: gentoo-commits

From: "Lars Wendler (polynomial-c)" <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/whois: whois-5.1.3.ebuild ChangeLog whois-5.1.1.ebuild whois-5.1.0.ebuild whois-5.0.20.ebuild whois-5.0.18.ebuild whois-5.0.15.ebuild whois-5.0.23.ebuild whois-5.0.16.ebuild whois-5.0.24.ebuild whois-5.0.11.ebuild whois-5.0.22.ebuild whois-5.0.19.ebuild whois-5.0.17.ebuild
Date: Wed, 28 May 2014 14:12:09
Message-Id: 20140528141205.9944F2004E@flycatcher.gentoo.org
1 polynomial-c 14/05/28 14:12:05
2
3 Modified: ChangeLog
4 Added: whois-5.1.3.ebuild
5 Removed: whois-5.1.1.ebuild whois-5.1.0.ebuild
6 whois-5.0.20.ebuild whois-5.0.18.ebuild
7 whois-5.0.15.ebuild whois-5.0.23.ebuild
8 whois-5.0.16.ebuild whois-5.0.24.ebuild
9 whois-5.0.11.ebuild whois-5.0.22.ebuild
10 whois-5.0.19.ebuild whois-5.0.17.ebuild
11 Log:
12 Version bump. Removed old
13
14 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
15
16 Revision Changes Path
17 1.201 net-misc/whois/ChangeLog
18
19 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/ChangeLog?rev=1.201&view=markup
20 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/ChangeLog?rev=1.201&content-type=text/plain
21 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/ChangeLog?r1=1.200&r2=1.201
22
23 Index: ChangeLog
24 ===================================================================
25 RCS file: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v
26 retrieving revision 1.200
27 retrieving revision 1.201
28 diff -u -r1.200 -r1.201
29 --- ChangeLog 3 May 2014 08:33:11 -0000 1.200
30 +++ ChangeLog 28 May 2014 14:12:05 -0000 1.201
31 @@ -1,6 +1,16 @@
32 # ChangeLog for net-misc/whois
33 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
34 -# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.200 2014/05/03 08:33:11 radhermit Exp $
35 +# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.201 2014/05/28 14:12:05 polynomial-c Exp $
36 +
37 +*whois-5.1.3 (28 May 2014)
38 +
39 + 28 May 2014; Lars Wendler <polynomial-c@g.o> -whois-5.0.11.ebuild,
40 + -whois-5.0.15.ebuild, -whois-5.0.16.ebuild, -whois-5.0.17.ebuild,
41 + -whois-5.0.18.ebuild, -whois-5.0.19.ebuild, -whois-5.0.20.ebuild,
42 + -whois-5.0.22.ebuild, -whois-5.0.23.ebuild, -whois-5.0.24.ebuild,
43 + -whois-5.1.0.ebuild, -whois-5.1.1.ebuild, +whois-5.1.3.ebuild,
44 + +files/whois-5.1.3-po_fixes.patch:
45 + Version bump. Removed old.
46
47 *whois-5.1.2 (03 May 2014)
48
49
50
51
52 1.1 net-misc/whois/whois-5.1.3.ebuild
53
54 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/whois-5.1.3.ebuild?rev=1.1&view=markup
55 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/whois-5.1.3.ebuild?rev=1.1&content-type=text/plain
56
57 Index: whois-5.1.3.ebuild
58 ===================================================================
59 # Copyright 1999-2014 Gentoo Foundation
60 # Distributed under the terms of the GNU General Public License v2
61 # $Header: /var/cvsroot/gentoo-x86/net-misc/whois/whois-5.1.3.ebuild,v 1.1 2014/05/28 14:12:05 polynomial-c Exp $
62
63 EAPI=4
64 inherit eutils toolchain-funcs
65
66 MY_P=${P/-/_}
67 DESCRIPTION="improved Whois Client"
68 HOMEPAGE="http://www.linux.it/~md/software/"
69 SRC_URI="mirror://debian/pool/main/w/whois/${MY_P}.tar.xz"
70
71 LICENSE="GPL-2"
72 SLOT="0"
73 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
74 IUSE="iconv idn nls"
75 RESTRICT="test" #59327
76
77 RDEPEND="iconv? ( virtual/libiconv )
78 idn? ( net-dns/libidn )
79 nls? ( virtual/libintl )"
80 DEPEND="${RDEPEND}
81 app-arch/xz-utils
82 >=dev-lang/perl-5
83 nls? ( sys-devel/gettext )"
84
85 src_prepare() {
86 epatch "${FILESDIR}"/${PN}-4.7.2-config-file.patch \
87 "${FILESDIR}"/${PN}-5.1.3-po_fixes.patch
88
89 if use nls ; then
90 sed -i -e 's:#\(.*pos\):\1:' Makefile || die
91 else
92 sed -i -e '/ENABLE_NLS/s:define:undef:' config.h || die
93
94 # don't generate po files when nls is disabled (bug #419889)
95 sed -i -e '/^all:/s/ pos//' \
96 -e '/^install:/s/ install-pos//' Makefile || die
97 fi
98 }
99
100 src_configure() { :;} # expected no-op
101
102 src_compile() {
103 unset HAVE_ICONV HAVE_LIBIDN
104 use iconv && export HAVE_ICONV=1
105 use idn && export HAVE_LIBIDN=1
106 tc-export CC
107 emake CFLAGS="${CFLAGS} ${CPPFLAGS}"
108 }
109
110 src_install() {
111 emake BASEDIR="${ED}" prefix=/usr install
112 insinto /etc
113 doins whois.conf
114 dodoc README debian/changelog
115
116 if [[ ${USERLAND} != "GNU" ]]; then
117 mv "${ED}"/usr/share/man/man1/{whois,mdwhois}.1 || die
118 mv "${ED}"/usr/bin/{whois,mdwhois} || die
119 fi
120 }