summaryrefslogtreecommitdiff
path: root/community/pam_pwcheck/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/pam_pwcheck/PKGBUILD')
-rw-r--r--community/pam_pwcheck/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/community/pam_pwcheck/PKGBUILD b/community/pam_pwcheck/PKGBUILD
index 84fc7be25..4ae03a936 100644
--- a/community/pam_pwcheck/PKGBUILD
+++ b/community/pam_pwcheck/PKGBUILD
@@ -5,15 +5,18 @@ pkgname=pam_pwcheck
pkgver=3.9
pkgrel=4
pkgdesc="A password strength checking module for PAM-aware password changing programs"
-arch=(i686 x86_64)
+arch=(i686 x86_64 'mips64el')
url="http://www.thkukuk.de/pam/pam_pwcheck/"
depends=('pam')
license=('GPL')
-source=(ftp://ftp.suse.com/pub/people/kukuk/pam/pam_pwcheck/pam_pwcheck-$pkgver.tar.bz2)
-md5sums=('27be63338af88d14610d182b6a161cd1')
+source=(ftp://ftp.suse.com/pub/people/kukuk/pam/pam_pwcheck/pam_pwcheck-$pkgver.tar.bz2
+ pam_pwcheck-3.9-pthread.patch)
+md5sums=('27be63338af88d14610d182b6a161cd1'
+ '0978c56f1321febb5b4fa584f1054773')
build() {
cd $srcdir/$pkgname-$pkgver
+ patch -Np1 -i ${srcdir}/pam_pwcheck-3.9-pthread.patch
./configure --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib
make
make DESTDIR=$pkgdir install