mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
32 lines
934 B
Bash
32 lines
934 B
Bash
#
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=cracklib
|
|
pkgver=2.8.18
|
|
pkgrel=2
|
|
pkgdesc="Password Checking Library"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL')
|
|
url="http://sourceforge.net/projects/cracklib"
|
|
depends=('glibc' 'zlib')
|
|
options=('!libtool')
|
|
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
./configure --prefix=/usr --without-python
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd $startdir/src/$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 $pkgdir/usr/share/cracklib/pw_dict
|
|
}
|
|
md5sums=('79053ad8bc714a44cd660cb12116211b')
|