summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2011-12-19 15:09:39 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2011-12-19 15:09:39 +0000
commit0704f04944aec476f51b3ecc604caed4872b77db (patch)
tree58bff17e82fa63a2feb315a91e73ee68a5c6f60e /net-dns/unbound
parentremove old (diff)
downloadhistorical-0704f04944aec476f51b3ecc604caed4872b77db.tar.gz
historical-0704f04944aec476f51b3ecc604caed4872b77db.tar.bz2
historical-0704f04944aec476f51b3ecc604caed4872b77db.zip
Version bumped. The ebuild is submitted by TANABE Ken-ichi.
Package-Manager: portage-2.1.10.41/cvs/Linux x86_64
Diffstat (limited to 'net-dns/unbound')
-rw-r--r--net-dns/unbound/ChangeLog7
-rw-r--r--net-dns/unbound/Manifest24
-rw-r--r--net-dns/unbound/unbound-1.4.13_p2.ebuild112
3 files changed, 135 insertions, 8 deletions
diff --git a/net-dns/unbound/ChangeLog b/net-dns/unbound/ChangeLog
index 9dd6bf584856..3d0097353d95 100644
--- a/net-dns/unbound/ChangeLog
+++ b/net-dns/unbound/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-dns/unbound
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v 1.30 2011/09/23 00:50:22 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v 1.31 2011/12/19 15:09:39 matsuu Exp $
+
+*unbound-1.4.13_p2 (19 Dec 2011)
+
+ 19 Dec 2011; MATSUU Takuto <matsuu@gentoo.org> +unbound-1.4.13_p2.ebuild:
+ Version bumped. The ebuild is submitted by TANABE Ken-ichi.
*unbound-1.4.13 (23 Sep 2011)
diff --git a/net-dns/unbound/Manifest b/net-dns/unbound/Manifest
index 89de16179c5d..70bde864e53d 100644
--- a/net-dns/unbound/Manifest
+++ b/net-dns/unbound/Manifest
@@ -1,5 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA1
AUX unbound-1.4.12-gentoo.patch 639 RMD160 f3092ab9149ff47d0948aa650ba923e9e059b168 SHA1 6c753f0bc2dce7679a19d69d4ac4321c5c3270c5 SHA256 8223261764f067355a5c013b2c8b13384480c91782fc42ae339dcc8bed843448
AUX unbound.confd 171 RMD160 090f4e941ed9469ea2b444c9862fff3a490e992e SHA1 cafbec0f4b23849bbc4288c8bc4d81cd867e4f6e SHA256 7da812ef83f8f8b9351363525ab6bebd5348faed76d0ae424dcbd7cb6a830dfd
@@ -8,19 +8,29 @@ DIST unbound-1.4.10.tar.gz 4476504 RMD160 7102613a43e566d542ca6b571094a8fef3b901
DIST unbound-1.4.11.tar.gz 4503148 RMD160 988b8090a3ef39c690443a6e099a83711d7983d0 SHA1 3dbd7854b05b1e48fcc088be50e4c7aafc8d7306 SHA256 19e44dd7a737de678456885483002c6cd84147d334c7323cb3674d2012c82b4b
DIST unbound-1.4.12.tar.gz 3506466 RMD160 2e3a35f1e72046c9701cd3f51a8a2f58881a03d3 SHA1 c46c05d1fa2402a59c10f51864fd4c62d10a472f SHA256 d7f0ee340b8a62e3fe02e505fdf6f2e4742ae7eaf8fd1da200fb38c4947e2d66
DIST unbound-1.4.13.tar.gz 3511677 RMD160 f55623935e3772056a4ef10ff03cbb8805b30f1a SHA1 834ccfd1cb41a44f53b33f8338a8f9cc68febaf7 SHA256 83c7dc2756c488ab5bfcb9b25b81236a4ec42fb3d505267fcaf005555f3a2313
+DIST unbound-1.4.13p2.tar.gz 3525904 RMD160 5b574faa0b9e701a4e1c186cdc70cf26c38848e0 SHA1 474339a182147ee91ec712057f75f417a455a8de SHA256 2f6814a4cc33883964c2833075990328fa330f966c3804ad20a92807428c22c1
EBUILD unbound-1.4.10.ebuild 2419 RMD160 c55fae766d013a86192a00fbd38bd77a235dae6c SHA1 d69824ec01a94e76ba938772f099fd9e14adea4d SHA256 1fefffefc77469f7c11e27226a9ef793b007e29f8f98aef1260d1803d7c19341
EBUILD unbound-1.4.11.ebuild 2454 RMD160 78d8bf060a5a0c579088daf69461278d48ccc6ea SHA1 8e72f4afec697d86fca225eb10a8b6bea90700fe SHA256 cb16826f59b4454b279c459edac2ac765a0dadf0fee0a499d421a421ac17f379
EBUILD unbound-1.4.12-r1.ebuild 2929 RMD160 123a389cde7a20e1a9932a8a3c1fd37f34e6c7ef SHA1 ef795532f2537d1d5b82ee6b79a49739bb771fd3 SHA256 68654743d0383f7dc2018f79b8d9e6fe83e96db99f9f1fc6167bf9e4f0f56434
EBUILD unbound-1.4.12.ebuild 2730 RMD160 b90573be6e59d9b2f2b5586753e6065083007de8 SHA1 d84a175d9ca360114e302e6e655d02c709b080ca SHA256 ff6877b72012021bdf1962e0457b1985dd5786d1494910bc90ee32f00750fba6
EBUILD unbound-1.4.13.ebuild 2934 RMD160 6fab03253461d526bb6fc6520e77c75562e6ef2f SHA1 80eeb5c2d2e2490d022e926a4a6943ae18797419 SHA256 8b1a04a1db7af797750a5ad9af07fefadf9ebc3a9f2ee684b593be036dac1aca
-MISC ChangeLog 4718 RMD160 ef1a8edf9eed8c023fe5787ce2f894eeb3e02d06 SHA1 9ca98cb904a80cdd8c75217a157aceda2736ceee SHA256 422f5ff68a9e0c70cde0a81b3a32c42a3e01cbbd37cd66ae5a0881b2e72960bc
+EBUILD unbound-1.4.13_p2.ebuild 2982 RMD160 96bd9266d99218906695d1de3e304e08f5a1f78f SHA1 3f8d6de1d5e0697ce649d5743c97bc1be4de2913 SHA256 b1d82ef0090e1af7d8c1016135314824b3c61b1d754892b73aa63c4f67207305
+MISC ChangeLog 4891 RMD160 fbbdfc4568df8e669677719a3a4bf4a53a208bb6 SHA1 fefb3040b44f0fa41c93554114b0d0d81910b1e0 SHA256 56da63eb423322872364f5c6fd1bc1f762f6a77eb3116c0b4aa4d13134056bbc
MISC metadata.xml 1010 RMD160 224fdc30aba9888e1ea0528e24ca539926949ee9 SHA1 2402b2272dc2f4343c270245805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V+113Ji
+=W3jC
-----END PGP SIGNATURE-----
diff --git a/net-dns/unbound/unbound-1.4.13_p2.ebuild b/net-dns/unbound/unbound-1.4.13_p2.ebuild
new file mode 100644
index 000000000000..0697864d49df
--- /dev/null
+++ b/net-dns/unbound/unbound-1.4.13_p2.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/unbound-1.4.13_p2.ebuild,v 1.1 2011/12/19 15:09:39 matsuu Exp $
+
+EAPI="3"
+PYTHON_DEPEND="python? 2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+MY_P="${P/_p/p}"
+
+inherit eutils flag-o-matic python
+
+DESCRIPTION="A validating, recursive and caching DNS resolver"
+HOMEPAGE="http://unbound.net/"
+SRC_URI="http://unbound.net/downloads/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x64-macos"
+IUSE="debug gost python static-libs test threads"
+
+RDEPEND="dev-libs/expat
+ dev-libs/libevent
+ >=dev-libs/openssl-0.9.8
+ >=net-libs/ldns-1.6.5[ssl,gost?]"
+
+DEPEND="${RDEPEND}
+ python? ( dev-lang/swig )
+ test? (
+ net-dns/ldns-utils[examples]
+ dev-util/splint
+ app-text/wdiff
+ )"
+
+# bug #347415
+RDEPEND="${RDEPEND}
+ net-dns/dnssec-root"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ enewgroup unbound
+ enewuser unbound -1 -1 /etc/unbound unbound
+
+ use python && python_pkg_setup
+}
+
+src_prepare() {
+ # To avoid below error messages, set 'trust-anchor-file' to same value in
+ # 'auto-trust-anchor-file'.
+ # [23109:0] error: Could not open autotrust file for writing, # /etc/dnssec/root-anchors.txt: Permission denied
+ epatch "${FILESDIR}/${PN}-1.4.12-gentoo.patch"
+}
+
+src_configure() {
+ append-ldflags -Wl,-z,noexecstack || die
+ econf \
+ --with-pidfile="${EPREFIX}"/var/run/unbound.pid \
+ --with-ldns="${EPREFIX}"/usr \
+ --with-libevent="${EPREFIX}"/usr \
+ --with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt \
+ $(use_enable debug) \
+ $(use_enable gost) \
+ $(use_enable static-libs static) \
+ $(use_with threads pthreads) \
+ $(use_with python pyunbound) \
+ $(use_with python pythonmodule) \
+ --disable-rpath || die
+
+ # http://unbound.nlnetlabs.nl/pipermail/unbound-users/2011-April/001801.html
+ # $(use_enable debug lock-checks) \
+ # $(use_enable debug alloc-checks) \
+ # $(use_enable debug alloc-lite) \
+ # $(use_enable debug alloc-nonregional) \
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ # bug #299016
+ if use python ; then
+ find "${ED}" -name '_unbound.{la,a}' -delete || die
+ fi
+ if ! use static-libs ; then
+ find "${ED}" -name "*.la" -type f -delete || die
+ fi
+
+ newinitd "${FILESDIR}/unbound.initd" unbound || die "newinitd failed"
+ newconfd "${FILESDIR}/unbound.confd" unbound || die "newconfd failed"
+
+ dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES} || die "dodoc failed"
+
+ # bug #315519
+ #exeinto /usr/libexec/munin/plugins
+ #doexe contrib/unbound_munin_ || die "doexe failed"
+ dodoc contrib/unbound_munin_ || die "dodoc failed"
+
+ docinto selinux
+ dodoc contrib/selinux/* || die "dodoc failed"
+
+ exeinto /usr/share/${PN}
+ doexe contrib/update-anchor.sh || die "doexe failed"
+}
+
+pkg_postinst() {
+ use python && python_mod_optimize unbound.py unboundmodule.py
+}
+
+pkg_postrm() {
+ use python && python_mod_cleanup unbound.py unboundmodule.py
+}