Gentoo Archives: gentoo-commits

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