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.10.1.ebuild bind-tools-9.9.5_p1.ebuild
Date: Tue, 30 Sep 2014 19:08:06
Message-Id: 20140930190803.74A8569B4@oystercatcher.gentoo.org
1 idl0r 14/09/30 19:08:03
2
3 Modified: ChangeLog
4 Added: bind-tools-9.10.1.ebuild
5 Removed: bind-tools-9.9.5_p1.ebuild
6 Log:
7 Version bump
8
9 (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key B427ABC8)
10
11 Revision Changes Path
12 1.272 net-dns/bind-tools/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/bind-tools/ChangeLog?rev=1.272&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/bind-tools/ChangeLog?rev=1.272&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/bind-tools/ChangeLog?r1=1.271&r2=1.272
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v
21 retrieving revision 1.271
22 retrieving revision 1.272
23 diff -u -r1.271 -r1.272
24 --- ChangeLog 15 Aug 2014 12:03:17 -0000 1.271
25 +++ ChangeLog 30 Sep 2014 19:08:03 -0000 1.272
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-dns/bind-tools
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v 1.271 2014/08/15 12:03:17 idl0r Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v 1.272 2014/09/30 19:08:03 idl0r Exp $
31 +
32 +*bind-tools-9.10.1 (30 Sep 2014)
33 +
34 + 30 Sep 2014; Christian Ruppert <idl0r@g.o>
35 + -bind-tools-9.9.5_p1.ebuild, +bind-tools-9.10.1.ebuild:
36 + Version bump
37
38 *bind-tools-9.10.0_p2 (15 Aug 2014)
39 *bind-tools-9.9.5_p1 (15 Aug 2014)
40
41
42
43 1.1 net-dns/bind-tools/bind-tools-9.10.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/bind-tools/bind-tools-9.10.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/bind-tools/bind-tools-9.10.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: bind-tools-9.10.1.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.10.1.ebuild,v 1.1 2014/09/30 19:08:03 idl0r Exp $
53
54 EAPI="5"
55
56 inherit eutils autotools flag-o-matic toolchain-funcs
57
58 MY_PN=${PN//-tools}
59 MY_PV=${PV/_p/-P}
60 MY_PV=${MY_PV/_rc/rc}
61 MY_P="${MY_PN}-${MY_PV}"
62
63 DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen"
64 HOMEPAGE="http://www.isc.org/software/bind"
65 SRC_URI="ftp://ftp.isc.org/isc/bind9/${MY_PV}/${MY_P}.tar.gz"
66
67 LICENSE="ISC BSD BSD-2 HPND JNIC RSA openssl"
68 SLOT="0"
69 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
70 IUSE="doc gost gssapi idn ipv6 readline ssl urandom xml"
71 # no PKCS11 currently as it requires OpenSSL to be patched, also see bug 409687
72
73 REQUIRED_USE="gost? ( ssl )"
74
75 DEPEND="ssl? ( dev-libs/openssl:0 )
76 gost? ( >=dev-libs/openssl-1.0.0:0[-bindist] )
77 xml? ( dev-libs/libxml2 )
78 idn? ( net-dns/idnkit )
79 gssapi? ( virtual/krb5 )
80 readline? ( sys-libs/readline )"
81 RDEPEND="${DEPEND}"
82
83 S="${WORKDIR}/${MY_P}"
84
85 # bug 479092, requires networking
86 RESTRICT="test"
87
88 src_prepare() {
89 # bug 231247
90 epatch "${FILESDIR}"/${PN}-9.5.0_p1-lwconfig.patch
91
92 # Disable tests for now, bug 406399
93 sed -i '/^SUBDIRS/s:tests::' bin/Makefile.in lib/Makefile.in || die
94
95 # bug #220361
96 rm aclocal.m4
97 rm -rf libtool.m4/
98 eautoreconf
99 }
100
101 src_configure() {
102 local myconf=
103
104 if use urandom; then
105 myconf="${myconf} --with-randomdev=/dev/urandom"
106 else
107 myconf="${myconf} --with-randomdev=/dev/random"
108 fi
109
110 # bug 344029
111 append-cflags "-DDIG_SIGCHASE"
112
113 # localstatedir for nsupdate -l, bug 395785
114 tc-export BUILD_CC
115 econf \
116 --localstatedir=/var \
117 --without-python \
118 --disable-seccomp \
119 $(use_enable ipv6) \
120 $(use_with idn) \
121 $(use_with ssl openssl "${EPREFIX}"/usr) \
122 $(use_with xml libxml2) \
123 $(use_with gssapi) \
124 $(use_with readline) \
125 $(use_with gost) \
126 ${myconf}
127
128 # bug #151839
129 echo '#undef SO_BSDCOMPAT' >> config.h
130 }
131
132 src_compile() {
133 local AR=$(tc-getAR)
134
135 emake AR=$AR -C lib/ || die "emake lib failed"
136 emake AR=$AR -C bin/delv/ || die "emake bin/delv failed"
137 emake AR=$AR -C bin/dig/ || die "emake bin/dig failed"
138 emake AR=$AR -C bin/nsupdate/ || die "emake bin/nsupdate failed"
139 emake AR=$AR -C bin/dnssec/ || die "emake bin/dnssec failed"
140 }
141
142 src_install() {
143 dodoc README CHANGES FAQ
144
145 cd "${S}"/bin/delv
146 dobin delv
147 doman delv.1
148
149 cd "${S}"/bin/dig
150 dobin dig host nslookup
151 doman {dig,host,nslookup}.1
152
153 cd "${S}"/bin/nsupdate
154 dobin nsupdate
155 doman nsupdate.1
156 if use doc; then
157 dohtml nsupdate.html
158 fi
159
160 cd "${S}"/bin/dnssec
161 dobin dnssec-keygen
162 doman dnssec-keygen.8
163 if use doc; then
164 dohtml dnssec-keygen.html
165 fi
166 }