forked from pool/pam_mount
This commit is contained in:
parent
2f94a12c8a
commit
3f64266320
11
pam_mount-0.47-fix-deny_ok.dif
Normal file
11
pam_mount-0.47-fix-deny_ok.dif
Normal 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);
|
@ -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
|
Mon Oct 13 16:21:01 CEST 2008 - mc@suse.de
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ BuildRequires: libHX-devel libxml2-devel lzma openssl-devel pam-devel perl-XML-
|
|||||||
BuildRequires: linux-kernel-headers
|
BuildRequires: linux-kernel-headers
|
||||||
Summary: A PAM Module that can Mount Volumes for a User Session
|
Summary: A PAM Module that can Mount Volumes for a User Session
|
||||||
Version: 0.47
|
Version: 0.47
|
||||||
Release: 9
|
Release: 10
|
||||||
# psmisc: /bin/fuser
|
# psmisc: /bin/fuser
|
||||||
Recommends: cifs-mount psmisc
|
Recommends: cifs-mount psmisc
|
||||||
Recommends: cryptsetup
|
Recommends: cryptsetup
|
||||||
@ -35,6 +35,7 @@ Source: %{name}-%{version}.tar.lzma
|
|||||||
Patch1: pam_mount-0.45-umount-home-dir.dif
|
Patch1: pam_mount-0.45-umount-home-dir.dif
|
||||||
Patch2: pam_mount-0.47-fix-decrypt-key.dif
|
Patch2: pam_mount-0.47-fix-decrypt-key.dif
|
||||||
Patch3: pam_mount-0.47-fix-replace-options.dif
|
Patch3: pam_mount-0.47-fix-replace-options.dif
|
||||||
|
Patch4: pam_mount-0.47-fix-deny_ok.dif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Url: http://pam-mount.sourceforge.net/
|
Url: http://pam-mount.sourceforge.net/
|
||||||
PreReq: coreutils, perl-XML-Writer
|
PreReq: coreutils, perl-XML-Writer
|
||||||
@ -73,6 +74,7 @@ include it and send me patches.
|
|||||||
%patch1
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
%patch3
|
%patch3
|
||||||
|
%patch4
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{suse_update_config -f}
|
%{suse_update_config -f}
|
||||||
@ -132,6 +134,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc %{_mandir}/man8/umount.crypt.8.gz
|
%doc %{_mandir}/man8/umount.crypt.8.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 14 2008 mc@suse.de
|
||||||
|
- fix checking deny options
|
||||||
* Mon Oct 13 2008 mc@suse.de
|
* Mon Oct 13 2008 mc@suse.de
|
||||||
- replace also options which are specified in a volume
|
- replace also options which are specified in a volume
|
||||||
(bnc#433845)
|
(bnc#433845)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user