Gentoo Archives: gentoo-commits

From: "Jeremy Olexa (darkside)" <darkside@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/whois: ChangeLog whois-5.0.6.ebuild
Date: Wed, 28 Jul 2010 15:32:43
Message-Id: 20100728153233.F2FC82CE15@corvid.gentoo.org
1 darkside 10/07/28 15:32:33
2
3 Modified: ChangeLog whois-5.0.6.ebuild
4 Log:
5 Migrate changes from Gentoo Prefix overlay. Convert to EAPI3, add keywords. Signed off in bug 330229
6 (Portage version: 2.1.8.3/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.140 net-misc/whois/ChangeLog
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/ChangeLog?rev=1.140&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/ChangeLog?rev=1.140&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/ChangeLog?r1=1.139&r2=1.140
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v
18 retrieving revision 1.139
19 retrieving revision 1.140
20 diff -u -r1.139 -r1.140
21 --- ChangeLog 26 Jul 2010 12:08:59 -0000 1.139
22 +++ ChangeLog 28 Jul 2010 15:32:33 -0000 1.140
23 @@ -1,6 +1,10 @@
24 # ChangeLog for net-misc/whois
25 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.139 2010/07/26 12:08:59 jer Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/ChangeLog,v 1.140 2010/07/28 15:32:33 darkside Exp $
28 +
29 + 28 Jul 2010; Jeremy Olexa <darkside@g.o> whois-5.0.6.ebuild:
30 + Migrate changes from Gentoo Prefix overlay. Convert to EAPI3, add
31 + keywords. Signed off in bug 330229
32
33 26 Jul 2010; Jeroen Roovers <jer@g.o> whois-5.0.5.ebuild:
34 Stable for HPPA (bug #329663).
35
36
37
38 1.2 net-misc/whois/whois-5.0.6.ebuild
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/whois-5.0.6.ebuild?rev=1.2&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/whois-5.0.6.ebuild?rev=1.2&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/whois/whois-5.0.6.ebuild?r1=1.1&r2=1.2
43
44 Index: whois-5.0.6.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/net-misc/whois/whois-5.0.6.ebuild,v
47 retrieving revision 1.1
48 retrieving revision 1.2
49 diff -u -r1.1 -r1.2
50 --- whois-5.0.6.ebuild 24 Jul 2010 05:57:32 -0000 1.1
51 +++ whois-5.0.6.ebuild 28 Jul 2010 15:32:33 -0000 1.2
52 @@ -1,7 +1,8 @@
53 # Copyright 1999-2010 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/whois-5.0.6.ebuild,v 1.1 2010/07/24 05:57:32 vapier Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/net-misc/whois/whois-5.0.6.ebuild,v 1.2 2010/07/28 15:32:33 darkside Exp $
57
58 +EAPI=3
59 inherit eutils toolchain-funcs
60
61 MY_P=${P/-/_}
62 @@ -11,7 +12,7 @@
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
67 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
68 IUSE="nls"
69 RESTRICT="test" #59327
70
71 @@ -19,9 +20,7 @@
72 DEPEND="${RDEPEND}
73 >=dev-lang/perl-5"
74
75 -src_unpack() {
76 - unpack ${A}
77 - cd "${S}"
78 +src_prepare() {
79 epatch "${FILESDIR}"/${PN}-4.7.2-config-file.patch
80
81 if use nls ; then
82 @@ -31,19 +30,21 @@
83 fi
84 }
85
86 +src_configure() { :;} # expected no-op
87 +
88 src_compile() {
89 tc-export CC
90 emake CFLAGS="${CFLAGS} ${CPPFLAGS}" HAVE_LIBIDN=1 || die
91 }
92
93 src_install() {
94 - emake BASEDIR="${D}" prefix=/usr install || die
95 + emake BASEDIR="${ED}" prefix=/usr install || die
96 insinto /etc
97 doins whois.conf
98 dodoc README debian/changelog
99
100 if [[ ${USERLAND} != "GNU" ]]; then
101 - mv "${D}"/usr/share/man/man1/{whois,mdwhois}.1
102 - mv "${D}"/usr/bin/{whois,mdwhois}
103 + mv "${ED}"/usr/share/man/man1/{whois,mdwhois}.1
104 + mv "${ED}"/usr/bin/{whois,mdwhois}
105 fi
106 }