mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-02-19 09:35:52 +01:00
initial import
This commit is contained in:
1
dev-db/hsqldb/files/35hsqldb
Normal file
1
dev-db/hsqldb/files/35hsqldb
Normal file
@@ -0,0 +1 @@
|
||||
CONFIG_PROTECT="/var/lib/hsqldb"
|
||||
16
dev-db/hsqldb/files/bundle-all-tools.patch
Normal file
16
dev-db/hsqldb/files/bundle-all-tools.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
diff -urpN hsqldb.orig/build/build.xml hsqldb/build/build.xml
|
||||
--- hsqldb.orig/build/build.xml 2006-04-11 19:07:22.000000000 +0200
|
||||
+++ hsqldb/build/build.xml 2006-07-09 02:07:48.000000000 +0200
|
||||
@@ -593,12 +593,6 @@ examples:
|
||||
</manifest>
|
||||
<exclude name="org/hsqldb/jmx/**"/>
|
||||
<exclude name="org/hsqldb/util/*Swing.*" if="noswing"/>
|
||||
- <exclude name="org/hsqldb/util/*Transfer*.*"/>
|
||||
- <exclude name="org/hsqldb/util/DataAccess*.*"/>
|
||||
- <exclude name="org/hsqldb/util/*Helper*.*"/>
|
||||
- <exclude name="org/hsqldb/util/JDBCTypes.*"/>
|
||||
- <exclude name="org/hsqldb/util/SQLStatements.*"/>
|
||||
- <exclude name="org/hsqldb/util/QueryTool.*"/>
|
||||
<exclude name="org/hsqldb/util/Zaurus*.*"/>
|
||||
<exclude name="org/hsqldb/test/*.class"/>
|
||||
<exclude name="org/hsqldb/sample/*.class"/>
|
||||
20
dev-db/hsqldb/files/hsqldb
Normal file
20
dev-db/hsqldb/files/hsqldb
Normal file
@@ -0,0 +1,20 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2004 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/hsqldb/files/hsqldb,v 1.2 2007/12/19 21:58:05 caster Exp $
|
||||
|
||||
depend() {
|
||||
use net
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting HSQL Database"
|
||||
hsqldb_enable=yes /var/lib/hsqldb/bin/hsqldb start
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping HSQL Database"
|
||||
hsqldb_enable=yes /var/lib/hsqldb/bin/hsqldb stop
|
||||
eend $?
|
||||
}
|
||||
22
dev-db/hsqldb/files/resolve-config-softlinks.patch
Normal file
22
dev-db/hsqldb/files/resolve-config-softlinks.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
diff -urpN hsqldb.orig/bin/hsqldb hsqldb/bin/hsqldb
|
||||
--- hsqldb.orig/bin/hsqldb 2006-07-08 15:55:55.000000000 +0200
|
||||
+++ hsqldb/bin/hsqldb 2006-07-08 16:03:28.000000000 +0200
|
||||
@@ -282,6 +282,18 @@ else
|
||||
echo "Auth file '$_AUTH_TEST_PATH' not readable" 1>&2
|
||||
exit 2
|
||||
}
|
||||
+
|
||||
+ # resolve links - $_AUTH_TEST_PATH may be a softlink
|
||||
+ while [ -h "$_AUTH_TEST_PATH" ]; do
|
||||
+ ls=`ls -ld "$_AUTH_TEST_PATH"`
|
||||
+ link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||
+ if expr "$link" : '.*/.*' > /dev/null; then
|
||||
+ _AUTH_TEST_PATH="$link"
|
||||
+ else
|
||||
+ _AUTH_TEST_PATH=`dirname "$_AUTH_TEST_PATH"`/"$link"
|
||||
+ fi
|
||||
+ done
|
||||
+
|
||||
ls -ld "$_AUTH_TEST_PATH" | grep '^-..------' > /dev/null 2>&1 || {
|
||||
echo "Fix permissions on '$_AUTH_TEST_PATH' like 'chmod 600 $_AUTH_TEST_PATH'" 1>&2
|
||||
exit 2
|
||||
20
dev-db/hsqldb/files/server.properties
Normal file
20
dev-db/hsqldb/files/server.properties
Normal file
@@ -0,0 +1,20 @@
|
||||
# Hsqldb Server cfg file.
|
||||
# See the UNIX Quick Start and the Advanced Topics chapters
|
||||
# of the Hsqldb User Guide.
|
||||
|
||||
server.database.0=file:/var/lib/hsqldb/db1
|
||||
server.urlid.0=localhost
|
||||
|
||||
# Warning!
|
||||
# When running hsqldb in Server mode, for each additional database
|
||||
# the server.urlid.X entry must have a proper corresponding urlid
|
||||
# section in the 'sqltool.rc' file.
|
||||
# Otherwise you may have problems with shutting down the server.
|
||||
#
|
||||
# Note that each server can serve only up to 10 different
|
||||
# databases simultaneously (with consecutive {0-9} suffixes).
|
||||
|
||||
# An example of additional database.
|
||||
#server.database.1=file:/var/lib/hsqldb/newdb/newdb
|
||||
#server.dbname.1=newdb
|
||||
#server.urlid.1=newdb
|
||||
20
dev-db/hsqldb/files/server.properties-r1
Normal file
20
dev-db/hsqldb/files/server.properties-r1
Normal file
@@ -0,0 +1,20 @@
|
||||
# Hsqldb Server cfg file.
|
||||
# See the UNIX Quick Start and the Advanced Topics chapters
|
||||
# of the Hsqldb User Guide.
|
||||
|
||||
server.database.0=file:/var/lib/hsqldb/db1
|
||||
server.urlid.0=localhost
|
||||
|
||||
# Warning!
|
||||
# When running hsqldb in Server mode, for each additional database
|
||||
# the server.urlid.X entry must have a proper corresponding urlid
|
||||
# section in the 'sqltool.rc' file.
|
||||
# Otherwise you may have problems with shutting down the server.
|
||||
#
|
||||
# Note that each server can serve only up to 10 different
|
||||
# databases simultaneously (with consecutive {0-9} suffixes).
|
||||
|
||||
# An example of additional database.
|
||||
#server.database.1=file:/var/lib/hsqldb/newdb/newdb
|
||||
#server.dbname.1=newdb
|
||||
#server.urlid.1=newdb
|
||||
20
dev-db/hsqldb/files/sqltool.rc
Normal file
20
dev-db/hsqldb/files/sqltool.rc
Normal file
@@ -0,0 +1,20 @@
|
||||
# $Id sqltool.rc,v 1.11 2004/07/18 21:34:35 unsaved Exp $
|
||||
|
||||
# This is a sample SqlTool configuration file, a.k.a. rc file.
|
||||
|
||||
# This is for a hsqldb Server running with default settings on your local
|
||||
# computer (and for which you have not changed the password for "sa").
|
||||
urlid localhost
|
||||
url jdbc:hsqldb:hsql://localhost
|
||||
username sa
|
||||
password
|
||||
|
||||
# Each urlid section in this file corresponds to one of the
|
||||
# server.urlid.X entries in the 'server.properties' file.
|
||||
# This is required by the hsqldb init script.
|
||||
|
||||
# An example of additional database.
|
||||
#urlid newdb
|
||||
#url jdbc:hsqldb:hsql://localhost/newdb
|
||||
#username sa
|
||||
#password
|
||||
20
dev-db/hsqldb/files/sqltool.rc-r1
Normal file
20
dev-db/hsqldb/files/sqltool.rc-r1
Normal file
@@ -0,0 +1,20 @@
|
||||
# $Id sqltool.rc,v 1.11 2004/07/18 21:34:35 unsaved Exp $
|
||||
|
||||
# This is a sample SqlTool configuration file, a.k.a. rc file.
|
||||
|
||||
# This is for a hsqldb Server running with default settings on your local
|
||||
# computer (and for which you have not changed the password for "sa").
|
||||
urlid localhost
|
||||
url jdbc:hsqldb:hsql://localhost
|
||||
username sa
|
||||
password
|
||||
|
||||
# Each urlid section in this file corresponds to one of the
|
||||
# server.urlid.X entries in the 'server.properties' file.
|
||||
# This is required by the hsqldb init script.
|
||||
|
||||
# An example of additional database.
|
||||
#urlid newdb
|
||||
#url jdbc:hsqldb:hsql://localhost/newdb
|
||||
#username sa
|
||||
#password
|
||||
Reference in New Issue
Block a user