From: Donnie Berkholz <dberkholz@gentoo.org>
To: gentoo-dev@lists.gentoo.org, wltjr@gentoo.org
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-db/hsqldb: ChangeLog hsqldb-1.8.0.9-r1.ebuild
Date: Thu, 14 Feb 2008 23:23:55 -0800 [thread overview]
Message-ID: <20080215072354.GD26221@supernova> (raw)
In-Reply-To: <E1JPU8w-00016u-SK@stork.gentoo.org>
On 02:48 Thu 14 Feb , William Thomson (wltjr) wrote:
> 1.1 dev-db/hsqldb/hsqldb-1.8.0.9-r1.ebuild
>
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/hsqldb/hsqldb-1.8.0.9-r1.ebuild?rev=1.1&view=markup
> plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/hsqldb/hsqldb-1.8.0.9-r1.ebuild?rev=1.1&content-type=text/plain
> 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
> einfo "Example:"
> echo
> einfo "/etc/hsqldb/server.properties"
> einfo "============================="
> einfo "server.database.1=file:xdb/xdb"
> einfo "server.dbname.1=xdb"
> einfo "server.urlid.1=xdb"
> einfo
> einfo "/etc/hsqldb/sqltool.rc"
> einfo "======================"
> einfo "urlid xdb"
> einfo "url jdbc:hsqldb:hsql://localhost/xdb"
> einfo "username sa"
> einfo "password "
> echo
> einfo "Also note that each hsqldb server can serve only up to 10"
> einfo "different databases simultaneously (with consecutive {0-9}"
> einfo "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 <dbname>"
> echo
> einfo "The Hsqldb can be run in multiple modes - read 'Chapter 1. Running'"
> einfo "and Using Hsqldb' in the Hsqldb docs at:"
> einfo " http://hsqldb.org/web/hsqlDocsFrame.html"
> einfo "If you intend to run it in the Server mode, it is suggested to add the"
> einfo "init script to your start-up scripts, this should be done like this:"
> einfo " \`rc-update add hsqldb default\`"
> echo
>
> # Enable CONFIG_PROTECT for hsqldb
> env-update
> einfo "Hsqldb stores its database files in ${HSQLDB_HOME} and this directory"
> einfo "is added to the CONFIG_PROTECT list. In order to immediately activate"
> einfo "these settings please do:"
> einfo " \`env-update && source /etc/profile\`"
> einfo "Otherwise the settings will become active next time you login"
> echo
> }
All that einfo stuff should use elog instead.
Thanks,
Donnie
--
gentoo-dev@lists.gentoo.org mailing list
parent reply other threads:[~2008-02-15 7:23 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <E1JPU8w-00016u-SK@stork.gentoo.org>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080215072354.GD26221@supernova \
--to=dberkholz@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
--cc=wltjr@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox