SHA256
1
0
forked from pool/pam_mount
OBS User unknown 2008-10-14 17:10:33 +00:00 committed by Git OBS Bridge
parent 2f94a12c8a
commit 3f64266320
3 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- src/rdconf2.c
+++ src/rdconf2.c 2008/10/14 10:35:21
@@ -102,7 +102,7 @@
return false;
while ((e = HXbtraverse(t)) != NULL)
- if (!kvplist_contains(options, e->key)) {
+ if (kvplist_contains(options, e->key)) {
l0g("option \"%s\" denied\n",
static_cast(const char *, e->key));
HXbtrav_free(t);

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 14 17:43:19 CEST 2008 - mc@suse.de
- fix checking deny options
-------------------------------------------------------------------
Mon Oct 13 16:21:01 CEST 2008 - mc@suse.de

View File

@ -23,7 +23,7 @@ BuildRequires: libHX-devel libxml2-devel lzma openssl-devel pam-devel perl-XML-
BuildRequires: linux-kernel-headers
Summary: A PAM Module that can Mount Volumes for a User Session
Version: 0.47
Release: 9
Release: 10
# psmisc: /bin/fuser
Recommends: cifs-mount psmisc
Recommends: cryptsetup
@ -35,6 +35,7 @@ Source: %{name}-%{version}.tar.lzma
Patch1: pam_mount-0.45-umount-home-dir.dif
Patch2: pam_mount-0.47-fix-decrypt-key.dif
Patch3: pam_mount-0.47-fix-replace-options.dif
Patch4: pam_mount-0.47-fix-deny_ok.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://pam-mount.sourceforge.net/
PreReq: coreutils, perl-XML-Writer
@ -73,6 +74,7 @@ include it and send me patches.
%patch1
%patch2
%patch3
%patch4
%build
%{suse_update_config -f}
@ -132,6 +134,8 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_mandir}/man8/umount.crypt.8.gz
%changelog
* Tue Oct 14 2008 mc@suse.de
- fix checking deny options
* Mon Oct 13 2008 mc@suse.de
- replace also options which are specified in a volume
(bnc#433845)