summaryrefslogtreecommitdiff
path: root/community/pam_mysql
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/pam_mysql
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/pam_mysql')
-rw-r--r--community/pam_mysql/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/pam_mysql/PKGBUILD b/community/pam_mysql/PKGBUILD
new file mode 100644
index 000000000..077df93d3
--- /dev/null
+++ b/community/pam_mysql/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 87013 2013-03-25 19:16:54Z bpiotrowski $
+# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: Arjan Timmerman<arjan@archlinux.org>
+# Contributor: Manolis Tzanidakis
+pkgname=pam_mysql
+pkgver=0.7RC1
+pkgrel=7
+pkgdesc="A PAM module to authenticate users against mysql."
+arch=(i686 x86_64)
+license=('GPL')
+url="http://pam-mysql.sourceforge.net"
+depends=('pam' 'mariadb' 'openssl')
+source=(http://sourceforge.net/projects/pam-mysql/files/pam-mysql/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+md5sums=('6177183d7e98dc12f2e444c9fbd4f13c')
+options=(!libtool)
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ sed -i 's/pam_mysql_la_LIBADD = /pam_mysql_la_LIBADD = -lpam/g' Makefile.in
+ ./configure --prefix=/usr --with-pam-mods-dir=/usr/lib/security
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+
+ make DESTDIR=$pkgdir install
+}