Gentoo Archives: gentoo-commits

From: Marc Schiffbauer <mschiff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/unbound/
Date: Fri, 29 Apr 2016 21:44:10
Message-Id: 1461966214.4d4021a5980b0d0c89c7f9fc3cd8308cc4f9dfb8.mschiff@gentoo
1 commit: 4d4021a5980b0d0c89c7f9fc3cd8308cc4f9dfb8
2 Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 29 21:43:17 2016 +0000
4 Commit: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 29 21:43:34 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d4021a5
7
8 net-dns/unbound: drop old version
9
10 Package-Manager: portage-2.2.28
11
12 net-dns/unbound/Manifest | 1 -
13 net-dns/unbound/unbound-1.5.6.ebuild | 122 -----------------------------------
14 2 files changed, 123 deletions(-)
15
16 diff --git a/net-dns/unbound/Manifest b/net-dns/unbound/Manifest
17 index 5ac1abf..9d13823 100644
18 --- a/net-dns/unbound/Manifest
19 +++ b/net-dns/unbound/Manifest
20 @@ -1,5 +1,4 @@
21 DIST unbound-1.4.22.tar.gz 4735801 SHA256 1caf5081b2190ecdb23fc4d998b7999e28640c941f53baff7aee03c092a7d29f SHA512 0593cad3966f24f76b93bbc9c906c096c645e9360a57034c5ed4f04baeaa021eb9169a8e9cd0a98651c7a564d9feda8b9490e3b87ad469f6ce1dd1fcb05d9974 WHIRLPOOL 4de27d6c4548c46c83b95a7f21efd8d75898ddb92e3af84fbd1d07a39e29a121e593ddbf13676f914d4ee428942bf345c9b93937165725ece5031fc67ab9eacc
22 DIST unbound-1.5.1.tar.gz 4805176 SHA256 0ff82709fb2bd7ecbde8dbdcf60fa417d2b43379570a3d460193a76a169900ec SHA512 85d7069cf47709aceb7d9457c8befb1b327adfb098d8aa98082fc9bf710274e8ba86b56d796c86917639bb7e57ab5c40af1bc79090de038c6375be2c3877e0c4 WHIRLPOOL e23f7d399a1f01da5aec98ff0fa3b377e8a76789d237ceaf0e9146c96a97088716a0ec6c0f68f95f57af16743e73c1bc7209889a04a698bf7aa5d0706c7514f5
23 -DIST unbound-1.5.6.tar.gz 4849569 SHA256 ad3823f5895f59da9e408ea273fcf81d8a76914c18864fba256d7f140b83e404 SHA512 2477e3f00b8f5a3a4661ff20b0bc0d1d56c8a65cc6ab9f1308ae86f41c67a998af68d3ac5ba6c9c22a25a251f0410eaf9fee82911bcb3a3e82ffb6383e28dcf7 WHIRLPOOL 72fd050bd49422783014549b4764f6279be7d4deec50ccf2a97e6cc2592f79d69a3f823ed0849dc3f685908c60234386820e01bde43d5db4c6c616e5e2dee44b
24 DIST unbound-1.5.7.tar.gz 4859573 SHA256 4b2088e5aa81a2d48f6337c30c1cf7e99b2e2dc4f92e463b3bee626eee731ca8 SHA512 7fc000364139519ed837ef9883f2e8a684b5ac19f2d3343626ab0a4c3459a7c3ccf2c79e9d992d82b123c6a38245fc286994365b427145d218e0b3c645c4dc4f WHIRLPOOL 9b2d18f09f46bed5da9818f5df0acbcc6d4a166943bbdb617494081614aa9b75a03ed0425679f40265f70e34ed66e01302182ec4050f0bb1f034fa5db28340f3
25 DIST unbound-1.5.8.tar.gz 4895649 SHA256 33567a20f73e288f8daa4ec021fbb30fe1824b346b34f12677ad77899ecd09be SHA512 0c296a2e5489fae0fdf0ca2ea11ed72f00498c8499f38f308ff32078665d980a2d5a80ee0e106273dc13a146611a238553857c5f301fe9622072382c06b8434a WHIRLPOOL ca977c88e5dcca80d11a3cf769e002f61b8c6145dea2a79a9d0c142396ff2f19b3452546627ced79e9af74fed3ac2ff72ca9f6fc2395e477076959fef77bd3b1
26
27 diff --git a/net-dns/unbound/unbound-1.5.6.ebuild b/net-dns/unbound/unbound-1.5.6.ebuild
28 deleted file mode 100644
29 index 9c2564c..0000000
30 --- a/net-dns/unbound/unbound-1.5.6.ebuild
31 +++ /dev/null
32 @@ -1,122 +0,0 @@
33 -# Copyright 1999-2015 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -# $Id$
36 -
37 -EAPI=5
38 -PYTHON_COMPAT=( python2_7 )
39 -
40 -inherit eutils flag-o-matic multilib-minimal python-single-r1 systemd user
41 -
42 -MY_P=${PN}-${PV/_/}
43 -DESCRIPTION="A validating, recursive and caching DNS resolver"
44 -HOMEPAGE="http://unbound.net/"
45 -SRC_URI="http://unbound.net/downloads/${MY_P}.tar.gz"
46 -
47 -LICENSE="BSD GPL-2"
48 -SLOT="0"
49 -KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
50 -IUSE="debug dnstap +ecdsa gost python selinux static-libs test threads"
51 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
52 -
53 -# Note: expat is needed by executable only but the Makefile is custom
54 -# and doesn't make it possible to easily install the library without
55 -# the executables. MULTILIB_USEDEP may be dropped once build system
56 -# is fixed.
57 -
58 -CDEPEND=">=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
59 - >=dev-libs/libevent-2.0.21[${MULTILIB_USEDEP}]
60 - >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}]
61 - dnstap? (
62 - dev-libs/fstrm[${MULTILIB_USEDEP}]
63 - >=dev-libs/protobuf-c-1.0.2-r1[${MULTILIB_USEDEP}]
64 - )
65 - ecdsa? ( dev-libs/openssl:0[-bindist] )
66 - python? ( ${PYTHON_DEPS} )"
67 -
68 -DEPEND="${CDEPEND}
69 - python? ( dev-lang/swig )
70 - test? (
71 - net-dns/ldns-utils[examples]
72 - dev-util/splint
73 - app-text/wdiff
74 - )"
75 -
76 -RDEPEND="${CDEPEND}
77 - selinux? ( sec-policy/selinux-bind )"
78 -
79 -# bug #347415
80 -RDEPEND="${RDEPEND}
81 - net-dns/dnssec-root"
82 -
83 -S=${WORKDIR}/${MY_P}
84 -
85 -pkg_setup() {
86 - enewgroup unbound
87 - enewuser unbound -1 -1 /etc/unbound unbound
88 -
89 - use python && python-single-r1_pkg_setup
90 -}
91 -
92 -src_prepare() {
93 - # To avoid below error messages, set 'trust-anchor-file' to same value in
94 - # 'auto-trust-anchor-file'.
95 - # [23109:0] error: Could not open autotrust file for writing,
96 - # /etc/dnssec/root-anchors.txt: Permission denied
97 - epatch "${FILESDIR}"/${PN}-1.4.12-gentoo.patch
98 -
99 - # required for the python part
100 - multilib_copy_sources
101 -}
102 -
103 -src_configure() {
104 - [[ ${CHOST} == *-darwin* ]] || append-ldflags -Wl,-z,noexecstack
105 - multilib-minimal_src_configure
106 -}
107 -
108 -multilib_src_configure() {
109 - econf \
110 - $(use_enable debug) \
111 - $(use_enable gost) \
112 - $(use_enable dnstap) \
113 - $(use_enable ecdsa) \
114 - $(use_enable static-libs static) \
115 - $(multilib_native_use_with python pythonmodule) \
116 - $(multilib_native_use_with python pyunbound) \
117 - $(use_with threads pthreads) \
118 - --disable-flto \
119 - --disable-rpath \
120 - --with-libevent="${EPREFIX}"/usr \
121 - --with-pidfile="${EPREFIX}"/var/run/unbound.pid \
122 - --with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt \
123 - --with-ssl="${EPREFIX}"/usr \
124 - --with-libexpat="${EPREFIX}"/usr
125 -
126 - # http://unbound.nlnetlabs.nl/pipermail/unbound-users/2011-April/001801.html
127 - # $(use_enable debug lock-checks) \
128 - # $(use_enable debug alloc-checks) \
129 - # $(use_enable debug alloc-lite) \
130 - # $(use_enable debug alloc-nonregional) \
131 -}
132 -
133 -multilib_src_install_all() {
134 - prune_libtool_files --modules
135 - use python && python_optimize
136 -
137 - newinitd "${FILESDIR}"/unbound.initd unbound
138 - newconfd "${FILESDIR}"/unbound.confd unbound
139 -
140 - systemd_dounit "${FILESDIR}"/unbound.service
141 - systemd_newunit "${FILESDIR}"/unbound_at.service "unbound@.service"
142 - systemd_dounit "${FILESDIR}"/unbound-anchor.service
143 -
144 - dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES}
145 -
146 - # bug #315519
147 - dodoc contrib/unbound_munin_
148 -
149 - docinto selinux
150 - dodoc contrib/selinux/*
151 -
152 - exeinto /usr/share/${PN}
153 - doexe contrib/update-anchor.sh
154 -}