dev-php/pecl-crack: Revbump to drop php 5.4 and 5.5 dependencies
authorBrian Evans <grknight@gentoo.org>
Thu, 8 Dec 2016 19:44:43 +0000 (14:44 -0500)
committerBrian Evans <grknight@gentoo.org>
Thu, 8 Dec 2016 20:05:54 +0000 (15:05 -0500)
This package has not been ported and fails with PHP 7.0.
Patches are welcome, but this package is in danger of being dropped
when PHP 5.6 becomes obsolete.

Package-Manager: portage-2.3.2

dev-php/pecl-crack/files/fix-php-5-4-support.patch
dev-php/pecl-crack/pecl-crack-0.4-r5.ebuild [new file with mode: 0644]

index 4709ad8dd116872d308e1e69ac8abe8a9d7999e1..7fddadfabbbdfc88f7daa941d9673967e05f11b7 100644 (file)
@@ -1,8 +1,8 @@
 Gentoo bug: 423869
 Thanks to hanno
 
---- pecl/crack/trunk/crack.c   2008/07/17 10:02:47     262854
-+++ pecl/crack/trunk/crack.c   2012/06/07 16:13:34     326013
+--- a/crack.c  2008/07/17 10:02:47     262854
++++ b/crack.c  2012/06/07 16:13:34     326013
 @@ -38,7 +38,7 @@
  
  /* {{{ crack_functions[]
diff --git a/dev-php/pecl-crack/pecl-crack-0.4-r5.ebuild b/dev-php/pecl-crack/pecl-crack-0.4-r5.ebuild
new file mode 100644 (file)
index 0000000..7ab7d26
--- /dev/null
@@ -0,0 +1,25 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PHP_EXT_NAME="crack"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+PHP_EXT_EXTRA_ECONF=""
+DOCS=( EXPERIMENTAL )
+
+USE_PHP="php5-6"
+
+inherit php-ext-pecl-r3
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+DESCRIPTION="PHP interface to the cracklib libraries"
+LICENSE="PHP-3 CRACKLIB"
+SLOT="0"
+IUSE=""
+# Patch for http://pecl.php.net/bugs/bug.php?id=5765
+PATCHES=( "${FILESDIR}/fix-php-5-4-support.patch"
+"${FILESDIR}/fix-pecl-bug-5765.patch" )