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.10.ebuild ChangeLog |
Date: | Sat, 05 Feb 2011 08:36:38 |
Message-Id: | 20110205083627.8661D20054@flycatcher.gentoo.org |
1 | vapier 11/02/05 08:36:27 |
2 | |
3 | Modified: ChangeLog |
4 | Added: whois-5.0.10.ebuild |
5 | Log: |
6 | Version bump #353543 by Petr Pisar. |
7 | |
8 | (Portage version: 2.2.0_alpha19/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.149 net-misc/whois/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/ChangeLog?rev=1.149&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/ChangeLog?rev=1.149&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/ChangeLog?r1=1.148&r2=1.149 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v |
20 | retrieving revision 1.148 |
21 | retrieving revision 1.149 |
22 | diff -u -r1.148 -r1.149 |
23 | --- ChangeLog 21 Oct 2010 07:39:55 -0000 1.148 |
24 | +++ ChangeLog 5 Feb 2011 08:36:27 -0000 1.149 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for net-misc/whois |
27 | -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.148 2010/10/21 07:39:55 vapier Exp $ |
29 | +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.149 2011/02/05 08:36:27 vapier Exp $ |
31 | + |
32 | +*whois-5.0.10 (05 Feb 2011) |
33 | + |
34 | + 05 Feb 2011; Mike Frysinger <vapier@g.o> +whois-5.0.10.ebuild: |
35 | + Version bump #353543 by Petr Pisar. |
36 | |
37 | *whois-5.0.8 (21 Oct 2010) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 net-misc/whois/whois-5.0.10.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/whois-5.0.10.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/whois-5.0.10.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: whois-5.0.10.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2011 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/net-misc/whois/whois-5.0.10.ebuild,v 1.1 2011/02/05 08:36:27 vapier Exp $ |
52 | |
53 | EAPI=3 |
54 | inherit eutils toolchain-funcs |
55 | |
56 | MY_P=${P/-/_} |
57 | DESCRIPTION="improved Whois Client" |
58 | HOMEPAGE="http://www.linux.it/~md/software/" |
59 | SRC_URI="mirror://debian/pool/main/w/whois/${MY_P}.tar.gz" |
60 | |
61 | LICENSE="GPL-2" |
62 | SLOT="0" |
63 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux" |
64 | IUSE="iconv idn nls" |
65 | RESTRICT="test" #59327 |
66 | |
67 | RDEPEND="idn? ( net-dns/libidn )" |
68 | DEPEND="${RDEPEND} |
69 | >=dev-lang/perl-5" |
70 | |
71 | src_prepare() { |
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_configure() { :;} # expected no-op |
82 | |
83 | src_compile() { |
84 | unset HAVE_ICONV HAVE_LIBIDN |
85 | use iconv && export HAVE_ICONV=1 |
86 | use idn && export HAVE_LIBIDN=1 |
87 | tc-export CC |
88 | emake CFLAGS="${CFLAGS} ${CPPFLAGS}" || die |
89 | } |
90 | |
91 | src_install() { |
92 | emake BASEDIR="${ED}" prefix=/usr install || die |
93 | insinto /etc |
94 | doins whois.conf |
95 | dodoc README debian/changelog |
96 | |
97 | if [[ ${USERLAND} != "GNU" ]]; then |
98 | mv "${ED}"/usr/share/man/man1/{whois,mdwhois}.1 |
99 | mv "${ED}"/usr/bin/{whois,mdwhois} |
100 | fi |
101 | } |