summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-25 05:23:57 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-25 05:23:57 +0000
commit46cf2cba8fa97117d540492a82349faa5ffa84ae (patch)
tree9923c593bcb4107561b198d224d9cd2f677cf19e /sys-libs
parentSecurity bump; bug #122705. (diff)
downloadhistorical-46cf2cba8fa97117d540492a82349faa5ffa84ae.tar.gz
historical-46cf2cba8fa97117d540492a82349faa5ffa84ae.tar.bz2
historical-46cf2cba8fa97117d540492a82349faa5ffa84ae.zip
old
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/cracklib/Manifest32
-rw-r--r--sys-libs/cracklib/cracklib-2.8.3-r1.ebuild56
-rw-r--r--sys-libs/cracklib/files/cracklib-2.7-buffer-packer.patch20
-rw-r--r--sys-libs/cracklib/files/cracklib-2.7-cross-compile.patch9
-rw-r--r--sys-libs/cracklib/files/cracklib-2.7-dec-alpha-compiler.diff11
-rw-r--r--sys-libs/cracklib/files/cracklib-2.7-gentoo-new.diff130
-rw-r--r--sys-libs/cracklib/files/cracklib-2.7-gzip.patch19
-rw-r--r--sys-libs/cracklib/files/cracklib-2.7-libdir.patch32
-rw-r--r--sys-libs/cracklib/files/cracklib-2.7-parallel-make.patch30
-rw-r--r--sys-libs/cracklib/files/cracklib-2.7-redhat.patch46
-rw-r--r--sys-libs/cracklib/files/cracklib-2.7-static-lib.patch39
-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
13 files changed, 20 insertions, 445 deletions
diff --git a/sys-libs/cracklib/Manifest b/sys-libs/cracklib/Manifest
index 4321c0937948..27fb25b8a081 100644
--- a/sys-libs/cracklib/Manifest
+++ b/sys-libs/cracklib/Manifest
@@ -1,17 +1,25 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
MD5 5be7269746dbeccd184f0a9395b6cbb2 ChangeLog 11040
-MD5 6bb9f556ff62935bc596599f9a9b6802 cracklib-2.8.3-r1.ebuild 1538
+RMD160 a5b568725d3ba506465ace2c7ca0d6400a9f88bd ChangeLog 11040
+SHA256 da45cd3c2280ed26cfab0cbb765a7891157490098a6e3d57d723ec98e8fa618c ChangeLog 11040
MD5 852460433be408f4b0b4474141d28638 cracklib-2.8.5.ebuild 1442
-MD5 8a109d0d79bed1fb528d2f7c2e0bdbc0 files/cracklib-2.7-buffer-packer.patch 602
-MD5 efb1b540d35f2929768dcb3dcf723fee files/cracklib-2.7-cross-compile.patch 492
-MD5 85783b83e5bfa51190033895cfaf803e files/cracklib-2.7-dec-alpha-compiler.diff 333
-MD5 57ed4f94412bd475a0774c8e0db99712 files/cracklib-2.7-gentoo-new.diff 4235
-MD5 336ab4f8ce8e3a3955ec8722d32076b4 files/cracklib-2.7-gzip.patch 521
-MD5 ee8b4f377188b6bb5001fc6e8b81e614 files/cracklib-2.7-libdir.patch 1211
-MD5 e9edfa4c3852810514a42e43e4f66b4e files/cracklib-2.7-parallel-make.patch 1066
-MD5 954e8e0d53c6f878366e472a90917356 files/cracklib-2.7-redhat.patch 1224
-MD5 69aa6844bbf39d86cde364729ca9f9dd files/cracklib-2.7-static-lib.patch 1328
+RMD160 1c37eb72cd7bedfe81f26c696d623e33dd4fad5c cracklib-2.8.5.ebuild 1442
+SHA256 3aacca9d03a500983722dbaee227a3cd0b5b27a4562da28ea0f3a92d1a04cb07 cracklib-2.8.5.ebuild 1442
MD5 f078a8fa2074250986d685cac2b0b271 files/cracklib-2.8.3-dictname.patch 528
-MD5 6b7b4e9536a1420eed242b648d5a7aa7 files/cracklib-2.8.3-packer-defines.patch 891
-MD5 e00f36f63e3879e2da10580921e484b6 files/digest-cracklib-2.8.3-r1 66
+RMD160 7759bf9439b1c1dcba21246148fd160a7936215f files/cracklib-2.8.3-dictname.patch 528
+SHA256 94bd7f042f999f9454d4eb7123b5ce44c707b8d2c23d0706c3fcd53a7c22ccf9 files/cracklib-2.8.3-dictname.patch 528
MD5 44e1c89acbadcbd16e795bb6b7cce486 files/digest-cracklib-2.8.5 66
+RMD160 2c8efe928bbf2f600fa0f8e5954638dbf8401a4b files/digest-cracklib-2.8.5 66
+SHA256 0137d500ef0ba5f64badf0f4356ecada0903afdfc07bc56b1e147e40c2244879 files/digest-cracklib-2.8.5 66
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
+RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164
+SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 metadata.xml 164
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2.1 (GNU/Linux)
+
+iD8DBQFD/+oe2+ySkm8kpY0RAoPrAJsHXBnv4NVg+yNpccQ4DVhWzfsmiACeLbEH
+cM5RwkD+mfwyANESPCDDet0=
+=noxI
+-----END PGP SIGNATURE-----
diff --git a/sys-libs/cracklib/cracklib-2.8.3-r1.ebuild b/sys-libs/cracklib/cracklib-2.8.3-r1.ebuild
deleted file mode 100644
index 0be69826d7b1..000000000000
--- a/sys-libs/cracklib/cracklib-2.8.3-r1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/cracklib/cracklib-2.8.3-r1.ebuild,v 1.14 2005/08/16 05:39:22 vapier Exp $
-
-inherit eutils toolchain-funcs multilib
-
-MY_P=${P/_}
-DESCRIPTION="Password Checking Library"
-HOMEPAGE="http://sourceforge.net/projects/cracklib"
-SRC_URI="mirror://sourceforge/cracklib/${MY_P}.tar.gz"
-
-LICENSE="CRACKLIB"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
-IUSE=""
-
-DEPEND=""
-
-S=${WORKDIR}/${MY_P}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/cracklib-2.8.3-dictname.patch
- epatch "${FILESDIR}"/cracklib-2.8.3-packer-defines.patch
- epunt_cxx
-}
-
-src_compile() {
- econf --disable-dependency-tracking || die
- emake || die
-}
-
-src_install() {
- make DESTDIR="${D}" install || die "make install failed"
- rm -r "${D}"/usr/share/cracklib
-
- insinto /usr/include
- doins lib/packer.h || die "doins packer.h"
-
- # move shared libs to /
- dodir /$(get_libdir)
- mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir)/ || die "could not move shared"
- gen_usr_ldscript libcrack.so
-
- echo -n "Generating cracklib dicts ... "
- insinto /usr/share/dict
- doins dicts/cracklib-small || die "word dict"
- tc-is-cross-compiler \
- || export PATH=${D}/usr/sbin:${PATH} LD_LIBRARY_PATH=${D}/$(get_libdir)
- cracklib-format dicts/cracklib-small \
- | cracklib-packer "${D}"/usr/$(get_libdir)/cracklib_dict \
- || die "couldnt create dict"
-
- dodoc AUTHORS ChangeLog NEWS README*
-}
diff --git a/sys-libs/cracklib/files/cracklib-2.7-buffer-packer.patch b/sys-libs/cracklib/files/cracklib-2.7-buffer-packer.patch
deleted file mode 100644
index 8585c79d6e9d..000000000000
--- a/sys-libs/cracklib/files/cracklib-2.7-buffer-packer.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-Fix a simple buffer overflow.
-
-http://sourceforge.net/mailarchive/message.php?msg_id=11189809
-http://bugs.gentoo.org/show_bug.cgi?id=85650
-
---- cracklib,2.7/cracklib/packlib.c
-+++ cracklib,2.7/cracklib/packlib.c
-@@ -33,9 +33,9 @@
-
- memset(&pdesc, '\0', sizeof(pdesc));
-
-- sprintf(iname, "%s.pwi", prefix);
-- sprintf(dname, "%s.pwd", prefix);
-- sprintf(wname, "%s.hwm", prefix);
-+ snprintf(iname, STRINGSIZE, "%s.pwi", prefix);
-+ snprintf(dname, STRINGSIZE, "%s.pwd", prefix);
-+ snprintf(wname, STRINGSIZE, "%s.hwm", prefix);
-
- if (!(pdesc.dfp = fopen(dname, mode)))
- {
diff --git a/sys-libs/cracklib/files/cracklib-2.7-cross-compile.patch b/sys-libs/cracklib/files/cracklib-2.7-cross-compile.patch
deleted file mode 100644
index bfea0a5affba..000000000000
--- a/sys-libs/cracklib/files/cracklib-2.7-cross-compile.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- cracklib,2.7/Makefile.orig 2004-12-07 21:39:56.830924520 -0500
-+++ cracklib,2.7/Makefile 2004-12-07 21:40:24.097525749 -0500
-@@ -43,5 +43,5 @@
- $(MAKE) -C cracklib install
- $(MAKE) -C util install
- @echo 'if "sort" dies from lack of space, see "util/mkdict"'
-- util/mkdict $(SRCDICTS) | LD_LIBRARY_PATH=cracklib util/packer $(DESTDIR)$(DICTPATH)
-+ PATH="${PATH}:./util" mkdict $(SRCDICTS) | PATH="${PATH}:./util" LD_LIBRARY_PATH=cracklib packer $(DESTDIR)$(DICTPATH)
- touch installed
diff --git a/sys-libs/cracklib/files/cracklib-2.7-dec-alpha-compiler.diff b/sys-libs/cracklib/files/cracklib-2.7-dec-alpha-compiler.diff
deleted file mode 100644
index a3394e1b1455..000000000000
--- a/sys-libs/cracklib/files/cracklib-2.7-dec-alpha-compiler.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- cracklib/Makefile 2003-05-24 19:38:26.000000000 +0100
-+++ cracklib/Makefile 2003-05-24 19:35:14.000000000 +0100
-@@ -8,7 +8,7 @@
-
- LIB = libcrack.so
- OBJ = fascist.o packlib.o rules.o stringlib.o
-+CFLAGS += -g3 -I../cracklib -DIN_CRACKLIB -fPIC
--CFLAGS += -g -I../cracklib -DIN_CRACKLIB -fPIC
- LD = ld
-
- $(LIB): $(OBJ) Makefile
diff --git a/sys-libs/cracklib/files/cracklib-2.7-gentoo-new.diff b/sys-libs/cracklib/files/cracklib-2.7-gentoo-new.diff
deleted file mode 100644
index b296b5ce48fa..000000000000
--- a/sys-libs/cracklib/files/cracklib-2.7-gentoo-new.diff
+++ /dev/null
@@ -1,130 +0,0 @@
-diff -N -r -U3 cracklib,2.7.orig/Makefile cracklib,2.7/Makefile
---- cracklib,2.7.orig/Makefile Wed Dec 31 11:33:53 1997
-+++ cracklib,2.7/Makefile Tue Feb 27 16:03:32 2001
-@@ -7,14 +7,21 @@
- ###
-
- ###
-+# cracklib version
-+MAJOR=2
-+MINOR=7
-+VERSION=$(MAJOR).$(MINOR)
-+export MAJOR MINOR VERSION
-+
-+###
- # set this to the absolute path (less extn) of compressed dict.
-
--DICTPATH="/usr/local/lib/pw_dict"
-+DICTPATH="/usr/lib/cracklib_dict"
-
- ###
- # Set this to the path of one or more files continaing wordlists.
-
--SRCDICTS=/usr/dict/words
-+SRCDICTS=/usr/share/dict/words /usr/share/dict/extra.words
-
- ###
- # If you have installed the cracklib-dicts directory, use this
-@@ -36,7 +43,9 @@
- -rm -f all installed Part* *.BAK *.bak *~
-
- install: all
-+ ( cd cracklib && make install && exit $$? )
-+ ( cd util && make install && exit $$? )
- @echo 'if "sort" dies from lack of space, see "util/mkdict"'
-- util/mkdict $(SRCDICTS) | util/packer $(DICTPATH)
-+ util/mkdict $(SRCDICTS) | LD_LIBRARY_PATH=cracklib util/packer $(DESTDIR)$(DICTPATH)
- touch installed
- ### @echo 'now go install passwd/passwd where you want it'
-diff -N -r -U3 cracklib,2.7.orig/cracklib/Makefile cracklib,2.7/cracklib/Makefile
---- cracklib,2.7.orig/cracklib/Makefile Sun Dec 14 23:49:21 1997
-+++ cracklib,2.7/cracklib/Makefile Tue Feb 27 16:03:39 2001
-@@ -6,13 +6,20 @@
- # and upwards.
- ###
-
--LIB= libcrack.a
--OBJ= fascist.o packlib.o rules.o stringlib.o
--CFLAGS= -O -I../cracklib -DIN_CRACKLIB
-+LIB = libcrack.so
-+OBJ = fascist.o packlib.o rules.o stringlib.o
-+CFLAGS += -g -I../cracklib -DIN_CRACKLIB -fPIC
-
--$(LIB): $(OBJ)
-- ar rv $(LIB) $?
-- -ranlib $(LIB)
-+$(LIB): $(OBJ) Makefile
-+ $(LD) -shared -soname $(LIB).$(MAJOR) -o $(LIB).$(VERSION) $(OBJ) -lc
-+ rm -f $(LIB).$(MAJOR) $(LIB)
-+ ln -s $(LIB).$(VERSION) $(LIB).$(MAJOR)
-+ ln -s $(LIB).$(MAJOR) $(LIB)
-
- clean:
-- -rm -f $(OBJ) $(LIB) *~
-+ -rm -f $(OBJ) $(LIB) $(LIB).$(VERSION) *~
-+
-+install: $(LIB) crack.h
-+ install -m 755 $(LIB).$(VERSION) $(DESTDIR)/usr/lib
-+ ln -sf $(LIB).$(VERSION) $(DESTDIR)/usr/lib/$(LIB)
-+ install -m 644 crack.h $(DESTDIR)/usr/include
-diff -N -r -U3 cracklib,2.7.orig/util/Makefile cracklib,2.7/util/Makefile
---- cracklib,2.7.orig/util/Makefile Sun Dec 14 23:49:34 1997
-+++ cracklib,2.7/util/Makefile Tue Feb 27 16:03:46 2001
-@@ -14,27 +14,31 @@
- #SunOS users (and others?) should consider static linking of their passwd binary
- #CFLAGS= -O -I../cracklib '-DCRACKLIB_DICTPATH="$(DICTPATH)"' -Bstatic
-
--CFLAGS= -O -I../cracklib '-DCRACKLIB_DICTPATH="$(DICTPATH)"'
--LIBS= ../cracklib/libcrack.a
-+CFLAGS += -I../cracklib '-DCRACKLIB_DICTPATH="$(DICTPATH)"'
-+LDFLAGS = -L../cracklib -lcrack
-+LIBS = ../cracklib/libcrack.so
-
- all: packer unpacker testnum teststr testlib
- touch all
-
- packer: packer.o $(LIBS)
-- cc $(CFLAGS) -o $@ $@.o $(LIBS)
-+ $(CC) $(CFLAGS) -o $@ $@.o $(LDFLAGS)
-
- unpacker: unpacker.o $(LIBS)
-- cc $(CFLAGS) -o $@ $@.o $(LIBS)
-+ $(CC) $(CFLAGS) -o $@ $@.o $(LDFLAGS)
-
- testnum: testnum.o $(LIBS)
-- cc $(CFLAGS) -o $@ $@.o $(LIBS)
-+ $(CC) $(CFLAGS) -o $@ $@.o $(LDFLAGS)
-
- teststr: teststr.o $(LIBS)
-- cc $(CFLAGS) -o $@ $@.o $(LIBS)
-+ $(CC) $(CFLAGS) -o $@ $@.o $(LDFLAGS)
-
- testlib: testlib.o $(LIBS)
-- cc $(CFLAGS) -o $@ $@.o $(LIBS)
-+ $(CC) $(CFLAGS) -o $@ $@.o $(LDFLAGS)
-
- clean:
- -rm *.o *~ all
- -rm teststr testnum testlib packer unpacker
-+
-+install: all create-cracklib-dict
-+ install -m 755 mkdict packer create-cracklib-dict $(DESTDIR)/usr/sbin
-diff -N -r -U3 cracklib,2.7.orig/util/create-cracklib-dict cracklib,2.7/util/create-cracklib-dict
---- cracklib,2.7.orig/util/create-cracklib-dict Thu Jan 1 01:00:00 1970
-+++ cracklib,2.7/util/create-cracklib-dict Tue Feb 27 16:03:51 2001
-@@ -0,0 +1,15 @@
-+#!/bin/sh
-+if [ -z "$*" ]; then
-+ echo "Usage:"
-+ echo " /usr/sbin/create-cracklib-dict wordlist ..."
-+ echo
-+ echo "This script takes one or more word list files as arguments"
-+ echo "and converts them into cracklib dictionaries for use"
-+ echo "by password checking programs. The results are placed in"
-+ echo "/usr/lib/cracklib_dict.*"
-+ echo
-+ echo "Example:"
-+ echo "/usr/sbin/create-cracklib-dict /usr/dict/words"
-+else
-+ /usr/sbin/mkdict $* | /usr/sbin/packer /usr/share/cracklib/pw_dict
-+fi
diff --git a/sys-libs/cracklib/files/cracklib-2.7-gzip.patch b/sys-libs/cracklib/files/cracklib-2.7-gzip.patch
deleted file mode 100644
index 1caf7dca4258..000000000000
--- a/sys-libs/cracklib/files/cracklib-2.7-gzip.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -ur orig/cracklib26_small/util/mkdict cracklib26_small/util/mkdict
---- orig/cracklib26_small/util/mkdict Fri Jul 9 22:23:03 1993
-+++ cracklib26_small/util/mkdict Sat Apr 4 22:31:45 1998
-@@ -14,7 +14,14 @@
- SORT="sort"
- ###SORT="sort -T /tmp"
-
--cat $* |
-+### Use zcat to read compressed (as well as uncompressed) dictionaries.
-+### Compressed dictionaries can save quite a lot of disk space.
-+
-+CAT="gzip -cdf"
-+###CAT="zcat"
-+###CAT="cat"
-+
-+$CAT $* |
- tr '[A-Z]' '[a-z]' |
- tr -cd '\012[a-z][0-9]' |
- $SORT |
diff --git a/sys-libs/cracklib/files/cracklib-2.7-libdir.patch b/sys-libs/cracklib/files/cracklib-2.7-libdir.patch
deleted file mode 100644
index 4cd47449a111..000000000000
--- a/sys-libs/cracklib/files/cracklib-2.7-libdir.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-diff -Nru cracklib,2.7.old/cracklib/Makefile cracklib,2.7/cracklib/Makefile
---- cracklib,2.7.old/cracklib/Makefile 2004-09-01 08:05:36.149998376 -0400
-+++ cracklib,2.7/cracklib/Makefile 2004-09-01 08:10:57.108205312 -0400
-@@ -27,7 +27,8 @@
- -rm -f $(OBJ) $(LIB).so $(LIB).a $(LIB).so.$(VERSION) *~
-
- install: $(LIB).so $(LIB).a crack.h
-- install -m 755 $(LIB).so.$(VERSION) $(DESTDIR)/usr/lib
-- ln -sf $(LIB).so.$(VERSION) $(DESTDIR)/usr/lib/$(LIB).so
-- install -m 755 $(LIB).a $(DESTDIR)/usr/lib
-+ install -m 644 $(LIB).so $(DESTDIR)/$(LIBDIR)
-+ install -m 755 $(LIB).so.$(VERSION) $(DESTDIR)/$(LIBDIR)
-+ ln -sf $(LIB).so.$(VERSION) $(DESTDIR)/$(LIBDIR)/$(LIB).so
-+ install -m 755 $(LIB).a $(DESTDIR)/$(LIBDIR)
- install -m 644 crack.h $(DESTDIR)/usr/include
---- cracklib,2.7.old/Makefile 2004-12-15 21:06:24.890087088 -0500
-+++ cracklib,2.7/Makefile 2004-12-15 21:07:21.674454552 -0500
-@@ -14,9 +14,13 @@
- export MAJOR MINOR VERSION
-
-+###
-+# Where do we stick libraries
-+LIBDIR=/usr/lib
-+
- ###
- # set this to the absolute path (less extn) of compressed dict.
-
--DICTPATH="/usr/lib/cracklib_dict"
-+DICTPATH="$(LIBDIR)/cracklib_dict"
-
- ###
- # Set this to the path of one or more files continaing wordlists.
diff --git a/sys-libs/cracklib/files/cracklib-2.7-parallel-make.patch b/sys-libs/cracklib/files/cracklib-2.7-parallel-make.patch
deleted file mode 100644
index 42c0f3592a9e..000000000000
--- a/sys-libs/cracklib/files/cracklib-2.7-parallel-make.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- Makefile.orig 2004-12-07 01:17:53.000000000 -0800
-+++ Makefile 2004-12-07 01:34:09.000000000 -0800
-@@ -31,21 +31,17 @@
- @echo "you evidently don't know what you're doing. go read the README"
-
- all:
-- ( cd cracklib && make && exit $$? )
-- ( cd util && make DICTPATH=$(DICTPATH) && exit $$? )
--### ( cd passwd && make DICTPATH=$(DICTPATH) passwd && exit $$? )
--### touch all
-+ $(MAKE) -C cracklib
-+ $(MAKE) DICTPATH=$(DICTPATH) -C util
-
- clean:
-- -( cd cracklib && make clean && exit $$? )
-- -( cd util && make clean && exit $$? )
--### -( cd passwd && make clean && exit $$? )
-+ $(MAKE) -C cracklib clean
-+ $(MAKE) -C util clean
- -rm -f all installed Part* *.BAK *.bak *~
-
- install: all
-- ( cd cracklib && make install && exit $$? )
-- ( cd util && make install && exit $$? )
-+ $(MAKE) -C cracklib install
-+ $(MAKE) -C util install
- @echo 'if "sort" dies from lack of space, see "util/mkdict"'
- util/mkdict $(SRCDICTS) | LD_LIBRARY_PATH=cracklib util/packer $(DESTDIR)$(DICTPATH)
- touch installed
--### @echo 'now go install passwd/passwd where you want it'
diff --git a/sys-libs/cracklib/files/cracklib-2.7-redhat.patch b/sys-libs/cracklib/files/cracklib-2.7-redhat.patch
deleted file mode 100644
index 415df9d16ae5..000000000000
--- a/sys-libs/cracklib/files/cracklib-2.7-redhat.patch
+++ /dev/null
@@ -1,46 +0,0 @@
---- cracklib,2.7/cracklib/fascist.c.rh Wed Dec 31 05:26:46 1997
-+++ cracklib,2.7/cracklib/fascist.c Tue Mar 10 18:17:43 1998
-@@ -11,6 +11,7 @@
- #include "packer.h"
- #include <sys/types.h>
- #include <pwd.h>
-+#include <string.h>
-
- #define ISSKIP(x) (isspace(x) || ispunct(x))
-
-@@ -659,7 +660,7 @@
- return ("it does not contain enough DIFFERENT characters");
- }
-
-- strcpy(password, Lowercase(password));
-+ strcpy(password, (char *)Lowercase(password));
-
- Trim(password);
-
-@@ -722,7 +723,7 @@
- }
- }
-
-- strcpy(password, Reverse(password));
-+ strcpy(password, (char *)Reverse(password));
-
- for (i = 0; r_destructors[i]; i++)
- {
---- cracklib,2.7/cracklib/crack.h.rh Tue Mar 10 18:17:43 1998
-+++ cracklib,2.7/cracklib/crack.h Tue Mar 10 18:17:43 1998
-@@ -0,0 +1,15 @@
-+
-+#ifndef CRACKLIB_H
-+#define CRACKLIB_H
-+
-+/* Pass this function a password (pw) and a path to the
-+ * dictionaries (/usr/lib/cracklib_dict should be specified)
-+ * and it will either return a NULL string, meaning that the
-+ * password is good, or a pointer to a string that explains the
-+ * problem with the password.
-+ * You must link with -lcrack
-+ */
-+
-+extern char *FascistCheck(char *pw, char *dictpath);
-+
-+#endif
diff --git a/sys-libs/cracklib/files/cracklib-2.7-static-lib.patch b/sys-libs/cracklib/files/cracklib-2.7-static-lib.patch
deleted file mode 100644
index d693029154e9..000000000000
--- a/sys-libs/cracklib/files/cracklib-2.7-static-lib.patch
+++ /dev/null
@@ -1,39 +0,0 @@
---- cracklib-2.7/cracklib/Makefile 2003-11-09 23:01:29.405532640 +0200
-+++ cracklib-2.7.static/cracklib/Makefile 2003-11-09 23:17:57.983245984 +0200
-@@ -6,20 +6,26 @@
- # and upwards.
- ###
-
--LIB = libcrack.so
-+LIB = libcrack
- OBJ = fascist.o packlib.o rules.o stringlib.o
- CFLAGS += -g -I../cracklib -DIN_CRACKLIB -fPIC
-
--$(LIB): $(OBJ) Makefile
-- $(LD) -shared -soname $(LIB).$(MAJOR) -o $(LIB).$(VERSION) $(OBJ) -lc
-- rm -f $(LIB).$(MAJOR) $(LIB)
-- ln -s $(LIB).$(VERSION) $(LIB).$(MAJOR)
-- ln -s $(LIB).$(MAJOR) $(LIB)
-+all: $(LIB).so $(LIB).a
-+
-+$(LIB).so: $(OBJ) Makefile
-+ $(LD) -shared -soname $(LIB).so.$(MAJOR) -o $(LIB).so.$(VERSION) $(OBJ) -lc
-+ rm -f $(LIB).so.$(MAJOR) $(LIB).so
-+ ln -s $(LIB).so.$(VERSION) $(LIB).so.$(MAJOR)
-+ ln -s $(LIB).so.$(MAJOR) $(LIB).so
-+
-+$(LIB).a: $(OBJ) Makefile
-+ $(AR) cru $(LIB).a $(OBJ)
-
- clean:
-- -rm -f $(OBJ) $(LIB) $(LIB).$(VERSION) *~
-+ -rm -f $(OBJ) $(LIB).so $(LIB).a $(LIB).so.$(VERSION) *~
-
--install: $(LIB) crack.h
-- install -m 755 $(LIB).$(VERSION) $(DESTDIR)/usr/lib
-- ln -sf $(LIB).$(VERSION) $(DESTDIR)/usr/lib/$(LIB)
-+install: $(LIB).so $(LIB).a crack.h
-+ install -m 755 $(LIB).so.$(VERSION) $(DESTDIR)/usr/lib
-+ ln -sf $(LIB).so.$(VERSION) $(DESTDIR)/usr/lib/$(LIB).so
-+ install -m 755 $(LIB).a $(DESTDIR)/usr/lib
- install -m 644 crack.h $(DESTDIR)/usr/include
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
deleted file mode 100644
index 0ead02629076..000000000000
--- a/sys-libs/cracklib/files/cracklib-2.8.3-packer-defines.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-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
deleted file mode 100644
index 438a526b528d..000000000000
--- a/sys-libs/cracklib/files/digest-cracklib-2.8.3-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 13f82f75b892cbd0ba7cb9069e307006 cracklib-2.8.3.tar.gz 480439