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