1 |
matsuu 12/02/05 02:34:02 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: unbound-1.4.16.ebuild |
5 |
Log: |
6 |
Versionbumped. The ebuild is submitted by TANABE Ken-ichi. |
7 |
|
8 |
(Portage version: 2.1.10.44/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.36 net-dns/unbound/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/ChangeLog?rev=1.36&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/ChangeLog?rev=1.36&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/ChangeLog?r1=1.35&r2=1.36 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v |
20 |
retrieving revision 1.35 |
21 |
retrieving revision 1.36 |
22 |
diff -u -r1.35 -r1.36 |
23 |
--- ChangeLog 30 Jan 2012 15:58:00 -0000 1.35 |
24 |
+++ ChangeLog 5 Feb 2012 02:34:02 -0000 1.36 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-dns/unbound |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v 1.35 2012/01/30 15:58:00 matsuu Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v 1.36 2012/02/05 02:34:02 matsuu Exp $ |
30 |
+ |
31 |
+*unbound-1.4.16 (05 Feb 2012) |
32 |
+ |
33 |
+ 05 Feb 2012; MATSUU Takuto <matsuu@g.o> +unbound-1.4.16.ebuild: |
34 |
+ Versionbumped. The ebuild is submitted by TANABE Ken-ichi. |
35 |
|
36 |
*unbound-1.4.15 (30 Jan 2012) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 net-dns/unbound/unbound-1.4.16.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/unbound-1.4.16.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/unbound-1.4.16.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: unbound-1.4.16.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2012 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.16.ebuild,v 1.1 2012/02/05 02:34:02 matsuu Exp $ |
51 |
|
52 |
EAPI="3" |
53 |
PYTHON_DEPEND="python? 2" |
54 |
SUPPORT_PYTHON_ABIS="1" |
55 |
RESTRICT_PYTHON_ABIS="3.*" |
56 |
|
57 |
inherit eutils flag-o-matic python |
58 |
|
59 |
DESCRIPTION="A validating, recursive and caching DNS resolver" |
60 |
HOMEPAGE="http://unbound.net/" |
61 |
SRC_URI="http://unbound.net/downloads/${P}.tar.gz" |
62 |
|
63 |
LICENSE="BSD" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~x86 ~x64-macos" |
66 |
IUSE="debug gost python static-libs test threads" |
67 |
|
68 |
RDEPEND="dev-libs/expat |
69 |
dev-libs/libevent |
70 |
>=dev-libs/openssl-0.9.8 |
71 |
>=net-libs/ldns-1.6.5[ssl,gost?]" |
72 |
|
73 |
DEPEND="${RDEPEND} |
74 |
python? ( dev-lang/swig ) |
75 |
test? ( |
76 |
net-dns/ldns-utils[examples] |
77 |
dev-util/splint |
78 |
app-text/wdiff |
79 |
)" |
80 |
|
81 |
# bug #347415 |
82 |
RDEPEND="${RDEPEND} |
83 |
net-dns/dnssec-root" |
84 |
|
85 |
pkg_setup() { |
86 |
enewgroup unbound |
87 |
enewuser unbound -1 -1 /etc/unbound unbound |
88 |
|
89 |
use python && python_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 |
|
100 |
src_configure() { |
101 |
append-ldflags -Wl,-z,noexecstack || die |
102 |
econf \ |
103 |
--with-pidfile="${EPREFIX}"/var/run/unbound.pid \ |
104 |
--with-ldns="${EPREFIX}"/usr \ |
105 |
--with-libevent="${EPREFIX}"/usr \ |
106 |
--with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt \ |
107 |
$(use_enable debug) \ |
108 |
$(use_enable gost) \ |
109 |
$(use_enable static-libs static) \ |
110 |
$(use_with threads pthreads) \ |
111 |
$(use_with python pyunbound) \ |
112 |
$(use_with python pythonmodule) \ |
113 |
--disable-rpath || die |
114 |
|
115 |
# http://unbound.nlnetlabs.nl/pipermail/unbound-users/2011-April/001801.html |
116 |
# $(use_enable debug lock-checks) \ |
117 |
# $(use_enable debug alloc-checks) \ |
118 |
# $(use_enable debug alloc-lite) \ |
119 |
# $(use_enable debug alloc-nonregional) \ |
120 |
} |
121 |
|
122 |
src_install() { |
123 |
emake DESTDIR="${D}" install || die "emake install failed" |
124 |
|
125 |
# bug #299016 |
126 |
if use python ; then |
127 |
find "${ED}" -name '_unbound.{la,a}' -delete || die |
128 |
fi |
129 |
if ! use static-libs ; then |
130 |
find "${ED}" -name "*.la" -type f -delete || die |
131 |
fi |
132 |
|
133 |
newinitd "${FILESDIR}/unbound.initd" unbound || die "newinitd failed" |
134 |
newconfd "${FILESDIR}/unbound.confd" unbound || die "newconfd failed" |
135 |
|
136 |
dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES} || die "dodoc failed" |
137 |
|
138 |
# bug #315519 |
139 |
#exeinto /usr/libexec/munin/plugins |
140 |
#doexe contrib/unbound_munin_ || die "doexe failed" |
141 |
dodoc contrib/unbound_munin_ || die "dodoc failed" |
142 |
|
143 |
docinto selinux |
144 |
dodoc contrib/selinux/* || die "dodoc failed" |
145 |
|
146 |
exeinto /usr/share/${PN} |
147 |
doexe contrib/update-anchor.sh || die "doexe failed" |
148 |
} |
149 |
|
150 |
pkg_postinst() { |
151 |
use python && python_mod_optimize unbound.py unboundmodule.py |
152 |
} |
153 |
|
154 |
pkg_postrm() { |
155 |
use python && python_mod_cleanup unbound.py unboundmodule.py |
156 |
} |