rpms/pam_mount/F-8 .cvsignore, 1.10, 1.11 pam_mount.spec, 1.27, 1.28 sources, 1.11, 1.12

Till Maas till at fedoraproject.org
Fri Sep 5 20:46:43 UTC 2008


Author: till

Update of /cvs/pkgs/rpms/pam_mount/F-8
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv5281

Modified Files:
	.cvsignore pam_mount.spec sources 
Log Message:
* Fri Sep 05 2008 Till Maas <opensource at till.name> - 0.47-1
- Update to new version that includes a security fix:
  https://sourceforge.net/project/shownotes.php?release_id=624240
- Add lzma BR and unpack source manually
- Update libHX requirements
- add new binary



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pam_mount/F-8/.cvsignore,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- .cvsignore	10 Oct 2007 15:26:42 -0000	1.10
+++ .cvsignore	5 Sep 2008 20:46:12 -0000	1.11
@@ -1 +1 @@
-pam_mount-0.29.tar.bz2
+pam_mount-0.47.tar.lzma


Index: pam_mount.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pam_mount/F-8/pam_mount.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- pam_mount.spec	10 Oct 2007 15:35:59 -0000	1.27
+++ pam_mount.spec	5 Sep 2008 20:46:13 -0000	1.28
@@ -1,5 +1,5 @@
 Name:           pam_mount
-Version:        0.29
+Version:        0.47
 Release:        1%{?dist}
 Summary:        A PAM module that can mount volumes for a user session
 
@@ -7,88 +7,75 @@
 # The library and binary are LGPLv2+, the scripts are GPLv2+
 License:        LGPLv2+ and GPLv2+
 URL:            http://pam-mount.sourceforge.net/
-Source0:        http://downloads.sourceforge.net/pam-mount/%{name}-%{version}.tar.bz2
-
-
+Source0:        http://downloads.sourceforge.net/pam-mount/%{name}-%{version}.tar.lzma
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  glib2-devel, pam-devel, openssl-devel
 BuildRequires:  libxml2-devel
-BuildRequires:  libHX-devel
+BuildRequires:  libHX-devel >= 1.23
+BuildRequires:  lzma
 Requires:       pam, lsof
 Requires:       psmisc
-Requires(pre):  perl(XML::Writer)
+Requires:       libHX >= 1.23
+Requires(post):  perl(XML::Writer)
 
 
 %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 
-well. The module also supports mounting home directories using 
-loopback encrypted filesystems. The module was originally written for 
-use on the GNU/Linux operating system but has since been modified to 
-work on several flavors of BSD.
-
- o Every user can access his own volumes
-
- o The user needs to type the password just once (at login)
-
- o The mounting process is transparent to the users
-
- o There is no need to keep the login passwords in any additional file
-
- o The volumes are unmounted upon logout, so it saves system resources, 
- avoiding the need of listing every 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.
-
-If you intend to use pam_mount to protect volumes on your computer 
-using an encrypted filesystem system, please know that there are many 
-other issues you need to consider in order to protect your data. 
-For example, you probably want to disable or encrypt your swap 
-partition (the cryptoswap can help you do this). Don't assume a 
-system is secure without carefully considering potential threats.
+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.
+
+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, NCP,
+davfs2, FUSE, losetup crypto, dm-crypt/cryptsetup and truecrypt.
+
+If you intend to use pam_mount to protect volumes on your computer
+using an encrypted filesystem system, please know that there are many
+other issues you need to consider in order to protect your data.  For
+example, you probably want to disable or encrypt your swap partition.
+Don't assume a system is secure without carefully considering
+potential threats.
+
 
 %prep
-%setup -q
+%setup -q -T -c
+lzma -c -d %SOURCE0 | tar -xvvf - -C ..
 
 
 %build
-%configure --with-slibdir=/%{_lib} --with-selinux
-make %{?_smp_mflags}
+%configure --with-slibdir=/%{_lib}
+make %{?_smp_mflags} V=verbose
 
 
 %install
-rm -rf %{buildroot}
-mkdir %{buildroot}
-make install DESTDIR=%{buildroot}
-
-install -p scripts/convert_pam_mount_conf.pl %{buildroot}/%{_bindir}
-rm -f %{buildroot}/%{_lib}/security/*.{a,la}
+rm -rf $RPM_BUILD_ROOT
+
+make install DESTDIR=$RPM_BUILD_ROOT V=verbose
+
+install -p scripts/convert_pam_mount_conf.pl $RPM_BUILD_ROOT/%{_bindir}
+rm -f $RPM_BUILD_ROOT/%{_lib}/security/*.{a,la}
 
 
-%pre
-if [ -e %{_sysconfdir}/security/pam_mount.conf \
-     -a ! -e %{_sysconfdir}/security/pam_mount.conf.xml ]; then
-        convert_pam_mount_conf.pl <%{_sysconfdir}/security/pam_mount.conf \
-                     >%{_sysconfdir}/security/pam_mount.conf.xml;
-fi
+%post
+if [ -e %{_sysconfdir}/security/pam_mount.conf ]; then
+    convert_pam_mount_conf.pl <%{_sysconfdir}/security/pam_mount.conf \
+                              >%{_sysconfdir}/security/pam_mount.conf.xml;
+fi;
 
 
 %clean
-rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
 
 
 %files
 %defattr(-,root,root,-)
 %doc doc/bugs.txt doc/changelog.txt doc/faq.txt doc/options.txt doc/pam_mount.txt doc/todo.txt
+%doc config/pam_mount.conf.xml
 %doc LICENSE.GPL2 LICENSE.GPL3
 %doc LICENSE.LGPL2 LICENSE.LGPL3
+%config(noreplace) %{_sysconfdir}/security/pam_mount.conf.xml
 /%{_lib}/security/pam_mount.so
 %{_sbindir}/pmvarrun
 %{_bindir}/autoehd
@@ -96,15 +83,58 @@
 %{_bindir}/mkehd
 %{_bindir}/mount_ehd
 %{_bindir}/passwdehd
+%{_bindir}/pmt-fd0ssh
+%{_bindir}/pmt-ofl
 /sbin/mount.crypt
+/sbin/mount.encfs13
 /sbin/umount.crypt
 %{_mandir}/man?/*
-%config(noreplace) %{_sysconfdir}/security/pam_mount.conf.xml
-%policy %{_sysconfdir}/selinux/strict/src/policy/macros/pam_mount_macros.te
-%policy %{_sysconfdir}/selinux/strict/src/policy/file_contexts/misc/pam_mount.fc
+%{_localstatedir}/run/pam_mount
 
 
 %changelog
+* Fri Sep 05 2008 Till Maas <opensource at till.name> - 0.47-1
+- Update to new version that includes a security fix:
+  https://sourceforge.net/project/shownotes.php?release_id=624240
+- Add lzma BR and unpack source manually
+- Update libHX requirements
+- add new binary
+
+* Mon Jun 23 2008 Till Maas <opensource at till.name> - 0.41-2
+- Add patch to fix <or> handling in config file, reference:
+  Red Hat Bugzilla #448485 comment 9
+  http://sourceforge.net/tracker/index.php?func=detail&aid=1974442&group_id=41452&atid=430593
+  comment from 2008-06-19 10:29
+
+* Tue Jun 17 2008 Till Maas <opensource till name> - 0.41-1
+- Update to new version
+
+* Wed Jun 11 2008 Till Maas <opensource till name> - 0.40-1
+- Update to new version
+- set make variable V for full compiler commandline
+
+* Mon May 05 2008 Till Maas <opensource till name> - 0.35-1
+- Update to new version
+- Use $RPM_BUILD_ROOT instead of %%{buildroot}
+- Update description
+- create and own %%{_localstatedir}/run/pam_mount
+
+* Sun Feb 24 2008 Till Maas <opensource till name> - 0.33-1
+- update to new version
+
+* Wed Feb 20 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.32-3
+- Autorebuild for GCC 4.3
+
+* Mon Jan 07 2008 Till Maas <opensource till name> - 0.32-2
+- fix config conversion scriptlet
+
+* Mon Jan 07 2008 Till Maas <opensource till name> - 0.32-1
+- update to new version
+- add default/example config to %%doc
+
+* Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 0.29-2
+ - Rebuild for deps
+
 * Wed Oct 10 2007 Till Maas <opensource till name> - 0.29-1
 - bump to new version
 - remove uneeded patches


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pam_mount/F-8/sources,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- sources	10 Oct 2007 15:26:42 -0000	1.11
+++ sources	5 Sep 2008 20:46:13 -0000	1.12
@@ -1 +1 @@
-70be864effaeec1b57b491e91ddb57b0  pam_mount-0.29.tar.bz2
+5ef5d12af86a3fe61d1bb0d557f034ac  pam_mount-0.47.tar.lzma




More information about the fedora-extras-commits mailing list