[arch-commits] Commit in cracklib/trunk (PKGBUILD)

Tobias Powalowski tpowa at nymeria.archlinux.org
Wed May 8 09:28:51 EDT 2013


    Date: Wednesday, May 8, 2013 @ 15:28:51
  Author: tpowa
Revision: 184783

upgpkg: cracklib 2.8.22-2

fix #34778

Modified:
  cracklib/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-08 13:18:31 UTC (rev 184782)
+++ PKGBUILD	2013-05-08 13:28:51 UTC (rev 184783)
@@ -4,7 +4,7 @@
 
 pkgname=cracklib
 pkgver=2.8.22
-pkgrel=1
+pkgrel=2
 pkgdesc="Password Checking Library"
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -28,7 +28,9 @@
 package() {
   cd $srcdir/$pkgname-$pkgver
   make DESTDIR=$pkgdir install
-  install -Dm644 dicts/cracklib-small $pkgdir/usr/share/dict/cracklib-small
+  # 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