summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-04-01 13:30:51 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-04-01 13:30:51 +0000
commit69a0c4506a82d0b1b50243c71f5d396451f7c787 (patch)
tree8140d9f9baa8973c92ef05b60db052b22614fe97 /dev-java/hibernate
parentVersion bump using generation 2 eclasses. (diff)
downloadgentoo-2-69a0c4506a82d0b1b50243c71f5d396451f7c787.tar.gz
gentoo-2-69a0c4506a82d0b1b50243c71f5d396451f7c787.tar.bz2
gentoo-2-69a0c4506a82d0b1b50243c71f5d396451f7c787.zip
Remove slot 2 because it's still generation 1 and nothing is depending on it.
(Portage version: 2.1.2.3)
Diffstat (limited to 'dev-java/hibernate')
-rw-r--r--dev-java/hibernate/ChangeLog7
-rw-r--r--dev-java/hibernate/files/digest-hibernate-2.1.83
-rw-r--r--dev-java/hibernate/hibernate-2.1.8.ebuild165
3 files changed, 6 insertions, 169 deletions
diff --git a/dev-java/hibernate/ChangeLog b/dev-java/hibernate/ChangeLog
index b0bac7a0b921..9a3372c83325 100644
--- a/dev-java/hibernate/ChangeLog
+++ b/dev-java/hibernate/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/hibernate
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/hibernate/ChangeLog,v 1.29 2007/01/24 20:07:44 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/hibernate/ChangeLog,v 1.30 2007/04/01 13:30:51 betelgeuse Exp $
+
+ 01 Apr 2007; Petteri Räty <betelgeuse@gentoo.org>
+ -hibernate-2.1.8.ebuild:
+ Remove slot 2 because it's still generation 1 and nothing is depending on it.
24 Jan 2007; Vlastimil Babka <caster@gentoo.org> hibernate-2.1.8.ebuild:
Correct cglib-2 dep to pull correct slot.
@@ -62,6 +66,7 @@
16 Mar 2005; Lim Swee Tat <st_lim@gentoo.org> :
Fixed hibernate-2.1.8
+*hibernate-3.0_rc1 (11 Mar 2005)
*hibernate-2.1.8 (11 Mar 2005)
11 Mar 2005; Lim Swee Tat <st_lim@gentoo.org> +hibernate-2.1.8.ebuild,
diff --git a/dev-java/hibernate/files/digest-hibernate-2.1.8 b/dev-java/hibernate/files/digest-hibernate-2.1.8
deleted file mode 100644
index 9b0fe17c8237..000000000000
--- a/dev-java/hibernate/files/digest-hibernate-2.1.8
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 6a0459c511ded947d01cc7de15a518ef hibernate-2.1.8.tar.gz 17348255
-RMD160 cdc7c9723c30c048de2f27472c40902721a2a236 hibernate-2.1.8.tar.gz 17348255
-SHA256 5f81e81bc5d8b5727bd8419119c4a8094cd59c8035bdb17ac5b0e823e4f0afef hibernate-2.1.8.tar.gz 17348255
diff --git a/dev-java/hibernate/hibernate-2.1.8.ebuild b/dev-java/hibernate/hibernate-2.1.8.ebuild
deleted file mode 100644
index 0cc6c28d86e8..000000000000
--- a/dev-java/hibernate/hibernate-2.1.8.ebuild
+++ /dev/null
@@ -1,165 +0,0 @@
-# Copyright 1999-2007 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.11 2007/01/24 20:07:44 caster 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/${P}.tar.gz"
-HOMEPAGE="http://www.hibernate.org"
-LICENSE="LGPL-2"
-SLOT="2"
-KEYWORDS="~x86 ~amd64"
-RDEPEND=">=virtual/jre-1.4
-
- =dev-java/cglib-2.0*
- dev-java/commons-collections
- =dev-java/commons-lang-2.0*
- dev-java/commons-logging
- dev-java/concurrent-util
- >=dev-java/dom4j-1.5
- dev-java/ehcache
- dev-java/jcs-bin
- dev-java/jta
- dev-java/odmg
-
- c3p0? (
- dev-java/c3p0
- )
- dbcp? (
- dev-java/commons-pool
- dev-java/commons-dbcp
- )
- jboss? (
- >=www-servers/jboss-3.2.5
- dev-java/sun-jmx
- )
- proxool? (
- dev-java/proxool
- )
- oscache? (
- dev-java/oscache
- )
- swarmcache? (
- dev-java/swarmcache
- )
-
- "
-DEPEND=">=virtual/jdk-1.4
- ${RDEPEND}
- >=dev-java/ant-core-1.5
- junit? (
- dev-java/ant
- dev-java/junit
- dev-db/hsqldb
- )"
-IUSE="c3p0 dbcp doc jikes jboss jcs junit proxool oscache swarmcache"
-
-S=${WORKDIR}/${PN}-${PV:0:3}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- mv lib old-lib
- mkdir lib
- cd lib
- mv ../old-lib/connector.jar .
-
- java-pkg_jar-from cglib-2
- java-pkg_jar-from commons-collections
- java-pkg_jar-from commons-lang
- java-pkg_jar-from commons-logging
- java-pkg_jar-from concurrent-util
- java-pkg_jar-from dom4j-1
- java-pkg_jar-from ehcache
- java-pkg_jar-from jcs-bin-1.0
- java-pkg_jar-from jta
- java-pkg_jar-from odmg
-
- # c3p0 support
- if use c3p0 ; then
- java-pkg_jar-from c3p0
- else
- find ${S}/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 ${S}/src -name "DBCP*" -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 sun-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
-
- # JUnit support
- if use junit ; then
- java-pkg_jar-from junit
- java-pkg_jar-from hsqldb
- fi
-
- # Proxool support
- if use proxool ; then
- java-pkg_jar-from proxool
- else
- find ${S}/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
-
- # SwarmCache support
- if use swarmcache ; then
- java-pkg_jar-from swarmcache-1.0
- else
- find ${S}/src -name "SwarmCache*" -exec rm {} \;
- fi
-
- cd ..
-
- 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
- java-pkg_dojar lib/connector.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
-}