From d1ea6469f650b6787160ece90d689c16713e0af0 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Sun, 8 Oct 2006 19:47:57 +0000 Subject: [PATCH] Fix for http://pecl.php.net/bugs/bug.php?id=5765. Patch by Lars Strojny . Package-Manager: portage-2.1.2_pre2-r6 --- dev-php4/pecl-crack/ChangeLog | 7 ++++- dev-php4/pecl-crack/Manifest | 26 +++++++++++-------- .../pecl-crack/files/fix-pecl-bug-5765.patch | 11 ++++++++ dev-php4/pecl-crack/pecl-crack-0.4.ebuild | 10 ++++++- 4 files changed, 41 insertions(+), 13 deletions(-) create mode 100644 dev-php4/pecl-crack/files/fix-pecl-bug-5765.patch diff --git a/dev-php4/pecl-crack/ChangeLog b/dev-php4/pecl-crack/ChangeLog index 542d0b79d134..a35db27950ca 100644 --- a/dev-php4/pecl-crack/ChangeLog +++ b/dev-php4/pecl-crack/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-php4/pecl-crack # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-crack/ChangeLog,v 1.9 2006/09/29 07:16:42 sebastian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-crack/ChangeLog,v 1.10 2006/10/08 19:47:57 sebastian Exp $ + + 08 Oct 2006; Sebastian Bergmann + +files/fix-pecl-bug-5765.patch, pecl-crack-0.4.ebuild: + Fix for http://pecl.php.net/bugs/bug.php?id=5765. Patch by Lars Strojny + . *pecl-crack-0.4 (29 Sep 2006) diff --git a/dev-php4/pecl-crack/Manifest b/dev-php4/pecl-crack/Manifest index 77dc7da28279..ee217376dd66 100644 --- a/dev-php4/pecl-crack/Manifest +++ b/dev-php4/pecl-crack/Manifest @@ -1,15 +1,19 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX fix-pecl-bug-5765.patch 375 RMD160 ffa88c2df971ad7979e3c3ec4c2d1c850e3fef19 SHA1 9c922ce9c4cafc52d746cdb89c0fd6b8ed570ae7 SHA256 1a4f72c1c51cbc95eaa68776fdc677a740ae2cc04e21000a2260548fb7f85b74 +MD5 3e38dd470a508ceeb7da6ea7db8a2ef4 files/fix-pecl-bug-5765.patch 375 +RMD160 ffa88c2df971ad7979e3c3ec4c2d1c850e3fef19 files/fix-pecl-bug-5765.patch 375 +SHA256 1a4f72c1c51cbc95eaa68776fdc677a740ae2cc04e21000a2260548fb7f85b74 files/fix-pecl-bug-5765.patch 375 DIST crack-0.4.tgz 25524 RMD160 335b1cecb0ccd958fa01c499a636e0e22a5a46ea SHA1 aa1554747ef2d1c96e4a47fdb0057828661a918a SHA256 00a5250a6c82b39c1aefcb6e1ce0980da5df49c9bfc6ade9a8e867d89e87f560 -EBUILD pecl-crack-0.4.ebuild 463 RMD160 2e65dcf0d7a2c0ddf50334465b43bf915470db3b SHA1 7ac9ca7acb95531db4f126c02400867988c641b5 SHA256 363410eb6c951c88edf7a6cc8ebe4375592bdccc0b4c3ffa6014e749b5d8ef20 -MD5 f7d9b15182a39d19999255f662e7e0e4 pecl-crack-0.4.ebuild 463 -RMD160 2e65dcf0d7a2c0ddf50334465b43bf915470db3b pecl-crack-0.4.ebuild 463 -SHA256 363410eb6c951c88edf7a6cc8ebe4375592bdccc0b4c3ffa6014e749b5d8ef20 pecl-crack-0.4.ebuild 463 -MISC ChangeLog 1336 RMD160 8afd7d10ee48bc162a600f9a38401476b057e7fe SHA1 197f70eb56cb48399471f71fff36fdb2ef214a0e SHA256 59748f9078f8c821462c20f94f507b6dcf8ec125f5509ecb73a23246ed16c13a -MD5 8b9e1ee01776eb03cb96c006b8b1e9c5 ChangeLog 1336 -RMD160 8afd7d10ee48bc162a600f9a38401476b057e7fe ChangeLog 1336 -SHA256 59748f9078f8c821462c20f94f507b6dcf8ec125f5509ecb73a23246ed16c13a ChangeLog 1336 +EBUILD pecl-crack-0.4.ebuild 606 RMD160 7f8d2253927b916f03451a25de684621a5038766 SHA1 5b94dc1d2eec214734a6b387446fd2e9f2fdf38e SHA256 f3dcfa4bff4b702da77c476e6cf49ee21f112a1c450914b01e8932bc17622519 +MD5 ab34707e47a4b5abeda6f9f7cf07115c pecl-crack-0.4.ebuild 606 +RMD160 7f8d2253927b916f03451a25de684621a5038766 pecl-crack-0.4.ebuild 606 +SHA256 f3dcfa4bff4b702da77c476e6cf49ee21f112a1c450914b01e8932bc17622519 pecl-crack-0.4.ebuild 606 +MISC ChangeLog 1548 RMD160 de5ac77dbf0ab3a0a486ff4d44ca3b5bff04e8a8 SHA1 1166dffa166197867120ea26fb7596e7f9f62f9b SHA256 f0d8160990c6b0cbb6e1b7a14070d78ebb5e8f22ac9d9c6ec249be93fb13bfb6 +MD5 cfa09377beb9d5927cdaa5678ea77a7c ChangeLog 1548 +RMD160 de5ac77dbf0ab3a0a486ff4d44ca3b5bff04e8a8 ChangeLog 1548 +SHA256 f0d8160990c6b0cbb6e1b7a14070d78ebb5e8f22ac9d9c6ec249be93fb13bfb6 ChangeLog 1548 MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1 MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a metadata.xml 157 @@ -20,7 +24,7 @@ SHA256 23496a5eaff76efb6ad04a1e45943a935bcac061306db6504577d7066ed244a4 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) -iD8DBQFFHMhhaGfFFLhbXWkRAsRBAJwPac2e9khU+vhMaWw0pr+jDq60EwCgmtws -NjGxwKqxv8adRxh0vhyz75Y= -=R7dY +iD8DBQFFKVXzaGfFFLhbXWkRArjyAJ9Y8gzNkI8j8fLaKo35HwsELtZe9QCdF+eP +rK4Buf6gCSsYCqeExaJOvo8= +=pswu -----END PGP SIGNATURE----- diff --git a/dev-php4/pecl-crack/files/fix-pecl-bug-5765.patch b/dev-php4/pecl-crack/files/fix-pecl-bug-5765.patch new file mode 100644 index 000000000000..c180d5310b1b --- /dev/null +++ b/dev-php4/pecl-crack/files/fix-pecl-bug-5765.patch @@ -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 diff --git a/dev-php4/pecl-crack/pecl-crack-0.4.ebuild b/dev-php4/pecl-crack/pecl-crack-0.4.ebuild index 326826887d67..7a51860b3cf1 100644 --- a/dev-php4/pecl-crack/pecl-crack-0.4.ebuild +++ b/dev-php4/pecl-crack/pecl-crack-0.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-crack/pecl-crack-0.4.ebuild,v 1.1 2006/09/29 07:16:43 sebastian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-crack/pecl-crack-0.4.ebuild,v 1.2 2006/10/08 19:47:57 sebastian Exp $ PHP_EXT_NAME="crack" PHP_EXT_INI="yes" @@ -15,3 +15,11 @@ SLOT="0" IUSE="" need_php_by_category + +src_unpack() { + unpack ${A} + cd "${S}" + + # Patch for http://pecl.php.net/bugs/bug.php?id=5765 + epatch "${FILESDIR}/fix-pecl-bug-5765.patch" +} -- 2.26.2