rpms/autofs/F-7 autofs-5.0.1-fix-largefile-dumbness.patch, NONE, 1.1 autofs-5.0.1-instance-stale-mark.patch, NONE, 1.1 autofs.spec, 1.212, 1.213

Ian Kent (iankent) fedora-extras-commits at redhat.com
Mon Jul 30 09:30:58 UTC 2007


Author: iankent

Update of /cvs/pkgs/rpms/autofs/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29010

Modified Files:
	autofs.spec 
Added Files:
	autofs-5.0.1-fix-largefile-dumbness.patch 
	autofs-5.0.1-instance-stale-mark.patch 
Log Message:
* Mon Jul 30 2007 Ian Kent <ikent at redhat.com> - 5.0.1-23
- mark map instances stale so they aren't "cleaned" during updates.
- fix large file compile time option.


autofs-5.0.1-fix-largefile-dumbness.patch:

--- NEW FILE autofs-5.0.1-fix-largefile-dumbness.patch ---
--- autofs-5.0.1/Makefile.rules.fix-largefile-dumbness	2007-02-20 13:59:13.000000000 +0900
+++ autofs-5.0.1/Makefile.rules	2007-07-30 17:24:51.000000000 +0800
@@ -46,7 +46,7 @@ CXXFLAGS  = $(CFLAGS)
 LD        = ld
 SOLDFLAGS = -shared
 
-CFLAGS += -D_REENTRANT
+CFLAGS += -D_REENTRANT -D_FILE_OFFSET_BITS=64
 LDFLAGS += -lpthread
 
 ifdef DMALLOCLIB

autofs-5.0.1-instance-stale-mark.patch:

--- NEW FILE autofs-5.0.1-instance-stale-mark.patch ---
--- autofs-5.0.1/daemon/lookup.c.instance-stale-mark	2007-07-30 17:22:07.000000000 +0800
+++ autofs-5.0.1/daemon/lookup.c	2007-07-30 17:22:48.000000000 +0800
@@ -315,6 +315,7 @@ static int read_file_source_instance(str
 		instance->recurse = map->recurse;
 		instance->depth = map->depth;
 	}
+	instance->stale = map->stale;
 
 	return do_read_map(ap, instance, age);
 }
@@ -336,6 +337,7 @@ static int read_source_instance(struct a
 		instance->recurse = map->recurse;
 		instance->depth = map->depth;
 	}
+	instance->stale = map->stale;
 
 	return do_read_map(ap, instance, age);
 }


Index: autofs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/autofs/F-7/autofs.spec,v
retrieving revision 1.212
retrieving revision 1.213
diff -u -r1.212 -r1.213
--- autofs.spec	27 Jul 2007 08:24:37 -0000	1.212
+++ autofs.spec	30 Jul 2007 09:30:24 -0000	1.213
@@ -4,7 +4,7 @@
 Summary: A tool for automatically mounting and unmounting filesystems
 Name: autofs
 Version: 5.0.1
-Release: 22
+Release: 23
 Epoch: 1
 License: GPL
 Group: System Environment/Daemons
@@ -36,6 +36,8 @@
 Patch24: autofs-5.0.2-quoted-slash-alone.patch
 Patch25: autofs-5.0.2-fix-dnattr-parse.patch
 Patch26: autofs-5.0.2-fix-nfs-version-in-get-supported-ver-and-cost.patch
+Patch27: autofs-5.0.1-instance-stale-mark.patch
+Patch28: autofs-5.0.1-fix-largefile-dumbness.patch
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: autoconf, hesiod-devel, openldap-devel, bison, flex, libxml2-devel, cyrus-sasl-devel, openssl-devel
 Conflicts: kernel < 2.6.17
@@ -103,6 +105,8 @@
 %patch24 -p1
 %patch25 -p1
 %patch26 -p1
+%patch27 -p1
+%patch28 -p1
 
 %build
 #CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
@@ -155,6 +159,10 @@
 %{_libdir}/autofs/
 
 %changelog
+* Mon Jul 30 2007 Ian Kent <ikent at redhat.com> - 5.0.1-23
+- mark map instances stale so they aren't "cleaned" during updates.
+- fix large file compile time option.
+
 * Fri Jul 27 2007 Ian Kent <ikent at redhat.com> - 5.0.1-22
 - fix version passed to get_supported_ver_and_cost (bz 249574).
 




More information about the scm-commits mailing list