OBS User unknown 2007-01-18 09:17:27 +00:00 committed by Git OBS Bridge
parent b4a15067ac
commit a89f94981c
4 changed files with 38 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff -ur ./src/private.h ../pam_mount-new/src/private.h
--- ./src/private.h 2006-08-06 12:52:46.000000000 -0400
+++ ../pam_mount-new/src/private.h 2007-01-17 14:47:38.000000000 -0500
@@ -36,7 +36,7 @@
l0g("pam_mount: %s\n", "I don't like failed system calls -- I quit"); \
exit(EXIT_FAILURE); \
} } while(0)
-#define MAX_PAR 127
+#define MAX_PAR 1024
#define PMPREFIX "pam_mount(" __FILE__ ":" __STRINGIFY(__LINE__) ") "
#ifndef S_IRUGO
# define S_IRUGO (S_IRUSR | S_IRGRP | S_IROTH)

View File

@ -0,0 +1,12 @@
diff -ur ./config/pam_mount.conf ../pam_mount-new/config/pam_mount.conf
--- ./config/pam_mount.conf 2006-08-07 14:19:45.000000000 -0400
+++ ../pam_mount-new/config/pam_mount.conf 2007-01-17 17:03:02.000000000 -0500
@@ -5,7 +5,7 @@
#
# Format: debug [ 1 | 0 ]
# Local user configuration can override this.
-debug 1
+debug 0
# pmvarrun's debug variable is dictated by the 'pmvarrun' setting below.
# to enable pmvarrun debugging, add the -d option to it.

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 18 09:25:19 CET 2007 - mc@suse.de
- disable debug
- increase MAX_PAR to be able to read longer keys
-------------------------------------------------------------------
Fri Jan 12 10:34:36 CET 2007 - mc@suse.de

View File

@ -14,13 +14,15 @@ Name: pam_mount
BuildRequires: glib2-devel openssl-devel pam-devel
Summary: A PAM Module that can Mount Volumes for a User Session.
Version: 0.18
Release: 30
Release: 31
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
Prefix: /usr
Group: System/Libraries
Source: %{name}-%{version}.tar.bz2
Patch0: pam_mount-chownuid-fix.diff
Patch1: pam_mount-0.18-umount-home-dir.dif
Patch2: pam_mount-0.18-bump-max-par.diff
Patch3: pam_mount-0.18-disable-debug.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
URL: http://pam-mount.sourceforge.net/
@ -57,6 +59,8 @@ include it and send me patches.
%setup -q
%patch0
%patch1
%patch2
%patch3
%build
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" ./configure \
@ -96,6 +100,9 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_mandir}/man8/umount.crypt.8.gz
%changelog -n pam_mount
* Thu Jan 18 2007 - mc@suse.de
- disable debug
- increase MAX_PAR to be able to read longer keys
* Fri Jan 12 2007 - mc@suse.de
- add patch to kill all remaining user processes before
unmounting crypted partition