Gentoo Archives: gentoo-commits

From: "Tobias Scherbaum (dertobi123)" <dertobi123@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dns/bind-tools: ChangeLog bind-tools-9.5.0_p2.ebuild bind-tools-9.4.2_p2.ebuild bind-tools-9.5.0_p1-r2.ebuild
Date: Sat, 02 Aug 2008 07:16:57
Message-Id: E1KPBME-0006PD-8Z@stork.gentoo.org
1 dertobi123 08/08/02 07:16:54
2
3 Modified: ChangeLog
4 Added: bind-tools-9.5.0_p2.ebuild
5 bind-tools-9.4.2_p2.ebuild
6 Removed: bind-tools-9.5.0_p1-r2.ebuild
7 Log:
8 Version bump
9 (Portage version: 2.2_rc6/cvs/Linux 2.6.25-gentoo-r6 x86_64)
10
11 Revision Changes Path
12 1.107 net-dns/bind-tools/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/ChangeLog?rev=1.107&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/ChangeLog?rev=1.107&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/ChangeLog?r1=1.106&r2=1.107
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v
21 retrieving revision 1.106
22 retrieving revision 1.107
23 diff -u -r1.106 -r1.107
24 --- ChangeLog 27 Jul 2008 08:54:15 -0000 1.106
25 +++ ChangeLog 2 Aug 2008 07:16:53 -0000 1.107
26 @@ -1,6 +1,14 @@
27 # ChangeLog for net-dns/bind-tools
28 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v 1.106 2008/07/27 08:54:15 dertobi123 Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v 1.107 2008/08/02 07:16:53 dertobi123 Exp $
31 +
32 +*bind-tools-9.5.0_p2 (02 Aug 2008)
33 +*bind-tools-9.4.2_p2 (02 Aug 2008)
34 +
35 + 02 Aug 2008; Tobias Scherbaum <dertobi123@g.o>
36 + +bind-tools-9.4.2_p2.ebuild, -bind-tools-9.5.0_p1-r2.ebuild,
37 + +bind-tools-9.5.0_p2.ebuild:
38 + Version bump
39
40 *bind-tools-9.5.0_p1-r2 (27 Jul 2008)
41
42
43
44
45 1.1 net-dns/bind-tools/bind-tools-9.5.0_p2.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/bind-tools-9.5.0_p2.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/bind-tools-9.5.0_p2.ebuild?rev=1.1&content-type=text/plain
49
50 Index: bind-tools-9.5.0_p2.ebuild
51 ===================================================================
52 # Copyright 1999-2008 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.5.0_p2.ebuild,v 1.1 2008/08/02 07:16:53 dertobi123 Exp $
55
56 inherit flag-o-matic
57
58 MY_PN=${PN//-tools}
59 MY_PV=${PV/_p2/-P2}
60 MY_P="${MY_PN}-${MY_PV}"
61 S="${WORKDIR}/${MY_P}"
62 DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen"
63 HOMEPAGE="http://www.isc.org/products/BIND/bind9.html"
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="idn ipv6"
70
71 DEPEND="idn? ( || ( sys-libs/glibc dev-libs/libiconv )
72 net-dns/idnkit )"
73
74 src_unpack() {
75 unpack ${A} || die
76 cd "${S}" || die
77
78 use idn && {
79 # BIND 9.4.0 doesn't have this patch
80 # epatch ${S}/contrib/idn/idnkit-1.0-src/patch/bind9/bind-${PV}-patch
81
82 cd "${S}"/contrib/idn/idnkit-1.0-src
83 epatch "${FILESDIR}"/${PN}-configure.patch
84 cd -
85 }
86
87 epatch "${FILESDIR}"/${PN}-9.5.0_p1-lwconfig.patch
88
89 # bug #151839
90 sed -e \
91 's:struct isc_socket {:#undef SO_BSDCOMPAT\n\nstruct isc_socket {:' \
92 -i lib/isc/unix/socket.c
93 }
94
95 src_compile() {
96 local myconf=
97 use ipv6 && myconf="${myconf} --enable-ipv6" || myconf="${myconf} --enable-ipv6=no"
98 use idn && myconf="${myconf} --with-idn"
99
100 has_version sys-libs/glibc || myconf="${myconf} --with-iconv"
101
102 # bug #227333
103 append-flags -D_GNU_SOURCE
104
105 econf ${myconf} || die "Configure failed"
106
107 cd "${S}"/lib
108 emake -j1 || die "make failed in /lib"
109
110 cd "${S}"/bin/dig
111 emake -j1 || die "make failed in /bin/dig"
112
113 cd "${S}"/lib/lwres/
114 emake -j1 || die "make failed in /lib/lwres"
115
116 cd "${S}"/bin/nsupdate/
117 emake -j1 || die "make failed in /bin/nsupdate"
118
119 cd "${S}"/bin/dnssec/
120 emake -j1 || die "make failed in /bin/dnssec"
121 }
122
123 src_install() {
124 dodoc README CHANGES FAQ
125
126 cd "${S}"/bin/dig
127 dobin dig host nslookup || die
128 doman dig.1 host.1 nslookup.1 || die
129
130 cd "${S}"/bin/nsupdate
131 dobin nsupdate || die
132 doman nsupdate.8 || die
133 dohtml nsupdate.html || die
134
135 cd "${S}"/bin/dnssec
136 dobin dnssec-keygen || die
137 doman dnssec-keygen.8 || die
138 dohtml dnssec-keygen.html || die
139 }
140
141
142
143 1.1 net-dns/bind-tools/bind-tools-9.4.2_p2.ebuild
144
145 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.2_p2.ebuild?rev=1.1&view=markup
146 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.2_p2.ebuild?rev=1.1&content-type=text/plain
147
148 Index: bind-tools-9.4.2_p2.ebuild
149 ===================================================================
150 # Copyright 1999-2008 Gentoo Foundation
151 # Distributed under the terms of the GNU General Public License v2
152 # $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.2_p2.ebuild,v 1.1 2008/08/02 07:16:53 dertobi123 Exp $
153
154 inherit flag-o-matic
155
156 MY_PN=${PN//-tools}
157 MY_PV=${PV/_p2/-P2}
158 MY_P="${MY_PN}-${MY_PV}"
159 S="${WORKDIR}/${MY_P}"
160 DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen"
161 HOMEPAGE="http://www.isc.org/products/BIND/bind9.html"
162 SRC_URI="ftp://ftp.isc.org/isc/bind9/${MY_PV}/${MY_P}.tar.gz"
163
164 LICENSE="as-is"
165 SLOT="0"
166 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
167 IUSE="idn ipv6"
168
169 DEPEND="idn? ( || ( sys-libs/glibc dev-libs/libiconv )
170 net-dns/idnkit )"
171
172 src_unpack() {
173 unpack ${A} || die
174 cd "${S}" || die
175
176 use idn && {
177 # BIND 9.4.0 doesn't have this patch
178 # epatch ${S}/contrib/idn/idnkit-1.0-src/patch/bind9/bind-${PV}-patch
179
180 cd "${S}"/contrib/idn/idnkit-1.0-src
181 epatch "${FILESDIR}"/${PN}-configure.patch
182 cd -
183 }
184
185 # bug #151839
186 sed -e \
187 's:struct isc_socket {:#undef SO_BSDCOMPAT\n\nstruct isc_socket {:' \
188 -i lib/isc/unix/socket.c
189 }
190
191 src_compile() {
192 local myconf=
193 use ipv6 && myconf="${myconf} --enable-ipv6" || myconf="${myconf} --enable-ipv6=no"
194 use idn && myconf="${myconf} --with-idn"
195
196 has_version sys-libs/glibc || myconf="${myconf} --with-iconv"
197
198 econf ${myconf} || die "Configure failed"
199
200 cd "${S}"/lib
201 emake -j1 || die "make failed in /lib"
202
203 cd "${S}"/bin/dig
204 emake -j1 || die "make failed in /bin/dig"
205
206 cd "${S}"/lib/lwres/
207 emake -j1 || die "make failed in /lib/lwres"
208
209 cd "${S}"/bin/nsupdate/
210 emake -j1 || die "make failed in /bin/nsupdate"
211
212 cd "${S}"/bin/dnssec/
213 emake -j1 || die "make failed in /bin/dnssec"
214 }
215
216 src_install() {
217 dodoc README CHANGES FAQ
218
219 cd "${S}"/bin/dig
220 dobin dig host nslookup || die
221 doman dig.1 host.1 nslookup.1 || die
222
223 cd "${S}"/bin/nsupdate
224 dobin nsupdate || die
225 doman nsupdate.8 || die
226 dohtml nsupdate.html || die
227
228 cd "${S}"/bin/dnssec
229 dobin dnssec-keygen || die
230 doman dnssec-keygen.8 || die
231 dohtml dnssec-keygen.html || die
232 }