Gentoo Archives: gentoo-commits

From: "Christian Ruppert (idl0r)" <idl0r@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dns/bind-tools: ChangeLog bind-tools-9.7.2_p2.ebuild bind-tools-9.4.3_p4.ebuild
Date: Tue, 05 Oct 2010 15:48:03
Message-Id: 20101005154756.3E48020051@flycatcher.gentoo.org
1 idl0r 10/10/05 15:47:56
2
3 Modified: ChangeLog
4 Added: bind-tools-9.7.2_p2.ebuild
5 Removed: bind-tools-9.4.3_p4.ebuild
6 Log:
7 Version bump to 9.7.2-P2. Remove old 9.4.3-P4.
8
9 (Portage version: 2.2_rc88/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.166 net-dns/bind-tools/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/bind-tools/ChangeLog?rev=1.166&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/bind-tools/ChangeLog?rev=1.166&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/bind-tools/ChangeLog?r1=1.165&r2=1.166
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v
21 retrieving revision 1.165
22 retrieving revision 1.166
23 diff -u -r1.165 -r1.166
24 --- ChangeLog 1 Oct 2010 14:11:30 -0000 1.165
25 +++ ChangeLog 5 Oct 2010 15:47:56 -0000 1.166
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-dns/bind-tools
28 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v 1.165 2010/10/01 14:11:30 ranger Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v 1.166 2010/10/05 15:47:56 idl0r Exp $
31 +
32 +*bind-tools-9.7.2_p2 (05 Oct 2010)
33 +
34 + 05 Oct 2010; Christian Ruppert <idl0r@g.o>
35 + -bind-tools-9.4.3_p4.ebuild, +bind-tools-9.7.2_p2.ebuild:
36 + Version bump to 9.7.2-P2. Remove old 9.4.3-P4.
37
38 01 Oct 2010; Brent Baude <ranger@g.o> bind-tools-9.6.2_p2.ebuild,
39 bind-tools-9.7.1.ebuild:
40
41
42
43 1.1 net-dns/bind-tools/bind-tools-9.7.2_p2.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/bind-tools/bind-tools-9.7.2_p2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/bind-tools/bind-tools-9.7.2_p2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: bind-tools-9.7.2_p2.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.7.2_p2.ebuild,v 1.1 2010/10/05 15:47:56 idl0r Exp $
53
54 EAPI="3"
55
56 inherit eutils autotools
57
58 MY_PN=${PN//-tools}
59 MY_PV=${PV/_p/-P}
60 MY_P="${MY_PN}-${MY_PV}"
61
62 DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen"
63 HOMEPAGE="http://www.isc.org/software/bind"
64 SRC_URI="ftp://ftp.isc.org/isc/bind9/${MY_PV}/${MY_P}.tar.gz"
65
66 LICENSE="as-is"
67 SLOT="0"
68 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
69 IUSE="doc idn ipv6 ssl urandom xml"
70
71 DEPEND="ssl? ( dev-libs/openssl )
72 xml? ( dev-libs/libxml2 )
73 idn? (
74 || ( sys-libs/glibc dev-libs/libiconv )
75 net-dns/idnkit
76 )"
77 RDEPEND="${DEPEND}"
78
79 S="${WORKDIR}/${MY_P}"
80
81 src_prepare() {
82 # bug 122597
83 use idn && {
84 cd "${S}"/contrib/idn/idnkit-1.0-src
85 epatch "${FILESDIR}"/${PN}-configure.patch
86 cd "${S}"
87 }
88
89 # bug 231247
90 epatch "${FILESDIR}"/${PN}-9.5.0_p1-lwconfig.patch
91
92 eautoreconf
93 }
94
95 src_configure() {
96 local myconf=
97
98 has_version sys-libs/glibc || myconf="${myconf} --with-iconv"
99
100 if use urandom; then
101 myconf="${myconf} --with-randomdev=/dev/urandom"
102 else
103 myconf="${myconf} --with-randomdev=/dev/random"
104 fi
105
106 econf \
107 $(use_enable ipv6) \
108 $(use_with idn) \
109 $(use_with ssl openssl) \
110 $(use_with xml libxml2) \
111 ${myconf}
112
113 # bug #151839
114 echo '#undef SO_BSDCOMPAT' >> config.h
115 }
116
117 src_compile() {
118 emake -C lib/ || die "emake lib failed"
119 emake -C bin/dig/ || die "emake bin/dig failed"
120 emake -C bin/nsupdate/ || die "emake bin/nsupdate failed"
121 emake -C bin/dnssec/ || die "emake bin/dnssec failed"
122 }
123
124 src_install() {
125 dodoc README CHANGES FAQ || die
126
127 cd "${S}"/bin/dig
128 dobin dig host nslookup || die
129 doman {dig,host,nslookup}.1 || die
130
131 cd "${S}"/bin/nsupdate
132 dobin nsupdate || die
133 doman nsupdate.1 || die
134 if use doc; then
135 dohtml nsupdate.html || die
136 fi
137
138 cd "${S}"/bin/dnssec
139 dobin dnssec-keygen || die
140 doman dnssec-keygen.8 || die
141
142 if use doc; then
143 dohtml dnssec-keygen.html || die
144 fi
145 }