summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2011-07-09 10:02:18 (GMT)
committerCecil <knoppmyth@gmail.com>2011-07-09 10:02:18 (GMT)
commitd48d2eaa7d4fc86c38e98105cbd4a0f4c0404de8 (patch)
tree757cee530467ac55e877ece3ad71254809fc7b27 /abs
parentad32a43286913fd709415a7732de2ae0df2b4667 (diff)
downloadlinhes_pkgbuild-d48d2eaa7d4fc86c38e98105cbd4a0f4c0404de8.zip
linhes_pkgbuild-d48d2eaa7d4fc86c38e98105cbd4a0f4c0404de8.tar.gz
linhes_pkgbuild-d48d2eaa7d4fc86c38e98105cbd4a0f4c0404de8.tar.bz2
cracklib:Bumped to latest.
Diffstat (limited to 'abs')
-rw-r--r--abs/core/cracklib/PKGBUILD31
1 files changed, 17 insertions, 14 deletions
diff --git a/abs/core/cracklib/PKGBUILD b/abs/core/cracklib/PKGBUILD
index 597e160..fa51f42 100644
--- a/abs/core/cracklib/PKGBUILD
+++ b/abs/core/cracklib/PKGBUILD
@@ -1,26 +1,29 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: Judd Vinet <jvinet@zeroflux.org>
+# $Id: PKGBUILD 82645 2010-06-15 04:51:02Z allan $
+# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Federico Quagliata (quaqo) <quaqo@despammed.com>
+
pkgname=cracklib
-pkgver=2.8.10
-pkgrel=14
+pkgver=2.8.16
+pkgrel=1
pkgdesc="Password Checking Library"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
license=('GPL')
url="http://sourceforge.net/projects/cracklib"
-groups=('base')
-depends=('glibc')
+depends=('glibc' 'zlib')
options=('!libtool')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('555f7832b63ebc7fb70b0373500c2358')
build() {
- cd $startdir/src/$pkgname-$pkgver
- ./configure --prefix=/usr
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr --without-python
make || return 1
- mkdir -p $startdir/pkg/usr/share/dict
- make DESTDIR=$startdir/pkg install
- cp dicts/cracklib-small $startdir/pkg/usr/share/dict
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+ install -Dm644 dicts/cracklib-small $pkgdir/usr/share/dict/cracklib-small
sh ./util/cracklib-format dicts/cracklib-small \
- | sh ./util/cracklib-packer $startdir/pkg/usr/share/cracklib/pw_dict
+ | sh ./util/cracklib-packer $pkgdir/usr/share/cracklib/pw_dict
}
+md5sums=('3bfb22db8fcffd019463ee415a1b25b7')