blob: 104e59002d5dc070866fa33f2a01766900dfee6b (
plain)
1 # Description: Library for password quality checking and generating random passwords
2 # URL: https://github.com/libpwquality/libpwquality
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: cracklib linux-pam python3
5
6 name=libpwquality
7 version=1.4.2
8 release=1
9 source=(https://github.com/libpwquality/libpwquality/releases/download/$name-$version/$name-$version.tar.bz2)
10
11 build() {
12 cd $name-$version
13 sed '/mr_IN/d' -i po/LINGUAS
14 ./configure --prefix=/usr \
15 --sysconfdir=/etc \
16 --localstatedir=/var \
17 --with-securedir=/lib/security \
18 --enable-pam \
19 --with-python-binary=python3 \
20 --disable-nls
21 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
22 make
23 make DESTDIR=$PKG install
24 }
|