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: unbound-1.4.8.ebuild ChangeLog
Date: Tue, 25 Jan 2011 14:20:43
Message-Id: 20110125142031.2CB3020054@flycatcher.gentoo.org
1 matsuu 11/01/25 14:20:31
2
3 Modified: ChangeLog
4 Added: unbound-1.4.8.ebuild
5 Log:
6 Version bumped. Added statis-libs USE flag.
7
8 (Portage version: 2.1.9.31/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.20 net-dns/unbound/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/ChangeLog?rev=1.20&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/ChangeLog?rev=1.20&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/ChangeLog?r1=1.19&r2=1.20
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v
20 retrieving revision 1.19
21 retrieving revision 1.20
22 diff -u -r1.19 -r1.20
23 --- ChangeLog 7 Dec 2010 15:08:22 -0000 1.19
24 +++ ChangeLog 25 Jan 2011 14:20:31 -0000 1.20
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-dns/unbound
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v 1.19 2010/12/07 15:08:22 matsuu Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v 1.20 2011/01/25 14:20:31 matsuu Exp $
31 +
32 +*unbound-1.4.8 (25 Jan 2011)
33 +
34 + 25 Jan 2011; MATSUU Takuto <matsuu@g.o> +unbound-1.4.8.ebuild:
35 + Version bumped. Added statis-libs USE flag.
36
37 *unbound-1.4.7-r1 (07 Dec 2010)
38
39
40
41
42 1.1 net-dns/unbound/unbound-1.4.8.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/unbound-1.4.8.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/unbound/unbound-1.4.8.ebuild?rev=1.1&content-type=text/plain
46
47 Index: unbound-1.4.8.ebuild
48 ===================================================================
49 # Copyright 1999-2011 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.8.ebuild,v 1.1 2011/01/25 14:20:31 matsuu Exp $
52
53 EAPI="3"
54 PYTHON_DEPEND="python? 2"
55 inherit eutils python
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"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86 ~x64-macos"
64 IUSE="debug gost python 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.5[ssl,gost?]"
70
71 DEPEND="${RDEPEND}
72 python? ( dev-lang/swig )
73 test? (
74 net-dns/ldns-utils[examples]
75 dev-util/splint
76 app-text/wdiff
77 )"
78
79 # bug #347415
80 RDEPEND="${RDEPEND}
81 net-dns/dnssec-root"
82
83 pkg_setup() {
84 python_set_active_version 2
85 enewgroup unbound
86 enewuser unbound -1 -1 /etc/unbound unbound
87 }
88
89 src_configure() {
90 econf \
91 --with-pidfile="${EPREFIX}"/var/run/unbound.pid \
92 --with-ldns="${EPREFIX}"/usr \
93 --with-libevent="${EPREFIX}"/usr \
94 --with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt \
95 $(use_enable debug) \
96 $(use_enable debug lock-checks) \
97 $(use_enable debug alloc-checks) \
98 $(use_enable debug alloc-lite) \
99 $(use_enable debug alloc-nonregional) \
100 $(use_enable gost) \
101 $(use_enable static-libs static) \
102 $(use_with threads pthreads) \
103 $(use_with python pyunbound) \
104 $(use_with python pythonmodule) \
105 --disable-rpath || die
106 }
107
108 src_install() {
109 emake DESTDIR="${D}" install || die "emake install failed"
110
111 # bug #299016
112 if use python ; then
113 find "${ED}$(python_get_sitedir)" "(" -name "*.a" -o -name "*.la" ")" -type f -delete || die
114 fi
115
116 newinitd "${FILESDIR}/unbound.initd" unbound || die "newinitd failed"
117 newconfd "${FILESDIR}/unbound.confd" unbound || die "newconfd failed"
118
119 dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES} || die "dodoc failed"
120
121 # bug #315519
122 #exeinto /usr/libexec/munin/plugins
123 #doexe contrib/unbound_munin_ || die "doexe failed"
124 dodoc contrib/unbound_munin_ || die "dodoc failed"
125
126 docinto selinux
127 dodoc contrib/selinux/* || die "dodoc failed"
128
129 exeinto /usr/share/${PN}
130 doexe contrib/update-anchor.sh || die "doexe failed"
131 }