diff options
author | Tim Biermann <tbier@posteo.de> | 2019-12-29 11:40:18 +0100 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2019-12-29 11:40:18 +0100 |
commit | 659a39994e82096946042a9798d83dca127363f3 (patch) | |
tree | 458f53ee4ef6e3d5c5bbbbe479273eb3fc909756 /cracklib | |
parent | bcfb3652bc08d48b060b6934a0b52f3658394d12 (diff) | |
download | contrib-659a39994e82096946042a9798d83dca127363f3.tar.gz contrib-659a39994e82096946042a9798d83dca127363f3.tar.xz |
cracklib: initial commit, version 2.9.7
Diffstat (limited to 'cracklib')
-rw-r--r-- | cracklib/.footprint | 25 | ||||
-rw-r--r-- | cracklib/.signature | 5 | ||||
-rw-r--r-- | cracklib/Pkgfile | 21 |
3 files changed, 51 insertions, 0 deletions
diff --git a/cracklib/.footprint b/cracklib/.footprint new file mode 100644 index 000000000..d141168ee --- /dev/null +++ b/cracklib/.footprint @@ -0,0 +1,25 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/cracklib-check +-rwxr-xr-x root/root usr/bin/cracklib-format +-rwxr-xr-x root/root usr/bin/cracklib-packer +-rwxr-xr-x root/root usr/bin/cracklib-unpacker +-rwxr-xr-x root/root usr/bin/create-cracklib-dict +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/crack.h +-rw-r--r-- root/root usr/include/packer.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libcrack.a +-rwxr-xr-x root/root usr/lib/libcrack.la +lrwxrwxrwx root/root usr/lib/libcrack.so -> libcrack.so.2.9.0 +lrwxrwxrwx root/root usr/lib/libcrack.so.2 -> libcrack.so.2.9.0 +-rwxr-xr-x root/root usr/lib/libcrack.so.2.9.0 +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/cracklib/ +-rw-r--r-- root/root usr/share/cracklib/cracklib-small +-rw-r--r-- root/root usr/share/cracklib/cracklib.magic +-rw-r--r-- root/root usr/share/cracklib/pw_dict.hwm +-rw-r--r-- root/root usr/share/cracklib/pw_dict.pwd +-rw-r--r-- root/root usr/share/cracklib/pw_dict.pwi +drwxr-xr-x root/root usr/share/dict/ +lrwxrwxrwx root/root usr/share/dict/cracklib-small -> /usr/share/cracklib/cracklib-small diff --git a/cracklib/.signature b/cracklib/.signature new file mode 100644 index 000000000..174076489 --- /dev/null +++ b/cracklib/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF35tz0fq+mvxUQ1q6W5rs+FxdFZbMPp3KtxB/aiQIrbYQkyF2Bkl1nOaSoVX1+vMVdaywa14GHxVLt/IxnPdHswo= +SHA256 (Pkgfile) = 84fa8891d394940c8c04a1a3b3f49d2d012c514c16736b20daa8023d8465ead9 +SHA256 (.footprint) = dc457e7c1b1455b0235c1f626a677b1ef1f4d9e63aa2e12e3578c6aa4b867ca7 +SHA256 (cracklib-2.9.7.tar.gz) = 8b6fd202f3f1d8fa395d3b7a5d821227cfd8bb4a9a584a7ae30cf62cea6287dd diff --git a/cracklib/Pkgfile b/cracklib/Pkgfile new file mode 100644 index 000000000..09c8a18ca --- /dev/null +++ b/cracklib/Pkgfile @@ -0,0 +1,21 @@ +# Description: CrackLib Library and Dictionaries +# URL: https://github.com/cracklib/cracklib +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: + +name=cracklib +version=2.9.7 +release=1 +source=(https://github.com/cracklib/cracklib/releases/download/v$version/$name-$version.tar.gz) + +build() { + cd $name-$version + ./configure --prefix=/usr --sbindir=/usr/bin --without-python + make + make DESTDIR=$PKG install + mkdir -p "$PKG"/usr/share/dict + ln -sf /usr/share/cracklib/cracklib-small "$PKG"/usr/share/dict/cracklib-small + sh ./util/cracklib-format dicts/cracklib-small \ + | sh ./util/cracklib-packer "$PKG"/usr/share/cracklib/pw_dict + rm -r $PKG/usr/share/locale/ +} |