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.3_p1.ebuild ChangeLog bind-tools-9.9.1_p1.ebuild bind-tools-9.8.3.ebuild bind-tools-9.7.6.ebuild bind-tools-9.7.3.ebuild bind-tools-9.9.1.ebuild
Date: Mon, 04 Jun 2012 17:12:13
Message-Id: 20120604171203.9E3AC2004B@flycatcher.gentoo.org
1 idl0r 12/06/04 17:12:03
2
3 Modified: ChangeLog
4 Added: bind-tools-9.8.3_p1.ebuild
5 bind-tools-9.9.1_p1.ebuild
6 Removed: bind-tools-9.8.3.ebuild bind-tools-9.7.6.ebuild
7 bind-tools-9.7.3.ebuild bind-tools-9.9.1.ebuild
8 Log:
9 Version bumps, CVE-2012-1667. Remove old versions
10
11 (Portage version: 2.2.0_alpha109/cvs/Linux x86_64)
12
13 Revision Changes Path
14 1.212 net-dns/bind-tools/ChangeLog
15
16 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/bind-tools/ChangeLog?rev=1.212&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/bind-tools/ChangeLog?rev=1.212&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/bind-tools/ChangeLog?r1=1.211&r2=1.212
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v
23 retrieving revision 1.211
24 retrieving revision 1.212
25 diff -u -r1.211 -r1.212
26 --- ChangeLog 22 May 2012 12:47:06 -0000 1.211
27 +++ ChangeLog 4 Jun 2012 17:12:03 -0000 1.212
28 @@ -1,6 +1,15 @@
29 # ChangeLog for net-dns/bind-tools
30 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
31 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v 1.211 2012/05/22 12:47:06 idl0r Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v 1.212 2012/06/04 17:12:03 idl0r Exp $
33 +
34 +*bind-tools-9.9.1_p1 (04 Jun 2012)
35 +*bind-tools-9.8.3_p1 (04 Jun 2012)
36 +
37 + 04 Jun 2012; Christian Ruppert <idl0r@g.o> -bind-tools-9.7.3.ebuild,
38 + -bind-tools-9.7.6.ebuild, -bind-tools-9.8.3.ebuild,
39 + +bind-tools-9.8.3_p1.ebuild, -bind-tools-9.9.1.ebuild,
40 + +bind-tools-9.9.1_p1.ebuild:
41 + Version bumps, CVE-2012-1667. Remove old versions
42
43 *bind-tools-9.8.3 (22 May 2012)
44 *bind-tools-9.7.6 (22 May 2012)
45
46
47
48 1.1 net-dns/bind-tools/bind-tools-9.8.3_p1.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/bind-tools/bind-tools-9.8.3_p1.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/bind-tools/bind-tools-9.8.3_p1.ebuild?rev=1.1&content-type=text/plain
52
53 Index: bind-tools-9.8.3_p1.ebuild
54 ===================================================================
55 # Copyright 1999-2012 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.8.3_p1.ebuild,v 1.1 2012/06/04 17:12:03 idl0r Exp $
58
59 EAPI="4"
60
61 inherit eutils autotools flag-o-matic toolchain-funcs
62
63 MY_PN=${PN//-tools}
64 MY_PV=${PV/_p/-P}
65 MY_PV=${MY_PV/_rc/rc}
66 MY_P="${MY_PN}-${MY_PV}"
67
68 DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen"
69 HOMEPAGE="http://www.isc.org/software/bind"
70 SRC_URI="ftp://ftp.isc.org/isc/bind9/${MY_PV}/${MY_P}.tar.gz"
71
72 LICENSE="as-is"
73 SLOT="0"
74 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
75 IUSE="doc gssapi idn ipv6 ssl urandom xml"
76 # no PKCS11 currently as it requires OpenSSL to be patched, also see bug 409687
77
78 DEPEND="ssl? ( dev-libs/openssl )
79 xml? ( dev-libs/libxml2 )
80 idn? ( net-dns/idnkit )
81 gssapi? ( virtual/krb5 )"
82 RDEPEND="${DEPEND}"
83
84 S="${WORKDIR}/${MY_P}"
85
86 src_prepare() {
87 # bug 231247
88 epatch "${FILESDIR}"/${PN}-9.5.0_p1-lwconfig.patch
89
90 # bug #220361
91 rm {aclocal,libtool}.m4
92 eautoreconf
93 }
94
95 src_configure() {
96 local myconf=
97
98 if use urandom; then
99 myconf="${myconf} --with-randomdev=/dev/urandom"
100 else
101 myconf="${myconf} --with-randomdev=/dev/random"
102 fi
103
104 # bug 344029
105 append-cflags "-DDIG_SIGCHASE"
106
107 # localstatedir for nsupdate -l, bug 395785
108 tc-export BUILD_CC
109 econf \
110 --localstatedir=/var \
111 $(use_enable ipv6) \
112 $(use_with idn) \
113 $(use_with ssl openssl) \
114 $(use_with xml libxml2) \
115 $(use_with gssapi) \
116 ${myconf}
117
118 # bug #151839
119 echo '#undef SO_BSDCOMPAT' >> config.h
120 }
121
122 src_compile() {
123 emake -C lib/ || die "emake lib failed"
124 emake -C bin/dig/ || die "emake bin/dig failed"
125 emake -C bin/nsupdate/ || die "emake bin/nsupdate failed"
126 emake -C bin/dnssec/ || die "emake bin/dnssec failed"
127 }
128
129 src_install() {
130 dodoc README CHANGES FAQ
131
132 cd "${S}"/bin/dig
133 dobin dig host nslookup
134 doman {dig,host,nslookup}.1
135
136 cd "${S}"/bin/nsupdate
137 dobin nsupdate
138 doman nsupdate.1
139 if use doc; then
140 dohtml nsupdate.html
141 fi
142
143 cd "${S}"/bin/dnssec
144 dobin dnssec-keygen
145 doman dnssec-keygen.8
146 if use doc; then
147 dohtml dnssec-keygen.html
148 fi
149 }
150
151
152
153 1.1 net-dns/bind-tools/bind-tools-9.9.1_p1.ebuild
154
155 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/bind-tools/bind-tools-9.9.1_p1.ebuild?rev=1.1&view=markup
156 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/bind-tools/bind-tools-9.9.1_p1.ebuild?rev=1.1&content-type=text/plain
157
158 Index: bind-tools-9.9.1_p1.ebuild
159 ===================================================================
160 # Copyright 1999-2012 Gentoo Foundation
161 # Distributed under the terms of the GNU General Public License v2
162 # $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.9.1_p1.ebuild,v 1.1 2012/06/04 17:12:03 idl0r Exp $
163
164 EAPI="4"
165
166 inherit eutils autotools flag-o-matic toolchain-funcs
167
168 MY_PN=${PN//-tools}
169 MY_PV=${PV/_p/-P}
170 MY_PV=${MY_PV/_rc/rc}
171 MY_P="${MY_PN}-${MY_PV}"
172
173 DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen"
174 HOMEPAGE="http://www.isc.org/software/bind"
175 SRC_URI="ftp://ftp.isc.org/isc/bind9/${MY_PV}/${MY_P}.tar.gz"
176
177 LICENSE="as-is"
178 SLOT="0"
179 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
180 IUSE="doc gssapi idn ipv6 readline ssl urandom xml"
181 # no PKCS11 currently as it requires OpenSSL to be patched, also see bug 409687
182
183 DEPEND="ssl? ( dev-libs/openssl )
184 xml? ( dev-libs/libxml2 )
185 idn? ( net-dns/idnkit )
186 gssapi? ( virtual/krb5 )
187 readline? ( sys-libs/readline )"
188 RDEPEND="${DEPEND}"
189
190 S="${WORKDIR}/${MY_P}"
191
192 src_prepare() {
193 # bug 231247
194 epatch "${FILESDIR}"/${PN}-9.5.0_p1-lwconfig.patch
195
196 # bug #220361
197 rm {aclocal,libtool}.m4
198 eautoreconf
199 }
200
201 src_configure() {
202 local myconf=
203
204 if use urandom; then
205 myconf="${myconf} --with-randomdev=/dev/urandom"
206 else
207 myconf="${myconf} --with-randomdev=/dev/random"
208 fi
209
210 # bug 344029
211 append-cflags "-DDIG_SIGCHASE"
212
213 # localstatedir for nsupdate -l, bug 395785
214 tc-export BUILD_CC
215 econf \
216 --localstatedir=/var \
217 $(use_enable ipv6) \
218 $(use_with idn) \
219 $(use_with ssl openssl) \
220 $(use_with xml libxml2) \
221 $(use_with gssapi) \
222 $(use_with readline) \
223 ${myconf}
224
225 # bug #151839
226 echo '#undef SO_BSDCOMPAT' >> config.h
227 }
228
229 src_compile() {
230 emake -C lib/ || die "emake lib failed"
231 emake -C bin/dig/ || die "emake bin/dig failed"
232 emake -C bin/nsupdate/ || die "emake bin/nsupdate failed"
233 emake -C bin/dnssec/ || die "emake bin/dnssec failed"
234 }
235
236 src_install() {
237 dodoc README CHANGES FAQ
238
239 cd "${S}"/bin/dig
240 dobin dig host nslookup
241 doman {dig,host,nslookup}.1
242
243 cd "${S}"/bin/nsupdate
244 dobin nsupdate
245 doman nsupdate.1
246 if use doc; then
247 dohtml nsupdate.html
248 fi
249
250 cd "${S}"/bin/dnssec
251 dobin dnssec-keygen
252 doman dnssec-keygen.8
253 if use doc; then
254 dohtml dnssec-keygen.html
255 fi
256 }