diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2011-07-16 03:52:59 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2011-07-16 03:52:59 +0000 |
commit | 8714dbc6d79e5bde417737aacbc25d675d85ae63 (patch) | |
tree | 23bdcb076afe75ce2cf9ea08ee4699dd00885731 /net-dns | |
parent | Update live ebuild to remove revdep-rebuild.sh when installed in a prefix env... (diff) | |
download | historical-8714dbc6d79e5bde417737aacbc25d675d85ae63.tar.gz historical-8714dbc6d79e5bde417737aacbc25d675d85ae63.tar.bz2 historical-8714dbc6d79e5bde417737aacbc25d675d85ae63.zip |
Version bumped. The ebuild was submitted by TANABE Ken-ichi.
Package-Manager: portage-2.1.10.3/cvs/Linux x86_64
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/unbound/ChangeLog | 6 | ||||
-rw-r--r-- | net-dns/unbound/Manifest | 31 | ||||
-rw-r--r-- | net-dns/unbound/files/unbound-1.4.12-gentoo.patch | 12 | ||||
-rw-r--r-- | net-dns/unbound/unbound-1.4.12.ebuild | 98 |
4 files changed, 132 insertions, 15 deletions
diff --git a/net-dns/unbound/ChangeLog b/net-dns/unbound/ChangeLog index 23df5426b5f4..f2a75b084a6f 100644 --- a/net-dns/unbound/ChangeLog +++ b/net-dns/unbound/ChangeLog @@ -1,6 +1,10 @@ # 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.27 2011/07/03 01:28:00 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v 1.28 2011/07/16 03:52:59 matsuu Exp $ + + 16 Jul 2011; MATSUU Takuto <matsuu@gentoo.org> + +files/unbound-1.4.12-gentoo.patch: + Version bumped. The ebuild was submitted by TANABE Ken-ichi. *unbound-1.4.11 (03 Jul 2011) diff --git a/net-dns/unbound/Manifest b/net-dns/unbound/Manifest index 59a58fee7d21..f238d6d86784 100644 --- a/net-dns/unbound/Manifest +++ b/net-dns/unbound/Manifest @@ -1,28 +1,31 @@ -----BEGIN PGP SIGNED MESSAGE----- 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 AUX unbound.initd 1174 RMD160 76161ab351f85b1e80895f01cc74269ee020dad7 SHA1 a453e1ad4c1e0ea9c4eacab3f2d185e0e764f538 SHA256 7465e1035f3cfbbc1e356ba6d0fff3a5c74fb8b9f2cc1d092a91fae27f23b582 DIST unbound-1.4.10.tar.gz 4476504 RMD160 7102613a43e566d542ca6b571094a8fef3b901e0 SHA1 ac9ab61a51e147ade69ca8b043fee2ed76336a62 SHA256 dace571f8906e858cebaa347824e3e0be711c830cc6eb747eb6c2246e2e5ecea 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 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 -MISC ChangeLog 4160 RMD160 a867be72e4a41a3bc92d2a915a4e49afa9440dc6 SHA1 7711bc06b54b132c4e80ec3f39066284073b5de3 SHA256 ba99f72edc0ae18db4a28107298ee40c30d7d4eb260d8be21afe18a09e1b85a8 +EBUILD unbound-1.4.12.ebuild 2730 RMD160 b90573be6e59d9b2f2b5586753e6065083007de8 SHA1 d84a175d9ca360114e302e6e655d02c709b080ca SHA256 ff6877b72012021bdf1962e0457b1985dd5786d1494910bc90ee32f00750fba6 +MISC ChangeLog 4311 RMD160 571ea783dec833d7dbe8864a80a7b0accb2f6b90 SHA1 2b8258be69762b7d0bc75c256faaa0926e7c6962 SHA256 cbf07d6c0667811b3f651ccb407b3eb3ec4edc4d7faac0fb2fc17683a76ef6ad MISC metadata.xml 1031 RMD160 0bd78b9a39982efbd2fcb3f95a97ab7765b98154 SHA1 94fd9c91b82a6a747c51d8d4bef073be7f3a58ee SHA256 d13d3e25ea0b34e78b692a6c7045903841d4ed7b0551589febe4fe36a9f25a7d -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iQIcBAEBAgAGBQJOD8WpAAoJECaGw+YFKA1p11cQAJlhxJRQofFF7ZAVGGd9NivT -U29GsgA1UvA7+dHnw4vN68Vn9Mk+rA5KOr0YshtnaHqUz6L+dt6q+UEapTzq5Vlh -b1IOFTBxDs7pYtuH4HVnTNxipA6GykyL+gM1aRfmMwnpENS+EyFekOy6lgVEatx1 -uaRemuZTPivUjkFhx3M8Rdg3YHb1XAPScIFrhSIqVhSf+nJTBinz86n2KhehREHz -1zQx96n6yhYFKnifvFVS3YLQEQOTEJCtQXPSdiqNNlYv+kgSsxcw8Ts9kGRGceKF -hK98Gfo7c/Iq3MEeZJ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1pL9ffPvzGDujoeyxeJZdELz1uCl1Ks3+5xiDzK +gbfoYE53tmFMFU0oJfoJ +=tNCd -----END PGP SIGNATURE----- diff --git a/net-dns/unbound/files/unbound-1.4.12-gentoo.patch b/net-dns/unbound/files/unbound-1.4.12-gentoo.patch new file mode 100644 index 000000000000..57920689783e --- /dev/null +++ b/net-dns/unbound/files/unbound-1.4.12-gentoo.patch @@ -0,0 +1,12 @@ +diff -Naur unbound-1.4.12.orig/doc/example.conf.in unbound-1.4.12/doc/example.conf.in +--- unbound-1.4.12.orig/doc/example.conf.in 2011-07-14 17:33:37.000000000 +0900 ++++ unbound-1.4.12/doc/example.conf.in 2011-07-16 10:01:06.644402341 +0900 +@@ -334,7 +334,7 @@ + # with several entries, one file per entry. + # Zone file format, with DS and DNSKEY entries. + # Note this gets out of date, use auto-trust-anchor-file please. +- # trust-anchor-file: "" ++ # trust-anchor-file: "@UNBOUND_ROOTKEY_FILE@" + + # Trusted key for validation. DS or DNSKEY. specify the RR on a + # single line, surrounded by "". TTL is ignored. class is IN default. diff --git a/net-dns/unbound/unbound-1.4.12.ebuild b/net-dns/unbound/unbound-1.4.12.ebuild new file mode 100644 index 000000000000..5a3446ab7e8f --- /dev/null +++ b/net-dns/unbound/unbound-1.4.12.ebuild @@ -0,0 +1,98 @@ +# 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.12.ebuild,v 1.1 2011/07/16 03:52:59 matsuu Exp $ + +EAPI="3" +PYTHON_DEPEND="python? 2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit eutils flag-o-matic python + +DESCRIPTION="A validating, recursive and caching DNS resolver" +HOMEPAGE="http://unbound.net/" +SRC_URI="http://unbound.net/downloads/${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" + +pkg_setup() { + enewgroup unbound + enewuser unbound -1 -1 /etc/unbound unbound +} + +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}/${P}-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" +} |