From 644b9a9678d21e8ed164e4793a30477ac2115e9d Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 30 Jun 2010 11:23:15 +0000 Subject: main/cracklib: upgrade to 2.8.16 --- main/cracklib/APKBUILD | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'main/cracklib/APKBUILD') diff --git a/main/cracklib/APKBUILD b/main/cracklib/APKBUILD index f7fda7960c..c82e9038f3 100644 --- a/main/cracklib/APKBUILD +++ b/main/cracklib/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Michael Mason # Maintainer: Michael Mason pkgname=cracklib -pkgver=2.8.13 -pkgrel=1 +pkgver=2.8.16 +pkgrel=0 pkgdesc="A library used to enforce strong passwords" url="http://sourceforge.net/projects/cracklib" license="GPL" @@ -11,7 +11,14 @@ 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() { cd "$srcdir/$pkgname-$pkgver" @@ -24,8 +31,13 @@ build() { --disable-nls \ --with-default-dict make -j1 all || return 1 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" make -j1 DESTDIR="$pkgdir" install } -md5sums="5beb4c6b3c31c83fc98c4c225b25cd94 cracklib-2.8.13.tar.gz" +md5sums="3bfb22db8fcffd019463ee415a1b25b7 cracklib-2.8.16.tar.gz +239b1b7b59bee4dee7577aa9df18ba46 cracklib-nls.patch" -- cgit v1.2.3