summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schlich <wschlich@gentoo.org>2013-04-03 19:55:33 +0000
committerWolfram Schlich <wschlich@gentoo.org>2013-04-03 19:55:33 +0000
commit53ab3cdc61862757ecede865e05e20df4de71e2b (patch)
tree1ff96de960b2cd5ce30d1ad2fc58ba78f2c26a04 /net-dns/validns
parentadded nsd-3.x ebuild, added nsd-4.x munin plugin config. thanks to Tom Hendri... (diff)
downloadgentoo-2-53ab3cdc61862757ecede865e05e20df4de71e2b.tar.gz
gentoo-2-53ab3cdc61862757ecede865e05e20df4de71e2b.tar.bz2
gentoo-2-53ab3cdc61862757ecede865e05e20df4de71e2b.zip
fix bug #464170. thanks to Tom Hendrikx <tom@whyscream.net>
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'net-dns/validns')
-rw-r--r--net-dns/validns/ChangeLog9
-rw-r--r--net-dns/validns/files/validns-0.6-fixtests.patch21
-rw-r--r--net-dns/validns/validns-0.6-r1.ebuild (renamed from net-dns/validns/validns-0.6.ebuild)10
3 files changed, 35 insertions, 5 deletions
diff --git a/net-dns/validns/ChangeLog b/net-dns/validns/ChangeLog
index 74c90b8c5af8..a9ed78301c91 100644
--- a/net-dns/validns/ChangeLog
+++ b/net-dns/validns/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-dns/validns
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/validns/ChangeLog,v 1.3 2013/04/02 08:27:33 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/validns/ChangeLog,v 1.4 2013/04/03 19:55:33 wschlich Exp $
+
+*validns-0.6-r1 (03 Apr 2013)
+
+ 03 Apr 2013; Wolfram Schlich <wschlich@gentoo.org>
+ +files/validns-0.6-fixtests.patch, +validns-0.6-r1.ebuild,
+ -validns-0.6.ebuild:
+ fix bug #464170. thanks to Tom Hendrikx <tom@whyscream.net>
02 Apr 2013; Sergey Popov <pinkbyte@gentoo.org> validns-0.6.ebuild:
Add apropriate dependency for tests wrt bug #454744, but keep them restricted
diff --git a/net-dns/validns/files/validns-0.6-fixtests.patch b/net-dns/validns/files/validns-0.6-fixtests.patch
new file mode 100644
index 000000000000..28f9cb21bd57
--- /dev/null
+++ b/net-dns/validns/files/validns-0.6-fixtests.patch
@@ -0,0 +1,21 @@
+commit 8caf3656bf636fd9903b9c4abaf7a439dd65f7a4
+Author: Anton Berezin <tobez@tobez.org>
+Date: Tue Jan 8 11:28:23 2013 +0100
+
+ Fix testing past the signature expiration date.
+
+ Reported by: Casper Gielen
+
+diff --git a/t/test.pl b/t/test.pl
+index d08997c..b69cd8d 100644
+--- a/t/test.pl
++++ b/t/test.pl
+@@ -129,7 +129,7 @@ like(shift @e, qr/DNAME must not have any children \(but z.zzzz5.galaxyplus.org.
+ is(+@e, 0, "no unaccounted errors");
+ #like(stdout, qr/validation errors: XX/, "error count");
+
+-run('./validns', @threads, '-s', 't/zones/example.sec.signed.with-errors');
++run('./validns', @threads, '-s', '-t1320094109', 't/zones/example.sec.signed.with-errors');
+ isnt(rc, 0, 'bad signed zone returns an error');
+ @e = split /\n/, stderr;
+
diff --git a/net-dns/validns/validns-0.6.ebuild b/net-dns/validns/validns-0.6-r1.ebuild
index 88eb4a8ca2ce..7476918554b2 100644
--- a/net-dns/validns/validns-0.6.ebuild
+++ b/net-dns/validns/validns-0.6-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/validns/validns-0.6.ebuild,v 1.2 2013/04/02 08:27:33 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/validns/validns-0.6-r1.ebuild,v 1.1 2013/04/03 19:55:33 wschlich Exp $
EAPI=4
@@ -14,11 +14,13 @@ LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-DEPEND="test? ( dev-perl/Test-Command-Simple )"
RDEPEND="dev-libs/judy"
+DEPEND="${RDEPEND}
+ test? ( dev-perl/Test-Command-Simple )"
-# tests are broken, bug #464170
-RESTRICT="test"
+src_prepare() {
+ epatch "${FILESDIR}/${P}-fixtests.patch"
+}
src_install() {
dobin validns