diff options
author | Andrew Savchenko <bircoph@gmail.com> | 2012-12-14 13:06:20 +0400 |
---|---|---|
committer | Andrew Savchenko <bircoph@gmail.com> | 2012-12-14 13:06:20 +0400 |
commit | f2b1954adb2b5356d2fd2bb1a87571baf6480327 (patch) | |
tree | d12d97b334e2fe95c79ba178f24eeeb198cea796 /net-dns | |
parent | fix broken portdir for vanilla-sources (diff) | |
download | bircoph-f2b1954adb2b5356d2fd2bb1a87571baf6480327.tar.gz bircoph-f2b1954adb2b5356d2fd2bb1a87571baf6480327.tar.bz2 bircoph-f2b1954adb2b5356d2fd2bb1a87571baf6480327.zip |
ldns, ldns-utils and unbound update
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/ldns-utils/ChangeLog | 95 | ||||
-rw-r--r-- | net-dns/ldns-utils/Manifest | 4 | ||||
-rw-r--r-- | net-dns/ldns-utils/ldns-utils-1.6.16.ebuild | 55 | ||||
-rw-r--r-- | net-dns/ldns-utils/metadata.xml | 17 | ||||
-rw-r--r-- | net-dns/unbound/ChangeLog | 218 | ||||
-rw-r--r-- | net-dns/unbound/Manifest | 7 | ||||
-rw-r--r-- | net-dns/unbound/files/unbound-1.4.12-gentoo.patch | 12 | ||||
-rw-r--r-- | net-dns/unbound/files/unbound.confd | 4 | ||||
-rw-r--r-- | net-dns/unbound/files/unbound.initd | 56 | ||||
-rw-r--r-- | net-dns/unbound/metadata.xml | 28 | ||||
-rw-r--r-- | net-dns/unbound/unbound-1.4.19.ebuild | 109 |
11 files changed, 605 insertions, 0 deletions
diff --git a/net-dns/ldns-utils/ChangeLog b/net-dns/ldns-utils/ChangeLog new file mode 100644 index 0000000..a21aed9 --- /dev/null +++ b/net-dns/ldns-utils/ChangeLog @@ -0,0 +1,95 @@ +# ChangeLog for net-dns/ldns-utils +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/ldns-utils/ChangeLog,v 1.20 2012/11/13 20:25:48 blueness Exp $ + + 13 Nov 2012; Anthony G. Basile <blueness@gentoo.org> ldns-utils-1.6.13.ebuild: + keyword ~mips, bug #441688 + + 13 Nov 2012; Anthony G. Basile <blueness@gentoo.org> ldns-utils-1.6.13.ebuild: + keyword ~arm, bug #441688 + + 12 Nov 2012; Anthony G. Basile <blueness@gentoo.org> ldns-utils-1.6.13.ebuild: + keyword ~ppc ~ppc64, bug #441688 + + 07 Nov 2012; Jeroen Roovers <jer@gentoo.org> ldns-utils-1.6.13.ebuild: + Marked ~hppa (bug #441688). + +*ldns-utils-1.6.13 (19 Jun 2012) + + 19 Jun 2012; MATSUU Takuto <matsuu@gentoo.org> +ldns-utils-1.6.13.ebuild: + Version bumped. + + 21 May 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> + ldns-utils-1.6.12.ebuild: + x86 stable wrt bug #411885 + + 26 Apr 2012; Agostino Sarubbo <ago@gentoo.org> ldns-utils-1.6.12.ebuild: + Stable for amd64, wrt bug #411885 + +*ldns-utils-1.6.12 (11 Jan 2012) + + 11 Jan 2012; MATSUU Takuto <matsuu@gentoo.org> +files/1.6.12-cflags.patch, + -ldns-utils-1.6.4.ebuild, -ldns-utils-1.6.9.ebuild, + -ldns-utils-1.6.10.ebuild, +ldns-utils-1.6.12.ebuild: + Version bumped. Respect CFLAGS=-O? again, bug #369339. Removed old versions. + + 06 Oct 2011; Tony Vroon <chainsaw@gentoo.org> ldns-utils-1.6.11.ebuild: + Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo & Ian + "idella4" Delaney in security bug #384249. + + 01 Oct 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> + ldns-utils-1.6.11.ebuild: + x86 stable wrt security bug #384249 + +*ldns-utils-1.6.11 (30 Sep 2011) + + 30 Sep 2011; MATSUU Takuto <matsuu@gentoo.org> -ldns-utils-1.6.8.ebuild, + +ldns-utils-1.6.11.ebuild: + Version bumped, bug #384249. Removed old version. + +*ldns-utils-1.6.10 (01 Jun 2011) + + 01 Jun 2011; MATSUU Takuto <matsuu@gentoo.org> +files/1.6.10-cflags.patch, + +ldns-utils-1.6.10.ebuild: + Version bumped. Respect CFLAGS="-O?", bug #369339. Removed old versions. + +*ldns-utils-1.6.9 (26 Mar 2011) + + 26 Mar 2011; MATSUU Takuto <matsuu@gentoo.org> +ldns-utils-1.6.9.ebuild: + Version bumped, bug #360171. + +*ldns-utils-1.6.8 (25 Jan 2011) + + 25 Jan 2011; MATSUU Takuto <matsuu@gentoo.org> -ldns-utils-1.6.2.ebuild, + -ldns-utils-1.6.3.ebuild, -ldns-utils-1.6.5.ebuild, +ldns-utils-1.6.8.ebuild, + metadata.xml: + Version bumped. Added gost USE flag. Removed old versions. + +*ldns-utils-1.6.5 (16 Jun 2010) + + 16 Jun 2010; MATSUU Takuto <matsuu@gentoo.org> +ldns-utils-1.6.5.ebuild: + Version bumped. + + 11 Mar 2010; Markos Chandras <hwoarang@gentoo.org> + ldns-utils-1.6.4.ebuild: + Stable on amd64 wrt bug #300362 + + 04 Mar 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> + ldns-utils-1.6.4.ebuild: + x86 stable wrt bug #300362, arch-tested by Andreas Schurch + +*ldns-utils-1.6.4 (20 Jan 2010) + + 20 Jan 2010; MATSUU Takuto <matsuu@gentoo.org> +ldns-utils-1.6.4.ebuild: + Version bumped. + +*ldns-utils-1.6.3 (04 Jan 2010) + + 04 Jan 2010; MATSUU Takuto <matsuu@gentoo.org> +ldns-utils-1.6.3.ebuild: + Version bumped, bug #299670. + +*ldns-utils-1.6.2 (21 Nov 2009) + + 21 Nov 2009; MATSUU Takuto <matsuu@gentoo.org> +ldns-utils-1.6.2.ebuild, + +metadata.xml: + Initial import, bug #192728. diff --git a/net-dns/ldns-utils/Manifest b/net-dns/ldns-utils/Manifest new file mode 100644 index 0000000..e8cd42e --- /dev/null +++ b/net-dns/ldns-utils/Manifest @@ -0,0 +1,4 @@ +DIST ldns-1.6.16.tar.gz 1109941 SHA256 24b2f9cb05797170f2021ef0e0372d4b5225ee4199f0568a15589b5c524df695 SHA512 ae32abf4fc146b4f8efb7d7751b09f629d28cbcb39d9493e5c00198b862d16274bc1bf6ac68c4fe35f177184bfe71bf68e1e6461c0fe6b6d57855549b08a4515 WHIRLPOOL e48875cd70ba915808097e67940642639092b4cd6a431cf4fd29e41ccacaa34c864ff10506f5fceb936656c06d27d8bb8c9bda2a8aa2d1d955becac461b7cecf +EBUILD ldns-utils-1.6.16.ebuild 1399 SHA256 58ccb33f8771e281e687d740e4a4d19cb01943d68fd9627edeab35048801be02 SHA512 eac5dbc216c475de10ab94293a64a75d9800eee7e9f24051484b2fdcb6f868d1042459a549deab267168b17b6e354dc6ec6f31feba207954f7ef24026f5b3195 WHIRLPOOL e8033e269499da961c88ad5937e7c3a5810d0354aea533ef4d896061014618e7a26e89cee61df0e26b107206da0ce343d96cc36b37d8ded1b38407c37ffbe7a4 +MISC ChangeLog 3252 SHA256 e714f82cd3b99c60651628bad299c51ad643a7d6c632abaa8a95ebbf06648e49 SHA512 045f9dd87cf76efb8cd709057cc529ba10d0e79a4d4a5eb96f1887863b573e4b8deb652dc662d83d152c3e156be9d90a0fc3b6d2350dca74a68342b4e88bfd24 WHIRLPOOL e5a872fd0c34cc0f2e0e75b6866d53fda7dbe46d4366fd2eba141696f1b635aa570e4ccc737d51ec4f156e91fa35a0e6a612211c9f1bd018a8ab36cc11767f9a +MISC metadata.xml 571 SHA256 236a39641ff6696702b8eb369158d2136157f5c353ef908db7443eb4cd6fa67f SHA512 a14d0d873c20ee38b07f86de61d530e5d7dba0c65f01bea0774a681057895bc8ed12597ab8835a2ff1454864cb7c40e8d79cc28fd515789795969af8cdcca5b3 WHIRLPOOL ae393dbd7ffe8d539820f426fc801c6a8d6fa221a94dbd72ed9f83b5b7e67e6a76bea0e34079639a3b7f991fcb400fd1de93a267c7e1ceb5c8ae61aa6a45a476 diff --git a/net-dns/ldns-utils/ldns-utils-1.6.16.ebuild b/net-dns/ldns-utils/ldns-utils-1.6.16.ebuild new file mode 100644 index 0000000..0aedf58 --- /dev/null +++ b/net-dns/ldns-utils/ldns-utils-1.6.16.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/ldns-utils/ldns-utils-1.6.13.ebuild,v 1.5 2012/11/13 20:25:48 blueness Exp $ + +EAPI="3" +inherit autotools eutils + +MY_P="${P/-utils}" +DESCRIPTION="Set of utilities to simplify various dns(sec) tasks." +HOMEPAGE="http://www.nlnetlabs.nl/projects/ldns/" +SRC_URI="http://www.nlnetlabs.nl/downloads/ldns/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86" +IUSE="ecdsa examples gost ssl" + +DEPEND=">=net-libs/ldns-${PV}[ecdsa?,gost?,ssl?] + examples? ( net-libs/libpcap )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + cd "${S}"/drill + econf $(use_with ssl) || die + + if use examples; then + cd "${S}"/examples + econf \ + $(use_enable ecdsa) \ + $(use_enable gost) \ + $(use_enable ssl sha2) \ + $(use_with ssl) || die + fi +} + +src_compile() { + emake -C drill || die "emake for drill failed" + if use examples; then + emake -C examples || die "emake for examples failed" + fi +} + +src_install() { + cd "${S}"/drill + emake DESTDIR="${D}" install || die "emake install for drill failed" + dodoc ChangeLog.22-nov-2005 README REGRESSIONS || die + + if use examples; then + cd "${S}"/examples + emake DESTDIR="${D}" install || die "emake install for examples failed" + newdoc README README.examples || die + fi +} diff --git a/net-dns/ldns-utils/metadata.xml b/net-dns/ldns-utils/metadata.xml new file mode 100644 index 0000000..cb94a7e --- /dev/null +++ b/net-dns/ldns-utils/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<email>matsuu@gentoo.org</email> +</maintainer> +<longdescription lang="en"> +ldns is a library with the aim to simplify DNS programing in C. All +lowlevel DNS/DNSSEC operations are supported. We also define a higher +level API which allows a programmer to (for instance) create or sign +packets. +</longdescription> +<use> + <flag name='gost'>Enable GOST support</flag> + <flag name='ecdsa'>Enable ECDSA support</flag> +</use> +</pkgmetadata> diff --git a/net-dns/unbound/ChangeLog b/net-dns/unbound/ChangeLog new file mode 100644 index 0000000..9681c9e --- /dev/null +++ b/net-dns/unbound/ChangeLog @@ -0,0 +1,218 @@ +# ChangeLog for net-dns/unbound +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/ChangeLog,v 1.49 2012/11/13 20:27:50 blueness Exp $ + + 13 Nov 2012; Anthony G. Basile <blueness@gentoo.org> unbound-1.4.18.ebuild: + keyword ~mips, bug #441688 + + 13 Nov 2012; Anthony G. Basile <blueness@gentoo.org> unbound-1.4.18.ebuild: + keyword ~arm, bug #441688 + + 12 Nov 2012; Anthony G. Basile <blueness@gentoo.org> unbound-1.4.18.ebuild: + keyword ~ppc ~ppc64, bug #441688 + + 07 Nov 2012; Jeroen Roovers <jer@gentoo.org> unbound-1.4.16.ebuild, + unbound-1.4.17-r1.ebuild, unbound-1.4.18.ebuild: + Add GPL-2 to LICENSE for files/unbound.initd by Ian Stakenvicius (bug + #426024). + +*unbound-1.4.18 (07 Nov 2012) + + 07 Nov 2012; Jeroen Roovers <jer@gentoo.org> +unbound-1.4.18.ebuild: + Version bump. + +*unbound-1.4.17-r1 (07 Nov 2012) + + 07 Nov 2012; Jeroen Roovers <jer@gentoo.org> -unbound-1.4.17.ebuild, + +unbound-1.4.17-r1.ebuild, +files/unbound-1.4.17-gentoo.patch: + Respect CFLAGS (bug #439708). + + 07 Nov 2012; Jeroen Roovers <jer@gentoo.org> unbound-1.4.17.ebuild: + Marked ~hppa (bug #441688). + +*unbound-1.4.17 (13 Jul 2012) + + 13 Jul 2012; Jeremy Olexa <darkside@gentoo.org> -unbound-1.4.13_p2.ebuild, + -unbound-1.4.14.ebuild, -unbound-1.4.15.ebuild, +unbound-1.4.17.ebuild: + Version bump with ECDSA support, bug 418369 by Guillaume Castagnino + + 14 Jun 2012; Zac Medico <zmedico@gentoo.org> unbound-1.4.13_p2.ebuild, + unbound-1.4.14.ebuild, unbound-1.4.15.ebuild, unbound-1.4.16.ebuild: + inherit user for enewgroup and enewuser + + 21 May 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> unbound-1.4.16.ebuild: + x86 stable wrt bug #411885 + + 26 Apr 2012; Agostino Sarubbo <ago@gentoo.org> unbound-1.4.16.ebuild: + Stable for amd64, wrt bug #411885 + + 27 Feb 2012; Patrick Lauer <patrick@gentoo.org> unbound-1.4.13_p2.ebuild, + unbound-1.4.14.ebuild, unbound-1.4.15.ebuild, unbound-1.4.16.ebuild: + Restricting pypy and jython + + 08 Feb 2012; <swift@gentoo.org> unbound-1.4.16.ebuild: + Adding USE=selinux dependency on selinux-bind, bug #402601 + +*unbound-1.4.16 (05 Feb 2012) + + 05 Feb 2012; MATSUU Takuto <matsuu@gentoo.org> +unbound-1.4.16.ebuild: + Versionbumped. The ebuild is submitted by TANABE Ken-ichi. + +*unbound-1.4.15 (30 Jan 2012) + + 30 Jan 2012; MATSUU Takuto <matsuu@gentoo.org> -unbound-1.4.10.ebuild, + +unbound-1.4.15.ebuild: + Version bumped. The ebuild is submitted by TANABE Ken-ichi. Removed old + version. + + 04 Jan 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> + unbound-1.4.13_p2.ebuild: + x86 stable wrt bug #395287 + +*unbound-1.4.14 (26 Dec 2011) + + 26 Dec 2011; MATSUU Takuto <matsuu@gentoo.org> -unbound-1.4.11.ebuild, + -unbound-1.4.12.ebuild, -unbound-1.4.12-r1.ebuild, -unbound-1.4.13.ebuild, + +unbound-1.4.14.ebuild: + Version bumped. The ebuild is submitted by TANABE Ken-ichi. + + 20 Dec 2011; Agostino Sarubbo <ago@gentoo.org> unbound-1.4.13_p2.ebuild: + Stable for AMD64, wrt security bug #395287 + +*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) + + 23 Sep 2011; MATSUU Takuto <matsuu@gentoo.org> +unbound-1.4.13.ebuild: + Version bumped, bug #383559. + +*unbound-1.4.12-r1 (13 Sep 2011) + + 13 Sep 2011; MATSUU Takuto <matsuu@gentoo.org> +unbound-1.4.12-r1.ebuild, + files/unbound.initd: + Fixed python modules handling. The patch was submitted by Tom Hendrikx, bug + #378395. Removed oknodo from unbound.initd, bug #379947. + + 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) + + 03 Jul 2011; MATSUU Takuto <matsuu@gentoo.org> -unbound-1.4.8.ebuild, + -unbound-1.4.9.ebuild, +unbound-1.4.11.ebuild: + Version bumped. Fixed GNU stack issue. Added SUPPORT_PYTHON_ABIS="1". Removed + old versions. + + 31 May 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> unbound-1.4.10.ebuild: + x86 stable wrt security bug #368981 + + 31 May 2011; Christoph Mende <angelos@gentoo.org> unbound-1.4.10.ebuild: + Stable on amd64 wrt bug #368981 + +*unbound-1.4.10 (25 May 2011) + + 25 May 2011; MATSUU Takuto <matsuu@gentoo.org> -unbound-1.4.3.ebuild, + -unbound-1.4.6.ebuild, -unbound-1.4.7.ebuild, -unbound-1.4.7-r1.ebuild, + +unbound-1.4.10.ebuild: + Version bumped. Removed *.la files. Removed old versions. + + 11 May 2011; Christoph Mende <angelos@gentoo.org> unbound-1.4.8.ebuild: + Stable on amd64 wrt bug #362015 + + 07 May 2011; Thomas Kahle <tomka@gentoo.org> unbound-1.4.8.ebuild: + x86 stable per bug 362015 + +*unbound-1.4.9 (11 Apr 2011) + + 11 Apr 2011; MATSUU Takuto <matsuu@gentoo.org> +unbound-1.4.9.ebuild, + metadata.xml: + Version bumepd, bug #362013. Added proxied developer. + +*unbound-1.4.8 (25 Jan 2011) + + 25 Jan 2011; MATSUU Takuto <matsuu@gentoo.org> +unbound-1.4.8.ebuild: + Version bumped. Added statis-libs USE flag. + +*unbound-1.4.7-r1 (07 Dec 2010) + + 07 Dec 2010; MATSUU Takuto <matsuu@gentoo.org> +unbound-1.4.7-r1.ebuild: + Added net-dns/dnssec to RDEPEND, bug #347415. + + 15 Nov 2010; MATSUU Takuto <matsuu@gentoo.org> unbound-1.4.6.ebuild, + unbound-1.4.7.ebuild: + Fixed dependency, bug #345253. + +*unbound-1.4.7 (09 Nov 2010) + + 09 Nov 2010; MATSUU Takuto <matsuu@gentoo.org> -unbound-1.4.4.ebuild, + -unbound-1.4.5.ebuild, +unbound-1.4.7.ebuild, metadata.xml: + Version bumped. Added gost USE flag. Removed old versions. + +*unbound-1.4.6 (05 Aug 2010) + + 05 Aug 2010; MATSUU Takuto <matsuu@gentoo.org> +unbound-1.4.6.ebuild: + Version bumped. + +*unbound-1.4.5 (17 Jun 2010) + + 17 Jun 2010; MATSUU Takuto <matsuu@gentoo.org> +unbound-1.4.5.ebuild: + Version bumped. Removed libevent USE flag. Fixed python handling. + + 23 Apr 2010; Fabian Groffen <grobian@gentoo.org> unbound-1.4.4.ebuild: + Marked ~x64-macos, bug #312015 + +*unbound-1.4.4 (23 Apr 2010) + + 23 Apr 2010; MATSUU Takuto <matsuu@gentoo.org> -unbound-1.4.1.ebuild, + +unbound-1.4.4.ebuild: + Version bumped. Fixed #312015 and #315519. Removed old version. + + 29 Mar 2010; Markus Meier <maekke@gentoo.org> unbound-1.4.3.ebuild: + amd64 stable, bug #309117 + + 18 Mar 2010; Christian Faulhammer <fauli@gentoo.org> unbound-1.4.3.ebuild: + stable x86, security bug 309117 + + 18 Mar 2010; Christian Faulhammer <fauli@gentoo.org> unbound-1.4.3.ebuild: + add app-text/wdiff as prerequisite for tests + +*unbound-1.4.3 (12 Mar 2010) + + 12 Mar 2010; MATSUU Takuto <matsuu@gentoo.org> -unbound-1.3.4.ebuild, + -unbound-1.4.0.ebuild, -unbound-1.4.2.ebuild, +unbound-1.4.3.ebuild: + Version bumped, bug #309117. Fixed enbug, bug #299016. Removed old + versions. + + 11 Mar 2010; Markos Chandras <hwoarang@gentoo.org> unbound-1.4.1.ebuild: + Stable on amd64 wrt bug #300362 + +*unbound-1.4.2 (09 Mar 2010) + + 09 Mar 2010; MATSUU Takuto <matsuu@gentoo.org> +unbound-1.4.2.ebuild: + Version bumped. Removed useless .la files, bug #299016. + + 04 Mar 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> unbound-1.4.1.ebuild: + x86 stable wrt bug #300362, arch-tested by Andreas Schurch + + 20 Jan 2010; Jeremy Olexa <darkside@gentoo.org> unbound-1.4.1.ebuild: + Fix net-libs/ldns dependency, requires USE=ssl support, bug 301257 + +*unbound-1.4.1 (17 Dec 2009) + + 17 Dec 2009; MATSUU Takuto <matsuu@gentoo.org> +unbound-1.4.1.ebuild: + Version bumped. + +*unbound-1.4.0 (26 Nov 2009) + + 26 Nov 2009; MATSUU Takuto <matsuu@gentoo.org> +unbound-1.4.0.ebuild: + Version bumped. + +*unbound-1.3.4 (22 Nov 2009) + + 22 Nov 2009; MATSUU Takuto <matsuu@gentoo.org> +unbound-1.3.4.ebuild, + +files/unbound.confd, +files/unbound.initd, +metadata.xml: + Initial import, bug #223103. diff --git a/net-dns/unbound/Manifest b/net-dns/unbound/Manifest new file mode 100644 index 0000000..9adb3bb --- /dev/null +++ b/net-dns/unbound/Manifest @@ -0,0 +1,7 @@ +AUX unbound-1.4.12-gentoo.patch 639 SHA256 8223261764f067355a5c013b2c8b13384480c91782fc42ae339dcc8bed843448 SHA512 81292d898284c27e0b30a90816d283d2fffd5810afb38b5a79ff4acc94d82c91bd5414d177f11745c5ee7e56d1600a67bdc4d7395504ff6266103b4e018baf6c WHIRLPOOL 29fb59e16d8f3f4e4d6029f2b3ec6dfd3665c366f3842b318a80b5721a9770b7fd47ad5e0169ab9539f87ed49d03a282f47507754c09cf17ea0d99705f1860c0 +AUX unbound.confd 171 SHA256 7da812ef83f8f8b9351363525ab6bebd5348faed76d0ae424dcbd7cb6a830dfd SHA512 e3e4c7f97c13d133724417a70e4f20dac6f1f4b5a4e2e573c410148059d9f722589249b3dd4668069d4e324abef60f5981f20b1797623f37db9c9422410dc13f WHIRLPOOL d88c7542891ea7420253598c1fb94982a01d378aacf26a75c28650acc6f0093f526e0fab51f8e1b60681809bd253f765f8f73aa205bef5c4949766861f410ca5 +AUX unbound.initd 1479 SHA256 62cac1d151351d1e843cd0d8cc502ef92a3b47d818f620d2995601e0c6e7eadc SHA512 96f9646d6b15091a9d3c241dac1fa71fea19ccd1e921201799c3fc904faa474672a76d87e97f209ec7d48b11f7c6e266e94ae746e1cfaf8edf21a13ee66ed74d WHIRLPOOL 33f7abee3a210af4976c323a65b8a7bb618406ef59dbe265946f894555e4878e03dbbd4907f1dc7941ab606d0972af894c326125c4f6038dfc420bdfc5c69b44 +DIST unbound-1.4.19.tar.gz 3601992 SHA256 47e681cf2489cdbad9c9687d579e9b052dceada8f9a720ba447689246aaeeadd SHA512 25b3cbea070eb0954d58b9543d4a974259e1a93f9f17f99a4b18905f813d5d4f93db701bb3b6d16520c610835ed1d3f7205833ce5b818adaef8cdd1f4e21b1c9 WHIRLPOOL 3328d0362cb52b360c512529715d4adabb329040dc38a26c0d76f5a27e772f67064c47bdeb37175cc3861484cfea9b8c7694898f596a1d1648fedb455a217e4e +EBUILD unbound-1.4.19.ebuild 2827 SHA256 556cdd505e655363f35bcd3272d713ef8a402d733bde8ac0ea59be110664f425 SHA512 2759866eeb203a6fbb3f806a95937948804d25ed5b2f6bf6b88ff645411a0336bffe3320df243d615ee8e257b67344ea5ed46d004e76e1784600e1a7e39f5d9c WHIRLPOOL 9ead5e2f5e23d6370b47c8db31928b128eaf10f32ae56b57e1ddc7867f40bc58e58aba7737d128895be3650a5bb52dfc9f5d6e0dc75f10ee09a8056eea53368d +MISC ChangeLog 7690 SHA256 9bd341efabeac5b84e2f6bcdb52488006d11285273534a39a2df9f510dcd8be0 SHA512 c5f529a6374752e0ae19ad5b4eb70647d0e21e0d681938eea2b706a113ba9adad52148c65d105f378766cf985fbf6dfed67c795fe4ecfc785f11fb1db3b12bb9 WHIRLPOOL cadb479f3faf41961191e7d3278c3248ff2e639c19ef2b599ba5ad8f83c3f6e069a54df6887f05adac859fad020a558fa94ab7b9cca0343f778537d9f70e90a8 +MISC metadata.xml 1010 SHA256 6f2382bca4bb186e9e7c6c08debbfa3b1d90de2f574d387d63115852510a10cb SHA512 323a5c7b313d36bd77868c7f2b0894204d0e55c151302657a9b570edbada1ccca0160e43a9f015905bd001bcd9822297b873768febea4f28173db80a76417bc9 WHIRLPOOL 86061c328458265e06ed902048dc569c2f6a9ae6f48f443e4f219356d4b26f5b26b66217ca3624484295264bcbde417767b6d0cdadcadfde1ec1f08c25ecbf66 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 0000000..5792068 --- /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/files/unbound.confd b/net-dns/unbound/files/unbound.confd new file mode 100644 index 0000000..b4de7cf --- /dev/null +++ b/net-dns/unbound/files/unbound.confd @@ -0,0 +1,4 @@ +# Settings should normally not need any changes. + +# Location of the unbound configuration file. Leave empty for the default. +#UNBOUND_CONFFILE="/etc/unbound/unbound.conf" diff --git a/net-dns/unbound/files/unbound.initd b/net-dns/unbound/files/unbound.initd new file mode 100644 index 0000000..90deb23 --- /dev/null +++ b/net-dns/unbound/files/unbound.initd @@ -0,0 +1,56 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/files/unbound.initd,v 1.2 2011/09/13 15:14:49 matsuu Exp $ + +name="unbound daemon" +extra_commands="configtest" +extra_started_commands="reload" +description="unbound is a Domain Name Server (DNS) that is used to resolve host names to IP address." +description_configtest="Run syntax tests for configuration files only." +description_reload="Kills all children and reloads the configuration." + + +UNBOUND_BINARY=${UNBOUND_BINARY:-/usr/sbin/unbound} +UNBOUND_CHECKCONF=${UNBOUND_CHECKCONF:-/usr/sbin/unbound-checkconf} +UNBOUND_CONFFILE=${UNBOUND_CONFFILE:-/etc/unbound/${SVCNAME}.conf} + +depend() { + need net + use logger + provide dns + after auth-dns +} + +checkconfig() { + UNBOUND_PIDFILE=$("${UNBOUND_CHECKCONF}" -o pidfile "${UNBOUND_CONFFILE}") + return $? +} + +configtest() { + ebegin "Checking ${SVCNAME} configuration" + checkconfig + eend $? +} + +start() { + checkconfig || return $? + ebegin "Starting ${SVCNAME}" + start-stop-daemon --start --pidfile "${UNBOUND_PIDFILE}" \ + --exec "${UNBOUND_BINARY}" -- -c "${UNBOUND_CONFFILE}" + eend $? +} + +stop() { + checkconfig || return $? + ebegin "Stopping ${SVCNAME}" + start-stop-daemon --stop --pidfile "${UNBOUND_PIDFILE}" + eend $? +} + +reload() { + checkconfig || return $? + ebegin "Reloading ${SVCNAME}" + start-stop-daemon --signal HUP --pidfile "${UNBOUND_PIDFILE}" + eend $? +} diff --git a/net-dns/unbound/metadata.xml b/net-dns/unbound/metadata.xml new file mode 100644 index 0000000..b35af2f --- /dev/null +++ b/net-dns/unbound/metadata.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>matsuu@gentoo.org</email> + <description>Primary maintainer</description> + <name>MATSUU Takuto</name> +</maintainer> +<maintainer> + <email>nabeken@tknetworks.org</email> + <description>Proxied developer. Please CC on bugs.</description> + <name>TANABE Ken-ichi</name> +</maintainer> +<longdescription lang="en"> +Unbound is a validating, recursive, and caching DNS resolver. + +The C implementation of Unbound is developed and maintained by NLnet +Labs. It is based on ideas and algorithms taken from a java prototype +developed by Verisign labs, Nominet, Kirei and ep.net. + +Unbound is designed as a set of modular components, so that also +DNSSEC (secure DNS) validation and stub-resolvers (that do not run +as a server, but are linked into an application) are easily possible. +</longdescription> +<use> + <flag name='gost'>Enable GOST support</flag> +</use> +</pkgmetadata> diff --git a/net-dns/unbound/unbound-1.4.19.ebuild b/net-dns/unbound/unbound-1.4.19.ebuild new file mode 100644 index 0000000..5a71ca0 --- /dev/null +++ b/net-dns/unbound/unbound-1.4.19.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/unbound-1.4.18.ebuild,v 1.5 2012/11/13 20:27:50 blueness Exp $ + +EAPI="4" +PYTHON_DEPEND="python? 2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-* *-jython" + +inherit eutils flag-o-matic python user + +DESCRIPTION="A validating, recursive and caching DNS resolver" +HOMEPAGE="http://unbound.net/" +SRC_URI="http://unbound.net/downloads/${P}.tar.gz" + +LICENSE="BSD GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~x64-macos" +IUSE="debug gost python selinux static-libs test threads" + +RDEPEND="dev-libs/expat + dev-libs/libevent + >=dev-libs/openssl-0.9.8 + >=net-libs/ldns-1.6.13[ecdsa,ssl,gost?] + selinux? ( sec-policy/selinux-bind )" + +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 + + 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 + econf \ + $(use_enable debug) \ + $(use_enable gost) \ + $(use_enable static-libs static) \ + $(use_with python pythonmodule) \ + $(use_with python pyunbound) \ + $(use_with threads pthreads) \ + --disable-rpath \ + --enable-ecdsa \ + --with-ldns="${EPREFIX}"/usr \ + --with-libevent="${EPREFIX}"/usr \ + --with-pidfile="${EPREFIX}"/var/run/unbound.pid \ + --with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt + + # 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 + newconfd "${FILESDIR}/unbound.confd" unbound + + dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES} + + # bug #315519 + dodoc contrib/unbound_munin_ + + docinto selinux + dodoc contrib/selinux/* + + exeinto /usr/share/${PN} + doexe contrib/update-anchor.sh +} + +pkg_postinst() { + use python && python_mod_optimize unbound.py unboundmodule.py +} + +pkg_postrm() { + use python && python_mod_cleanup unbound.py unboundmodule.py +} |