* [gentoo-commits] gentoo-x86 commit in dev-db/hsqldb: ChangeLog hsqldb-1.8.0.9.ebuild
@ 2007-12-19 21:58 Vlastimil Babka (caster)
0 siblings, 0 replies; 2+ messages in thread
From: Vlastimil Babka (caster) @ 2007-12-19 21:58 UTC (permalink / raw
To: gentoo-commits
caster 07/12/19 21:58:05
Modified: ChangeLog
Added: hsqldb-1.8.0.9.ebuild
Log:
Version bump, security bug #201799.
(Portage version: 2.1.4_rc10)
Revision Changes Path
1.30 dev-db/hsqldb/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/hsqldb/ChangeLog?rev=1.30&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/hsqldb/ChangeLog?rev=1.30&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/hsqldb/ChangeLog?r1=1.29&r2=1.30
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-db/hsqldb/ChangeLog,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- ChangeLog 24 Oct 2007 03:23:03 -0000 1.29
+++ ChangeLog 19 Dec 2007 21:58:05 -0000 1.30
@@ -1,6 +1,14 @@
# ChangeLog for dev-db/hsqldb
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/hsqldb/ChangeLog,v 1.29 2007/10/24 03:23:03 wltjr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/hsqldb/ChangeLog,v 1.30 2007/12/19 21:58:05 caster Exp $
+
+*hsqldb-1.8.0.9 (19 Dec 2007)
+
+ 19 Dec 2007; Vlastimil Babka <caster@gentoo.org> +files/35hsqldb,
+ +files/bundle-all-tools.patch, files/hsqldb,
+ +files/resolve-config-softlinks.patch, +files/server.properties,
+ +files/sqltool.rc, +hsqldb-1.8.0.9.ebuild:
+ Version bump, security bug #201799.
24 Oct 2007; William L. Thomson Jr. <wltjr@gentoo.org>
-files/server.properties, -files/sqltool.rc, -hsqldb-1.7.3.1-r1.ebuild,
1.1 dev-db/hsqldb/hsqldb-1.8.0.9.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/hsqldb/hsqldb-1.8.0.9.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/hsqldb/hsqldb-1.8.0.9.ebuild?rev=1.1&content-type=text/plain
Index: hsqldb-1.8.0.9.ebuild
===================================================================
# Copyright 1999-2007 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.ebuild,v 1.1 2007/12/19 21:58:05 caster Exp $
JAVA_PKG_IUSE="doc source"
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"
IUSE=""
# doesn't like Java 1.6 due to JDBC changes
CDEPEND="=dev-java/servletapi-2.3*"
RDEPEND=">=virtual/jre-1.4
${CDEPEND}"
DEPEND="|| ( =virtual/jdk-1.5* =virtual/jdk-1.4* )
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 --into lib servletapi-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"
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_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
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
}
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-db/hsqldb: ChangeLog hsqldb-1.8.0.9.ebuild
@ 2008-05-30 19:47 Petteri Raty (betelgeuse)
0 siblings, 0 replies; 2+ messages in thread
From: Petteri Raty (betelgeuse) @ 2008-05-30 19:47 UTC (permalink / raw
To: gentoo-commits
betelgeuse 08/05/30 19:47:28
Modified: ChangeLog
Removed: hsqldb-1.8.0.9.ebuild
Log:
Remove old revision.
(Portage version: 2.1.5.2)
Revision Changes Path
1.44 dev-db/hsqldb/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/hsqldb/ChangeLog?rev=1.44&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/hsqldb/ChangeLog?rev=1.44&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-db/hsqldb/ChangeLog?r1=1.43&r2=1.44
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-db/hsqldb/ChangeLog,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- ChangeLog 2 May 2008 14:00:05 -0000 1.43
+++ ChangeLog 30 May 2008 19:47:27 -0000 1.44
@@ -1,6 +1,9 @@
# ChangeLog for dev-db/hsqldb
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/hsqldb/ChangeLog,v 1.43 2008/05/02 14:00:05 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/hsqldb/ChangeLog,v 1.44 2008/05/30 19:47:27 betelgeuse Exp $
+
+ 30 May 2008; Petteri Räty <betelgeuse@gentoo.org> -hsqldb-1.8.0.9.ebuild:
+ Remove old revision.
02 May 2008; Christian Faulhammer <opfer@gentoo.org>
hsqldb-1.8.0.9-r1.ebuild:
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-30 19:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-30 19:47 [gentoo-commits] gentoo-x86 commit in dev-db/hsqldb: ChangeLog hsqldb-1.8.0.9.ebuild Petteri Raty (betelgeuse)
-- strict thread matches above, loose matches on Subject: below --
2007-12-19 21:58 Vlastimil Babka (caster)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox