rpms/hsqldb/devel hsqldb-tmp.patch,NONE,1.1 hsqldb.spec,1.25,1.26

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Sep 20 22:25:20 UTC 2006


Author: sgrubb

Update of /cvs/dist/rpms/hsqldb/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv27421

Modified Files:
	hsqldb.spec 
Added Files:
	hsqldb-tmp.patch 
Log Message:
* Wed Sep 20 2006 Steve Grubb <sgrubb at redhat.com> 1:1.8.0.4-3jpp.2
- Apply patch correcting tmp file usage


hsqldb-tmp.patch:
 hsqldb |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)

--- NEW FILE hsqldb-tmp.patch ---
diff -ur hsqldb.orig/bin/hsqldb hsqldb/bin/hsqldb
--- hsqldb.orig/bin/hsqldb	2006-09-05 10:37:12.000000000 -0400
+++ hsqldb/bin/hsqldb	2006-09-05 10:50:45.000000000 -0400
@@ -110,7 +110,10 @@
 SU_ECHO_SECS=1
 # File used as semaphore.  If file is removed, a running pid checker
 # process will exit.
-PIDCHECKER_FLAGFILE=/tmp/pidchecker.run
+PIDCHECKER_FLAGFILE=`mktemp /tmp/hsqldb.XXXXXXXX`
+if [ x"$PIDCHECKER_FLAGFILE" = "x" ] ; then
+	echo "unable to create tmp file"; exit 1
+fi
 # The following settings get overridden by optional setting in the config file.
 # Time to allow for JVM to die after all HSQLDB instances stopped.
 MAX_TERMINATE_SECS=1


Index: hsqldb.spec
===================================================================
RCS file: /cvs/dist/rpms/hsqldb/devel/hsqldb.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- hsqldb.spec	21 Aug 2006 20:19:37 -0000	1.25
+++ hsqldb.spec	20 Sep 2006 22:25:17 -0000	1.26
@@ -38,7 +38,7 @@
 
 Name:		hsqldb
 Version:	1.8.0.4
-Release:	3jpp.1
+Release:	3jpp.2
 Epoch:		1
 Summary:	Hsqldb Database Engine
 License:	BSD Style
@@ -49,6 +49,7 @@
 Source3:	%{name}-%{version}-standard-webserver.properties
 Source4:	%{name}-%{version}-standard-sqltool.rc
 Patch0:		%{name}-%{version}-scripts.patch
+Patch1:		hsqldb-tmp.patch
 Requires:	servletapi5
 Requires(post):   /bin/rm,/bin/ln
 Requires(preun): /bin/rm
@@ -127,6 +128,7 @@
 chmod -R go=u-w *
 
 %patch0
+%patch1 -p1
 
 %build
 export CLASSPATH=$(build-classpath \
@@ -261,6 +263,9 @@
 %{_datadir}/%{name}
 
 %changelog
+* Wed Sep 20 2006 Steve Grubb <sgrubb at redhat.com> 1:1.8.0.4-3jpp.2
+- Apply patch correcting tmp file usage
+
 * Mon Aug 21 2006 Deepak Bhole <dbhole at redhat.com> 1:1.8.0.4-3jpp.1
 - Add missing postun section.
 




More information about the fedora-cvs-commits mailing list