diff options
author | Tom Wijsman <TomWij@live.com> | 2013-05-15 09:06:37 +0200 |
---|---|---|
committer | Tom Wijsman <TomWij@live.com> | 2013-05-15 09:06:37 +0200 |
commit | 2ac0a0aad36b0b16a3e44e4dac3d831d03f1b947 (patch) | |
tree | 1cd4f0aa77a3a27cedb6f798f1588bbe48cea26a /dev-java/jetty-security | |
parent | Added Eclipse Jetty dependencies for Eclipse SDK. (diff) | |
download | TomWij-2ac0a0aad36b0b16a3e44e4dac3d831d03f1b947.tar.gz TomWij-2ac0a0aad36b0b16a3e44e4dac3d831d03f1b947.tar.bz2 TomWij-2ac0a0aad36b0b16a3e44e4dac3d831d03f1b947.zip |
Dropped the eclipse- prefix since Eclipse took over the Jetty project and therefore there is no separation necessary.
Package-Manager: portage-2.1.11.63
Manifest-Sign-Key: 6D34E57D
Diffstat (limited to 'dev-java/jetty-security')
-rw-r--r-- | dev-java/jetty-security/Manifest | 18 | ||||
-rw-r--r-- | dev-java/jetty-security/files/jetty-security-8.1.10-build.xml | 205 | ||||
-rw-r--r-- | dev-java/jetty-security/jetty-security-8.1.10.ebuild | 58 | ||||
-rw-r--r-- | dev-java/jetty-security/metadata.xml | 11 |
4 files changed, 292 insertions, 0 deletions
diff --git a/dev-java/jetty-security/Manifest b/dev-java/jetty-security/Manifest new file mode 100644 index 0000000..27b2034 --- /dev/null +++ b/dev-java/jetty-security/Manifest @@ -0,0 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX jetty-security-8.1.10-build.xml 11647 SHA256 fd10cde46607f15cd67351c5163be2151976abeb18dc8490adbdbf2d666c704a SHA512 c3feab25266a7f08f4af6ba79898824a0fc6ceb71af7d56b8f3ad654726200bc22a88d430e18f1ed57aedc34b98c63c3d4338cb7ddc5707c09db69e3263bd77f WHIRLPOOL c5dd530a29075f45fd56c70c1e7185a162c45e4dd2c2b7adc21de8736e7c74456fcdd04ca03d1d3240446ad1fe72236a0c17d1625e2d7df64482d944fe883834 +DIST jetty-security-8.1.10.v20130312-sources.jar 62212 SHA256 84e971b42d6d2249c4df7cc9bcc725f94fef68e55b29a31c467b39c9ae18fb86 SHA512 1775d6ba71f669d043152a6351cb014fbd9ae3736d20c671de1d5a1de9bf827d89a7254de4dcf6fb0869af17eb56b84f222d5eab9887ed185b2d48d9a7d85553 WHIRLPOOL 1b1f7db30aed51605ab2c4992a1c12f9538eb410929c17d168ec2771871bf081217fade032d17d35361042101c68935bdfb7d932e6abd7146e089a5d9712271d +EBUILD jetty-security-8.1.10.ebuild 1384 SHA256 acbce822be0e5e2653c1e4957c85d506419468ef978a8b3028e798bef18645dd SHA512 1648cb868b8bdfb2a38e9f4942b2edd3fe20038c4ad64b44a2baa81693da4a41f7a09e5012f1400ad1059b1b25ca9ca84f2ee8292c628614367b926a40668775 WHIRLPOOL 7ac561b78ce926d77cd1a9d42446b0d99edc3194b4131118e9a6fa08e9d1bf7b44613a78a8d982e01c8dd65dcbd5e2a8d9cf50a997e462547c7e29a92d77e17e +MISC metadata.xml 304 SHA256 bd5db6b42497343f43a39d41514167be22362c1e21e2fa7472a1ccf9d5031a51 SHA512 1d8b5ad48c2d1b7f8ee28599dfd23b1e8f5335a74c6312a3d5cff5b37cc3a1d52ff057eceb18f95482b45b7bf97004dc62573379b74b65afa531cc28fd1867c9 WHIRLPOOL 04d5aef75182df974dd35a398024cc4278788c7405e71b6bfd3658918c3338eb7fca3d9a80a0ef583e2c7cec3bd2f8ea799b9f4ce0cf5c44f18e6349b5cfa24a +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJRkzKcAAoJEJWyH81tNOV9Bw0H/iH09PWuhVbQDxhgH2TnQsz3 +T24Lq/bSDHYGsxUbfg9Keaz7KBbfmmKVAEwrpLrCmxkZZ0iIetyjTEH0NohcZXWf +2yGzQgZGCVPlg0AHc21MQAijSxKYUan4aGHtdePJG2WEUxZWQpSdYsa/sdLsBg9p +jEHw2tfmxKU4ryioGi5PXEPiNPbv+/TGsKUgAmT80jeiTGpaJ7NqZrd+zWIis+OE +Xtob3vghimqyrltpXLVjJ5sk/fFkQYlCgs9iQGyCV6Ai40ASZ6um5Oln9PxAI3fo +JceKbU62j7BGWe+AMjvd02d/5XmHDegaWhRntRENj2Kmjt+5qSvewitz+UpvjlM= +=Qki9 +-----END PGP SIGNATURE----- diff --git a/dev-java/jetty-security/files/jetty-security-8.1.10-build.xml b/dev-java/jetty-security/files/jetty-security-8.1.10-build.xml new file mode 100644 index 0000000..eab0a3e --- /dev/null +++ b/dev-java/jetty-security/files/jetty-security-8.1.10-build.xml @@ -0,0 +1,205 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- ====================================================================== --> +<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. --> +<!-- ====================================================================== --> + +<!-- ====================================================================== --> +<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== --> +<!-- ====================================================================== --> +<!-- --> +<!-- Any modifications will be overwritten. --> +<!-- --> +<!-- Generated by Maven Ant Plugin on 5/12/13 3:32 PM --> +<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ --> +<!-- --> +<!-- ====================================================================== --> + +<project name="jetty-security-from-maven" default="package" basedir="."> + + <!-- ====================================================================== --> + <!-- Build environment properties --> + <!-- ====================================================================== --> + + <property file="${user.home}/.m2/maven.properties"/> + <property file="maven-build.properties"/> + + <property name="maven.build.finalName" value="jetty-security-8.1.10.v20130312"/> + <property name="maven.build.dir" value="target"/> + <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/> + <property name="maven.build.srcDir.0" value="src/main/java"/> + <property name="maven.build.resourceDir.0" value="src/main/resources"/> + <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/> + <property name="maven.build.testDir.0" value="src/test/java"/> + <property name="maven.build.testResourceDir.0" value="src/test/resources"/> + <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/> + <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/> + + <property name="maven.repo.local" value="${user.home}/.m2/repository"/> + <property name="maven.settings.offline" value="false"/> + <property name="maven.settings.interactiveMode" value="true"/> + + <!-- ====================================================================== --> + <!-- Defining classpaths --> + <!-- ====================================================================== --> + + <path id="build.classpath"> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-server/8.1.3.v20120416/jetty-server-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-continuation/8.1.3.v20120416/jetty-continuation-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-http/8.1.3.v20120416/jetty-http-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-io/8.1.3.v20120416/jetty-io-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar"/> + </path> + <path id="build.test.classpath"> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-server/8.1.3.v20120416/jetty-server-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-continuation/8.1.3.v20120416/jetty-continuation-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-http/8.1.3.v20120416/jetty-http-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-io/8.1.3.v20120416/jetty-io-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar"/> + <pathelement location="${maven.repo.local}/junit/junit/4.8.1/junit-4.8.1.jar"/> + </path> + + <!-- ====================================================================== --> + <!-- Cleaning up target --> + <!-- ====================================================================== --> + + <target name="clean" description="Clean the output directory"> + <delete dir="${maven.build.dir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Compilation target --> + <!-- ====================================================================== --> + + <target name="compile" depends="get-deps" description="Compile the code"> + <mkdir dir="${maven.build.outputDir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Test-compilation target --> + <!-- ====================================================================== --> + + <target name="compile-tests" + depends="compile" + description="Compile the test code" + unless="maven.test.skip"> + <mkdir dir="${maven.build.testOutputDir}"/> + </target> + + <!-- ====================================================================== --> + <!-- Run all tests --> + <!-- ====================================================================== --> + + <target name="test" + depends="compile-tests, junit-missing" + unless="junit.skipped" + description="Run the test cases"/> + + <target name="test-junit-present"> + <available classname="junit.framework.Test" property="junit.present"/> + </target> + + <target name="test-junit-status" + depends="test-junit-present"> + <condition property="junit.missing"> + <and> + <isfalse value="${junit.present}"/> + <isfalse value="${maven.test.skip}"/> + </and> + </condition> + <condition property="junit.skipped"> + <or> + <isfalse value="${junit.present}"/> + <istrue value="${maven.test.skip}"/> + </or> + </condition> + </target> + + <target name="junit-missing" + depends="test-junit-status" + if="junit.missing"> + <echo>=================================== WARNING ===================================</echo> + <echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo> + <echo>===============================================================================</echo> + </target> + + <!-- ====================================================================== --> + <!-- Javadoc target --> + <!-- ====================================================================== --> + + <target name="javadoc" description="Generates the Javadoc of the application"/> + + <!-- ====================================================================== --> + <!-- Package target --> + <!-- ====================================================================== --> + + <target name="package" depends="compile,test" description="Package the application"> + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" + manifest="/var/tmp/portage/dev-java/jetty-security-9.0.3/work/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"/> + </target> + + <!-- ====================================================================== --> + <!-- A dummy target for the package named after the type it creates --> + <!-- ====================================================================== --> + + <target name="jar" depends="package" description="Builds the jar for the application"/> + + <!-- ====================================================================== --> + <!-- Download dependencies target --> + <!-- ====================================================================== --> + + <target name="test-offline"> + <condition property="maven.mode.offline"> + <equals arg1="${maven.settings.offline}" arg2="true"/> + </condition> + </target> + + <target name="get-deps" + depends="test-offline" + description="Download all dependencies" + unless="maven.mode.offline"> + <mkdir dir="${maven.repo.local}"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/jetty-server/8.1.3.v20120416"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-server/8.1.3.v20120416/jetty-server-8.1.3.v20120416.jar" + dest="${maven.repo.local}/org/eclipse/jetty/jetty-server/8.1.3.v20120416/jetty-server-8.1.3.v20120416.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar" + dest="${maven.repo.local}/org/eclipse/jetty/orbit/javax.servlet/3.0.0.v201112011016/javax.servlet-3.0.0.v201112011016.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/jetty-continuation/8.1.3.v20120416"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-continuation/8.1.3.v20120416/jetty-continuation-8.1.3.v20120416.jar" + dest="${maven.repo.local}/org/eclipse/jetty/jetty-continuation/8.1.3.v20120416/jetty-continuation-8.1.3.v20120416.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/jetty-http/8.1.3.v20120416"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-http/8.1.3.v20120416/jetty-http-8.1.3.v20120416.jar" + dest="${maven.repo.local}/org/eclipse/jetty/jetty-http/8.1.3.v20120416/jetty-http-8.1.3.v20120416.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/jetty-io/8.1.3.v20120416"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-io/8.1.3.v20120416/jetty-io-8.1.3.v20120416.jar" + dest="${maven.repo.local}/org/eclipse/jetty/jetty-io/8.1.3.v20120416/jetty-io-8.1.3.v20120416.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416"/> + <get src="http://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar" + dest="${maven.repo.local}/org/eclipse/jetty/jetty-util/8.1.3.v20120416/jetty-util-8.1.3.v20120416.jar" + usetimestamp="false" + ignoreerrors="true"/> + <mkdir dir="${maven.repo.local}/junit/junit/4.8.1"/> + <get src="http://repo.maven.apache.org/maven2/junit/junit/4.8.1/junit-4.8.1.jar" + dest="${maven.repo.local}/junit/junit/4.8.1/junit-4.8.1.jar" + usetimestamp="false" + ignoreerrors="true"/> + </target> + +</project> diff --git a/dev-java/jetty-security/jetty-security-8.1.10.ebuild b/dev-java/jetty-security/jetty-security-8.1.10.ebuild new file mode 100644 index 0000000..65ed9e8 --- /dev/null +++ b/dev-java/jetty-security/jetty-security-8.1.10.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +JAVA_PKG_IUSE="test" + +inherit java-pkg-2 java-ant-2 java-osgi + +DESCRIPTION="Eclipse Jetty Security" +HOMEPAGE="http://www.eclipse.org/jetty/" +LICENSE="Apache-2.0 EPL-1.0" + +BUILD_DATE="20130312" + +MY_PV="${PV}.v${BUILD_DATE}" +MY_P="${PN}-${MY_PV}" + +SRC_URI="http://repo1.maven.org/maven2/org/eclipse/jetty/${PN}/${MY_PV}/${MY_P}-sources.jar" +SLOT="8" +KEYWORDS="~amd64 ~x86" + +S="${WORKDIR}" + +COMMON_DEPEND="dev-java/jetty-http:8 + dev-java/jetty-server:8 + dev-java/jetty-util:8 + java-virtuals/servlet-api:3.0" + +DEPEND="${COMMON_DEPEND} + >=virtual/jdk-1.7 + test? ( + dev-java/ant-junit:0 + dev-java/junit:0 + )" + +RDEPEND="${COMMON_DEPEND} + >=virtual/jre-1.7" + +java_prepare() { + cd "${S}" || die + cp "${FILESDIR}"/${P}-build.xml build.xml || die + sed -i 's/manifest=".*"/manifest="META-INF\/MANIFEST.MF"/g' build.xml || die + sed -i 's/\(<mkdir dir="${maven.build.outputDir}"\/>\)/\1<javac srcdir="." destdir="${maven.build.outputDir}" \/>/g' build.xml || die +} + +EANT_GENTOO_CLASSPATH="jetty-util-8,jetty-http-8,jetty-server-8,servlet-api-3.0" +EANT_TEST_GENTOO_CLASSPATH="junit" +JAVA_ANT_REWRITE_CLASSPATH="true" + +src_test() { + java-pkg-2_src_test +} + +src_install() { + java-osgi_newjar-fromfile target/${MY_P}.jar META-INF/MANIFEST.MF org.eclipse.jetty.security +}
\ No newline at end of file diff --git a/dev-java/jetty-security/metadata.xml b/dev-java/jetty-security/metadata.xml new file mode 100644 index 0000000..ab8234c --- /dev/null +++ b/dev-java/jetty-security/metadata.xml @@ -0,0 +1,11 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>TomWij@gentoo.org</email> + <name>Tom Wijsman</name> + </maintainer> + <longdescription> + Eclipse Jetty Security + </longdescription> +</pkgmetadata> |