2009-09-26 14:35:50 +00:00
|
|
|
# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
|
2009-09-26 15:21:59 +00:00
|
|
|
# Modified by OpenPogo
|
|
|
|
|
2009-09-26 14:35:50 +00:00
|
|
|
pkgname=cracklib
|
|
|
|
pkgver=2.8.13
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Password Checking Library"
|
|
|
|
arch=(arm)
|
|
|
|
license=('GPL')
|
|
|
|
url="http://sourceforge.net/projects/cracklib"
|
|
|
|
groups=('base')
|
2009-09-26 15:21:59 +00:00
|
|
|
depends=()
|
2009-09-26 14:35:50 +00:00
|
|
|
options=('!libtool')
|
|
|
|
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
|
2009-09-26 15:21:59 +00:00
|
|
|
md5sums=('5beb4c6b3c31c83fc98c4c225b25cd94')
|
2009-09-26 14:35:50 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $startdir/src/$pkgname-$pkgver
|
2009-09-26 15:21:59 +00:00
|
|
|
./configure --prefix=/opt --without-python
|
2009-09-26 14:35:50 +00:00
|
|
|
make || return 1
|
2009-09-26 15:21:59 +00:00
|
|
|
mkdir -p $startdir/pkg/opt/share/dict
|
2009-09-26 14:35:50 +00:00
|
|
|
make DESTDIR=$startdir/pkg install
|
2009-09-26 15:21:59 +00:00
|
|
|
cp dicts/cracklib-small $startdir/pkg/opt/share/dict
|
2009-09-26 14:35:50 +00:00
|
|
|
sh ./util/cracklib-format dicts/cracklib-small \
|
2009-09-26 15:21:59 +00:00
|
|
|
| sh ./util/cracklib-packer $startdir/pkg/opt/share/cracklib/pw_dict
|
2009-09-26 14:35:50 +00:00
|
|
|
}
|