rpms/hsqldb/F-7 hsqldb-1.8.0-specify-su-shell.patch, NONE, 1.1 hsqldb.spec, 1.33, 1.34
Deepak Bhole (dbhole)
fedora-extras-commits at redhat.com
Tue Oct 16 21:56:01 UTC 2007
Author: dbhole
Update of /cvs/extras/rpms/hsqldb/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7865
Modified Files:
hsqldb.spec
Added Files:
hsqldb-1.8.0-specify-su-shell.patch
Log Message:
Add new patch to cvs
hsqldb-1.8.0-specify-su-shell.patch:
--- NEW FILE hsqldb-1.8.0-specify-su-shell.patch ---
diff -up ./bin/hsqldb.sav ./bin/hsqldb
--- ./bin/hsqldb.sav 2007-10-16 17:29:58.000000000 -0400
+++ ./bin/hsqldb 2007-10-16 17:30:25.000000000 -0400
@@ -366,7 +366,7 @@ running with pid $HSQLDB_PID."
# Some OSes choke if there are newlines in this string.
# N.b.!!! The shell of the -c command is the target user's default
# login shell, so keep this command shell-independent!
- nohup su "$HSQLDB_OWNER" -c "cd '$SERVER_HOME' && echo "'$$'" > '$PIDFILE' && exec '$JAVA_EXECUTABLE' $SERVER_JVMARGS $TLS_SWITCHES -classpath '${SERVER_ADDL_CLASSPATH}${HSQLDB_JAR_PATH}' org.hsqldb.util.MainInvoker org.hsqldb.$TARGET_CLASS $INVOC_ADDL_ARGS" >> "$LOGFILE" 2>&1 &
+ nohup su "$HSQLDB_OWNER" -s /bin/sh -c "cd '$SERVER_HOME' && echo "'$$'" > '$PIDFILE' && exec '$JAVA_EXECUTABLE' $SERVER_JVMARGS $TLS_SWITCHES -classpath '${SERVER_ADDL_CLASSPATH}${HSQLDB_JAR_PATH}' org.hsqldb.util.MainInvoker org.hsqldb.$TARGET_CLASS $INVOC_ADDL_ARGS" >> "$LOGFILE" 2>&1 &
else
cd "$SERVER_HOME" || {
echo "Failed to cd to '$SERVER_HOME'" 1>&2
Index: hsqldb.spec
===================================================================
RCS file: /cvs/extras/rpms/hsqldb/F-7/hsqldb.spec,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- hsqldb.spec 16 Oct 2007 21:46:36 -0000 1.33
+++ hsqldb.spec 16 Oct 2007 21:55:29 -0000 1.34
@@ -38,7 +38,7 @@
Name: hsqldb
Version: 1.8.0.8
-Release: 1jpp.3%{?dist}
+Release: 1jpp.4%{?dist}
Epoch: 1
Summary: Hsqldb Database Engine
License: BSD Style
@@ -269,6 +269,9 @@
%{_datadir}/%{name}
%changelog
+* Tue Oct 16 2007 Deepak Bhole <dbhole at redhat.com> 1.8.0.8-1jpp.4
+- Rebuild
+
* Tue Oct 16 2007 Deepak Bhole <dbhole at redhat.com> 1.8.0.8-1jpp.3
- Fix bz# 218135: Init script now specifies shell when starting service
More information about the fedora-extras-commits
mailing list