SHA256
1
0
forked from pool/pam_mount
OBS User unknown 2009-05-15 23:08:43 +00:00 committed by Git OBS Bridge
parent c9c211a608
commit d2e04580e6
5 changed files with 66 additions and 39 deletions

View File

@ -1,3 +0,0 @@
addFilter("percent-in-%post")
addFilter("files-duplicate.*crypt.*8.gz")

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fce9ae6889f8cce6369ee5694e07694f46c577f0a77d8065fedb3d9d359defd3
size 323607

3
pam_mount-1.25.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5512a8792bd7786ea6d25da4c2b74b3911da94a991d84022bdb985bb20bf4db1
size 328708

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Mon May 11 12:01:56 CEST 2009 - mc@suse.de
- update to version 1.25
- fix splitting of "NTDOMAIN\username" strings
- config: broaden variable expansion to resolve a case where it
did not do expected expansion with AUFS
- mount.crypt: write options, not "defaults" to /etc/mtab
- mount.crypt: keysize truncation must happen later
- mount.crypt: pass -o ro/rw down to mount program
- mount.crypt: support for -o remount
- mount.crypt: support overriding keysize
- mount.crypt: must pass -s option to cryptsetup
- mount.crypt: add "Deprecated Mount options" section to manpage
- pam_mount: fix a double free that can happen when stale entries are in cmtab
- pam_mount: first-time overriding of mntoptions failed to work
- pmvarrun: do not segfault when no username is specified (corner-case)
- pmvarrun: recognize internal _PMT_DEBUG_LEVEL env var
- mtab: automatically ignore and remove stale entries from cmtab
- pam_mount: fix unexpected termination after pam_mount ran
- doc: list support contacts in man page
-------------------------------------------------------------------
Wed Feb 18 12:46:10 CET 2009 - mc@suse.de

View File

@ -1,5 +1,5 @@
#
# spec file for package pam_mount (Version 1.18)
# spec file for package pam_mount (Version 1.25)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -19,15 +19,17 @@
Name: pam_mount
BuildRequires: libHX-devel libxml2-devel openssl-devel pam-devel pkg-config
BuildRequires: perl-XML-Parser perl-XML-Writer
BuildRequires: linux-kernel-headers
BuildRequires: libtool pam-devel >= 0.99 pkg-config >= 0.19
BuildRequires: libxml2-devel >= 2.6 openssl-devel >= 0.9.8
BuildRequires: libHX-devel >= 2.5
BuildRequires: linux-kernel-headers >= 2.6
Summary: A PAM Module that can Mount Volumes for a User Session
Version: 1.18
Version: 1.25
Release: 1
# psmisc: /bin/fuser
Recommends: cifs-mount psmisc
Recommends: cryptsetup
Recommends: cifs-mount xfsprogs
Requires: util-linux
License: LGPL v2.1 or later
Prefix: /usr
@ -37,38 +39,21 @@ Source1: convert_pam_mount_conf.pl
Source2: convert_keyhash.pl
Source3: mount.crypt
Source4: mount.encfs13
Source5: pam_mount-1.18-rpmlintrc
Patch1: pam_mount-0.47-enable-logout-kill.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://pam-mount.sourceforge.net/
PreReq: coreutils, perl-XML-Writer, perl-XML-Parser
%description
This module is aimed at environments with SMB (Samba or Windows NT) or
NCP (Netware or Mars-NWE) servers that Unix users wish to access
transparently. It facilitates access to private volumes of these types.
This module also supports mounting home directories using loopback
encrypted filesystems. The module was originally written for use on the
Linux operating system but has since been modified to work on several
flavors of BSD.
This module is aimed at environments with central file servers that a
user wishes to mount on login and unmount on logout, such as
(semi-)diskless stations where many users can logon.
o Every user can access their own volumes
o The user only needs to type the password once (at login)
o The mounting process is transparent to the user
o There is no need to keep the login passwords in any additional files
o The volumes are unmounted on logout, so it saves system resources,
avoiding the need to list every possibly useful remote volume in
/etc/fstab or in an automount/supermount config file. This is also
necessary for securing encrypted filesystems.
Pam_mount "understands" SMB, NCP, and any type of filesystem that can
be mounted using the standard mount command. If someone has a
particular need for a different filesystem, feel free to ask me to
include it and send me patches.
The module also supports mounting local filesystems of any kind the
normal mount utility supports, with extra code to make sure certain
volumes are set up properly because often they need more than just a
mount call, such as encrypted volumes. This includes SMB/CIFS, FUSE,
dm-crypt and LUKS.
@ -79,8 +64,8 @@ include it and send me patches.
%build
%{suse_update_config -f}
autoreconf --verbose --force --install
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure --disable-static --with-pic --with-slibdir=/%{_lib}
CFLAGS="$RPM_OPT_FLAGS "
%configure --disable-static --with-slibdir=/%{_lib} %{?_with_selinux:--with-selinux}
%{__make} %{?jobs:-j%jobs}
%install
@ -145,8 +130,31 @@ rm -rf $RPM_BUILD_ROOT
%doc %{_mandir}/man1/pmt-fd0ssh.1.gz
%doc %{_mandir}/man5/pam_mount.conf.5.gz
%doc %{_mandir}/man8/*.8.gz
%if 0%{?_with_selinux:1}
%policy %_sysconfdir/selinux/strict/src/policy/macros/%{name}_macros.te
%policy %_sysconfdir/selinux/strict/src/policy/file_contexts/misc/%name.fc
%endif
%changelog
* Mon May 11 2009 mc@suse.de
- update to version 1.25
- fix splitting of "NTDOMAIN\username" strings
- config: broaden variable expansion to resolve a case where it
did not do expected expansion with AUFS
- mount.crypt: write options, not "defaults" to /etc/mtab
- mount.crypt: keysize truncation must happen later
- mount.crypt: pass -o ro/rw down to mount program
- mount.crypt: support for -o remount
- mount.crypt: support overriding keysize
- mount.crypt: must pass -s option to cryptsetup
- mount.crypt: add "Deprecated Mount options" section to manpage
- pam_mount: fix a double free that can happen when stale entries are in cmtab
- pam_mount: first-time overriding of mntoptions failed to work
- pmvarrun: do not segfault when no username is specified (corner-case)
- pmvarrun: recognize internal _PMT_DEBUG_LEVEL env var
- mtab: automatically ignore and remove stale entries from cmtab
- pam_mount: fix unexpected termination after pam_mount ran
- doc: list support contacts in man page
* Wed Feb 18 2009 mc@suse.de
- update to version 1.18
* lot of fixes and new Features.
@ -317,7 +325,7 @@ rm -rf $RPM_BUILD_ROOT
- Update to version 0.9.25
* Mon Apr 11 2005 kukuk@suse.de
- Update to version 0.9.22 [Bug #65110]
* Thu Jan 15 2004 kukuk@suse.de
* Fri Jan 16 2004 kukuk@suse.de
- Build as user
- Add pam-devel to neededforbuild
* Mon Jan 12 2004 kukuk@suse.de