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