From ba22dbe86656a7ca640ff5f73b790c6bf9ff15d1 Mon Sep 17 00:00:00 2001 From: "Tom Hendrikx (whyscream)" Date: Thu, 9 Jul 2009 13:34:47 +0000 Subject: net-dns/unbound: version bump svn path=/sunrise/; revision=8739 --- net-dns/unbound/ChangeLog | 4 ++ net-dns/unbound/Manifest | 6 +-- net-dns/unbound/unbound-1.3.0.ebuild | 92 ------------------------------------ net-dns/unbound/unbound-1.3.1.ebuild | 87 ++++++++++++++++++++++++++++++++++ 4 files changed, 94 insertions(+), 95 deletions(-) delete mode 100644 net-dns/unbound/unbound-1.3.0.ebuild create mode 100644 net-dns/unbound/unbound-1.3.1.ebuild (limited to 'net-dns') diff --git a/net-dns/unbound/ChangeLog b/net-dns/unbound/ChangeLog index cbb267714..e4a0ef9e3 100644 --- a/net-dns/unbound/ChangeLog +++ b/net-dns/unbound/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 09 Jul 2009; Tom Hendrikx (whyscream) + -unbound-1.3.0.ebuild, +unbound-1.3.1.ebuild: + version bump + 24 Jun 2009; Markos Chandras unbound-1.3.0.ebuild: fixing typo diff --git a/net-dns/unbound/Manifest b/net-dns/unbound/Manifest index af0f2602e..64ce6a817 100644 --- a/net-dns/unbound/Manifest +++ b/net-dns/unbound/Manifest @@ -1,6 +1,6 @@ AUX unbound.confd 166 RMD160 ad5324b396d0ceb53c5dcf142b106a8fa114e30d SHA1 7db818eda9240ecebd166ce85eb6490b374b4f18 SHA256 6e804cf2a450a06ebb390b267d353a892e987d2bf0c4909909507ab277df86b4 AUX unbound.initd 1219 RMD160 636c7a022a4bded04675ce0b5676443442e4712c SHA1 b7bda8a6fa2404c0bb8024a8cf1e6c9c6d9dd038 SHA256 8a9dface7c74819336ea7da97cf561397ebd3d5110ba2dfe732883695be79b67 -DIST unbound-1.3.0.tar.gz 4059848 RMD160 f4c57ff90f84c25bec93b5d61655b326602b5e14 SHA1 67fe06f087083fd24b0175b68e624efc375a3e0f SHA256 ebaed25422a32a7f13386982485d9d01b65cf3aefbebdcf4add6a4d7c71a4610 -EBUILD unbound-1.3.0.ebuild 2653 RMD160 366e39ebd0590d1e5aacfe864b9b4da22cf607b8 SHA1 fae45c011d06c7b34b42b91406749e209a7bb274 SHA256 1cf0dd43fed83268831b4b547f480ccdaf4d6c4e7f16cd7b5d4a07f444628796 -MISC ChangeLog 1545 RMD160 311a7b541ecb3f4a668cc0d69a144f332660bf5e SHA1 8206b5af99ad911b1d2724b9e08646a8e688baed SHA256 9b488aa45fa2a55df10b33eb175c1f7b87c9d74605a666681d06d4d160a693ba +DIST unbound-1.3.1.tar.gz 4045559 RMD160 14665889be560036b600781800f3979fe119a4b9 SHA1 19fd5aaddfce7de9e05bb5d6720707f98c1f649a SHA256 55961c23c6cde824adef8de8d83dae7dcd40528333960d5c3d5028904d799e87 +EBUILD unbound-1.3.1.ebuild 2436 RMD160 1de0fccae0ebc1a6139ae5cb1cde3e81a6aeb100 SHA1 1cffff3ae2ac833225fedde816f7b4f00f5657b4 SHA256 db62305a5e38beb8b433e0949b158a02db98f1a57df6d733e5a5d2076742a1cf +MISC ChangeLog 1669 RMD160 fe24645c05beb906bbf845030c9d74d8950eda0b SHA1 538ae5a6b14b3fed2e912c5750a0f1f033dec07e SHA256 14490f802ce8a4d444eebc338736347c2c02d591221ae74010f7e380ed2476c9 MISC metadata.xml 313 RMD160 55eab80cc0d3313ab6abbd819c97624c5b6deaf6 SHA1 58b71600454480ba1779092e323083e3c8303445 SHA256 6ea4770fe59e75a6dde41e4ba616bf3219c76a55cd70d6563f46178564551a94 diff --git a/net-dns/unbound/unbound-1.3.0.ebuild b/net-dns/unbound/unbound-1.3.0.ebuild deleted file mode 100644 index 3ca5b9bf9..000000000 --- a/net-dns/unbound/unbound-1.3.0.ebuild +++ /dev/null @@ -1,92 +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" - -DEPEND="dev-libs/openssl - >=net-libs/ldns-1.5.1 - libevent? ( dev-libs/libevent )" -RDEPEND=${DEPEND} - -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 "With 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" - local key_files="unbound_control.key unbound_control.pem unbound_server.key unbound_server.pem" - - ebegin "Generating SSL keys for unbound-control" - /usr/sbin/unbound-control-setup -d ${key_dir} - eend $? - - ebegin "Adjusting file permissions" - local username=`/usr/sbin/unbound-checkconf -o username` - cd ${key_dir} - chown ${username} ${key_files} - eend $? -} diff --git a/net-dns/unbound/unbound-1.3.1.ebuild b/net-dns/unbound/unbound-1.3.1.ebuild new file mode 100644 index 000000000..afc7e441b --- /dev/null +++ b/net-dns/unbound/unbound-1.3.1.ebuild @@ -0,0 +1,87 @@ +# 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 $? +} -- cgit v1.2.3-65-gdbad