diff --git a/pam_mount-0.18-bump-max-par.diff b/pam_mount-0.18-bump-max-par.diff new file mode 100644 index 0000000..00f9dd6 --- /dev/null +++ b/pam_mount-0.18-bump-max-par.diff @@ -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) diff --git a/pam_mount-0.18-disable-debug.diff b/pam_mount-0.18-disable-debug.diff new file mode 100644 index 0000000..73d3cad --- /dev/null +++ b/pam_mount-0.18-disable-debug.diff @@ -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. + diff --git a/pam_mount.changes b/pam_mount.changes index 4a201df..a59ce33 100644 --- a/pam_mount.changes +++ b/pam_mount.changes @@ -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 diff --git a/pam_mount.spec b/pam_mount.spec index 5c3ebe1..0c24218 100644 --- a/pam_mount.spec +++ b/pam_mount.spec @@ -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