From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JPuvP-0002SM-NJ for garchives@archives.gentoo.org; Fri, 15 Feb 2008 07:23:59 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 05933E07C4; Fri, 15 Feb 2008 07:23:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 68C73E07C4 for ; Fri, 15 Feb 2008 07:23:57 +0000 (UTC) Received: from gentoo.org (c-67-171-150-177.hsd1.or.comcast.net [67.171.150.177]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 9B82D65A96; Fri, 15 Feb 2008 07:23:56 +0000 (UTC) Date: Thu, 14 Feb 2008 23:23:55 -0800 From: Donnie Berkholz 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 Message-ID: <20080215072354.GD26221@supernova> References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: e0f22f5c-6dbb-418a-96e9-0954aeb86d3c X-Archives-Hash: 10794b385add128a2d875d968edf140c 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 " > 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