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