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

Tobias Powalowski tpowa at archlinux.org
Tue Apr 28 14:04:34 UTC 2015


    Date: Tuesday, April 28, 2015 @ 16:04:34
  Author: tpowa
Revision: 238211

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

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

-------------------------+
 testing-i686/PKGBUILD   |   35 +++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

Copied: cracklib/repos/testing-i686/PKGBUILD (from rev 238210, cracklib/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-04-28 14:04:34 UTC (rev 238211)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Federico Quagliata (quaqo) <quaqo at despammed.com>
+
+pkgname=cracklib
+pkgver=2.9.4
+pkgrel=1
+pkgdesc="Password Checking Library"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://sourceforge.net/projects/cracklib"
+depends=('glibc' 'zlib')
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('b31f7e3618cda7a2ac38588067275013')
+
+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
+}

Copied: cracklib/repos/testing-x86_64/PKGBUILD (from rev 238210, cracklib/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-04-28 14:04:34 UTC (rev 238211)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Federico Quagliata (quaqo) <quaqo at despammed.com>
+
+pkgname=cracklib
+pkgver=2.9.4
+pkgrel=1
+pkgdesc="Password Checking Library"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://sourceforge.net/projects/cracklib"
+depends=('glibc' 'zlib')
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('b31f7e3618cda7a2ac38588067275013')
+
+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