Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dns/unbound: ChangeLog unbound-1.4.11.ebuild unbound-1.4.8.ebuild unbound-1.4.9.ebuild
Date: Sun, 03 Jul 2011 01:28:41
Message-Id: 20110703012800.D9C7F2004B@flycatcher.gentoo.org
1 matsuu 11/07/03 01:28:00
2
3 Modified: ChangeLog
4 Added: unbound-1.4.11.ebuild
5 Removed: unbound-1.4.8.ebuild unbound-1.4.9.ebuild
6 Log:
7 Version bumped. Fixed GNU stack issue. Added SUPPORT_PYTHON_ABIS="1".
8
9 (Portage version: 2.1.10.3/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.27 net-dns/unbound/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/ChangeLog?rev=1.27&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/ChangeLog?rev=1.27&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/ChangeLog?r1=1.26&r2=1.27
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v
21 retrieving revision 1.26
22 retrieving revision 1.27
23 diff -u -r1.26 -r1.27
24 --- ChangeLog 31 May 2011 13:31:03 -0000 1.26
25 +++ ChangeLog 3 Jul 2011 01:28:00 -0000 1.27
26 @@ -1,6 +1,13 @@
27 # ChangeLog for net-dns/unbound
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v 1.26 2011/05/31 13:31:03 phajdan.jr Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v 1.27 2011/07/03 01:28:00 matsuu Exp $
31 +
32 +*unbound-1.4.11 (03 Jul 2011)
33 +
34 + 03 Jul 2011; MATSUU Takuto <matsuu@g.o> -unbound-1.4.8.ebuild,
35 + -unbound-1.4.9.ebuild, +unbound-1.4.11.ebuild:
36 + Version bumped. Fixed GNU stack issue. Added SUPPORT_PYTHON_ABIS="1". Removed
37 + old versions.
38
39 31 May 2011; Pawel Hajdan jr <phajdan.jr@g.o> unbound-1.4.10.ebuild:
40 x86 stable wrt security bug #368981
41
42
43
44 1.1 net-dns/unbound/unbound-1.4.11.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/unbound-1.4.11.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/unbound-1.4.11.ebuild?rev=1.1&content-type=text/plain
48
49 Index: unbound-1.4.11.ebuild
50 ===================================================================
51 # Copyright 1999-2011 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.11.ebuild,v 1.1 2011/07/03 01:28: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
93 src_configure() {
94 append-ldflags -Wl,-z,noexecstack || die
95 econf \
96 --with-pidfile="${EPREFIX}"/var/run/unbound.pid \
97 --with-ldns="${EPREFIX}"/usr \
98 --with-libevent="${EPREFIX}"/usr \
99 --with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt \
100 $(use_enable debug) \
101 $(use_enable gost) \
102 $(use_enable static-libs static) \
103 $(use_with threads pthreads) \
104 $(use_with python pyunbound) \
105 $(use_with python pythonmodule) \
106 --disable-rpath || die
107
108 # http://unbound.nlnetlabs.nl/pipermail/unbound-users/2011-April/001801.html
109 # $(use_enable debug lock-checks) \
110 # $(use_enable debug alloc-checks) \
111 # $(use_enable debug alloc-lite) \
112 # $(use_enable debug alloc-nonregional) \
113 }
114
115 src_install() {
116 emake DESTDIR="${D}" install || die "emake install failed"
117
118 # bug #299016
119 if use python ; then
120 find "${ED}" -name '_unbound.{la,a}' -delete || die
121 fi
122 if ! use static-libs ; then
123 find "${ED}" -name "*.la" -type f -delete || die
124 fi
125
126 newinitd "${FILESDIR}/unbound.initd" unbound || die "newinitd failed"
127 newconfd "${FILESDIR}/unbound.confd" unbound || die "newconfd failed"
128
129 dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES} || die "dodoc failed"
130
131 # bug #315519
132 #exeinto /usr/libexec/munin/plugins
133 #doexe contrib/unbound_munin_ || die "doexe failed"
134 dodoc contrib/unbound_munin_ || die "dodoc failed"
135
136 docinto selinux
137 dodoc contrib/selinux/* || die "dodoc failed"
138
139 exeinto /usr/share/${PN}
140 doexe contrib/update-anchor.sh || die "doexe failed"
141 }