From 67273ec98187f98785d4dbe4c09a6b7a84c7c9d0 Mon Sep 17 00:00:00 2001 From: Vlastimil Babka Date: Thu, 11 Jan 2007 00:24:32 +0000 Subject: [PATCH] Version bump, based on ebuild from java overlay developed there by nichoj. Drops jboss USE flag - modular jboss4 is still only in the overlay, so use the overlay if you need it. Closes bug #115369 by Mike Slinn Package-Manager: portage-2.1.2_rc4-r7 --- dev-java/hibernate/ChangeLog | 12 ++- dev-java/hibernate/Manifest | 32 +++++-- .../hibernate/files/digest-hibernate-3.1.3 | 3 + dev-java/hibernate/hibernate-3.1.3.ebuild | 84 +++++++++++++++++++ 4 files changed, 120 insertions(+), 11 deletions(-) create mode 100644 dev-java/hibernate/files/digest-hibernate-3.1.3 create mode 100644 dev-java/hibernate/hibernate-3.1.3.ebuild diff --git a/dev-java/hibernate/ChangeLog b/dev-java/hibernate/ChangeLog index 9fbcbba35b20..1c04867f6332 100644 --- a/dev-java/hibernate/ChangeLog +++ b/dev-java/hibernate/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-java/hibernate -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/hibernate/ChangeLog,v 1.22 2006/05/04 17:28:49 nichoj Exp $ +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/hibernate/ChangeLog,v 1.23 2007/01/11 00:24:31 caster Exp $ + +*hibernate-3.1.3 (11 Jan 2007) + + 11 Jan 2007; Vlastimil Babka +hibernate-3.1.3.ebuild: + Version bump, based on ebuild from java overlay developed there by nichoj. + Drops jboss USE flag - modular jboss4 is still only in the overlay, so use + the overlay if you need it. Closes bug #115369 by Mike Slinn + 04 May 2006; Joshua Nichols hibernate-3.0_rc1.ebuild: diff --git a/dev-java/hibernate/Manifest b/dev-java/hibernate/Manifest index 07d2539546b0..a5fe28840f58 100644 --- a/dev-java/hibernate/Manifest +++ b/dev-java/hibernate/Manifest @@ -1,18 +1,32 @@ -MD5 8eb4d351ad18247b5c4a9ed51d666b76 ChangeLog 3142 -RMD160 448b7635656539392fe7b83c24d9c51f3a047cf0 ChangeLog 3142 -SHA256 4451b76a3bed274808cb0dbe570dfb3666aeaec51421eb652bdbda39f2948f35 ChangeLog 3142 -MD5 b442a0c8138baf4b3737d0a382cfe360 files/digest-hibernate-2.1.8 69 -RMD160 bfe3a8065a721f4e72eb90709873430c3979b2ec files/digest-hibernate-2.1.8 69 -SHA256 30adcc617fd9d73f472683d50b42decb194a5c451733f1db994f30cb945e70e1 files/digest-hibernate-2.1.8 69 -MD5 e5aa0a8633b0ef9e280d35213fd5254f files/digest-hibernate-3.0_rc1 70 -RMD160 5617879b00ec5f66dfce111b6ecbdd2026c83d6b files/digest-hibernate-3.0_rc1 70 -SHA256 befe3aab460b7819524f51d055687ebe0bdde47c7bee55a3b8d9a97919ce28b5 files/digest-hibernate-3.0_rc1 70 +DIST hibernate-2.1.8.tar.gz 17348255 +DIST hibernate-3.0rc1.tar.gz 14125433 +DIST hibernate-3.1.3.tar.gz 18529984 RMD160 3c7a2a74d4c9f35d4250f0f0ef1fd478c7fd1828 SHA1 b27169ede61e154cf5641b5a960f9074108d55a1 SHA256 e34feddabd7e1a432f11c670d08338720beb6c1dc5bb62952612f05260944c49 +EBUILD hibernate-2.1.8.ebuild 3631 RMD160 99ec77485327f0accd09a87cadb02095582c1870 SHA1 d2a956ca1993fd2d1b5e66b7b71434f94b800065 SHA256 7131d8105623d5d7c346c804ac07bea8dae53185ceaf6a0d861010d4342440bb MD5 3b4b85e4f98e74c162e6782e0286d78d hibernate-2.1.8.ebuild 3631 RMD160 99ec77485327f0accd09a87cadb02095582c1870 hibernate-2.1.8.ebuild 3631 SHA256 7131d8105623d5d7c346c804ac07bea8dae53185ceaf6a0d861010d4342440bb hibernate-2.1.8.ebuild 3631 +EBUILD hibernate-3.0_rc1.ebuild 3633 RMD160 5150951576c359dba4db40ac616f4c1afbcae4cc SHA1 6cb6776726641ad90d7cf4d070020da78d02ebfc SHA256 9d9c8a104ad736cf6f0b4e9cbe998c92da7687fbe017589ba7fd9001cd4216c7 MD5 894d0d8af99b6e9fa02d31a04b43e9f0 hibernate-3.0_rc1.ebuild 3633 RMD160 5150951576c359dba4db40ac616f4c1afbcae4cc hibernate-3.0_rc1.ebuild 3633 SHA256 9d9c8a104ad736cf6f0b4e9cbe998c92da7687fbe017589ba7fd9001cd4216c7 hibernate-3.0_rc1.ebuild 3633 +EBUILD hibernate-3.1.3.ebuild 2074 RMD160 76e3772116c267c0db7fdbd01b7a5ccef5b894c1 SHA1 d5d700d2ab14b902ab3cf3d75f81829bb7b2c0c0 SHA256 503caf98adf602ff8dbd03ab5f1d775551470dee289c320e61e1d31ae95c7c64 +MD5 1fbc88350f73cbf7629ec5048598b77c hibernate-3.1.3.ebuild 2074 +RMD160 76e3772116c267c0db7fdbd01b7a5ccef5b894c1 hibernate-3.1.3.ebuild 2074 +SHA256 503caf98adf602ff8dbd03ab5f1d775551470dee289c320e61e1d31ae95c7c64 hibernate-3.1.3.ebuild 2074 +MISC ChangeLog 3490 RMD160 26ac25f5a22f44ce944f8ab193fcfdaa8a395620 SHA1 d1839b647e10cef63f68ed4adbfe5bbeb2e3443b SHA256 8b628ec676db696c1510b5bba07b8af6f5ba7dda733f019c6b9a22a712bd0504 +MD5 e28616d498e701174ebe38a9796e23b1 ChangeLog 3490 +RMD160 26ac25f5a22f44ce944f8ab193fcfdaa8a395620 ChangeLog 3490 +SHA256 8b628ec676db696c1510b5bba07b8af6f5ba7dda733f019c6b9a22a712bd0504 ChangeLog 3490 +MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 metadata.xml 158 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb metadata.xml 158 +MD5 b442a0c8138baf4b3737d0a382cfe360 files/digest-hibernate-2.1.8 69 +RMD160 bfe3a8065a721f4e72eb90709873430c3979b2ec files/digest-hibernate-2.1.8 69 +SHA256 30adcc617fd9d73f472683d50b42decb194a5c451733f1db994f30cb945e70e1 files/digest-hibernate-2.1.8 69 +MD5 e5aa0a8633b0ef9e280d35213fd5254f files/digest-hibernate-3.0_rc1 70 +RMD160 5617879b00ec5f66dfce111b6ecbdd2026c83d6b files/digest-hibernate-3.0_rc1 70 +SHA256 befe3aab460b7819524f51d055687ebe0bdde47c7bee55a3b8d9a97919ce28b5 files/digest-hibernate-3.0_rc1 70 +MD5 753926dba7f5a09e6ca3c58b2b7f4373 files/digest-hibernate-3.1.3 253 +RMD160 1317eda97e8e2b4afd2b838ca922f08c1636f041 files/digest-hibernate-3.1.3 253 +SHA256 c3c603703e9e3ab8263a26796fbc3f3612e5d1f36a047648c920f0a756e45d33 files/digest-hibernate-3.1.3 253 diff --git a/dev-java/hibernate/files/digest-hibernate-3.1.3 b/dev-java/hibernate/files/digest-hibernate-3.1.3 new file mode 100644 index 000000000000..fa6c67b58477 --- /dev/null +++ b/dev-java/hibernate/files/digest-hibernate-3.1.3 @@ -0,0 +1,3 @@ +MD5 caff8095849ce0fd716f2cf3678bc14c hibernate-3.1.3.tar.gz 18529984 +RMD160 3c7a2a74d4c9f35d4250f0f0ef1fd478c7fd1828 hibernate-3.1.3.tar.gz 18529984 +SHA256 e34feddabd7e1a432f11c670d08338720beb6c1dc5bb62952612f05260944c49 hibernate-3.1.3.tar.gz 18529984 diff --git a/dev-java/hibernate/hibernate-3.1.3.ebuild b/dev-java/hibernate/hibernate-3.1.3.ebuild new file mode 100644 index 000000000000..aa1fd4800c00 --- /dev/null +++ b/dev-java/hibernate/hibernate-3.1.3.ebuild @@ -0,0 +1,84 @@ +# 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-3.1.3.ebuild,v 1.1 2007/01/11 00:24:31 caster Exp $ + +inherit java-pkg-2 java-ant-2 eutils + +MY_PV="3.1" +DESCRIPTION="Hibernate is a powerful, ultra-high performance object / relational persistence and query service for Java." +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +HOMEPAGE="http://www.hibernate.org" +LICENSE="LGPL-2" +IUSE="doc source" +SLOT="3.1" +KEYWORDS="~x86 ~amd64" + +COMMON_DEPEND=" + dev-java/antlr + =dev-java/asm-2* + dev-java/c3p0 + =dev-java/cglib-2.1* + dev-java/commons-collections + dev-java/commons-logging + =dev-java/dom4j-1* + =dev-java/ehcache-1.1* + =dev-java/jaxen-1.1* + dev-java/log4j + dev-java/oscache + dev-java/proxool + =dev-java/swarmcache-1* + dev-java/jta + dev-java/sun-jacc-api + dev-java/jgroups + >=dev-java/xerces-2.7" +# dev-java/jdbc2-stdext +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEPEND}" +# FIXME doesn't like Java 1.6's JDBC API +DEPEND="|| ( + =virtual/jdk-1.4* + =virtual/jdk-1.5* + ) + dev-java/ant + ${COMMON_DEPEND}" + +S="${WORKDIR}/${PN}-${MY_PV}" + +src_unpack() { + unpack ${A} + cd ${S} + + # this depends on jboss + rm src/org/hibernate/cache/JndiBoundTreeCacheProvider.java \ + src/org/hibernate/cache/TreeCache.java \ + src/org/hibernate/cache/TreeCacheProvider.java + + cd lib + rm *.jar + + local JAR_PACKAGES="asm-2 c3p0 commons-collections + commons-logging dom4j-1 ehcache jaxen-1.1 jdbc2-stdext + log4j oscache proxool swarmcache-1.0 xerces-2 jgroups" + for PACKAGE in ${JAR_PACKAGES}; do + java-pkg_jar-from ${PACKAGE} + done + java-pkg_jar-from cglib-2.1 cglib.jar + + java-pkg_jar-from jta + java-pkg_jar-from sun-jacc-api + + java-pkg_jar-from ant-tasks ant-antlr.jar + java-pkg_jar-from antlr + java-pkg_jar-from ant-core ant.jar + +} +src_compile() { + eant jar -Ddist.dir=dist $(use_doc) +} + +src_install() { + java-pkg_dojar dist/hibernate3.jar + dodoc changelog.txt readme.txt + use doc && java-pkg_dohtml -r dist/doc/api doc/other doc/reference + use source && java-pkg_dosrc src/* +} -- 2.26.2