diff --git a/mount.crypt b/mount.crypt index 0dcb9ca..f59e971 100644 --- a/mount.crypt +++ b/mount.crypt @@ -1,6 +1,6 @@ -#!/bin/sh +#!/bin/bash -CMD=`basename $0` +CMD="${0##*/}" if [[ "$CMD" =~ "umount" ]]; then if [ ! -x ../usr/sbin/umount.crypt ]; then diff --git a/mount.encfs13 b/mount.encfs13 index 9e38c0d..740e44b 100644 --- a/mount.encfs13 +++ b/mount.encfs13 @@ -1,6 +1,6 @@ -#!/bin/sh +#!/bin/bash -CMD=`basename $0` +CMD="${0##*/}" if [[ "$CMD" =~ "umount" ]]; then if [ ! -x ../usr/sbin/umount.encfs13 ]; then diff --git a/pam_mount-1.33.tar.bz2 b/pam_mount-1.33.tar.bz2 deleted file mode 100644 index 3ecfb25..0000000 --- a/pam_mount-1.33.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fd408ff25c861940f8b3a9bfa9cbdae3ce4419320855fc83ddad73f74372b288 -size 329619 diff --git a/pam_mount-1.34.tar.bz2 b/pam_mount-1.34.tar.bz2 new file mode 100644 index 0000000..b21e440 --- /dev/null +++ b/pam_mount-1.34.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d01c12084f1ee1736966b274b66516df77ad5ea4747dfbef26bb938bdfbf1e4d +size 329753 diff --git a/pam_mount.changes b/pam_mount.changes index 6be2c23..5156e01 100644 --- a/pam_mount.changes +++ b/pam_mount.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Apr 7 23:43:17 UTC 2010 - jengelh@medozas.de + +- update to version 1.34 + * decrease login refcount on logout when no volumes are defined +- tag provided mount.{crypt,encfs13} wrappers as #!/bin/bash (not + /bin/sh) because they use [[/]] and =~; use ${0##*/} over + extra calling basename. + ------------------------------------------------------------------- Sun Jan 10 01:52:56 CET 2010 - jengelh@medozas.de diff --git a/pam_mount.spec b/pam_mount.spec index 58ff4ba..54cc324 100644 --- a/pam_mount.spec +++ b/pam_mount.spec @@ -1,5 +1,5 @@ # -# spec file for package pam_mount (Version 1.33) +# spec file for package pam_mount (Version 1.34) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -20,16 +20,15 @@ Name: pam_mount BuildRequires: perl-XML-Parser perl-XML-Writer -BuildRequires: libtool pam-devel >= 0.99 pkg-config >= 0.23 +BuildRequires: libtool pam-devel >= 0.99 pkg-config >= 0.19 BuildRequires: libxml2-devel >= 2.6 openssl-devel >= 0.9.7 -BuildRequires: libHX-devel >= 3.0.1 +BuildRequires: libHX-devel >= 3.4 BuildRequires: linux-kernel-headers >= 2.6 Summary: A PAM Module that can Mount Volumes for a User Session -Version: 1.33 -Release: 1 -# psmisc: /bin/fuser +Version: 1.34 +Release: 0 Recommends: cryptsetup -Recommends: cifs-mount xfsprogs +Recommends: cifs-mount Requires: util-linux License: LGPLv2.1+ Prefix: /usr