From 0c22271a585e48d1e9cea35f3b0a962dd15b72b0 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Sun, 16 Feb 2014 17:43:13 -0600
Subject: cracklib: 2.9.0 update binary path to /usr/bin refs #961

---
 abs/core/cracklib/PKGBUILD | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/abs/core/cracklib/PKGBUILD b/abs/core/cracklib/PKGBUILD
index d25d26a..a93db6d 100644
--- a/abs/core/cracklib/PKGBUILD
+++ b/abs/core/cracklib/PKGBUILD
@@ -1,22 +1,20 @@
-# $Id: PKGBUILD 142311 2011-11-08 10:56:31Z tpowa $
+# $Id: PKGBUILD 197804 2013-10-30 11:02:40Z allan $
 # Maintainer: Tobias Powalowski <tpowa@archlinux.org>
 # Contributor: Federico Quagliata (quaqo) <quaqo@despammed.com>
 
 pkgname=cracklib
-pkgver=2.8.18
+pkgver=2.9.0
 pkgrel=2
 pkgdesc="Password Checking Library"
 arch=('i686' 'x86_64')
 license=('GPL')
 url="http://sourceforge.net/projects/cracklib"
 depends=('glibc' 'zlib')
-options=('!libtool')
 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('79053ad8bc714a44cd660cb12116211b')
 
 build() {
   cd $srcdir/$pkgname-$pkgver
-  ./configure --prefix=/usr --without-python
+  ./configure --prefix=/usr --sbindir=/usr/bin --without-python
   make 
 }
 
@@ -28,7 +26,10 @@ check() {
 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
 }
+md5sums=('e0f94ac2138fd33c7e77b19c1e9a9390')
-- 
cgit v0.12

