1 |
commit: 6b37f27c916b73411c68c8f7c6ba2607a5f081e0 |
2 |
Author: Christian Ruppert <idl0r <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 13 19:04:04 2017 +0000 |
4 |
Commit: Christian Ruppert <idl0r <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 13 19:04:04 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b37f27c |
7 |
|
8 |
net-dns/bind-tools: Version bump re bug 608740 - CVE-2017-3135 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
net-dns/bind-tools/Manifest | 1 + |
13 |
net-dns/bind-tools/bind-tools-9.11.0_p3.ebuild | 134 +++++++++++++++++++++++++ |
14 |
2 files changed, 135 insertions(+) |
15 |
|
16 |
diff --git a/net-dns/bind-tools/Manifest b/net-dns/bind-tools/Manifest |
17 |
index ee7c73434f..89077bf487 100644 |
18 |
--- a/net-dns/bind-tools/Manifest |
19 |
+++ b/net-dns/bind-tools/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST bind-9.10.4-P4.tar.gz 9299638 SHA256 a41ce7518e1d0faa40312cc89f4ca42246906b2718099d992e87a5d3ce9a9d86 SHA512 a662053f2052eb2d7ea61b4ecbd4e92980c808080598f7c4590c746e8e5d6545a9f965a8aeece57ce92b17545844cf8565719f697eaef6e2ade8106d810d2799 WHIRLPOOL 31b8e7b7a7c35d9894d91d2caf7428935f28c319c0af5176aaa8bfabac38882c658fa45f5548387295502013b2cba2de624279531d9b79f4c120b4da62c46b1b |
22 |
DIST bind-9.11.0-P2.tar.gz 9677204 SHA256 d651f83ce1c08c83d6ac8201685c4f2b5fdb79794f3a4f93c3948e0ef439c1e5 SHA512 19ba809814d42afdbd7cab291b006ac23d08a4aabfcbed101bc269a68597e70f2f89e1da27b719ceb4c94741702df2b95b2d8fce46b2a33a65ff242d5a3b298d WHIRLPOOL c79adae68a970e43100b6ed3a446dd872ffcf7ce8439bd86e721bf9555f309d0004efb0c9b577d17a7cde59a143e034f86287f544abb2596457d3e55f0f6632b |
23 |
+DIST bind-9.11.0-P3.tar.gz 9691935 SHA256 0feee0374bcbdee73a9d4277f3c5007622279572d520d7c27a4b64015d8ca9e9 SHA512 fd5818ea36d7d4aa754a69ced675485cdb80b82f871b3f175c24715c0bd57fc78d4566657996f86ab32cb4158a974e97bb941ff9920cc3718b3484c161164b45 WHIRLPOOL 34db478ddd0841f8be244835c1d4b4149b4bda37707d56f697c544e836000aba0b0fa33c12ba8b86ebf9ca358cf7706db546570fe6371d94f93dca277dae1069 |
24 |
|
25 |
diff --git a/net-dns/bind-tools/bind-tools-9.11.0_p3.ebuild b/net-dns/bind-tools/bind-tools-9.11.0_p3.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000000..e6d0ffa972 |
28 |
--- /dev/null |
29 |
+++ b/net-dns/bind-tools/bind-tools-9.11.0_p3.ebuild |
30 |
@@ -0,0 +1,134 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI="5" |
36 |
+ |
37 |
+inherit eutils autotools flag-o-matic toolchain-funcs |
38 |
+ |
39 |
+MY_PN=${PN//-tools} |
40 |
+MY_PV=${PV/_p/-P} |
41 |
+MY_PV=${MY_PV/_rc/rc} |
42 |
+MY_P="${MY_PN}-${MY_PV}" |
43 |
+ |
44 |
+DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen" |
45 |
+HOMEPAGE="http://www.isc.org/software/bind" |
46 |
+SRC_URI="ftp://ftp.isc.org/isc/bind9/${MY_PV}/${MY_P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="Apache-2.0 BSD BSD-2 GPL-2 HPND ISC MPL-2.0" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~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" |
51 |
+IUSE="doc gost gssapi idn ipv6 libressl readline seccomp ssl urandom xml" |
52 |
+# no PKCS11 currently as it requires OpenSSL to be patched, also see bug 409687 |
53 |
+ |
54 |
+REQUIRED_USE="gost? ( !libressl ssl )" |
55 |
+ |
56 |
+CDEPEND=" |
57 |
+ ssl? ( |
58 |
+ !libressl? ( dev-libs/openssl:0 ) |
59 |
+ libressl? ( dev-libs/libressl ) |
60 |
+ ) |
61 |
+ gost? ( >=dev-libs/openssl-1.0.0:0[-bindist] ) |
62 |
+ xml? ( dev-libs/libxml2 ) |
63 |
+ idn? ( net-dns/idnkit ) |
64 |
+ gssapi? ( virtual/krb5 ) |
65 |
+ readline? ( sys-libs/readline:0= ) |
66 |
+ seccomp? ( sys-libs/libseccomp )" |
67 |
+DEPEND="${CDEPEND} |
68 |
+ virtual/pkgconfig" |
69 |
+RDEPEND="${CDEPEND} |
70 |
+ !<net-dns/bind-9.10.2" |
71 |
+ |
72 |
+S="${WORKDIR}/${MY_P}" |
73 |
+ |
74 |
+# bug 479092, requires networking |
75 |
+RESTRICT="test" |
76 |
+ |
77 |
+src_prepare() { |
78 |
+ epatch "${FILESDIR}"/${PN}-9.5.0_p1-lwconfig.patch #231247 |
79 |
+ |
80 |
+ # Disable tests for now, bug 406399 |
81 |
+ sed -i '/^SUBDIRS/s:tests::' bin/Makefile.in lib/Makefile.in || die |
82 |
+ |
83 |
+ # bug #220361 |
84 |
+ rm aclocal.m4 |
85 |
+ rm -rf libtool.m4/ |
86 |
+ |
87 |
+ mv configure.in configure.ac || die # configure.in is deprecated |
88 |
+ eautoreconf |
89 |
+} |
90 |
+ |
91 |
+src_configure() { |
92 |
+ local myconf= |
93 |
+ |
94 |
+ if use urandom; then |
95 |
+ myconf="${myconf} --with-randomdev=/dev/urandom" |
96 |
+ else |
97 |
+ myconf="${myconf} --with-randomdev=/dev/random" |
98 |
+ fi |
99 |
+ |
100 |
+ # bug 344029 |
101 |
+ append-cflags "-DDIG_SIGCHASE" |
102 |
+ |
103 |
+ # localstatedir for nsupdate -l, bug 395785 |
104 |
+ tc-export BUILD_CC |
105 |
+ econf \ |
106 |
+ --localstatedir=/var \ |
107 |
+ --without-python \ |
108 |
+ --without-libjson \ |
109 |
+ --without-zlib \ |
110 |
+ --without-lmdb \ |
111 |
+ --disable-openssl-version-check \ |
112 |
+ $(use_enable ipv6) \ |
113 |
+ $(use_with idn) \ |
114 |
+ $(usex idn --with-idnlib=-lidnkit '') \ |
115 |
+ $(use_enable seccomp) \ |
116 |
+ $(use_with ssl openssl) \ |
117 |
+ $(use_with xml libxml2) \ |
118 |
+ $(use_with gssapi) \ |
119 |
+ $(use_with readline) \ |
120 |
+ $(use_with gost) \ |
121 |
+ ${myconf} |
122 |
+ |
123 |
+ # bug #151839 |
124 |
+ echo '#undef SO_BSDCOMPAT' >> config.h |
125 |
+} |
126 |
+ |
127 |
+src_compile() { |
128 |
+ local AR=$(tc-getAR) |
129 |
+ |
130 |
+ emake AR="${AR}" -C lib/ |
131 |
+ emake AR="${AR}" -C bin/delv/ |
132 |
+ emake AR="${AR}" -C bin/dig/ |
133 |
+ emake AR="${AR}" -C bin/nsupdate/ |
134 |
+ emake AR="${AR}" -C bin/dnssec/ |
135 |
+} |
136 |
+ |
137 |
+src_install() { |
138 |
+ dodoc README CHANGES FAQ |
139 |
+ |
140 |
+ cd "${S}"/bin/delv |
141 |
+ dobin delv |
142 |
+ doman delv.1 |
143 |
+ |
144 |
+ cd "${S}"/bin/dig |
145 |
+ dobin dig host nslookup |
146 |
+ doman {dig,host,nslookup}.1 |
147 |
+ |
148 |
+ cd "${S}"/bin/nsupdate |
149 |
+ dobin nsupdate |
150 |
+ doman nsupdate.1 |
151 |
+ if use doc; then |
152 |
+ dohtml nsupdate.html |
153 |
+ fi |
154 |
+ |
155 |
+ cd "${S}"/bin/dnssec |
156 |
+ for tool in dsfromkey importkey keyfromlabel keygen \ |
157 |
+ revoke settime signzone verify; do |
158 |
+ dobin dnssec-"${tool}" |
159 |
+ doman dnssec-"${tool}".8 |
160 |
+ if use doc; then |
161 |
+ dohtml dnssec-"${tool}".html |
162 |
+ fi |
163 |
+ done |
164 |
+} |