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.24.ebuild |
Date: | Tue, 30 Apr 2013 19:01:48 |
Message-Id: | 20130430190115.911FC2171D@flycatcher.gentoo.org |
1 | radhermit 13/04/30 19:01:15 |
2 | |
3 | Modified: ChangeLog |
4 | Added: whois-5.0.24.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
9 | |
10 | Revision Changes Path |
11 | 1.186 net-misc/whois/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/ChangeLog?rev=1.186&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/ChangeLog?rev=1.186&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/ChangeLog?r1=1.185&r2=1.186 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v |
20 | retrieving revision 1.185 |
21 | retrieving revision 1.186 |
22 | diff -u -r1.185 -r1.186 |
23 | --- ChangeLog 18 Apr 2013 05:13:07 -0000 1.185 |
24 | +++ ChangeLog 30 Apr 2013 19:01:15 -0000 1.186 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for net-misc/whois |
27 | # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.185 2013/04/18 05:13:07 radhermit Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.186 2013/04/30 19:01:15 radhermit Exp $ |
30 | + |
31 | +*whois-5.0.24 (30 Apr 2013) |
32 | + |
33 | + 30 Apr 2013; Tim Harder <radhermit@g.o> +whois-5.0.24.ebuild: |
34 | + Version bump. |
35 | |
36 | *whois-5.0.23 (18 Apr 2013) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 net-misc/whois/whois-5.0.24.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/whois-5.0.24.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/whois-5.0.24.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: whois-5.0.24.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2013 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.24.ebuild,v 1.1 2013/04/30 19:01:15 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 | } |