From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-misc/whois: whois-5.0.2.ebuild ChangeLog |
Date: | Mon, 26 Apr 2010 20:26:09 |
Message-Id: | 20100426202606.DDF0E2C04C@corvid.gentoo.org |
1 | vapier 10/04/26 20:26:06 |
2 | |
3 | Modified: ChangeLog |
4 | Added: whois-5.0.2.ebuild |
5 | Log: |
6 | Version bump #317097 by Francois Chenier. |
7 | (Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.135 net-misc/whois/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/whois/ChangeLog?rev=1.135&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/whois/ChangeLog?rev=1.135&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/whois/ChangeLog?r1=1.134&r2=1.135 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v |
19 | retrieving revision 1.134 |
20 | retrieving revision 1.135 |
21 | diff -u -r1.134 -r1.135 |
22 | --- ChangeLog 17 Nov 2009 19:49:49 -0000 1.134 |
23 | +++ ChangeLog 26 Apr 2010 20:26:06 -0000 1.135 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for net-misc/whois |
26 | -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.134 2009/11/17 19:49:49 ranger Exp $ |
28 | +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.135 2010/04/26 20:26:06 vapier Exp $ |
30 | + |
31 | +*whois-5.0.2 (26 Apr 2010) |
32 | + |
33 | + 26 Apr 2010; Mike Frysinger <vapier@g.o> +whois-5.0.2.ebuild: |
34 | + Version bump #317097 by Francois Chenier. |
35 | |
36 | 17 Nov 2009; Brent Baude <ranger@g.o> whois-4.7.36.ebuild: |
37 | Marking whois-4.7.36 ppc64 for bug 291095 |
38 | |
39 | |
40 | |
41 | 1.1 net-misc/whois/whois-5.0.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/whois/whois-5.0.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/whois/whois-5.0.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: whois-5.0.2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2010 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.2.ebuild,v 1.1 2010/04/26 20:26:06 vapier Exp $ |
51 | |
52 | inherit eutils toolchain-funcs |
53 | |
54 | MY_P=${P/-/_} |
55 | DESCRIPTION="improved Whois Client" |
56 | HOMEPAGE="http://www.linux.it/~md/software/" |
57 | SRC_URI="mirror://debian/pool/main/w/whois/${MY_P}.tar.gz" |
58 | |
59 | LICENSE="GPL-2" |
60 | SLOT="0" |
61 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
62 | IUSE="nls" |
63 | RESTRICT="test" #59327 |
64 | |
65 | RDEPEND="net-dns/libidn" |
66 | DEPEND="${RDEPEND} |
67 | >=dev-lang/perl-5" |
68 | |
69 | src_unpack() { |
70 | unpack ${A} |
71 | cd "${S}" |
72 | epatch "${FILESDIR}"/${PN}-4.7.2-config-file.patch |
73 | |
74 | if use nls ; then |
75 | sed -i -e 's:#\(.*pos\):\1:' Makefile |
76 | else |
77 | sed -i -e '/ENABLE_NLS/s:define:undef:' config.h |
78 | fi |
79 | } |
80 | |
81 | src_compile() { |
82 | tc-export CC |
83 | emake CFLAGS="${CFLAGS} ${CPPFLAGS}" HAVE_LIBIDN=1 || die |
84 | } |
85 | |
86 | src_install() { |
87 | emake BASEDIR="${D}" prefix=/usr install || die |
88 | insinto /etc |
89 | doins whois.conf |
90 | dodoc README debian/changelog |
91 | |
92 | if [[ ${USERLAND} != "GNU" ]]; then |
93 | mv "${D}"/usr/share/man/man1/{whois,mdwhois}.1 |
94 | mv "${D}"/usr/bin/{whois,mdwhois} |
95 | fi |
96 | } |