1 |
patrick 14/06/09 08:04:18 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: unbound-1.4.22.ebuild |
5 |
Log: |
6 |
Bump |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.67 net-dns/unbound/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/ChangeLog?rev=1.67&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/ChangeLog?rev=1.67&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/ChangeLog?r1=1.66&r2=1.67 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v |
20 |
retrieving revision 1.66 |
21 |
retrieving revision 1.67 |
22 |
diff -u -r1.66 -r1.67 |
23 |
--- ChangeLog 13 May 2014 19:17:43 -0000 1.66 |
24 |
+++ ChangeLog 9 Jun 2014 08:04:17 -0000 1.67 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-dns/unbound |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v 1.66 2014/05/13 19:17:43 mgorny Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v 1.67 2014/06/09 08:04:17 patrick Exp $ |
30 |
+ |
31 |
+*unbound-1.4.22 (09 Jun 2014) |
32 |
+ |
33 |
+ 09 Jun 2014; Patrick Lauer <patrick@g.o> +unbound-1.4.22.ebuild: |
34 |
+ Bump |
35 |
|
36 |
*unbound-1.4.21-r2 (13 May 2014) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 net-dns/unbound/unbound-1.4.22.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/unbound-1.4.22.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/unbound-1.4.22.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: unbound-1.4.22.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/unbound-1.4.22.ebuild,v 1.1 2014/06/09 08:04:17 patrick Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
54 |
|
55 |
inherit eutils flag-o-matic multilib-minimal python-single-r1 systemd user |
56 |
|
57 |
DESCRIPTION="A validating, recursive and caching DNS resolver" |
58 |
HOMEPAGE="http://unbound.net/" |
59 |
SRC_URI="http://unbound.net/downloads/${P}.tar.gz" |
60 |
|
61 |
LICENSE="BSD GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~x64-macos" |
64 |
IUSE="debug gost python selinux static-libs test threads" |
65 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
66 |
|
67 |
# Note: expat is needed by executable only but the Makefile is custom |
68 |
# and doesn't make it possible to easily install the library without |
69 |
# the executables. MULTILIB_USEDEP may be dropped once build system |
70 |
# is fixed. |
71 |
|
72 |
RDEPEND="dev-libs/expat[${MULTILIB_USEDEP}] |
73 |
dev-libs/libevent[${MULTILIB_USEDEP}] |
74 |
>=dev-libs/openssl-0.9.8[${MULTILIB_USEDEP}] |
75 |
>=net-libs/ldns-1.6.13[ecdsa,ssl,gost?,${MULTILIB_USEDEP}] |
76 |
python? ( ${PYTHON_DEPS} ) |
77 |
selinux? ( sec-policy/selinux-bind )" |
78 |
|
79 |
DEPEND="${RDEPEND} |
80 |
python? ( dev-lang/swig ) |
81 |
test? ( |
82 |
net-dns/ldns-utils[examples] |
83 |
dev-util/splint |
84 |
app-text/wdiff |
85 |
)" |
86 |
|
87 |
# bug #347415 |
88 |
RDEPEND="${RDEPEND} |
89 |
net-dns/dnssec-root" |
90 |
|
91 |
pkg_setup() { |
92 |
enewgroup unbound |
93 |
enewuser unbound -1 -1 /etc/unbound unbound |
94 |
|
95 |
use python && python-single-r1_pkg_setup |
96 |
} |
97 |
|
98 |
src_prepare() { |
99 |
# To avoid below error messages, set 'trust-anchor-file' to same value in |
100 |
# 'auto-trust-anchor-file'. |
101 |
# [23109:0] error: Could not open autotrust file for writing, |
102 |
# /etc/dnssec/root-anchors.txt: Permission denied |
103 |
epatch "${FILESDIR}"/${PN}-1.4.12-gentoo.patch |
104 |
|
105 |
# required for the python part |
106 |
multilib_copy_sources |
107 |
} |
108 |
|
109 |
src_configure() { |
110 |
append-ldflags -Wl,-z,noexecstack |
111 |
multilib-minimal_src_configure |
112 |
} |
113 |
|
114 |
multilib_src_configure() { |
115 |
econf \ |
116 |
$(use_enable debug) \ |
117 |
$(use_enable gost) \ |
118 |
$(use_enable static-libs static) \ |
119 |
$(multilib_native_use_with python pythonmodule) \ |
120 |
$(multilib_native_use_with python pyunbound) \ |
121 |
$(use_with threads pthreads) \ |
122 |
--disable-rpath \ |
123 |
--enable-ecdsa \ |
124 |
--with-ldns="${EPREFIX}"/usr \ |
125 |
--with-libevent="${EPREFIX}"/usr \ |
126 |
--with-pidfile="${EPREFIX}"/var/run/unbound.pid \ |
127 |
--with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt |
128 |
|
129 |
# http://unbound.nlnetlabs.nl/pipermail/unbound-users/2011-April/001801.html |
130 |
# $(use_enable debug lock-checks) \ |
131 |
# $(use_enable debug alloc-checks) \ |
132 |
# $(use_enable debug alloc-lite) \ |
133 |
# $(use_enable debug alloc-nonregional) \ |
134 |
} |
135 |
|
136 |
multilib_src_install_all() { |
137 |
prune_libtool_files --modules |
138 |
use python && python_optimize |
139 |
|
140 |
newinitd "${FILESDIR}"/unbound.initd unbound |
141 |
newconfd "${FILESDIR}"/unbound.confd unbound |
142 |
|
143 |
systemd_dounit "${FILESDIR}"/unbound.service |
144 |
systemd_newunit "${FILESDIR}"/unbound_at.service "unbound@.service" |
145 |
systemd_dounit "${FILESDIR}"/unbound-anchor.service |
146 |
|
147 |
dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES} |
148 |
|
149 |
# bug #315519 |
150 |
dodoc contrib/unbound_munin_ |
151 |
|
152 |
docinto selinux |
153 |
dodoc contrib/selinux/* |
154 |
|
155 |
exeinto /usr/share/${PN} |
156 |
doexe contrib/update-anchor.sh |
157 |
} |