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.4.2.ebuild
Date: Sat, 03 May 2008 18:09:14
Message-Id: E1JsMAZ-0007G2-R2@stork.gentoo.org
1 dertobi123 08/05/03 18:09:11
2
3 Modified: ChangeLog
4 Added: bind-tools-9.4.2.ebuild
5 Log:
6 Bump to 9.4.2, include dnssec-keygen (# 198721).
7 (Portage version: 2.1.5_rc6)
8
9 Revision Changes Path
10 1.93 net-dns/bind-tools/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/ChangeLog?rev=1.93&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/ChangeLog?rev=1.93&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/ChangeLog?r1=1.92&r2=1.93
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v
19 retrieving revision 1.92
20 retrieving revision 1.93
21 diff -u -r1.92 -r1.93
22 --- ChangeLog 29 Feb 2008 21:57:54 -0000 1.92
23 +++ ChangeLog 3 May 2008 18:09:11 -0000 1.93
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-dns/bind-tools
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v 1.92 2008/02/29 21:57:54 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v 1.93 2008/05/03 18:09:11 dertobi123 Exp $
29 +
30 +*bind-tools-9.4.2 (03 May 2008)
31 +
32 + 03 May 2008; Tobias Scherbaum <dertobi123@g.o>
33 + +bind-tools-9.4.2.ebuild:
34 + Bump to 9.4.2, include dnssec-keygen (# 198721).
35
36 29 Feb 2008; Raúl Porcel <armin76@g.o> bind-tools-9.2.6-r3.ebuild,
37 bind-tools-9.2.8-r1.ebuild, bind-tools-9.3.2-r3.ebuild,
38
39
40
41 1.1 net-dns/bind-tools/bind-tools-9.4.2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: bind-tools-9.4.2.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.2.ebuild,v 1.1 2008/05/03 18:09:11 dertobi123 Exp $
51
52 inherit flag-o-matic
53
54 MY_P=${P//-tools}
55 S=${WORKDIR}/${MY_P}
56 DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen"
57 HOMEPAGE="http://www.isc.org/products/BIND/bind9.html"
58 SRC_URI="ftp://ftp.isc.org/isc/bind9/${PV}/${MY_P}.tar.gz"
59
60 LICENSE="as-is"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
63 IUSE="idn ipv6"
64
65 DEPEND="idn? ( || ( sys-libs/glibc dev-libs/libiconv ) )"
66
67 src_unpack() {
68 unpack ${A} || die
69 cd "${S}" || die
70
71 use idn && {
72 # BIND 9.4.0 doesn't have this patch
73 # epatch ${S}/contrib/idn/idnkit-1.0-src/patch/bind9/bind-${PV}-patch
74
75 cd "${S}"/contrib/idn/idnkit-1.0-src
76 epatch "${FILESDIR}"/${PN}-configure.patch
77 cd -
78 }
79
80 # bug #151839
81 sed -e \
82 's:struct isc_socket {:#undef SO_BSDCOMPAT\n\nstruct isc_socket {:' \
83 -i lib/isc/unix/socket.c
84 }
85
86 src_compile() {
87 local myconf=
88 use ipv6 && myconf="${myconf} --enable-ipv6" || myconf="${myconf} --enable-ipv6=no"
89
90 econf ${myconf} || die "Configure failed"
91
92 cd "${S}"/lib
93 emake -j1 || die "make failed in /lib"
94
95 cd "${S}"/bin/dig
96 emake -j1 || die "make failed in /bin/dig"
97
98 cd "${S}"/lib/lwres/
99 emake -j1 || die "make failed in /lib/lwres"
100
101 cd "${S}"/bin/nsupdate/
102 emake -j1 || die "make failed in /bin/nsupdate"
103
104 cd "${S}"/bin/dnssec/
105 emake -j1 || die "make failed in /bin/dnssec"
106
107 use idn && {
108 cd "${S}"/contrib/idn/idnkit-1.0-src
109 local myconf=
110 has_version sys-libs/glibc || myconf="${myconf} --with-iconv"
111 econf ${myconf} || die "idn econf failed"
112 emake -j1 || die "idn emake failed"
113 }
114 }
115
116 src_install() {
117 dodoc README CHANGES FAQ
118
119 cd "${S}"/bin/dig
120 dobin dig host nslookup || die
121 doman dig.1 host.1 nslookup.1 || die
122
123 cd "${S}"/bin/nsupdate
124 dobin nsupdate || die
125 doman nsupdate.8 || die
126 dohtml nsupdate.html || die
127
128 cd "${S}"/bin/dnssec
129 dobin dnssec-keygen || die
130 doman dnssec-keygen.8 || die
131 dohtml dnssec-keygen.html || die
132 }
133
134
135
136 --
137 gentoo-commits@l.g.o mailing list