blob: d5cf905f5c242cd1433d9d5516d69e23ae4c3ffa (
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.5
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
14 sed '/mr_IN/d' -i po/LINGUAS
15 autoreconf -fvi
16 export SETUPTOOLS_USE_DISTUTILS=stdlib
17
18 ./configure --prefix=/usr \
19 --sysconfdir=/etc \
20 --localstatedir=/var \
21 --with-securedir=/lib/security \
22 --with-python-binary=/usr/bin/python3 \
23 --enable-pam \
24 --disable-nls
25 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
26
27 make
28 make DESTDIR=$PKG install
29 }
|