Skip to content

Commit

Permalink
dev-php/pecl-crack: Revbump to drop php 5.4 and 5.5 dependencies
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Brian Evans committed Dec 8, 2016
1 parent e537d8c commit 8e64c24
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev-php/pecl-crack/files/fix-php-5-4-support.patch
Original file line number Diff line number Diff line change
@@ -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[]
Expand Down
25 changes: 25 additions & 0 deletions dev-php/pecl-crack/pecl-crack-0.4-r5.ebuild
Original file line number Diff line number Diff line change
@@ -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" )

0 comments on commit 8e64c24

Please sign in to comment.