summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-04-16 05:41:42 +0000
committerMike Frysinger <vapier@gentoo.org>2005-04-16 05:41:42 +0000
commite2bd79c8398ce6ee097411165ed2bf61c5fb8449 (patch)
tree8716abed64fd3c7076e68ea636dda2a885c611c8 /sys-libs/cracklib/files
parentold (diff)
downloadgentoo-2-e2bd79c8398ce6ee097411165ed2bf61c5fb8449.tar.gz
gentoo-2-e2bd79c8398ce6ee097411165ed2bf61c5fb8449.tar.bz2
gentoo-2-e2bd79c8398ce6ee097411165ed2bf61c5fb8449.zip
Grab update from upstream to fix building mod_php #85698.
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-libs/cracklib/files')
-rw-r--r--sys-libs/cracklib/files/cracklib-2.8.3-packer-defines.patch40
-rw-r--r--sys-libs/cracklib/files/digest-cracklib-2.8.3-r11
2 files changed, 41 insertions, 0 deletions
diff --git a/sys-libs/cracklib/files/cracklib-2.8.3-packer-defines.patch b/sys-libs/cracklib/files/cracklib-2.8.3-packer-defines.patch
new file mode 100644
index 000000000000..0ead02629076
--- /dev/null
+++ b/sys-libs/cracklib/files/cracklib-2.8.3-packer-defines.patch
@@ -0,0 +1,40 @@
+Index: lib/packer.h
+===================================================================
+RCS file: /cvsroot/cracklib/cracklib/lib/packer.h,v
+retrieving revision 1.4
+retrieving revision 1.5
+diff -u -r1.4 -r1.5
+--- lib/packer.h 19 Mar 2005 00:21:02 -0000 1.4
++++ lib/packer.h 15 Apr 2005 22:32:18 -0000 1.5
+@@ -9,6 +9,16 @@
+ #ifndef CRACKLIB_PACKER_H
+ #define CRACKLIB_PACKER_H
+
++/* Moved here cause needed by mod_php */
++#define STRINGSIZE 1024
++#define TRUNCSTRINGSIZE (STRINGSIZE/4)
++
++#ifndef NUMWORDS
++#define NUMWORDS 16
++#endif
++#define MAXWORDLEN 32
++#define MAXBLOCKLEN (MAXWORDLEN * NUMWORDS)
++
+ #ifdef IN_CRACKLIB
+
+ #include <stdio.h>
+@@ -26,14 +36,6 @@
+ #endif
+ #endif
+
+-#define STRINGSIZE 1024
+-#define TRUNCSTRINGSIZE (STRINGSIZE/4)
+-
+-#ifndef NUMWORDS
+-#define NUMWORDS 16
+-#endif
+-#define MAXWORDLEN 32
+-#define MAXBLOCKLEN (MAXWORDLEN * NUMWORDS)
+
+ struct pi_header
+ {
diff --git a/sys-libs/cracklib/files/digest-cracklib-2.8.3-r1 b/sys-libs/cracklib/files/digest-cracklib-2.8.3-r1
new file mode 100644
index 000000000000..438a526b528d
--- /dev/null
+++ b/sys-libs/cracklib/files/digest-cracklib-2.8.3-r1
@@ -0,0 +1 @@
+MD5 13f82f75b892cbd0ba7cb9069e307006 cracklib-2.8.3.tar.gz 480439