main/cracklib: upgrade to 2.8.18

This commit is contained in:
Natanael Copa 2011-10-28 07:31:48 +00:00
parent 49be43b522
commit 18fa9072b4
2 changed files with 3 additions and 18 deletions

View File

@ -1,8 +1,8 @@
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=cracklib
pkgver=2.8.16
pkgrel=2
pkgver=2.8.18
pkgrel=0
pkgdesc="A library used to enforce strong passwords"
url="http://sourceforge.net/projects/cracklib"
arch="all"
@ -12,12 +12,10 @@ makedepends=""
install=
subpackages="$pkgname-dev"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
cracklib-nls.patch
"
prepare() {
cd "$srcdir"/$pkgname-$pkgver
patch -p1 -i "$srcdir"/cracklib-nls.patch
}
build() {
@ -41,5 +39,4 @@ package() {
}
md5sums="3bfb22db8fcffd019463ee415a1b25b7 cracklib-2.8.16.tar.gz
239b1b7b59bee4dee7577aa9df18ba46 cracklib-nls.patch"
md5sums="79053ad8bc714a44cd660cb12116211b cracklib-2.8.18.tar.gz"

View File

@ -1,12 +0,0 @@
--- ./util/check.c.orig
+++ ./util/check.c
@@ -22,7 +22,9 @@
int i;
setlocale(LC_ALL, "");
+#if defined(ENABLE_NLS)
textdomain(PACKAGE);
+#endif
while (fgets(buf, sizeof(buf), stdin) != NULL) {
while (((i = strlen(buf)) > 0) && (i > 0)) {