Mailinglist Archive: opensuse-commit (2125 mails)

< Previous Next >
commit pam_mount
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Wed, 09 Apr 2008 00:41:15 +0200
  • Message-id: <20080408224115.571BC678182@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package pam_mount
checked in at Wed Apr 9 00:41:15 CEST 2008.

--------
--- pam_mount/pam_mount.changes 2008-04-03 12:08:04.000000000 +0200
+++ pam_mount/pam_mount.changes 2008-04-07 12:48:26.073089000 +0200
@@ -1,0 +2,11 @@
+Mon Apr 7 11:41:25 CEST 2008 - mc@xxxxxxx
+
+- update to version 0.35
+ - mount.crypt: fix loop device detection
+ - mount.crypt: wait for dm devices to show up
+ - fixed: mount flag and value were one argument
+ - pmvarrun: support unprivileged mode
+ - Support for SSH keyboard-interactive authenticated volumes
+ - documentation updates
+
+-------------------------------------------------------------------

Old:
----
pam_mount-0.32-post.dif
pam_mount-0.32.tar.bz2

New:
----
pam_mount-0.35.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pam_mount.spec ++++++
--- /var/tmp/diff_new_pack.y17825/_old 2008-04-09 00:40:32.000000000 +0200
+++ /var/tmp/diff_new_pack.y17825/_new 2008-04-09 00:40:33.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package pam_mount (Version 0.32)
+# spec file for package pam_mount (Version 0.35)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,17 +12,19 @@


Name: pam_mount
-BuildRequires: glib2-devel libHX10-devel libxml2-devel openssl-devel
pam-devel perl-XML-Writer zlib-devel
+BuildRequires: libHX10-devel libxml2-devel openssl-devel pam-devel
perl-XML-Writer pkg-config
+BuildRequires: linux-kernel-headers
Summary: A PAM Module that can Mount Volumes for a User Session
-Version: 0.32
+Version: 0.35
Release: 1
-Requires: lsof util-linux
+# psmisc: /bin/fuser
+Recommends: cifs-mount psmisc
Recommends: cryptsetup
+Requires: lsof util-linux
License: LGPL v2.1 or later
Prefix: /usr
Group: System/Libraries
Source: %{name}-%{version}.tar.bz2
-Patch0: pam_mount-0.32-post.dif
Patch1: pam_mount-0.18-umount-home-dir.dif
Patch2: pam_mount-0.18-bump-max-par.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -60,7 +62,6 @@

%prep
%setup -q
-%patch0 -p2
%patch1
%patch2

@@ -102,6 +103,7 @@
%{_prefix}/bin/mkehd
%{_prefix}/bin/autoehd
%{_prefix}/bin/passwdehd
+%{_prefix}/bin/pmt-fd0ssh
/sbin/mount.crypt
/sbin/umount.crypt
%{_sbindir}/pmvarrun
@@ -115,6 +117,14 @@
%doc %{_mandir}/man8/umount.crypt.8.gz

%changelog
+* Mon Apr 07 2008 mc@xxxxxxx
+- update to version 0.35
+ - mount.crypt: fix loop device detection
+ - mount.crypt: wait for dm devices to show up
+ - fixed: mount flag and value were one argument
+ - pmvarrun: support unprivileged mode
+ - Support for SSH keyboard-interactive authenticated volumes
+ - documentation updates
* Wed Apr 02 2008 mc@xxxxxxx
- update to version 0.32
- notify about unknown options in /etc/pam.d/*

++++++ pam_mount-0.18-bump-max-par.diff ++++++
--- /var/tmp/diff_new_pack.y17825/_old 2008-04-09 00:40:33.000000000 +0200
+++ /var/tmp/diff_new_pack.y17825/_new 2008-04-09 00:40:33.000000000 +0200
@@ -1,7 +1,9 @@
---- src/private.h
-+++ src/private.h 2007/10/08 11:36:20
-@@ -3,7 +3,7 @@
-
+Index: src/private.h
+===================================================================
+--- src/private.h.orig
++++ src/private.h
+@@ -4,7 +4,7 @@
+ #include <limits.h>
#include <stdbool.h>

-#define MAX_PAR 127

++++++ pam_mount-0.18-umount-home-dir.dif ++++++
--- /var/tmp/diff_new_pack.y17825/_old 2008-04-09 00:40:33.000000000 +0200
+++ /var/tmp/diff_new_pack.y17825/_new 2008-04-09 00:40:33.000000000 +0200
@@ -2,9 +2,17 @@
===================================================================
--- scripts/umount.crypt.orig
+++ scripts/umount.crypt
-@@ -54,9 +54,20 @@ if [ -z "$DMDEVICE" ]; then
- exit 1;
- fi;
+@@ -58,6 +58,7 @@ fi;
+ # ask cryptsetup about the underlying device
+ #
+ REALDEVICE=`cryptsetup status "$DMDEVICE" | sed -n '/device/s/[ ]*device:[
]*//p'`;
++IMGDEVICE=`"$LOSETUP" -a | grep "$REALDEVICE" | awk -F\( '{ print $2 }' | sed
's/)//'`
+
+ for ((x = 5; x >= 0; --x)); do
+ fuser -m "$1" || break;
+@@ -65,6 +66,15 @@ for ((x = 5; x >= 0; --x)); do
+ sleep 1;
+ done;

+# kill remaining user processes if we're unmounting a user's home dir
+USER=`stat --format=%U $1 2>/dev/null` && getent passwd "$USER" | grep -e
":$1:" &> /dev/null
@@ -15,15 +23,10 @@
+ sleep 1
+fi
+
-+
- # ask cryptsetup about the underlying device
- #
- REALDEVICE=`cryptsetup status "$DMDEVICE" | sed -n '/device/s/[ ]*device:[
]*//p'`;
-+IMGDEVICE=`"$LOSETUP" -a | grep "$REALDEVICE" | awk -F\( '{ print $2 }' | sed
's/)//'`
-
- for ((x = 5; x >= 0; --x)); do
- fuser -m "$1" || break;
-@@ -90,3 +101,12 @@ if echo "$REALDEVICE" | grep ^/dev/loop
+ umount "$1";
+ if [ $? -ne 0 ]; then
+ echo "${0##*/}: error unmounting $1" >&2
+@@ -85,3 +95,12 @@ if echo "$REALDEVICE" | grep ^/dev/loop
exit 1
fi
fi

++++++ pam_mount-0.32.tar.bz2 -> pam_mount-0.35.tar.bz2 ++++++
++++ 2068 lines of diff (skipped)


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >