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