libpwquality: initial commit, version 1.4.2

This commit is contained in:
Tim Biermann 2020-06-14 21:41:40 +00:00
parent ccfeddbbf3
commit c7cf2359e8
3 changed files with 66 additions and 0 deletions

37
libpwquality/.footprint Normal file
View File

@ -0,0 +1,37 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/security/
-rw-r--r-- root/root etc/security/pwquality.conf
drwxr-xr-x root/root lib/
drwxr-xr-x root/root lib/security/
-rw-r--r-- root/root lib/security/pam_pwquality.a
-rwxr-xr-x root/root lib/security/pam_pwquality.la
-rwxr-xr-x root/root lib/security/pam_pwquality.so
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/pwmake
-rwxr-xr-x root/root usr/bin/pwscore
drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/pwquality.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libpwquality.a
-rwxr-xr-x root/root usr/lib/libpwquality.la
lrwxrwxrwx root/root usr/lib/libpwquality.so -> libpwquality.so.1.0.2
lrwxrwxrwx root/root usr/lib/libpwquality.so.1 -> libpwquality.so.1.0.2
-rwxr-xr-x root/root usr/lib/libpwquality.so.1.0.2
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/pwquality.pc
drwxr-xr-x root/root usr/lib/python3.7/
drwxr-xr-x root/root usr/lib/python3.7/site-packages/
-rw-r--r-- root/root usr/lib/python3.7/site-packages/pwquality-1.4.2-py3.7.egg-info
-rwxr-xr-x root/root usr/lib/python3.7/site-packages/pwquality.cpython-37m-x86_64-linux-gnu.so
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/pwmake.1.gz
-rw-r--r-- root/root usr/share/man/man1/pwscore.1.gz
drwxr-xr-x root/root usr/share/man/man3/
-rw-r--r-- root/root usr/share/man/man3/pwquality.3.gz
drwxr-xr-x root/root usr/share/man/man5/
-rw-r--r-- root/root usr/share/man/man5/pwquality.conf.5.gz
drwxr-xr-x root/root usr/share/man/man8/
-rw-r--r-- root/root usr/share/man/man8/pam_pwquality.8.gz

5
libpwquality/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF30Rp/5QfC5guL24miWWKBfry5XpLJfdRMWUii7Q17nvmzYasGvJzz1zG7ywII2AAWwWM+lo44vePLVCq6brh/Aw=
SHA256 (Pkgfile) = e05e65909ad7ccd58346593a4b702c6db70e1282fc7005ce2561d960e78f5043
SHA256 (.footprint) = 360e43ed2579e63798984a29b4fead26281c7fc889142ddcb8616d42f9e84645
SHA256 (libpwquality-1.4.2.tar.bz2) = 5263e09ee62269c092f790ac159112aed3e66826a795e3afec85fdeac4281c8e

24
libpwquality/Pkgfile Normal file
View File

@ -0,0 +1,24 @@
# Description: Library for password quality checking and generating random passwords
# URL: https://github.com/libpwquality/libpwquality
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: cracklib linux-pam python3
name=libpwquality
version=1.4.2
release=1
source=(https://github.com/libpwquality/libpwquality/releases/download/$name-$version/$name-$version.tar.bz2)
build() {
cd $name-$version
sed '/mr_IN/d' -i po/LINGUAS
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-securedir=/lib/security \
--enable-pam \
--with-python-binary=python3 \
--disable-nls
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=$PKG install
}