rpms/autofs/devel autofs-4.1.4-discard-bg-fg-options.patch, NONE, 1.1 autofs.spec, 1.78, 1.79

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue May 16 09:47:33 UTC 2006


Author: ikent

Update of /cvs/dist/rpms/autofs/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv24978

Modified Files:
	autofs.spec 
Added Files:
	autofs-4.1.4-discard-bg-fg-options.patch 
Log Message:
* Tue May 16 2006 Ian Kent <ikent at redhat.com> - 1:4.1.4-23
- add patch to ignore the "bg" and "fg" mount options as they
  aren't relevant for autofs mounts (bz #184386).


autofs-4.1.4-discard-bg-fg-options.patch:
 parse_sun.c |    3 +++
 1 files changed, 3 insertions(+)

--- NEW FILE autofs-4.1.4-discard-bg-fg-options.patch ---
diff --git a/modules/parse_sun.c b/modules/parse_sun.c
index 43d6717..da5f63f 100644
--- a/modules/parse_sun.c
+++ b/modules/parse_sun.c
@@ -589,6 +589,9 @@ static int sun_mount(struct autofs_point
 				nonstrict = 0;
 			} else if (strncmp("nonstrict", cp, 9) == 0) {
 				nonstrict = 1;
+			} else if (strncmp("bg", cp, 2) == 0 ||
+				   strncmp("fg", cp, 2) == 0) {
+				continue;
 			} else {
 				memcpy(np, cp, comma - cp + 1);
 				np += comma - cp + 1;


Index: autofs.spec
===================================================================
RCS file: /cvs/dist/rpms/autofs/devel/autofs.spec,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -r1.78 -r1.79
--- autofs.spec	2 May 2006 08:58:16 -0000	1.78
+++ autofs.spec	16 May 2006 09:47:30 -0000	1.79
@@ -4,7 +4,7 @@
 Summary: A tool for automatically mounting and unmounting filesystems.
 Name: autofs
 %define version 4.1.4
-%define release 20
+%define release 23
 Version: %{version}
 Release: %{release}
 Epoch: 1
@@ -38,9 +38,10 @@
 Patch25: autofs-4.1.3-ldap-auto-master.patch
 Patch26: autofs-4.1.4-auto_net-escape-hash.patch
 Patch27: autofs-4.1.4-auto.smb-cifs.patch
+Patch28: autofs-4.1.4-discard-bg-fg-options.patch
 
 Buildroot: /var/tmp/autofs-tmp
-BuildPrereq: autoconf, hesiod-devel, openldap-devel, perl
+BuildPrereq: autoconf, hesiod-devel, openldap-devel
 Prereq: chkconfig
 Requires: /bin/bash mktemp sed gawk textutils sh-utils grep /bin/ps
 Obsoletes: autofs-ldap
@@ -104,6 +105,7 @@
 %patch25 -p1
 %patch26 -p1
 %patch27 -p1
+%patch28 -p1
 
 %build
 #CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
@@ -157,6 +159,10 @@
 %{_libdir}/autofs/*
 
 %changelog
+* Tue May 16 2006 Ian Kent <ikent at redhat.com> - 1:4.1.4-23
+- add patch to ignore the "bg" and "fg" mount options as they
+  aren't relevant for autofs mounts (bz #184386).
+
 * Tue May 2 2006 Ian Kent <ikent at redhat.com> - 1:4.1.4-20
 - add patch to use "cifs" instead of smbfs and escape speces
   in share names (bz #163999, #187732).




More information about the fedora-cvs-commits mailing list