[crux-commits] ports/contrib (3.5): libpwquality: initial commit, version 1.4.2

crux at crux.nu crux at crux.nu
Mon Jun 15 09:56:46 UTC 2020


commit c7cf2359e8e7f7a0560ceaf546e8ae28d96639d9
Author: Tim Biermann <tbier at posteo.de>
Date:   Sun Jun 14 21:41:40 2020 +0000

    libpwquality: initial commit, version 1.4.2

diff --git a/libpwquality/.footprint b/libpwquality/.footprint
new file mode 100644
index 000000000..68e6ea7ed
--- /dev/null
+++ b/libpwquality/.footprint
@@ -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
diff --git a/libpwquality/.signature b/libpwquality/.signature
new file mode 100644
index 000000000..a16fbd35b
--- /dev/null
+++ b/libpwquality/.signature
@@ -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
diff --git a/libpwquality/Pkgfile b/libpwquality/Pkgfile
new file mode 100644
index 000000000..104e59002
--- /dev/null
+++ b/libpwquality/Pkgfile
@@ -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
+}


More information about the crux-commits mailing list