Gentoo Archives: gentoo-commits

From: "Michael Weber (xmw)" <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dns/unbound: ChangeLog unbound-1.4.19.ebuild
Date: Thu, 31 Jan 2013 22:36:19
Message-Id: 20130131223615.8575B2171D@flycatcher.gentoo.org
1 xmw 13/01/31 22:36:15
2
3 Modified: ChangeLog
4 Added: unbound-1.4.19.ebuild
5 Log:
6 Version bump (thanks Andrew Savchenko, bug 447204)
7
8 (Portage version: 2.2.0_alpha159/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
9
10 Revision Changes Path
11 1.51 net-dns/unbound/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/ChangeLog?rev=1.51&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/ChangeLog?rev=1.51&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/ChangeLog?r1=1.50&r2=1.51
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v
20 retrieving revision 1.50
21 retrieving revision 1.51
22 diff -u -r1.50 -r1.51
23 --- ChangeLog 19 Dec 2012 18:23:28 -0000 1.50
24 +++ ChangeLog 31 Jan 2013 22:36:15 -0000 1.51
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.50 2012/12/19 18:23:28 ago Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v 1.51 2013/01/31 22:36:15 xmw Exp $
31 +
32 +*unbound-1.4.19 (31 Jan 2013)
33 +
34 + 31 Jan 2013; Michael Weber <xmw@g.o> +unbound-1.4.19.ebuild:
35 + Version bump (thanks Andrew Savchenko, bug 447204)
36
37 19 Dec 2012; Agostino Sarubbo <ago@g.o> unbound-1.4.18.ebuild:
38 Add ~ia64, wrt bug #441688
39
40
41
42 1.1 net-dns/unbound/unbound-1.4.19.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/unbound-1.4.19.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/unbound-1.4.19.ebuild?rev=1.1&content-type=text/plain
46
47 Index: unbound-1.4.19.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/unbound-1.4.19.ebuild,v 1.1 2013/01/31 22:36:15 xmw Exp $
52
53 EAPI="4"
54 PYTHON_DEPEND="python? 2"
55 SUPPORT_PYTHON_ABIS="1"
56 RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-* *-jython"
57
58 inherit eutils flag-o-matic python user
59
60 DESCRIPTION="A validating, recursive and caching DNS resolver"
61 HOMEPAGE="http://unbound.net/"
62 SRC_URI="http://unbound.net/downloads/${P}.tar.gz"
63
64 LICENSE="BSD GPL-2"
65 SLOT="0"
66 KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~x64-macos"
67 IUSE="debug gost python selinux static-libs test threads"
68
69 RDEPEND="dev-libs/expat
70 dev-libs/libevent
71 >=dev-libs/openssl-0.9.8
72 >=net-libs/ldns-1.6.13[ecdsa,ssl,gost?]
73 selinux? ( sec-policy/selinux-bind )"
74
75 DEPEND="${RDEPEND}
76 python? ( dev-lang/swig )
77 test? (
78 net-dns/ldns-utils[examples]
79 dev-util/splint
80 app-text/wdiff
81 )"
82
83 # bug #347415
84 RDEPEND="${RDEPEND}
85 net-dns/dnssec-root"
86
87 pkg_setup() {
88 enewgroup unbound
89 enewuser unbound -1 -1 /etc/unbound unbound
90
91 use python && python_pkg_setup
92 }
93
94 src_prepare() {
95 # To avoid below error messages, set 'trust-anchor-file' to same value in
96 # 'auto-trust-anchor-file'.
97 # [23109:0] error: Could not open autotrust file for writing,
98 # /etc/dnssec/root-anchors.txt: Permission denied
99 epatch "${FILESDIR}"/${PN}-1.4.12-gentoo.patch
100 }
101
102 src_configure() {
103 append-ldflags -Wl,-z,noexecstack
104 econf \
105 $(use_enable debug) \
106 $(use_enable gost) \
107 $(use_enable static-libs static) \
108 $(use_with python pythonmodule) \
109 $(use_with python pyunbound) \
110 $(use_with threads pthreads) \
111 --disable-rpath \
112 --enable-ecdsa \
113 --with-ldns="${EPREFIX}"/usr \
114 --with-libevent="${EPREFIX}"/usr \
115 --with-pidfile="${EPREFIX}"/var/run/unbound.pid \
116 --with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt
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
137 newconfd "${FILESDIR}/unbound.confd" unbound
138
139 dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES}
140
141 # bug #315519
142 dodoc contrib/unbound_munin_
143
144 docinto selinux
145 dodoc contrib/selinux/*
146
147 exeinto /usr/share/${PN}
148 doexe contrib/update-anchor.sh
149 }
150
151 pkg_postinst() {
152 use python && python_mod_optimize unbound.py unboundmodule.py
153 }
154
155 pkg_postrm() {
156 use python && python_mod_cleanup unbound.py unboundmodule.py
157 }