diff options
author | Lim Swee Tat <st_lim@gentoo.org> | 2005-03-11 16:20:09 +0000 |
---|---|---|
committer | Lim Swee Tat <st_lim@gentoo.org> | 2005-03-11 16:20:09 +0000 |
commit | ba4a435a97a9645aaa2d00af18f432aa9f7135e5 (patch) | |
tree | ee7a27f358dc2c129c3a0fc69b6044c307c9739a /dev-java/hibernate | |
parent | net-firewall/ipset needs the masked version of iptables (diff) | |
download | gentoo-2-ba4a435a97a9645aaa2d00af18f432aa9f7135e5.tar.gz gentoo-2-ba4a435a97a9645aaa2d00af18f432aa9f7135e5.tar.bz2 gentoo-2-ba4a435a97a9645aaa2d00af18f432aa9f7135e5.zip |
Added the hibernate 2.1.8 and 3.0rc1
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-java/hibernate')
-rw-r--r-- | dev-java/hibernate/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/hibernate/Manifest | 4 | ||||
-rw-r--r-- | dev-java/hibernate/files/digest-hibernate-2.1.8 | 1 | ||||
-rw-r--r-- | dev-java/hibernate/files/digest-hibernate-3.0_rc1 | 1 | ||||
-rw-r--r-- | dev-java/hibernate/hibernate-2.1.8.ebuild | 149 | ||||
-rw-r--r-- | dev-java/hibernate/hibernate-3.0_rc1.ebuild | 148 |
6 files changed, 311 insertions, 2 deletions
diff --git a/dev-java/hibernate/ChangeLog b/dev-java/hibernate/ChangeLog index b987e6beaa6c..c121ee5e402f 100644 --- a/dev-java/hibernate/ChangeLog +++ b/dev-java/hibernate/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/hibernate -# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/hibernate/ChangeLog,v 1.15 2004/12/27 14:27:39 st_lim Exp $ +# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/hibernate/ChangeLog,v 1.16 2005/03/11 16:20:09 st_lim Exp $ + +*hibernate-2.1.8 (11 Mar 2005) + + 11 Mar 2005; Lim Swee Tat <st_lim@gentoo.org> +hibernate-2.1.8.ebuild, + +hibernate-3.0_rc1.ebuild: + Added 2.1.8 and 3.0rc1 27 Dec 2004; Lim Swee Tat <st_lim@gentoo.org> hibernate-2.1.7.ebuild: Fixed the URL to the correct one. There was an update to hibernate-2.1.7c diff --git a/dev-java/hibernate/Manifest b/dev-java/hibernate/Manifest index 52663d8fb16a..7eb16c85e022 100644 --- a/dev-java/hibernate/Manifest +++ b/dev-java/hibernate/Manifest @@ -2,7 +2,11 @@ MD5 c8cd1ab2174439325850b2d33d361725 ChangeLog 2029 MD5 a54c4a8bb5fb19da8d1a1d767e8cec2a hibernate-2.1.4.ebuild 1177 MD5 0592e4e6f47b55504a50e30c6343d654 hibernate-2.1.6.ebuild 1179 MD5 6734e7771f25916d3810347500c2d902 hibernate-2.1.7.ebuild 1165 +MD5 c9d85091d354b45e773a0e08eaded3e8 hibernate-2.1.8.ebuild 3589 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 +MD5 f346bd87014f06ca0f28af0cc7b43764 hibernate-3.0_rc1.ebuild 3594 +MD5 e5aa0a8633b0ef9e280d35213fd5254f files/digest-hibernate-3.0_rc1 70 MD5 f4c584ffbcff0c2ea90066bbb9b63f46 files/digest-hibernate-2.1.4 69 MD5 163de5d55acbb8583aace22a4aeb455c files/digest-hibernate-2.1.6 69 MD5 22d63bc9cee2bca485e338e7d1c32f12 files/digest-hibernate-2.1.7 70 +MD5 b442a0c8138baf4b3737d0a382cfe360 files/digest-hibernate-2.1.8 69 diff --git a/dev-java/hibernate/files/digest-hibernate-2.1.8 b/dev-java/hibernate/files/digest-hibernate-2.1.8 new file mode 100644 index 000000000000..b6f1daec96ef --- /dev/null +++ b/dev-java/hibernate/files/digest-hibernate-2.1.8 @@ -0,0 +1 @@ +MD5 6a0459c511ded947d01cc7de15a518ef hibernate-2.1.8.tar.gz 17348255 diff --git a/dev-java/hibernate/files/digest-hibernate-3.0_rc1 b/dev-java/hibernate/files/digest-hibernate-3.0_rc1 new file mode 100644 index 000000000000..ca85cfe0c4fb --- /dev/null +++ b/dev-java/hibernate/files/digest-hibernate-3.0_rc1 @@ -0,0 +1 @@ +MD5 d04967ca6f85607ebb6a3f15527a77b6 hibernate-3.0rc1.tar.gz 14125433 diff --git a/dev-java/hibernate/hibernate-2.1.8.ebuild b/dev-java/hibernate/hibernate-2.1.8.ebuild new file mode 100644 index 000000000000..e2fdf1287ab5 --- /dev/null +++ b/dev-java/hibernate/hibernate-2.1.8.ebuild @@ -0,0 +1,149 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/hibernate/hibernate-2.1.8.ebuild,v 1.1 2005/03/11 16:20:09 st_lim Exp $ + +inherit java-pkg + +DESCRIPTION="Hibernate is a powerful, ultra-high performance object / relational persistence and query service for Java." +SRC_URI="mirror://sourceforge/hibernate/${PN}-${PV}.tar.gz" +HOMEPAGE="http://hibernate.bluemars.net" +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +RDEPEND=" + >=virtual/jre-1.4 + + =dev-java/cglib-2* + dev-java/commons-collections + dev-java/commons-logging + =dev-java/dom4j-1* + dev-java/ehcache + dev-java/odmg + dev-java/jta + + c3p0? ( + dev-java/c3p0 + ) + dbcp? ( + dev-java/commons-pool + dev-java/commons-dbcp + ) + proxool? ( + dev-java/proxool + ) + oscache? ( + dev-java/oscache + ) + jboss? ( + >=www-servers/jboss-3.2.5 + dev-java/jmx + ) + + " +DEPEND="${RDEPEND} + >=virtual/jdk-1.4 + >=dev-java/ant-core-1.5 + junit? ( + dev-java/ant + dev-java/junit + dev-db/hsqldb + )" +IUSE="doc jikes jboss oscache proxool dbcp c3p0 junit" + +S=${WORKDIR}/${PN}-${PV:0:3} + +src_unpack() { + unpack ${A} + cd ${S} + cd lib + + rm *.jar + java-pkg_jar-from cglib-2 + java-pkg_jar-from commons-collections + java-pkg_jar-from commons-logging + java-pkg_jar-from dom4j-1 + java-pkg_jar-from ehcache + java-pkg_jar-from jta + java-pkg_jar-from odmg + + # c3p0 support + if use c3p0 ; then + java-pkg_jar-from c3p0 + else + find ../src -name "C3P0*" -exec rm {} \; + fi + + # DBCP support + if use dbcp ; then + java-pkg_jar-from commons-dbcp + java-pkg_jar-from commons-pool + else + find ../src -name "DBCP*" -exec rm {} \; + fi + + # Proxool support + if use proxool ; then + java-pkg_jar-from proxool + else + find ../src -name "Proxool*" -exec rm {} \; + fi + + # OSCache support + if use oscache ; then + java-pkg_jar-from oscache + else + find ${S}/src -name "OSCache*" -exec rm {} \; + fi + + # JBoss caching support + if use jboss ; then + JBOSSHOME=`java-config -p jboss | sed -e "s/\/client.*$//g"` + ln -sf ${JBOSSHOME}/server/all/lib/jboss-cache.jar + ln -sf ${JBOSSHOME}/lib/jboss-system.jar + java-pkg_jar-from jmx + if ! [ -r jboss-cache.jar ] ; then + eerror "The JBoss JARs are not readable. Most likely, the " + eerror "/var/lib/jboss directory is not traverseable by the " + eerror "portage user." + die "See above message." + fi + else + find ${S}/src -name "Tree*" -exec rm {} \; + fi + + if use junit ; then + java-pkg_jar-from junit + java-pkg_jar-from hsqldb + fi + + cd .. + + # JCS is deprecated, so don't compile it + find src -name "JCS*" -exec rm {} \; + + sed -r -i \ + -e '/<splash/d' \ + -e 's/..\/\$\{name\}/dist/g' \ + build.xml + sed -r -i \ + -e "s/JCSCache/EhCache/g" \ + test/org/hibernate/test/CacheTest.java +} + +src_compile() { + use jikes && ! use jboss && export ANT_OPTS="-Dbuild.compiler=jikes" + targets="jar" + if use junit ; then + targets="${targets} junitreport" + fi + use doc && targets="${targets} javadoc" + ant -q ${targets} || die "Build failed." +} + +src_install() { + java-pkg_dojar dist/hibernate2.jar + dodoc *.txt + use doc && java-pkg_dohtml -r dist/doc/* + insinto /usr/share/doc/${P}/sample + doins etc/*.xml etc/*.properties etc/*.ccf src/META-INF/ra.xml +} diff --git a/dev-java/hibernate/hibernate-3.0_rc1.ebuild b/dev-java/hibernate/hibernate-3.0_rc1.ebuild new file mode 100644 index 000000000000..b9f28110d003 --- /dev/null +++ b/dev-java/hibernate/hibernate-3.0_rc1.ebuild @@ -0,0 +1,148 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/hibernate/hibernate-3.0_rc1.ebuild,v 1.1 2005/03/11 16:20:09 st_lim Exp $ + +inherit java-pkg + +DESCRIPTION="Hibernate is a powerful, ultra-high performance object / relational persistence and query service for Java." +MY_PV=${PV/_/} +SRC_URI="mirror://sourceforge/hibernate/${PN}-${MY_PV}.tar.gz" +HOMEPAGE="http://hibernate.bluemars.net" +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +RDEPEND=" + >=virtual/jre-1.4 + + =dev-java/cglib-2* + dev-java/commons-collections + dev-java/commons-logging + =dev-java/dom4j-1* + dev-java/ehcache + dev-java/jta + dev-java/odmg + dev-java/proxool + + c3p0? ( + dev-java/c3p0 + ) + dbcp? ( + dev-java/commons-pool + dev-java/commons-dbcp + ) + oscache? ( + dev-java/oscache + ) + jboss? ( + >=www-servers/jboss-3.2.5 + dev-java/jmx + ) + + " +DEPEND="${RDEPEND} + >=virtual/jdk-1.4 + >=dev-java/ant-core-1.5 + junit? ( + dev-java/ant + dev-java/junit + dev-db/hsqldb + )" +IUSE="doc jikes jboss oscache proxool dbcp c3p0 junit" + +#S=${WORKDIR}/${PN}-${PV:0:3} + +src_unpack() { + unpack ${A} + cd ${WORKDIR} + mv ${PN}-${PV:0:3} ${S} + cd ${S} + rm -rf src/org/hibernate/secure/JACCConfiguration.java + + cd lib + + rm *.jar + java-pkg_jar-from cglib-2 + java-pkg_jar-from commons-collections + java-pkg_jar-from commons-logging + java-pkg_jar-from dom4j-1 + java-pkg_jar-from ehcache + java-pkg_jar-from jta + java-pkg_jar-from odmg + + # c3p0 support + if use c3p0 ; then + java-pkg_jar-from c3p0 + else + find ../src -name "C3P0*" -exec rm {} \; + fi + + # DBCP support + if use dbcp ; then + java-pkg_jar-from commons-dbcp + java-pkg_jar-from commons-pool + else + find ../src -name "DBCP*" -exec rm {} \; + fi + + # Proxool support + java-pkg_jar-from proxool + + # OSCache support + if use oscache ; then + java-pkg_jar-from oscache + else + find ${S}/src -name "OSCache*" -exec rm {} \; + fi + + # JBoss caching support + if use jboss ; then + JBOSSHOME=`java-config -p jboss | sed -e "s/\/client.*$//g"` + ln -sf ${JBOSSHOME}/server/all/lib/jboss-cache.jar + ln -sf ${JBOSSHOME}/lib/jboss-system.jar + java-pkg_jar-from jmx + if ! [ -r jboss-cache.jar ] ; then + eerror "The JBoss JARs are not readable. Most likely, the " + eerror "/var/lib/jboss directory is not traverseable by the " + eerror "portage user." + die "See above message." + fi + else + find ${S}/src -name "Tree*" -exec rm {} \; + fi + + if use junit ; then + java-pkg_jar-from junit + java-pkg_jar-from hsqldb + fi + + cd .. + + # JCS is deprecated, so don't compile it + find src -name "JCS*" -exec rm {} \; + + sed -r -i \ + -e '/<splash/d' \ + -e 's/..\/\$\{name\}/dist/g' \ + build.xml + sed -r -i \ + -e "s/JCSCache/EhCache/g" \ + test/org/hibernate/test/CacheTest.java +} + +src_compile() { + use jikes && ! use jboss && export ANT_OPTS="-Dbuild.compiler=jikes" + targets="jar" + if use junit ; then + targets="${targets} junitreport" + fi + use doc && targets="${targets} javadoc" + ant -q ${targets} || die "Build failed." +} + +src_install() { + java-pkg_dojar dist/hibernate3.jar + dodoc *.txt + use doc && java-pkg_dohtml -r dist/doc/* + insinto /usr/share/doc/${P}/sample + doins etc/*.xml etc/*.properties src/META-INF/ra.xml +} |