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