[arch-commits] Commit in cracklib/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Tobias Powalowski tpowa at archlinux.org
Tue Mar 12 13:44:49 UTC 2019


    Date: Tuesday, March 12, 2019 @ 13:44:48
  Author: tpowa
Revision: 347740

archrelease: copy trunk to testing-x86_64

Added:
  cracklib/repos/testing-x86_64/
  cracklib/repos/testing-x86_64/PKGBUILD
    (from rev 347739, cracklib/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: cracklib/repos/testing-x86_64/PKGBUILD (from rev 347739, cracklib/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2019-03-12 13:44:48 UTC (rev 347740)
@@ -0,0 +1,34 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Federico Quagliata (quaqo) <quaqo at despammed.com>
+
+pkgname=cracklib
+pkgver=2.9.7
+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)
+md5sums=('48a0c8810ec4780b99c0a4f9931c21c6')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  ./configure --prefix=/usr --sbindir=/usr/bin --without-python
+  make 
+}
+
+check() {
+  cd $srcdir/$pkgname-$pkgver
+  make check
+}
+
+package() {
+  cd $srcdir/$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
+}


More information about the arch-commits mailing list