summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2010-01-06 20:47:57 +0000
committerTorsten Veller <tove@gentoo.org>2010-01-06 20:47:57 +0000
commitd4dbf9c89b296b3563956fdb96a19b4d50b21b1c (patch)
tree28d77542984f4ff759381ab694b8dcc71350a5de /dev-perl/Crypt-Cracklib
parenttypo (diff)
downloadgentoo-2-d4dbf9c89b296b3563956fdb96a19b4d50b21b1c.tar.gz
gentoo-2-d4dbf9c89b296b3563956fdb96a19b4d50b21b1c.tar.bz2
gentoo-2-d4dbf9c89b296b3563956fdb96a19b4d50b21b1c.zip
Disable reversed test (#278196)
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'dev-perl/Crypt-Cracklib')
-rw-r--r--dev-perl/Crypt-Cracklib/ChangeLog8
-rw-r--r--dev-perl/Crypt-Cracklib/Crypt-Cracklib-1.4-r1.ebuild18
-rw-r--r--dev-perl/Crypt-Cracklib/files/1.4-disable-reversed-test.patch17
3 files changed, 34 insertions, 9 deletions
diff --git a/dev-perl/Crypt-Cracklib/ChangeLog b/dev-perl/Crypt-Cracklib/ChangeLog
index d686f7c6f71b..eb6888760796 100644
--- a/dev-perl/Crypt-Cracklib/ChangeLog
+++ b/dev-perl/Crypt-Cracklib/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-perl/Crypt-Cracklib
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Crypt-Cracklib/ChangeLog,v 1.20 2009/05/02 11:41:32 tove Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Crypt-Cracklib/ChangeLog,v 1.21 2010/01/06 20:47:57 tove Exp $
+
+ 06 Jan 2010; Torsten Veller <tove@gentoo.org>
+ +files/1.4-disable-reversed-test.patch, Crypt-Cracklib-1.4-r1.ebuild:
+ Disable reversed test (#278196)
02 May 2009; Torsten Veller <tove@gentoo.org> -Crypt-Cracklib-0.01.ebuild:
Cleanup
diff --git a/dev-perl/Crypt-Cracklib/Crypt-Cracklib-1.4-r1.ebuild b/dev-perl/Crypt-Cracklib/Crypt-Cracklib-1.4-r1.ebuild
index 2481d134d3b8..e166a0334336 100644
--- a/dev-perl/Crypt-Cracklib/Crypt-Cracklib-1.4-r1.ebuild
+++ b/dev-perl/Crypt-Cracklib/Crypt-Cracklib-1.4-r1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Crypt-Cracklib/Crypt-Cracklib-1.4-r1.ebuild,v 1.1 2008/07/30 07:21:04 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Crypt-Cracklib/Crypt-Cracklib-1.4-r1.ebuild,v 1.2 2010/01/06 20:47:57 tove Exp $
+
+EAPI=2
MODULE_AUTHOR="DANIEL"
inherit perl-module
@@ -11,10 +13,12 @@ SLOT="0"
LICENSE="Artistic"
KEYWORDS="~amd64 ~ia64 ~x86"
IUSE="test"
-SRC_TEST="do"
-RDEPEND="sys-libs/cracklib
- dev-lang/perl"
+RDEPEND="sys-libs/cracklib"
DEPEND="${RDEPEND}
- test? ( dev-perl/Pod-Coverage
- dev-perl/Test-Pod-Coverage )"
+ test? ( dev-perl/Pod-Coverage
+ dev-perl/Test-Pod
+ dev-perl/Test-Pod-Coverage )"
+
+SRC_TEST="do"
+PATCHES=( "${FILESDIR}"/1.4-disable-reversed-test.patch )
diff --git a/dev-perl/Crypt-Cracklib/files/1.4-disable-reversed-test.patch b/dev-perl/Crypt-Cracklib/files/1.4-disable-reversed-test.patch
new file mode 100644
index 000000000000..f8cde3865ad3
--- /dev/null
+++ b/dev-perl/Crypt-Cracklib/files/1.4-disable-reversed-test.patch
@@ -0,0 +1,17 @@
+--- Crypt-Cracklib-1.4/t/01use.t
++++ Crypt-Cracklib-1.4/t/01use.t
+@@ -1,4 +1,4 @@
+-use Test::More tests => 19;
++use Test::More tests => 18;
+
+ BEGIN { use_ok( 'Crypt::Cracklib' ); }
+
+@@ -28,7 +28,7 @@
+ like(fascist_check('dictionary'), qr/dictionary/, "dictionary");
+
+ # it is based on a (reversed) dictionary word
+-like(fascist_check('1elppa'), qr/reversed/, "reversed dictionary");
++#like(fascist_check('1elppa'), qr/reversed/, "reversed dictionary");
+
+ # Ok
+ ok(fascist_check('Sil1ntBob') eq 'ok');