diff options
author | Alistair Bush <ali_bush@gentoo.org> | 2007-07-11 12:05:50 +0000 |
---|---|---|
committer | Alistair Bush <ali_bush@gentoo.org> | 2007-07-11 12:05:50 +0000 |
commit | d08f9bc42544977c1826759acd6646ff4c61634f (patch) | |
tree | f608ef0619fe76f56c0f47cd52ee417e44cda17a /dev-java | |
parent | Stable on amd64 wrt security bug #182047 (diff) | |
download | gentoo-2-d08f9bc42544977c1826759acd6646ff4c61634f.tar.gz gentoo-2-d08f9bc42544977c1826759acd6646ff4c61634f.tar.bz2 gentoo-2-d08f9bc42544977c1826759acd6646ff4c61634f.zip |
Adding package provided by elvantor <elvantor2007@gmail.com> after some minor cleanup.
(Portage version: 2.1.3_rc7)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/tapestry/ChangeLog | 12 | ||||
-rw-r--r-- | dev-java/tapestry/Manifest | 28 | ||||
-rw-r--r-- | dev-java/tapestry/files/Version.properties | 5 | ||||
-rw-r--r-- | dev-java/tapestry/files/build.properties | 32 | ||||
-rw-r--r-- | dev-java/tapestry/files/common.properties | 94 | ||||
-rw-r--r-- | dev-java/tapestry/files/digest-tapestry-3.0.4 | 3 | ||||
-rw-r--r-- | dev-java/tapestry/metadata.xml | 13 | ||||
-rw-r--r-- | dev-java/tapestry/tapestry-3.0.4.ebuild | 78 |
8 files changed, 265 insertions, 0 deletions
diff --git a/dev-java/tapestry/ChangeLog b/dev-java/tapestry/ChangeLog new file mode 100644 index 000000000000..03cf800338ba --- /dev/null +++ b/dev-java/tapestry/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for dev-java/tapestry +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/tapestry/ChangeLog,v 1.1 2007/07/11 12:05:50 ali_bush Exp $ + +*tapestry-3.0.4 (11 Jul 2007) + + 11 Jul 2007; Alistair John Bush <ali_bush@gentoo.org> + +files/Version.properties, +files/build.properties, + +files/common.properties, +metadata.xml, +tapestry-3.0.4.ebuild: + Adding tapestry package. Ebuild provided by elvantor <elvanor2007@gmail.com> + with some cleanup performed by myself. + diff --git a/dev-java/tapestry/Manifest b/dev-java/tapestry/Manifest new file mode 100644 index 000000000000..1a855d99c686 --- /dev/null +++ b/dev-java/tapestry/Manifest @@ -0,0 +1,28 @@ +AUX Version.properties 162 RMD160 1c61c24ea61da34d0bd511158018b26a40667eb8 SHA1 d6fe46e4fe780c205fac918a2c0a0c0e68cba363 SHA256 a809980507a831d465f60e23f28cb41f004615e50567cf027fef76f32202b2da +MD5 48e9b86f2b06e8261dceff1136e4198b files/Version.properties 162 +RMD160 1c61c24ea61da34d0bd511158018b26a40667eb8 files/Version.properties 162 +SHA256 a809980507a831d465f60e23f28cb41f004615e50567cf027fef76f32202b2da files/Version.properties 162 +AUX build.properties 1141 RMD160 c00f5fb5bc05fc72277daab30564a18fb68bbe3c SHA1 50eb7fad60a67a62deff1e1fbb3042962db4a06e SHA256 326a3ca39cb42444711c4cf0d9d684f45ef894631f442e3a4681ca728f404a18 +MD5 ac16297a3c57ecfad377d746b9abfe6a files/build.properties 1141 +RMD160 c00f5fb5bc05fc72277daab30564a18fb68bbe3c files/build.properties 1141 +SHA256 326a3ca39cb42444711c4cf0d9d684f45ef894631f442e3a4681ca728f404a18 files/build.properties 1141 +AUX common.properties 2850 RMD160 157b524f6f9cf992d31d52b72a4d3e0b59a840f6 SHA1 6f97f1e25244d2968a5de64e7707e10748b3cf1e SHA256 25595d00859b865b8471537b31a91ee22ffeeccf83ffe0a09bbc0dfb31bceced +MD5 9f69fa4be9b585ae0b0c489ee415b139 files/common.properties 2850 +RMD160 157b524f6f9cf992d31d52b72a4d3e0b59a840f6 files/common.properties 2850 +SHA256 25595d00859b865b8471537b31a91ee22ffeeccf83ffe0a09bbc0dfb31bceced files/common.properties 2850 +DIST Tapestry-3.0.4-src.zip 1174780 RMD160 bd16da45c80a5c943baa63a4c89a1b8b562708ab SHA1 479c014d28810d248d5e4576b39630d2649ed467 SHA256 ff66bf1d4d45e80520aff4ddb08986c6b5b4059dd9bce8bd40e83a7be5643c6a +EBUILD tapestry-3.0.4.ebuild 1938 RMD160 45e12428402a29abbdd392f25f71c284091a5ceb SHA1 5d464dac35edf4777d56f0df5e4dd6b3d8fad6b8 SHA256 6377fd37b948ed7358d7a625a10f60d3d3b03e5260dfe35dc5de3bd6594d3475 +MD5 5ec25d34706bbb11b5eb152cc38a341a tapestry-3.0.4.ebuild 1938 +RMD160 45e12428402a29abbdd392f25f71c284091a5ceb tapestry-3.0.4.ebuild 1938 +SHA256 6377fd37b948ed7358d7a625a10f60d3d3b03e5260dfe35dc5de3bd6594d3475 tapestry-3.0.4.ebuild 1938 +MISC ChangeLog 447 RMD160 e5169f6c7e0802577b7981f86988fa4eed2290e0 SHA1 37315ed68844b00d82ad76c5dec2355cd4bb7482 SHA256 fb0086caaa7bf39dd1c478cb6d2f72c41e1e00fc94ea1324270dd04a83d69d67 +MD5 9534c25d67aecddad9d4552a93ea17d5 ChangeLog 447 +RMD160 e5169f6c7e0802577b7981f86988fa4eed2290e0 ChangeLog 447 +SHA256 fb0086caaa7bf39dd1c478cb6d2f72c41e1e00fc94ea1324270dd04a83d69d67 ChangeLog 447 +MISC metadata.xml 677 RMD160 86fa6b8a634696ad7cbe529f2bf74f4e0c8dd7f6 SHA1 3a5a2231055d47817cb8ea3a74a0f18e9a5f8d52 SHA256 6995a582ab0db192fab6d21746393d3a321595b00585a40ec4de93422829130b +MD5 81c3b346274d3dbe2c90a36006b393fd metadata.xml 677 +RMD160 86fa6b8a634696ad7cbe529f2bf74f4e0c8dd7f6 metadata.xml 677 +SHA256 6995a582ab0db192fab6d21746393d3a321595b00585a40ec4de93422829130b metadata.xml 677 +MD5 ef63c05bd652bd42ff7bcf46d5b8058d files/digest-tapestry-3.0.4 250 +RMD160 83c5fe94d15c264252eaeb17b7943dd1600f2e94 files/digest-tapestry-3.0.4 250 +SHA256 5e06aec82d73bbb7c57cc0b6feb7bd71970e08fe202be1741ce070440f2e166b files/digest-tapestry-3.0.4 250 diff --git a/dev-java/tapestry/files/Version.properties b/dev-java/tapestry/files/Version.properties new file mode 100644 index 000000000000..84a60c274ebd --- /dev/null +++ b/dev-java/tapestry/files/Version.properties @@ -0,0 +1,5 @@ +# $Id: Version.properties,v 1.1 2007/07/11 12:05:50 ali_bush Exp $ +# +# Stores the version number of the framework. + +framework.version=3.0.4 diff --git a/dev-java/tapestry/files/build.properties b/dev-java/tapestry/files/build.properties new file mode 100644 index 000000000000..7b623c4a8718 --- /dev/null +++ b/dev-java/tapestry/files/build.properties @@ -0,0 +1,32 @@ +# $Id: build.properties,v 1.1 2007/07/11 12:05:50 ali_bush Exp $ +# This file is used to configure the Tapestry build. +# Copy it as "build.properties" and fill in the necessary data. + +# The absolute path to the directory where external distributions +# used in the building process will be downloaded and installed +base.path=/usr/share/java + +# The absolute path to the directory containing the JBoss installation. +# Required to execute the configure and run-jboss targets. +jboss.dir= + +# The absolute path to the directory containing the Tomcat installation. +# Required to execute the deploy-tomcat target. +# +tomcat.dir= + +# The absolute path to the directory containing the Jetty installation. +# Required to execute the run-workbench target. +jetty.dir= + +# The absolute path to the directory containing the Jython installation. +# Required to execute the junit target. +jython.dir= + +# Home for xml-forrest, used to build documentation. +# Available from :pserver:anoncvs@cvs.apache.org:/home/cvspublic as module xml-forrest +# Build forrest, then set to the shbat directory, i.e. +# C:/workspace/xml-forrest/build/dist/shbat + +forrest.home= + diff --git a/dev-java/tapestry/files/common.properties b/dev-java/tapestry/files/common.properties new file mode 100644 index 000000000000..bf3b3aab532a --- /dev/null +++ b/dev-java/tapestry/files/common.properties @@ -0,0 +1,94 @@ +# $Id: common.properties,v 1.1 2007/07/11 12:05:50 ali_bush Exp $ +# +# Specifies some general properties used throughout. +# Each build.xml must specify root.dir (as a relative path). + +lib.dir=lib + +root.lib.dir=${root.dir}/${lib.dir} + +ext.dist.dir=${root.dir}/ext-dist + +root.config.dir=${root.dir}/config + +framework.jar=tapestry-${framework.version}.jar +contrib.jar=tapestry-contrib-${framework.version}.jar + +examples.dir=${root.lib.dir}/examples + +vlib.war=vlib.war +vlib.ear=vlib.ear +vlibbeans.jar=vlibbeans.jar +workbench.war=workbench.war +wap.war=wap.war + +ext.download.dir=${ext.dist.dir}/downloads + +# Names of directories under lib + +ext.dir=ext +j2ee.dir=j2ee +runtime.dir=runtime + +jboss.lib.dir=${jboss.dir}/lib +jboss.client.dir=${jboss.dir}/client +jboss.server.all.lib.dir=${jboss.dir}/server/all/lib + +# Directory containing source code and package resources +src.dir=src + +# Directory containing compiled Java code +classes.dir=classes + +# Used as part of copyrights + +copyright.years=2000-2004 + +# ----- JUnit Unit Test Suite, version 3.8 or later ----- +junit.home=${ext.download.dir}/junit3.8.1 +junit.lib=${junit.home} +junit.jar=${junit.lib}/junit.jar +junit.ext.jar=${ext.dist.dir}/junit.jar +junit.loc=http://telia.dl.sourceforge.net/sourceforge/junit/junit3.8.1.zip + +# ----- JDOM Library, version 1.0 ----- +jdom.home=${ext.download.dir}/jdom-1.0 +jdom.lib=${jdom.home} +jdom.jar=${jdom.lib}/build/jdom.jar +jdom.ext.jar=${ext.dist.dir}/jdom-1.0.jar +jdom.loc=http://www.jdom.org/dist/binary/jdom-1.0.tar.gz + +# ----- McKoi Pure Java Database, version 1.0.2 ----- +mckoi.home=${ext.download.dir}/mckoi1.0.2 +mckoi.lib=${mckoi.home} +mckoi.jar=${mckoi.lib}/mckoidb.jar +mckoi.ext.jar=${ext.dist.dir}/mckoidb.jar +mckoi.loc=http://www.mckoi.com/database/ver/mckoi1.0.2.zip + +# ----- DocBook XML, version 4.1.2 ----- +docbookxml.file=${ext.dist.dir}/docbkx412.zip +docbookxml.loc=http://www.docbook.org/xml/4.1.2/docbkx412.zip + +# ----- DocBook XSL, version 1.64.1 ----- +docbookxsl.file=${ext.dist.dir}/docbook-xsl-1.64.1.zip +docbookxsl.loc=http://telia.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.64.1.zip + +# ----- Apache Forrest, version 0.5.1 ----- +forrestdl.home=${ext.download.dir}/apache-forrest-0.5.1-bin +forrestdl.ant.xml=${forrestdl.home}/forrest.antproxy.xml +forrestdl.loc=http://archive.apache.org/dist/forrest/pre-0.6/apache-forrest-0.5.1-bin.zip + +# ---- OGNL ---- +ognl.version=2.6.7 +ognl.loc=http://ognl.org/${ognl.version}/ognl-${ognl.version}.jar +ognl.dest=${root.lib.dir}/${ext.dir}/ognl-${ognl.version}.jar + +# ---- Javassist ---- + +javassist.version=2.5.1 +javassist.loc=http://umn.dl.sourceforge.net/sourceforge/jboss/javassist-${javassist.version}.zip +javassist.dest=${ext.download.dir}/javassist-${javassist.version} +javassist.ext.jar=${root.lib.dir}/${ext.dir}/javassist-${javassist.version}.jar +javassist.jar=${javassist.dest}/javassist.jar + + diff --git a/dev-java/tapestry/files/digest-tapestry-3.0.4 b/dev-java/tapestry/files/digest-tapestry-3.0.4 new file mode 100644 index 000000000000..547b9ed50d11 --- /dev/null +++ b/dev-java/tapestry/files/digest-tapestry-3.0.4 @@ -0,0 +1,3 @@ +MD5 e4a83dd62dd420eaf36340ebdb69c313 Tapestry-3.0.4-src.zip 1174780 +RMD160 bd16da45c80a5c943baa63a4c89a1b8b562708ab Tapestry-3.0.4-src.zip 1174780 +SHA256 ff66bf1d4d45e80520aff4ddb08986c6b5b4059dd9bce8bd40e83a7be5643c6a Tapestry-3.0.4-src.zip 1174780 diff --git a/dev-java/tapestry/metadata.xml b/dev-java/tapestry/metadata.xml new file mode 100644 index 000000000000..749198691081 --- /dev/null +++ b/dev-java/tapestry/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>java</herd> +<longdescription lang="en"> +Tapestry is a powerful, open-source, all-Java framework for creating leading edge web applications in Java. + +Tapestry reconceptualizes web application development in terms of objects, methods and properties instead of URLs and query parameters. + +Tapestry is an alternative to scripting environments such as JavaServer Pages or Velocity. Tapestry goes far further, providing a complete framework for creating extremely dynamic applications with minimal amounts of coding. +</longdescription> +</pkgmetadata> + diff --git a/dev-java/tapestry/tapestry-3.0.4.ebuild b/dev-java/tapestry/tapestry-3.0.4.ebuild new file mode 100644 index 000000000000..3d5b79e0ea08 --- /dev/null +++ b/dev-java/tapestry/tapestry-3.0.4.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/tapestry/tapestry-3.0.4.ebuild,v 1.1 2007/07/11 12:05:50 ali_bush Exp $ + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Tapestry is an open-source framework for creating dynamic, robust, highly scalable web applications in Java." +SRC_URI="mirror://apache/${PN}/Tapestry-${PV}-src.zip" + +HOMEPAGE="http://tapestry.apache.org/" +LICENSE="Apache-2.0" +SLOT="3.0" +KEYWORDS="~x86 ~amd64" +RDEPEND=">=virtual/jre-1.4 + >=dev-java/servletapi-2.4 + dev-java/commons-logging + dev-java/commons-lang + dev-java/commons-codec + dev-java/commons-digester + dev-java/commons-fileupload + >=dev-java/commons-beanutils-1.7 + dev-java/bsf + =dev-java/jakarta-oro-2.0* + =dev-java/javassist-2.6* + >=dev-java/ognl-2.6.9" + +DEPEND=">=virtual/jdk-1.4 + >=dev-java/servletapi-2.4 + dev-java/commons-logging + dev-java/commons-lang + dev-java/commons-codec + dev-java/commons-digester + dev-java/commons-fileupload + >=dev-java/commons-beanutils-1.7 + dev-java/bsf + =dev-java/jakarta-oro-2.0* + =dev-java/javassist-2.6* + >=dev-java/ognl-2.6.9" + +IUSE="" + +S="${WORKDIR}/Tapestry-${PV}" + +src_unpack() { + unpack ${A} + + cd "${S}/" + mkdir config + + cp "${FILESDIR}/Version.properties" config/ + cp "${FILESDIR}/build.properties" config/ + cp "${FILESDIR}/common.properties" config/ + + cd "${S}/framework" + java-ant_rewrite-classpath +} + +src_compile() { + mkdir lib + + cd framework + + gentoo_classpath="$(java-pkg_getjars commons-logging,commons-fileupload,commons-lang-2.1,commons-codec,commons-beanutils-1.7,commons-digester)" + gentoo_classpath="$gentoo_classpath:$(java-pkg_getjars servletapi-2.4,ognl-2.6,bsf-2.3,jakarta-oro-2.0,javassist-2)" + + eant -Dgentoo.classpath="$gentoo_classpath" + + use doc && javadoc -sourcepath src/ org.apache.tapestry -d ../javadoc +} + +src_install() { + java-pkg_newjar "lib/${P}.jar" + + use source && java-pkg_dosrc framework/src/org + use doc && java-pkg_dojavadoc javadoc +} |