summaryrefslogtreecommitdiff
path: root/community/pam_mount
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-20 00:01:55 +0000
committerroot <root@rshg054.dnsready.net>2012-07-20 00:01:55 +0000
commit226ac092dca4754b7b5a421e226c5971e3b607b2 (patch)
tree796c17bdf61c132bbe79e010febb2bca54e85c0e /community/pam_mount
parent6b87f8519dc037f4fd4c19d8f36b7d7565559bd3 (diff)
Fri Jul 20 00:01:55 UTC 2012
Diffstat (limited to 'community/pam_mount')
-rw-r--r--community/pam_mount/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/community/pam_mount/PKGBUILD b/community/pam_mount/PKGBUILD
new file mode 100644
index 000000000..9b226e9f2
--- /dev/null
+++ b/community/pam_mount/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributors: Sirius Bakke <sirius\at/nonline.org>
+
+pkgname=pam_mount
+pkgver=2.13
+pkgrel=3
+pkgdesc="A PAM module that can mount volumes for a user session"
+arch=('i686' 'x86_64')
+url="http://pam-mount.sourceforge.net/"
+license=('GPL')
+depends=('util-linux' 'libhx>=3.12.1' 'libxml2>=2.6' 'openssl>0.9.7' 'cryptsetup>=1.1.2')
+optdepends=('hxtools: If you have something like <logout wait="1000" hup="0" term="1" kill="1" /> in your config')
+backup=('etc/security/pam_mount.conf.xml')
+options=(!emptydirs !libtool)
+source=("http://downloads.sourceforge.net/project/pam-mount/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz")
+md5sums=('9f75fc8e84ea9cde619cdd6a62c7de33')
+
+build() {
+ cd -- "$srcdir/$pkgname-$pkgver"
+ ./configure \
+ --prefix=/usr \
+ --with-ssbindir=/usr/sbin \
+ --with-slibdir=/usr/lib \
+ --sysconfdir=/etc \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ cd -- "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}