rpms/pam_mount/devel pam_mount-git-convert_pam_mount_conf-lsof_callback.patch, NONE, 1.1 pam_mount.spec, 1.43, 1.44

Till Maas till at fedoraproject.org
Sat Sep 13 11:16:18 UTC 2008


Author: till

Update of /cvs/pkgs/rpms/pam_mount/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21194

Modified Files:
	pam_mount.spec 
Added Files:
	pam_mount-git-convert_pam_mount_conf-lsof_callback.patch 
Log Message:
* Sat Sep 13 2008 Till Maas <opensource at till.name> - 0.48-2
- Update libHX dependencies
- remove lsof dependency
- Add patch to fix convert_pam_mount_conf.pl by Stephen P. Schaefer
  (Red Hat Bug 462155)


pam_mount-git-convert_pam_mount_conf-lsof_callback.patch:

--- NEW FILE pam_mount-git-convert_pam_mount_conf-lsof_callback.patch ---
Patch by Stephen P. Schaefer, reported in Red Hat Bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=462155

diff --git a/scripts/convert_pam_mount_conf.pl b/scripts/convert_pam_mount_conf.pl
index ca0f360..de5ebdc 100755
--- a/scripts/convert_pam_mount_conf.pl
+++ b/scripts/convert_pam_mount_conf.pl
@@ -81,6 +81,11 @@ sub callback_fsckloop
 	$writer->emptyTag("fsckloop", "device" => $fields[1]);
 }
 
+sub callback_lsof
+{
+       print STDERR "lsof no longer supported";
+}
+
 sub callback_luserconf
 {
 	my @fields = @_;


Index: pam_mount.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pam_mount/devel/pam_mount.spec,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- pam_mount.spec	11 Sep 2008 16:27:14 -0000	1.43
+++ pam_mount.spec	13 Sep 2008 11:15:47 -0000	1.44
@@ -1,6 +1,6 @@
 Name:           pam_mount
 Version:        0.48
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A PAM module that can mount volumes for a user session
 
 Group:          System Environment/Base
@@ -8,15 +8,16 @@
 License:        LGPLv2+ and GPLv2+
 URL:            http://pam-mount.sourceforge.net/
 Source0:        http://downloads.sourceforge.net/pam-mount/%{name}-%{version}.tar.lzma
+Patch0:         pam_mount-git-convert_pam_mount_conf-lsof_callback.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  glib2-devel, pam-devel, openssl-devel
 BuildRequires:  libxml2-devel
-BuildRequires:  libHX-devel >= 1.23
+BuildRequires:  libHX-devel >= 1.25
 BuildRequires:  lzma
-Requires:       pam, lsof
+Requires:       pam
 Requires:       psmisc
-Requires:       libHX >= 1.23
+Requires:       libHX >= 1.25
 Requires(post):  perl(XML::Writer)
 
 
@@ -42,6 +43,7 @@
 %prep
 %setup -q -T -c
 lzma -c -d %SOURCE0 | tar -xvvf - -C ..
+%patch0 -p1 -b .convert_pam_mount_conf-lsof_callback
 
 
 %build
@@ -93,6 +95,12 @@
 
 
 %changelog
+* Sat Sep 13 2008 Till Maas <opensource at till.name> - 0.48-2
+- Update libHX dependencies
+- remove lsof dependency
+- Add patch to fix convert_pam_mount_conf.pl by Stephen P. Schaefer
+  (Red Hat Bug 462155)
+
 * Thu Sep 11 2008 Till Maas <opensource at till.name> - 0.48-1
 - Update to new version
 




More information about the fedora-extras-commits mailing list