1 |
radhermit 14/11/27 18:36:35 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: unbound-1.5.0.ebuild |
5 |
Log: |
6 |
Version bump, add dnstap use flag. |
7 |
|
8 |
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.11 net-dns/unbound/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/metadata.xml?rev=1.11&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/metadata.xml?rev=1.11&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/metadata.xml?r1=1.10&r2=1.11 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-dns/unbound/metadata.xml,v |
20 |
retrieving revision 1.10 |
21 |
retrieving revision 1.11 |
22 |
diff -u -r1.10 -r1.11 |
23 |
--- metadata.xml 19 Nov 2013 21:31:15 -0000 1.10 |
24 |
+++ metadata.xml 27 Nov 2014 18:36:35 -0000 1.11 |
25 |
@@ -23,6 +23,7 @@ |
26 |
as a server, but are linked into an application) are easily possible. |
27 |
</longdescription> |
28 |
<use> |
29 |
+ <flag name='dnstap'>Enable dnstap support</flag> |
30 |
<flag name='gost'>Enable GOST support</flag> |
31 |
</use> |
32 |
</pkgmetadata> |
33 |
|
34 |
|
35 |
|
36 |
1.77 net-dns/unbound/ChangeLog |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/ChangeLog?rev=1.77&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/ChangeLog?rev=1.77&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/ChangeLog?r1=1.76&r2=1.77 |
41 |
|
42 |
Index: ChangeLog |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v |
45 |
retrieving revision 1.76 |
46 |
retrieving revision 1.77 |
47 |
diff -u -r1.76 -r1.77 |
48 |
--- ChangeLog 2 Nov 2014 08:49:46 -0000 1.76 |
49 |
+++ ChangeLog 27 Nov 2014 18:36:35 -0000 1.77 |
50 |
@@ -1,6 +1,12 @@ |
51 |
# ChangeLog for net-dns/unbound |
52 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v 1.76 2014/11/02 08:49:46 swift Exp $ |
54 |
+# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v 1.77 2014/11/27 18:36:35 radhermit Exp $ |
55 |
+ |
56 |
+*unbound-1.5.0 (27 Nov 2014) |
57 |
+ |
58 |
+ 27 Nov 2014; Tim Harder <radhermit@g.o> +unbound-1.5.0.ebuild, |
59 |
+ metadata.xml: |
60 |
+ Version bump, add dnstap use flag. |
61 |
|
62 |
02 Nov 2014; Sven Vermeulen <swift@g.o> unbound-1.4.22-r1.ebuild: |
63 |
Remove sec-policy/selinux-* dependency from DEPEND but keep in RDEPEND (bug |
64 |
|
65 |
|
66 |
|
67 |
1.1 net-dns/unbound/unbound-1.5.0.ebuild |
68 |
|
69 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/unbound-1.5.0.ebuild?rev=1.1&view=markup |
70 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/unbound-1.5.0.ebuild?rev=1.1&content-type=text/plain |
71 |
|
72 |
Index: unbound-1.5.0.ebuild |
73 |
=================================================================== |
74 |
# Copyright 1999-2014 Gentoo Foundation |
75 |
# Distributed under the terms of the GNU General Public License v2 |
76 |
# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/unbound-1.5.0.ebuild,v 1.1 2014/11/27 18:36:35 radhermit Exp $ |
77 |
|
78 |
EAPI=5 |
79 |
PYTHON_COMPAT=( python2_7 ) |
80 |
|
81 |
inherit eutils flag-o-matic multilib-minimal python-single-r1 systemd user |
82 |
|
83 |
DESCRIPTION="A validating, recursive and caching DNS resolver" |
84 |
HOMEPAGE="http://unbound.net/" |
85 |
SRC_URI="http://unbound.net/downloads/${P}.tar.gz" |
86 |
|
87 |
LICENSE="BSD GPL-2" |
88 |
SLOT="0" |
89 |
KEYWORDS="~amd64 ~x86" |
90 |
IUSE="debug dnstap gost python selinux static-libs test threads" |
91 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
92 |
|
93 |
# Note: expat is needed by executable only but the Makefile is custom |
94 |
# and doesn't make it possible to easily install the library without |
95 |
# the executables. MULTILIB_USEDEP may be dropped once build system |
96 |
# is fixed. |
97 |
|
98 |
CDEPEND=">=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}] |
99 |
>=dev-libs/libevent-2.0.21[${MULTILIB_USEDEP}] |
100 |
>=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] |
101 |
dnstap? ( |
102 |
dev-libs/fstrm[${MULTILIB_USEDEP}] |
103 |
>=dev-libs/protobuf-c-1.0.2-r1[${MULTILIB_USEDEP}] |
104 |
) |
105 |
python? ( ${PYTHON_DEPS} )" |
106 |
|
107 |
DEPEND="${CDEPEND} |
108 |
python? ( dev-lang/swig ) |
109 |
test? ( |
110 |
net-dns/ldns-utils[examples] |
111 |
dev-util/splint |
112 |
app-text/wdiff |
113 |
)" |
114 |
|
115 |
RDEPEND="${CDEPEND} |
116 |
selinux? ( sec-policy/selinux-bind )" |
117 |
|
118 |
# bug #347415 |
119 |
RDEPEND="${RDEPEND} |
120 |
net-dns/dnssec-root" |
121 |
|
122 |
pkg_setup() { |
123 |
enewgroup unbound |
124 |
enewuser unbound -1 -1 /etc/unbound unbound |
125 |
|
126 |
use python && python-single-r1_pkg_setup |
127 |
} |
128 |
|
129 |
src_prepare() { |
130 |
# To avoid below error messages, set 'trust-anchor-file' to same value in |
131 |
# 'auto-trust-anchor-file'. |
132 |
# [23109:0] error: Could not open autotrust file for writing, |
133 |
# /etc/dnssec/root-anchors.txt: Permission denied |
134 |
epatch "${FILESDIR}"/${PN}-1.4.12-gentoo.patch |
135 |
|
136 |
# required for the python part |
137 |
multilib_copy_sources |
138 |
} |
139 |
|
140 |
src_configure() { |
141 |
[[ ${CHOST} == *-darwin* ]] || append-ldflags -Wl,-z,noexecstack |
142 |
multilib-minimal_src_configure |
143 |
} |
144 |
|
145 |
multilib_src_configure() { |
146 |
econf \ |
147 |
$(use_enable debug) \ |
148 |
$(use_enable gost) \ |
149 |
$(use_enable dnstap) \ |
150 |
$(use_enable static-libs static) \ |
151 |
$(multilib_native_use_with python pythonmodule) \ |
152 |
$(multilib_native_use_with python pyunbound) \ |
153 |
$(use_with threads pthreads) \ |
154 |
--disable-rpath \ |
155 |
--enable-ecdsa \ |
156 |
--with-libevent="${EPREFIX}"/usr \ |
157 |
--with-pidfile="${EPREFIX}"/var/run/unbound.pid \ |
158 |
--with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt \ |
159 |
--with-ssl="${EPREFIX}"/usr \ |
160 |
--with-libexpat="${EPREFIX}"/usr |
161 |
|
162 |
# http://unbound.nlnetlabs.nl/pipermail/unbound-users/2011-April/001801.html |
163 |
# $(use_enable debug lock-checks) \ |
164 |
# $(use_enable debug alloc-checks) \ |
165 |
# $(use_enable debug alloc-lite) \ |
166 |
# $(use_enable debug alloc-nonregional) \ |
167 |
} |
168 |
|
169 |
multilib_src_install_all() { |
170 |
prune_libtool_files --modules |
171 |
use python && python_optimize |
172 |
|
173 |
newinitd "${FILESDIR}"/unbound.initd unbound |
174 |
newconfd "${FILESDIR}"/unbound.confd unbound |
175 |
|
176 |
systemd_dounit "${FILESDIR}"/unbound.service |
177 |
systemd_newunit "${FILESDIR}"/unbound_at.service "unbound@.service" |
178 |
systemd_dounit "${FILESDIR}"/unbound-anchor.service |
179 |
|
180 |
dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES} |
181 |
|
182 |
# bug #315519 |
183 |
dodoc contrib/unbound_munin_ |
184 |
|
185 |
docinto selinux |
186 |
dodoc contrib/selinux/* |
187 |
|
188 |
exeinto /usr/share/${PN} |
189 |
doexe contrib/update-anchor.sh |
190 |
} |