Date: Thursday, March 30, 2023 @ 07:30:17
Author: tpowa
Revision: 472195
archrelease: copy trunk to testing-x86_64
Added:
cracklib/repos/testing-x86_64/
cracklib/repos/testing-x86_64/PKGBUILD
(from rev 472194, cracklib/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: cracklib/repos/testing-x86_64/PKGBUILD (from rev 472194,
cracklib/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2023-03-30 07:30:17 UTC (rev 472195)
@@ -0,0 +1,34 @@
+# Maintainer: Tobias Powalowski <[email protected]>
+# Contributor: Federico Quagliata (quaqo) <[email protected]>
+
+pkgname=cracklib
+pkgver=2.9.10
+pkgrel=1
+pkgdesc="Password Checking Library"
+arch=('x86_64')
+license=('GPL')
+url="https://github.com/cracklib/cracklib"
+depends=('glibc' 'zlib')
+source=(https://github.com/cracklib/cracklib/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('6d7726ce2ab9ee35aa46a511f12badb059b3ceb7932c7fe64806d265b898aa63')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sbindir=/usr/bin --without-python
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ # symlink cracklib-small #34778
+ mkdir -p "$pkgdir"/usr/share/dict
+ ln -sf /usr/share/cracklib/cracklib-small
"$pkgdir"/usr/share/dict/cracklib-small
+ sh ./util/cracklib-format dicts/cracklib-small \
+ | sh ./util/cracklib-packer "$pkgdir"/usr/share/cracklib/pw_dict
+}