[arch-commits] Commit in cracklib/repos (4 files)

Tobias Powalowski tpowa at nymeria.archlinux.org
Wed May 8 09:29:03 EDT 2013


    Date: Wednesday, May 8, 2013 @ 15:29:03
  Author: tpowa
Revision: 184784

archrelease: copy trunk to testing-i686, testing-x86_64

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

-------------------------+
 testing-i686/PKGBUILD   |   36 ++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

Copied: cracklib/repos/testing-i686/PKGBUILD (from rev 184783, cracklib/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2013-05-08 13:29:03 UTC (rev 184784)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Federico Quagliata (quaqo) <quaqo at despammed.com>
+
+pkgname=cracklib
+pkgver=2.8.22
+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=('463177b5c29c7a598c991e12a4898e06')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  ./configure --prefix=/usr --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
+}

Copied: cracklib/repos/testing-x86_64/PKGBUILD (from rev 184783, cracklib/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2013-05-08 13:29:03 UTC (rev 184784)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Federico Quagliata (quaqo) <quaqo at despammed.com>
+
+pkgname=cracklib
+pkgver=2.8.22
+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=('463177b5c29c7a598c991e12a4898e06')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  ./configure --prefix=/usr --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