diff options
author | 2009-11-23 21:09:21 +0000 | |
---|---|---|
committer | 2009-11-23 21:09:21 +0000 | |
commit | 4000433586a5c54030711baab851f33cedc186cf (patch) | |
tree | a1bd9b7609b67710a7c8223c4616dd6fc484a89d /net-dns | |
parent | net-print/epsoneplijs: Fixes to SRC_URI and patch: thanks to Tommy[D] (diff) | |
download | sunrise-reviewed-4000433586a5c54030711baab851f33cedc186cf.tar.gz sunrise-reviewed-4000433586a5c54030711baab851f33cedc186cf.tar.bz2 sunrise-reviewed-4000433586a5c54030711baab851f33cedc186cf.zip |
net-dns/ unbound: In gentoo-x86
svn path=/sunrise/; revision=9591
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/unbound/ChangeLog | 60 | ||||
-rw-r--r-- | net-dns/unbound/Manifest | 6 | ||||
-rw-r--r-- | net-dns/unbound/files/unbound.confd | 4 | ||||
-rw-r--r-- | net-dns/unbound/files/unbound.initd | 54 | ||||
-rw-r--r-- | net-dns/unbound/metadata.xml | 9 | ||||
-rw-r--r-- | net-dns/unbound/unbound-1.3.4.ebuild | 85 |
6 files changed, 0 insertions, 218 deletions
diff --git a/net-dns/unbound/ChangeLog b/net-dns/unbound/ChangeLog deleted file mode 100644 index 66dac0996..000000000 --- a/net-dns/unbound/ChangeLog +++ /dev/null @@ -1,60 +0,0 @@ -# ChangeLog for net-dns/unbound -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - - 18 Oct 2009; Tom Hendrikx (whyscream) <tom@whyscream.net> - -unbound-1.3.3.ebuild, +unbound-1.3.4.ebuild: - version bump for security issue, see - http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3602 - - 04 Aug 2009; Tom Hendrikx (whyscream) <tom@whyscream.net> - -unbound-1.3.2.ebuild, +unbound-1.3.3.ebuild: - version bump - - 13 Jul 2009; Tom Hendrikx (whyscream) <tom@whyscream.net> - -unbound-1.3.1.ebuild, +unbound-1.3.2.ebuild: - version bump - - 09 Jul 2009; Tom Hendrikx (whyscream) <tom@whyscream.net> - -unbound-1.3.0.ebuild, +unbound-1.3.1.ebuild: - version bump - - 24 Jun 2009; Markos Chandras <hwoarang@gentoo.org> unbound-1.3.0.ebuild: - fixing typo - - 14 Jun 2009; Tom Hendrikx (whyscream) <tom@whyscream.net> - -unbound-1.2.1.ebuild, +unbound-1.3.0.ebuild, -files/chroot_howto.txt, - files/unbound.confd, files/unbound.initd, metadata.xml: - Version bump, including new init script - - 06 May 2009; Tom Hendrikx (whyscream) <tom@whyscream.net> - unbound-1.2.1.ebuild: - Disable test suite since it does not work - - 16 Feb 2009; Tom Hendrikx (whyscream) <tom@whyscream.net> - -unbound-1.2.0.ebuild, +unbound-1.2.1.ebuild: - version bump - - 19 Jan 2009; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> - unbound-1.2.0.ebuild: - Add suggested RDEPEND=${DEPEND} - - 14 Jan 2009; Tom Hendrikx (whyscream) <tom@whyscream.net> - -unbound-1.1.1-r1.ebuild, +unbound-1.2.0.ebuild: - Version bump - - 04 Jan 2009; Tom Hendrikx (whyscream) <tom@whyscream.net> - -unbound-1.1.1.ebuild, +unbound-1.1.1-r1.ebuild: - updated DEPEND due to some strange problems reported with older libevent - versions - - 20 Nov 2008; Tom Hendrikx (whyscream) <tom@whyscream.net> - -unbound-1.0.2.ebuild, +unbound-1.1.1.ebuild, files/chroot_howto.txt, - files/unbound.initd: - Version bump, minor changes to initd - - 02 Sep 2008; Tom Hendrikx (whyscream) <tom@whyscream.net> - +unbound-1.0.2.ebuild, +files/chroot_howto.txt, +files/unbound.confd, - +files/unbound.initd, +metadata.xml: - New ebuild for unbound, see bug #223103 - diff --git a/net-dns/unbound/Manifest b/net-dns/unbound/Manifest deleted file mode 100644 index 38924aa5a..000000000 --- a/net-dns/unbound/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX unbound.confd 166 RMD160 ad5324b396d0ceb53c5dcf142b106a8fa114e30d SHA1 7db818eda9240ecebd166ce85eb6490b374b4f18 SHA256 6e804cf2a450a06ebb390b267d353a892e987d2bf0c4909909507ab277df86b4 -AUX unbound.initd 1219 RMD160 636c7a022a4bded04675ce0b5676443442e4712c SHA1 b7bda8a6fa2404c0bb8024a8cf1e6c9c6d9dd038 SHA256 8a9dface7c74819336ea7da97cf561397ebd3d5110ba2dfe732883695be79b67 -DIST unbound-1.3.4.tar.gz 4039725 RMD160 ae3a920b2e5f6a31527a83e75a04ade43bfc733e SHA1 70aea0092ad0b0cd76e57adc6a5843d3fa0d2a07 SHA256 5a7f658b12c311f3c131d315b135956eeaa3bd7caa94b25b4777638ee7ce583f -EBUILD unbound-1.3.4.ebuild 2434 RMD160 3dfcc24dcb923be3f7601a1dae9012f5d861b948 SHA1 a443617e3c5e74d95e0d99cd092481e3f040767d SHA256 043cc7246638534e47e536acb40a1b1b76e95e7d73a2970200e757af51d705ae -MISC ChangeLog 2127 RMD160 ccd8fd74abf4dfc2d21fe0f5eeb948ee8293aa89 SHA1 141f859d178c728be1cabc73586855a748679c59 SHA256 78a3868bbb725550263621d1b627370e4e01c5673535039e62aa572974b84894 -MISC metadata.xml 313 RMD160 55eab80cc0d3313ab6abbd819c97624c5b6deaf6 SHA1 58b71600454480ba1779092e323083e3c8303445 SHA256 6ea4770fe59e75a6dde41e4ba616bf3219c76a55cd70d6563f46178564551a94 diff --git a/net-dns/unbound/files/unbound.confd b/net-dns/unbound/files/unbound.confd deleted file mode 100644 index 9febdb8c0..000000000 --- a/net-dns/unbound/files/unbound.confd +++ /dev/null @@ -1,4 +0,0 @@ -# Settings should normally not need any changes. - -# Location of the unbound configuration file. Leave empty for the default. -#config_file="/etc/unbound/unbound.conf" diff --git a/net-dns/unbound/files/unbound.initd b/net-dns/unbound/files/unbound.initd deleted file mode 100644 index 244f8f3c6..000000000 --- a/net-dns/unbound/files/unbound.initd +++ /dev/null @@ -1,54 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -opts="start stop reload" -description="Unbound is a validating, recursive and caching DNS resolver" -description_start="Start the server" -description_stop="Stop the server" -description_reload="Reload the server" - -config_file=${config_file:-/etc/unbound/unbound.conf} -my_unbound_checkconf=/usr/sbin/unbound-checkconf -my_unbound_control=/usr/sbin/unbound-control -my_unbound_control_setup=/usr/sbin/unbound-control-setup - -depend() { - provide dns - need net - after auth-dns -} - -_checkconf() { - if ! ${my_unbound_checkconf} "${config_file}" > /dev/null; then - eerror "You have errors in your configfile (${config_file})" - return 1 - fi - return 0 -} - -_running() { - ${my_unbound_control} -c ${config_file} status > /dev/null 2>&1 -} - -start() { - _checkconf || return 1 - - ebegin "Starting unbound" - ${my_unbound_control} -c ${config_file} start > /dev/null - _running - eend $? -} - -stop() { - ebegin "Stopping unbound" - ${my_unbound_control} -c ${config_file} stop > /dev/null - eend $? -} - -reload() { - ebegin "Reloading unbound" - ${my_unbound_control} -c ${config_file} reload > dev/null - eend $? -} diff --git a/net-dns/unbound/metadata.xml b/net-dns/unbound/metadata.xml deleted file mode 100644 index 8f70d9e95..000000000 --- a/net-dns/unbound/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>maintainer-wanted</herd> - <use> - <flag name='chroot'>Enable chroot by default (recommended)</flag> - <flag name='libevent'>Enable support for libevent</flag> - </use> -</pkgmetadata> diff --git a/net-dns/unbound/unbound-1.3.4.ebuild b/net-dns/unbound/unbound-1.3.4.ebuild deleted file mode 100644 index 4f0ff26eb..000000000 --- a/net-dns/unbound/unbound-1.3.4.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="1" - -inherit eutils - -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" -IUSE="+chroot debug libevent python static threads" - -RDEPEND="dev-libs/openssl - >=net-libs/ldns-1.5.1 - libevent? ( dev-libs/libevent )" -DEPEND="${RDEPEND} - python? ( dev-lang/swig )" - -pkg_setup() { - enewgroup unbound - enewuser unbound -1 -1 -1 unbound -} - -src_compile() { - econf \ - --with-conf-file=/etc/unbound/unbound.conf \ - --with-pidfile=/var/run/unbound.pid \ - --with-run-dir=/etc/unbound \ - --with-username=unbound \ - $(use_enable debug) \ - $(use_enable debug lock-checks) \ - $(use_enable debug alloc-checks) \ - $(use_enable static static-exe) \ - $(use_with libevent) \ - $(use_with threads pthreads) \ - $(use_with python pyunbound) \ - $(use_with python pythonmodule) - - emake || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - 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" - - insinto /usr/share/${PN} - insopts -m755 - doins contrib/{update-anchor.sh,update-itar.sh} || die "doins failed" - - # enable remote control for our rc script - sed -i 's:^\t# control-enable\: no:\tcontrol-enable\: yes:g' "${D}/etc/unbound/unbound.conf" || die "sed failed" - - # disable chroot when requested - if ! use chroot; then - sed -i 's:^\t# chroot\: "/etc/unbound":\tchroot\: "":g' "${D}/etc/unbound/unbound.conf" || die "sed failed" - fi -} - -pkg_postinst() { - local key_dir="${ROOT}etc/unbound" - - # unbound-control-setup tests for *.key existance, so copy that behaviour - if ! test -f ${key_dir}/unbound_server.key && ! test -f ${key_dir}/unbound_control.key; then - ewarn "Since unbound-1.3.0, we use a new initd script based on unbound-contol." - ewarn "The initd script needs SSL keys. To generate these, please run the" - ewarn "following command before (re)starting Unbound:" - ewarn "emerge --config =${PF}" - fi -} - -pkg_config() { - local key_dir="${ROOT}etc/unbound" - - ebegin "Generating SSL keys for unbound-control" - /usr/sbin/unbound-control-setup -d ${key_dir} - eend $? -} |