1 |
commit: c5c3f865a9c0fec1e9ecf1f8f7748b7d190d7ecf |
2 |
Author: Christian Ruppert <idl0r <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 19 13:04:38 2017 +0000 |
4 |
Commit: Christian Ruppert <idl0r <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 19 13:04:55 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5c3f865 |
7 |
|
8 |
net-dns/bind-tools: Restore bind-tools-9.11.0_p3.ebuild till hppa stabilized a more recent version |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
RepoMan-Options: --force |
12 |
|
13 |
net-dns/bind-tools/Manifest | 1 + |
14 |
net-dns/bind-tools/bind-tools-9.11.0_p3.ebuild | 133 +++++++++++++++++++++++++ |
15 |
2 files changed, 134 insertions(+) |
16 |
|
17 |
diff --git a/net-dns/bind-tools/Manifest b/net-dns/bind-tools/Manifest |
18 |
index f63ca8d3f12..3abf7dcdcf3 100644 |
19 |
--- a/net-dns/bind-tools/Manifest |
20 |
+++ b/net-dns/bind-tools/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
+DIST bind-9.11.0-P3.tar.gz 9691935 SHA256 0feee0374bcbdee73a9d4277f3c5007622279572d520d7c27a4b64015d8ca9e9 SHA512 fd5818ea36d7d4aa754a69ced675485cdb80b82f871b3f175c24715c0bd57fc78d4566657996f86ab32cb4158a974e97bb941ff9920cc3718b3484c161164b45 WHIRLPOOL 34db478ddd0841f8be244835c1d4b4149b4bda37707d56f697c544e836000aba0b0fa33c12ba8b86ebf9ca358cf7706db546570fe6371d94f93dca277dae1069 |
23 |
DIST bind-9.11.0-P5.tar.gz 9698446 SHA256 1e283f0567b484687dfd7b936e26c9af4f64043daf73cbd8f3eb1122c9fb71f5 SHA512 142407db35a7bba6e676f2b3dc726a3a6ece9df8a27722f108ec309e24c4614da097b6cd31675c4925e68ff147896bc0a16dd71aa74dd73753ba86a2dbd7d3bd WHIRLPOOL a2aba3a52ad3610891733a3c8d93c0f5b263f706e36178a6f642b18e607a665ad0b15bdf679b9a5d149e9262eb5f718e23a09e989b63a418ee8fdfcb7f435186 |
24 |
DIST bind-9.11.1-P1.tar.gz 9745364 SHA256 6b1b3e88d51b8471bd6aee24a8cea70817e850a5901315dc506f9dde275ca638 SHA512 5683ae7be264e11b5b2a843d216e3ca4959b7de109863d5435090b2e033d6c405689e4ce57385ca787b1c948f4437aea39b8d5164a1d347c167f87337e9fc760 WHIRLPOOL a9dd3cabfe04f16a60ce9d55d3bfdd57d05bddd9fb86996e952756bf40b63dda78d269903d1ae951b499cea899e154e2936117ad2bc6de0e30c0937c8292e45b |
25 |
|
26 |
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 |
27 |
new file mode 100644 |
28 |
index 00000000000..5625a55a19e |
29 |
--- /dev/null |
30 |
+++ b/net-dns/bind-tools/bind-tools-9.11.0_p3.ebuild |
31 |
@@ -0,0 +1,133 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
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 |
+} |