Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dns/unbound: ChangeLog unbound-1.4.20.ebuild
Date: Wed, 27 Mar 2013 05:33:29
Message-Id: 20130327053324.D0FFF2171D@flycatcher.gentoo.org
1 radhermit 13/03/27 05:33:24
2
3 Modified: ChangeLog
4 Added: unbound-1.4.20.ebuild
5 Log:
6 Version bump, migrate to python-single-r1.
7
8 (Portage version: 2.2.0_alpha169/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.55 net-dns/unbound/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/ChangeLog?rev=1.55&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/ChangeLog?rev=1.55&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/ChangeLog?r1=1.54&r2=1.55
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v
20 retrieving revision 1.54
21 retrieving revision 1.55
22 diff -u -r1.54 -r1.55
23 --- ChangeLog 17 Mar 2013 15:17:32 -0000 1.54
24 +++ ChangeLog 27 Mar 2013 05:33:24 -0000 1.55
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-dns/unbound
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v 1.54 2013/03/17 15:17:32 hwoarang Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v 1.55 2013/03/27 05:33:24 radhermit Exp $
30 +
31 +*unbound-1.4.20 (27 Mar 2013)
32 +
33 + 27 Mar 2013; Tim Harder <radhermit@g.o> +unbound-1.4.20.ebuild:
34 + Version bump, migrate to python-single-r1.
35
36 17 Mar 2013; Markos Chandras <hwoarang@g.o> metadata.xml:
37 Add proxy-maintainers to metadata.xml
38
39
40
41 1.1 net-dns/unbound/unbound-1.4.20.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/unbound-1.4.20.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/unbound-1.4.20.ebuild?rev=1.1&content-type=text/plain
45
46 Index: unbound-1.4.20.ebuild
47 ===================================================================
48 # Copyright 1999-2013 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.20.ebuild,v 1.1 2013/03/27 05:33:24 radhermit Exp $
51
52 EAPI=5
53 PYTHON_COMPAT=( python{2_5,2_6,2_7} )
54
55 inherit eutils flag-o-matic python-single-r1 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
66 RDEPEND="dev-libs/expat
67 dev-libs/libevent
68 >=dev-libs/openssl-0.9.8
69 >=net-libs/ldns-1.6.13[ecdsa,ssl,gost?]
70 selinux? ( sec-policy/selinux-bind )"
71
72 DEPEND="${RDEPEND}
73 python? (
74 ${PYTHON_DEPS}
75 dev-lang/swig
76 )
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-single-r1_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
127
128 # bug #299016
129 if use python ; then
130 find "${ED}" -name '_unbound.{la,a}' -delete || die
131 python_optimize
132 fi
133 if ! use static-libs ; then
134 find "${ED}" -name "*.la" -type f -delete || die
135 fi
136
137 newinitd "${FILESDIR}"/unbound.initd unbound
138 newconfd "${FILESDIR}"/unbound.confd unbound
139
140 dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES}
141
142 # bug #315519
143 dodoc contrib/unbound_munin_
144
145 docinto selinux
146 dodoc contrib/selinux/*
147
148 exeinto /usr/share/${PN}
149 doexe contrib/update-anchor.sh
150 }