]> git.pld-linux.org Git - packages/php-pecl-crack.git/commitdiff
- add fix-pecl-bug-5765.patch from gentoo auto/th/php-pecl-crack-0_4-4
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 4 May 2012 21:05:58 +0000 (21:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fix-pecl-bug-5765.patch -> 1.1
    php-pecl-crack.spec -> 1.26

fix-pecl-bug-5765.patch [new file with mode: 0644]
php-pecl-crack.spec

diff --git a/fix-pecl-bug-5765.patch b/fix-pecl-bug-5765.patch
new file mode 100644 (file)
index 0000000..c180d53
--- /dev/null
@@ -0,0 +1,11 @@
+--- crack-0.4/libcrack/src/cracklib.h   2005-09-21 11:00:06.000000000 +0200
++++ crack-0.4-new/libcrack/src/cracklib.h       2006-10-08 20:44:00.618783250 +0200
+@@ -46,7 +46,7 @@
+ typedef unsigned char int8;
+ typedef unsigned short int int16;
+-typedef unsigned long int int32;
++typedef unsigned int int32;
+ #ifndef NUMWORDS
+ # define NUMWORDS                           16
index 3ec088aa56013b896a8164e935ce8242ca920906..9b0d2263d9e93285c7abebe04aba21293a5488b0 100644 (file)
@@ -1,17 +1,20 @@
+# TODO
+# - use system cracklib
 %define                modname crack
 %define                status          beta
 Summary:       %{modname} - checks if password is vulnerable to dictionary attacks
 Summary(pl.UTF-8):     %{modname} - sprawdzanie czy hasło jest podatne na ataki słownikowe
 Name:          php-pecl-%{modname}
 Version:       0.4
-Release:       3
+Release:       4
 License:       PHP
 Group:         Development/Languages/PHP
 Source0:       http://pecl.php.net/get/%{modname}-%{version}.tgz
 # Source0-md5: 7cfe9df99f546cf6bd55b535d71e3b1f
 Patch0:                %{name}-m4_fixes.patch
+Patch1:                fix-pecl-bug-5765.patch
 URL:           http://pecl.php.net/package/crack/
-BuildRequires: cracklib-devel
+#BuildRequires:        cracklib-devel
 BuildRequires: php-devel >= 3:5.0.0
 BuildRequires: rpmbuild(macros) >= 1.344
 %{?requires_php_extension}
@@ -40,6 +43,7 @@ To rozszerzenie ma w PECL status: %{status}.
 %setup -qc
 mv %{modname}-%{version}/* .
 %patch0 -p1
+%patch1 -p1
 
 %build
 phpize
This page took 0.086001 seconds and 4 git commands to generate.