Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 72750 Details for
Bug 111963
dev-db/hsqldb-1.7.3.1-r1 in Server mode doesn't allow to create additional databases
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
hsqldb-1.7.3.1-r1.ebuild.patch
hsqldb-1.7.3.1-r1.ebuild.patch (text/plain), 2.16 KB, created by
Wiktor Wandachowicz
on 2005-11-12 07:16:14 UTC
(
hide
)
Description:
hsqldb-1.7.3.1-r1.ebuild.patch
Filename:
MIME Type:
Creator:
Wiktor Wandachowicz
Created:
2005-11-12 07:16:14 UTC
Size:
2.16 KB
patch
obsolete
>--- hsqldb-1.7.3.1-r1.ebuild 2005-09-11 14:35:27.000000000 +0200 >+++ hsqldb-1.7.3.1-r2.ebuild 2005-11-12 15:51:06.000000000 +0100 >@@ -10,7 +10,7 @@ > > LICENSE="as-is" > SLOT="0" >-KEYWORDS="x86 amd64 ppc64 sparc ppc" >+KEYWORDS="~x86" > IUSE="doc jikes source" > > RDEPEND=">=virtual/jre-1.4 >@@ -44,7 +44,7 @@ > einfo "Preparing configuration files..." > mkdir conf > HSQLDB_JAR=/usr/share/hsqldb/lib/hsqldb.jar >- sed -e 's:^JAVA_EXECUTABLE=.*$:JAVA_EXECUTABLE=$(which java 2>/dev/null):g' \ >+ sed -e 's:^JAVA_EXECUTABLE=.*$:JAVA_EXECUTABLE=$(java-config --java 2>/dev/null):g' \ > -e "s/^HSQLDB_JAR_PATH=.*$/HSQLDB_JAR_PATH=${HSQLDB_JAR//\//\\/}/g" \ > -e "s/^SERVER_HOME=.*$/SERVER_HOME=\/var\/lib\/hsqldb/g" \ > -e "s/^HSQLDB_OWNER=.*$/HSQLDB_OWNER=hsqldb/g" \ >@@ -74,8 +74,11 @@ > doinitd ${FILESDIR}/hsqldb > doconfd conf/hsqldb > insinto /etc/hsqldb >- insopts -m 0600 >+ # Change the ownership of server.properties and sqltool.rc >+ # files to hsqldb:hsqldb. (resolves Bug #111963) >+ insopts -m 0600 -o hsqldb -g hsqldb > doins conf/server.properties >+ insopts -m 0600 -o hsqldb -g hsqldb > doins conf/sqltool.rc > > dodir /var/lib/hsqldb/bin >@@ -88,3 +91,29 @@ > chmod o-rwx ${D}/var/lib/hsqldb > } > >+pkg_postinst() { >+ ewarn "If you intend to run hsqldb in Server mode and you want to create" >+ ewarn "additional databases, remember to put correct information in both" >+ ewarn "'server.properties' and 'sqltool.rc' files." >+ ewarn "(read the 'Init script Setup Procedure' section of the 'Chapter 3." >+ ewarn "UNIX Quick Start' in the hsqldb docs for more information)" >+ einfo "" >+ einfo "Example:" >+ einfo "" >+ einfo "/etc/hsqldb/server.properties" >+ einfo "=============================" >+ einfo "server.database.1=file:/var/lib/hsqldb/newdb/newdb" >+ einfo "server.dbname.1=newdb" >+ einfo "server.urlid.1=newdb" >+ einfo "" >+ einfo "/etc/hsqldb/sqltool.rc" >+ einfo "======================" >+ einfo "urlid newdb" >+ einfo "url jdbc:hsqldb:hsql://localhost/newdb" >+ einfo "username sa" >+ einfo "password " >+ ewarn "" >+ ewarn "Also note that each hsqldb server can serve only up to 10" >+ ewarn "different databases simultaneously (with consecutive {0-9}" >+ ewarn "suffixes in the 'server.properties' file)." >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 111963
:
72701
|
72702
|
72703
|
72704
|
72714
| 72750 |
72751
|
72752