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