From dfbb988b1ee139aef01d150d8acf5b6f212fcf10 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 11 Nov 2011 11:21:13 +0100 Subject: [PATCH] removed obsolete packages --- app-laptop/acerhdf/Manifest | 2 - app-laptop/acerhdf/acerhdf-0.5.24.ebuild | 45 ----- app-misc/gnome-commander/Manifest | 4 - .../gnome-commander-1.2.6.ebuild | 61 ------ .../gnome-commander-1.2.8.8.ebuild | 61 ------ app-misc/tmux/Manifest | 2 - app-misc/tmux/tmux-1.5.ebuild | 69 ------- dev-db/hsqldb/Manifest | 10 - dev-db/hsqldb/files/35hsqldb | 1 - dev-db/hsqldb/files/bundle-all-tools.patch | 16 -- dev-db/hsqldb/files/hsqldb | 20 -- .../files/resolve-config-softlinks.patch | 22 --- dev-db/hsqldb/files/server.properties | 20 -- dev-db/hsqldb/files/server.properties-r1 | 20 -- dev-db/hsqldb/files/sqltool.rc | 20 -- dev-db/hsqldb/files/sqltool.rc-r1 | 20 -- dev-db/hsqldb/hsqldb-1.8.0.9-r99.ebuild | 174 ------------------ 17 files changed, 567 deletions(-) delete mode 100644 app-laptop/acerhdf/Manifest delete mode 100644 app-laptop/acerhdf/acerhdf-0.5.24.ebuild delete mode 100644 app-misc/gnome-commander/Manifest delete mode 100644 app-misc/gnome-commander/gnome-commander-1.2.6.ebuild delete mode 100644 app-misc/gnome-commander/gnome-commander-1.2.8.8.ebuild delete mode 100644 app-misc/tmux/Manifest delete mode 100644 app-misc/tmux/tmux-1.5.ebuild delete mode 100644 dev-db/hsqldb/Manifest delete mode 100644 dev-db/hsqldb/files/35hsqldb delete mode 100644 dev-db/hsqldb/files/bundle-all-tools.patch delete mode 100644 dev-db/hsqldb/files/hsqldb delete mode 100644 dev-db/hsqldb/files/resolve-config-softlinks.patch delete mode 100644 dev-db/hsqldb/files/server.properties delete mode 100644 dev-db/hsqldb/files/server.properties-r1 delete mode 100644 dev-db/hsqldb/files/sqltool.rc delete mode 100644 dev-db/hsqldb/files/sqltool.rc-r1 delete mode 100644 dev-db/hsqldb/hsqldb-1.8.0.9-r99.ebuild diff --git a/app-laptop/acerhdf/Manifest b/app-laptop/acerhdf/Manifest deleted file mode 100644 index 9b6c27c..0000000 --- a/app-laptop/acerhdf/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST acerhdf_kmod-0.5.24.tar.gz 7648 RMD160 3c47a3bf1b56cc99f58fb9f28bf16a0c609eccca SHA1 97b72c3e64795c51d76f7c1296bd76a89ad547a3 SHA256 42b8bd8e1bf53e7589fc2b2348c2c7fd3f188af00d4aac48dc4e56c4165f42d7 -EBUILD acerhdf-0.5.24.ebuild 1191 RMD160 65534772ee91dd4eecf338025872fdda7495321a SHA1 442b51f4472b538770778e8e24da47f2800be965 SHA256 30c17ad171ecf5b12fca738fcb266903f8bb69226d1c73709f73b79a0b1df693 diff --git a/app-laptop/acerhdf/acerhdf-0.5.24.ebuild b/app-laptop/acerhdf/acerhdf-0.5.24.ebuild deleted file mode 100644 index 7f04653..0000000 --- a/app-laptop/acerhdf/acerhdf-0.5.24.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit linux-mod - -MY_PN=${PN}_kmod -MY_P=${MY_PN}-${PV} - -DESCRIPTION="A kernelmodule which monitors the temperature of the aspire one netbook" -HOMEPAGE="http://piie.net/index.php?section=acerhdf" -SRC_URI="http://piie.net/files/${MY_P}.tar.gz" - -LICENSE="GPL-2" - -SLOT="0" -KEYWORDS="~amd64 x86" -IUSE="" - -RDEPEND=">=virtual/linux-sources-2.6.30" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${MY_PN} - -BUILD_TARGETS="default" -MODULE_NAMES="${PN}(:${S}:${S})" -MODULESD_ACERHDF_DOCS="README.txt" -BUILD_PARAMS="KDIR=${KERNEL_DIR}" -CONFIG_CHECK="!ACERHDF ~THERMAL ~THERMAL_HWMON ~ACPI" - -pkg_setup() { - linux-mod_pkg_setup - if kernel_is lt 2 6 30; then - ewarn "This version of ${PN} needs at least kernel version 2.6.30 selected" - ewarn "Please set the /usr/src/linux symlink to the right version" - die "This version of ${PN} needs at least kernel version 2.6.30 selected" - fi -} - -pkg_postinst() { - linux-mod_pkg_postinst - einfo "The module now starts with kernel mode off" - einfo "Add options acerhdf kernelmode=1 to your" - einfo "/etc/modprobe.d/acerhdf.conf to enable it at loadtime" -} diff --git a/app-misc/gnome-commander/Manifest b/app-misc/gnome-commander/Manifest deleted file mode 100644 index 6a4aa1f..0000000 --- a/app-misc/gnome-commander/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST gnome-commander-1.2.6.tar.bz2 2281176 RMD160 80960ef664a67f144ec9d672557a82ba621d6182 SHA1 594af93be968cbbfaedbbd1e5862f79f45e49f1f SHA256 0f7272b71ad60eccc08ad70d3eace182786e5eaf38c4cabac5ab693ffc088b33 -DIST gnome-commander-1.2.8.8.tar.bz2 3523946 RMD160 9eac3e6a4058b43c63b86f6fdd27098d722fc3b2 SHA1 0b448cff83590b857be5b21a2a008b4355f481a2 SHA256 5016e109bb10583fba789f8be988a68a832484a354e577eac9731a6a927233f5 -EBUILD gnome-commander-1.2.6.ebuild 1379 RMD160 cc0fb5584c24a17abb1aceae4968051645fde66f SHA1 a39a4622e49d90884948e17bc5a504c8bc90be89 SHA256 17cad076de9e314d52d7f9206bc0e7ccb1649f41e6205022cb94afaab1f98059 -EBUILD gnome-commander-1.2.8.8.ebuild 1379 RMD160 cc0fb5584c24a17abb1aceae4968051645fde66f SHA1 a39a4622e49d90884948e17bc5a504c8bc90be89 SHA256 17cad076de9e314d52d7f9206bc0e7ccb1649f41e6205022cb94afaab1f98059 diff --git a/app-misc/gnome-commander/gnome-commander-1.2.6.ebuild b/app-misc/gnome-commander/gnome-commander-1.2.6.ebuild deleted file mode 100644 index 0c14456..0000000 --- a/app-misc/gnome-commander/gnome-commander-1.2.6.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: - -inherit gnome2 flag-o-matic - - -DESCRIPTION="A full featured, dual-pane file manager for Gnome2" -HOMEPAGE="http://www.nongnu.org/gcmd/" - -SRC_URI="http://ftp.gnome.org/pub/GNOME/sources/${PN}/1.2/${P}.tar.bz2"; - -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc x86" - -LICENSE="GPL-2" - -IUSE="doc exif gsf id3 python" -SLOT="0" - - -USE_DESC=" - exif: add support for Exif and IPTC - gsf: add support for OLE, OLE2 and ODF - id3: add support for ID3, Vorbis, FLAC and APE - python: add support for python plugins" - - -RDEPEND=">=x11-libs/gtk+-2.8.0 - >=dev-libs/glib-2.6.0 - >=gnome-base/libgnomeui-2.4.0 - >=gnome-base/libgnome-2.4.0 - >=gnome-base/gnome-vfs-2.0 - || ( - app-admin/gamin - app-admin/fam - ) - exif? ( >=media-gfx/exiv2-0.14 ) - gsf? ( >=gnome-extra/libgsf-1.12.0 ) - id3? ( >=media-libs/taglib-1.4 ) - python? ( >=dev-lang/python-2.4 )" - - - -DEPEND="${RDEPEND} - dev-util/intltool - dev-util/pkgconfig" - - -DOCS="AUTHORS BUGS ChangeLog NEWS README TODO" - - - -pkg_setup() { - G2CONF=" ${G2CONF} - $(use_with exif exiv2) - $(use_with gsf libgsf) - $(use_with id3 taglib) - $(use_enable python python)" - filter-ldflags -Wl,--as-needed -} - diff --git a/app-misc/gnome-commander/gnome-commander-1.2.8.8.ebuild b/app-misc/gnome-commander/gnome-commander-1.2.8.8.ebuild deleted file mode 100644 index 0c14456..0000000 --- a/app-misc/gnome-commander/gnome-commander-1.2.8.8.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: - -inherit gnome2 flag-o-matic - - -DESCRIPTION="A full featured, dual-pane file manager for Gnome2" -HOMEPAGE="http://www.nongnu.org/gcmd/" - -SRC_URI="http://ftp.gnome.org/pub/GNOME/sources/${PN}/1.2/${P}.tar.bz2"; - -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc x86" - -LICENSE="GPL-2" - -IUSE="doc exif gsf id3 python" -SLOT="0" - - -USE_DESC=" - exif: add support for Exif and IPTC - gsf: add support for OLE, OLE2 and ODF - id3: add support for ID3, Vorbis, FLAC and APE - python: add support for python plugins" - - -RDEPEND=">=x11-libs/gtk+-2.8.0 - >=dev-libs/glib-2.6.0 - >=gnome-base/libgnomeui-2.4.0 - >=gnome-base/libgnome-2.4.0 - >=gnome-base/gnome-vfs-2.0 - || ( - app-admin/gamin - app-admin/fam - ) - exif? ( >=media-gfx/exiv2-0.14 ) - gsf? ( >=gnome-extra/libgsf-1.12.0 ) - id3? ( >=media-libs/taglib-1.4 ) - python? ( >=dev-lang/python-2.4 )" - - - -DEPEND="${RDEPEND} - dev-util/intltool - dev-util/pkgconfig" - - -DOCS="AUTHORS BUGS ChangeLog NEWS README TODO" - - - -pkg_setup() { - G2CONF=" ${G2CONF} - $(use_with exif exiv2) - $(use_with gsf libgsf) - $(use_with id3 taglib) - $(use_enable python python)" - filter-ldflags -Wl,--as-needed -} - diff --git a/app-misc/tmux/Manifest b/app-misc/tmux/Manifest deleted file mode 100644 index fbba17d..0000000 --- a/app-misc/tmux/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST tmux-1.5.tar.gz 374093 RMD160 08eec02bcbd91b3c37a36a05167f3758e7911973 SHA1 e26132f02f344f8d6d06ae87d11f6a7aad880f67 SHA256 eb8215b57c05b765d2446d9acb2bc5edcdb3eb4ea31af89ee127a27e90056306 -EBUILD tmux-1.5.ebuild 2087 RMD160 8ff2ec0ea195814668094aaeccefe0b284fc8ef8 SHA1 1e19b91628eba0ed5f0852c41d49ed271ad17d92 SHA256 b2df6e2b2f3984d59e2a711faafda36f12e39bfdbe5732c1795d860721000f77 diff --git a/app-misc/tmux/tmux-1.5.ebuild b/app-misc/tmux/tmux-1.5.ebuild deleted file mode 100644 index 13beb15..0000000 --- a/app-misc/tmux/tmux-1.5.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/tmux/tmux-1.4.ebuild,v 1.7 2011/07/02 20:15:33 nixnut Exp $ - -EAPI=3 - -inherit toolchain-funcs - -DESCRIPTION="Terminal multiplexer" -HOMEPAGE="http://tmux.sourceforge.net" -SRC_URI="mirror://sourceforge/tmux/${P}.tar.gz" - -LICENSE="ISC" -SLOT="0" -KEYWORDS="amd64 ppc sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" -IUSE="vim-syntax" - -DEPEND=" - || ( >=dev-libs/libevent-2.0.10 - - -- -- -- -- -- -- - - - diff --git a/dev-db/hsqldb/files/hsqldb b/dev-db/hsqldb/files/hsqldb deleted file mode 100644 index 09553ea..0000000 --- a/dev-db/hsqldb/files/hsqldb +++ /dev/null @@ -1,20 +0,0 @@ -#!/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 $? -} diff --git a/dev-db/hsqldb/files/resolve-config-softlinks.patch b/dev-db/hsqldb/files/resolve-config-softlinks.patch deleted file mode 100644 index 5a716e6..0000000 --- a/dev-db/hsqldb/files/resolve-config-softlinks.patch +++ /dev/null @@ -1,22 +0,0 @@ -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 diff --git a/dev-db/hsqldb/files/server.properties b/dev-db/hsqldb/files/server.properties deleted file mode 100644 index 4827d1c..0000000 --- a/dev-db/hsqldb/files/server.properties +++ /dev/null @@ -1,20 +0,0 @@ -# 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 diff --git a/dev-db/hsqldb/files/server.properties-r1 b/dev-db/hsqldb/files/server.properties-r1 deleted file mode 100644 index 4827d1c..0000000 --- a/dev-db/hsqldb/files/server.properties-r1 +++ /dev/null @@ -1,20 +0,0 @@ -# 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 diff --git a/dev-db/hsqldb/files/sqltool.rc b/dev-db/hsqldb/files/sqltool.rc deleted file mode 100644 index 9284be4..0000000 --- a/dev-db/hsqldb/files/sqltool.rc +++ /dev/null @@ -1,20 +0,0 @@ -# $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 diff --git a/dev-db/hsqldb/files/sqltool.rc-r1 b/dev-db/hsqldb/files/sqltool.rc-r1 deleted file mode 100644 index 9284be4..0000000 --- a/dev-db/hsqldb/files/sqltool.rc-r1 +++ /dev/null @@ -1,20 +0,0 @@ -# $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 diff --git a/dev-db/hsqldb/hsqldb-1.8.0.9-r99.ebuild b/dev-db/hsqldb/hsqldb-1.8.0.9-r99.ebuild deleted file mode 100644 index 9f7fe30..0000000 --- a/dev-db/hsqldb/hsqldb-1.8.0.9-r99.ebuild +++ /dev/null @@ -1,174 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/hsqldb/hsqldb-1.8.0.9-r1.ebuild,v 1.8 2008/05/30 22:19:19 betelgeuse Exp $ - -EAPI=1 -JAVA_PKG_IUSE="doc source test" -inherit eutils versionator java-pkg-2 java-ant-2 - -MY_PV=$(replace_all_version_separators _ ) -MY_P="${PN}_${MY_PV}" - -DESCRIPTION="The leading SQL relational database engine written in Java." -HOMEPAGE="http://hsqldb.org" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd" -IUSE="" - -# doesn't like Java 1.6 due to JDBC changes -CDEPEND="java-virtuals/servlet-api:2.3" -RDEPEND=">=virtual/jre-1.6 - ${CDEPEND}" -DEPEND="|| ( =virtual/jdk-1.6* ) - test? ( dev-java/junit:0 ) - app-arch/unzip - ${CDEPEND}" - -S="${WORKDIR}/${PN}" - -HSQLDB_JAR=/usr/share/hsqldb/lib/hsqldb.jar -HSQLDB_HOME=/var/lib/hsqldb - -pkg_setup() { - enewgroup hsqldb - enewuser hsqldb -1 /bin/sh /dev/null hsqldb - - java-pkg-2_pkg_setup -} - -src_unpack() { - unpack ${A} - cd "${S}" - - rm -v lib/*.jar || die - java-pkg_jar-from --virtual --into lib servlet-api-2.3 - - sed -i -r \ - -e "s#etc/sysconfig#etc/conf.d#g" \ - bin/hsqldb || die - - eant -q -f "${EANT_BUILD_XML}" cleanall > /dev/null - - epatch "${FILESDIR}/resolve-config-softlinks.patch" - java-pkg_filter-compiler jikes - - mkdir conf - sed -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" \ - -e 's/^#AUTH_FILE=.*$/AUTH_FILE=${SERVER_HOME}\/sqltool.rc/g' \ - src/org/hsqldb/sample/sample-hsqldb.cfg > conf/hsqldb || die - cp "${FILESDIR}/server.properties" conf/ || die - cp "${FILESDIR}/sqltool.rc" conf/ || die -} - -# EANT_BUILD_XML used also in src_unpack -EANT_BUILD_XML="build/build.xml" -EANT_BUILD_TARGET="jar jarclient jarsqltool jarutil" -EANT_DOC_TARGET="javadocdev" - -src_test() { - java-pkg_jar-from --into lib junit - eant -f ${EANT_BUILD_XML} jartest - cd testrun/hsqldb || die - ./runTest.sh TestSelf || die "hsqldb tests failed" - # TODO. These fail. Investigate why. - #cd "${S}/testrun/sqltool" || die - #CLASSPATH="${S}/lib/hsqldb.jar" ./runtests.bash || die "sqltool test failed" -} - -src_install() { - java-pkg_dojar lib/hsql*.jar - - if use doc; then - dodoc doc/*.txt - java-pkg_dohtml -r doc/guide - java-pkg_dohtml -r doc/src - fi - use source && java-pkg_dosrc src/* - - # Install env file for CONFIG_PROTECT support - doenvd "${FILESDIR}/35hsqldb" || die - - # Put init, configuration and authorization files in /etc - doinitd "${FILESDIR}/hsqldb" || die - doconfd conf/hsqldb || die - dodir /etc/hsqldb - insinto /etc/hsqldb - # Change the ownership of server.properties and sqltool.rc - # files to hsqldb:hsqldb. (resolves Bug #111963) - insopts -m0600 -o hsqldb -g hsqldb - doins conf/server.properties || die - insopts -m0600 -o hsqldb -g hsqldb - doins conf/sqltool.rc || die - - # Install init script - dodir "${HSQLDB_HOME}/bin" - keepdir "${HSQLDB_HOME}" - exeinto "${HSQLDB_HOME}/bin" - doexe bin/hsqldb || die - - # Create symlinks to authorization files in the server home dir - # (required by the hqldb init script) - insinto "${HSQLDB_HOME}" - dosym /etc/hsqldb/server.properties "${HSQLDB_HOME}/server.properties" || die - dosym /etc/hsqldb/sqltool.rc "${HSQLDB_HOME}/sqltool.rc" || die - - # Make sure that files have correct permissions - chown -R hsqldb:hsqldb "${D}${HSQLDB_HOME}" - chmod o-rwx "${D}${HSQLDB_HOME}" -} - -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)" - echo - elog "Example:" - echo - elog "/etc/hsqldb/server.properties" - elog "=============================" - elog "server.database.1=file:xdb/xdb" - elog "server.dbname.1=xdb" - elog "server.urlid.1=xdb" - elog - elog "/etc/hsqldb/sqltool.rc" - elog "======================" - elog "urlid xdb" - elog "url jdbc:hsqldb:hsql://localhost/xdb" - elog "username sa" - elog "password " - echo - elog "Also note that each hsqldb server can serve only up to 10" - elog "different databases simultaneously (with consecutive {0-9}" - elog "suffixes in the 'server.properties' file)." - echo - ewarn "For data manipulation use:" - ewarn - ewarn "# java -classpath ${HSQLDB_JAR} org.hsqldb.util.DatabaseManager" - ewarn "# java -classpath ${HSQLDB_JAR} org.hsqldb.util.DatabaseManagerSwing" - ewarn "# java -classpath ${HSQLDB_JAR} org.hsqldb.util.SqlTool \\" - ewarn " --rcFile /var/lib/hsqldb/sqltool.rc " - echo - elog "The Hsqldb can be run in multiple modes - read 'Chapter 1. Running'" - elog "and Using Hsqldb' in the Hsqldb docs at:" - elog " http://hsqldb.org/web/hsqlDocsFrame.html" - elog "If you intend to run it in the Server mode, it is suggested to add the" - elog "init script to your start-up scripts, this should be done like this:" - elog " \`rc-update add hsqldb default\`" - echo - - # Enable CONFIG_PROTECT for hsqldb - env-update - elog "Hsqldb stores its database files in ${HSQLDB_HOME} and this directory" - elog "is added to the CONFIG_PROTECT list. In order to immediately activate" - elog "these settings please do:" - elog " \`env-update && source /etc/profile\`" - elog "Otherwise the settings will become active next time you login" - echo -}