aboutsummaryrefslogtreecommitdiffstats
path: root/main/cracklib/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-06-30 11:23:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-06-30 11:23:15 +0000
commit644b9a9678d21e8ed164e4793a30477ac2115e9d (patch)
tree23c1d611b24329b51702eff27f04359f9a399122 /main/cracklib/APKBUILD
parent4222561ac7317f81eb18b5b817c0da8d43ec8b3c (diff)
downloadaports-644b9a9678d21e8ed164e4793a30477ac2115e9d.tar.bz2
aports-644b9a9678d21e8ed164e4793a30477ac2115e9d.tar.xz
main/cracklib: upgrade to 2.8.16
Diffstat (limited to 'main/cracklib/APKBUILD')
-rw-r--r--main/cracklib/APKBUILD18
1 files changed, 15 insertions, 3 deletions
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 <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
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"