summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aniszczyk <zx@gentoo.org>2004-02-26 06:05:30 +0000
committerChris Aniszczyk <zx@gentoo.org>2004-02-26 06:05:30 +0000
commitf9aa4e5c7a76109b3bd6e8f2b24a35428d810fab (patch)
treecb1234e66a48fd3e43b183bc71e3905959b74c28 /dev-java
parentAdded ~mips to KEYWORDS to satisfy repoman deps. (Manifest recommit) (diff)
downloadgentoo-2-f9aa4e5c7a76109b3bd6e8f2b24a35428d810fab.tar.gz
gentoo-2-f9aa4e5c7a76109b3bd6e8f2b24a35428d810fab.tar.bz2
gentoo-2-f9aa4e5c7a76109b3bd6e8f2b24a35428d810fab.zip
Version bump.
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/commons-net/ChangeLog8
-rw-r--r--dev-java/commons-net/Manifest6
-rw-r--r--dev-java/commons-net/commons-net-1.1.0.ebuild34
-rw-r--r--dev-java/commons-net/files/digest-commons-net-1.1.01
-rw-r--r--dev-java/commons-net/files/gentoo.diff125
5 files changed, 171 insertions, 3 deletions
diff --git a/dev-java/commons-net/ChangeLog b/dev-java/commons-net/ChangeLog
index 162ee127ec05..87520d86b3c3 100644
--- a/dev-java/commons-net/ChangeLog
+++ b/dev-java/commons-net/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/commons-net
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-net/ChangeLog,v 1.4 2004/01/19 05:06:09 strider Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-net/ChangeLog,v 1.5 2004/02/26 06:05:30 zx Exp $
+
+*commons-net-1.1.0 (28 Feb 2004)
+
+ 28 Feb 2004; Chris Aniszczyk <zx@gentoo.org> commons-net-1.1.0.ebuild,
+ files/gentoo.diff:
+ Version bump.
19 Jan 2004; Adrian Almenar <strider@gentoo.org> commons-net-1.0.0.ebuild:
Added amd64 keyword.
diff --git a/dev-java/commons-net/Manifest b/dev-java/commons-net/Manifest
index cec18b11ba5f..8d4e06dcc82b 100644
--- a/dev-java/commons-net/Manifest
+++ b/dev-java/commons-net/Manifest
@@ -1,4 +1,6 @@
-MD5 e7b305ec504d92bd8c4608f6b27ed9c7 commons-net-1.0.0.ebuild 874
-MD5 ee040e7ab67a4cb2bae52e1d11a5ca8d ChangeLog 697
+MD5 c4c1638c5af365748edd4aefd0f33b93 commons-net-1.0.0.ebuild 873
+MD5 8fdb5e49ea96d20b98b9cea22ff1b21d ChangeLog 696
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+MD5 e655f42f3ced82e7c3aa7888fbd01ab8 commons-net-1.1.0.ebuild 791
MD5 16b505d863a0b82e8e4dfe1746744399 files/digest-commons-net-1.0.0 140
+MD5 bf7e171a6deff0530e8f453dbc3d00bf files/digest-commons-net-1.1.0 73
diff --git a/dev-java/commons-net/commons-net-1.1.0.ebuild b/dev-java/commons-net/commons-net-1.1.0.ebuild
new file mode 100644
index 000000000000..b7836e8624e0
--- /dev/null
+++ b/dev-java/commons-net/commons-net-1.1.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-net/commons-net-1.1.0.ebuild,v 1.1 2004/02/26 06:05:30 zx Exp $
+
+inherit eutils java-pkg
+
+S="${WORKDIR}/${P}"
+DESCRIPTION="The purpose of the library is to provide fundamental protocol access, not higher-level abstractions."
+HOMEPAGE="http://jakarta.apache.org/commons/net/index.html"
+SRC_URI="mirror://apache/jakarta/commons/net/source/${P}-src.tar.gz"
+DEPEND=">=virtual/jdk-1.3
+ >=dev-java/ant-1.5.4
+ >=dev-java/oro-2.0.7"
+RDEPEND=">=virtual/jdk-1.3"
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~amd64"
+IUSE="jikes"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/gentoo.diff
+}
+
+src_compile() {
+ local antflags="jar"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ ant ${antflags}
+}
+
+src_install() {
+ java-pkg_dojar target/*.jar
+}
diff --git a/dev-java/commons-net/files/digest-commons-net-1.1.0 b/dev-java/commons-net/files/digest-commons-net-1.1.0
new file mode 100644
index 000000000000..20f3f86224b2
--- /dev/null
+++ b/dev-java/commons-net/files/digest-commons-net-1.1.0
@@ -0,0 +1 @@
+MD5 e54d771b56b19085991cb9fcff7f5187 commons-net-1.1.0-src.tar.gz 178397
diff --git a/dev-java/commons-net/files/gentoo.diff b/dev-java/commons-net/files/gentoo.diff
new file mode 100644
index 000000000000..80348a3cfc15
--- /dev/null
+++ b/dev-java/commons-net/files/gentoo.diff
@@ -0,0 +1,125 @@
+--- build.xml 2003-10-22 21:12:59.000000000 -0500
++++ build.xml.patched 2004-02-28 13:04:14.563419552 -0500
+@@ -6,6 +6,14 @@
+ -->
+
+ <project default="jar" name="commons-net" basedir=".">
++ <path id="compile.classpath">
++ <pathelement location="target/classes"/>
++ <pathelement location="target/test-classes"/>
++ <pathelement location="target/test-reports"/>
++ <pathelement location="${oro.jar}"/>
++ <pathelement location="${junit.jar}"/>
++ </path>
++
+ <property name="defaulttargetdir" value="target">
+ </property>
+ <property name="libdir" value="target/lib">
+@@ -25,12 +33,8 @@
+ <target name="init" description="o Initializes some properties">
+ <mkdir dir="${libdir}">
+ </mkdir>
+- <condition property="noget">
+- <equals arg2="only" arg1="${build.sysclasspath}">
+- </equals>
+- </condition>
+ </target>
+- <target name="compile" description="o Compile the code" depends="get-deps">
++ <target name="compile" description="o Compile the code">
+ <mkdir dir="${classesdir}">
+ </mkdir>
+ <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
+@@ -38,15 +42,10 @@
+ <pathelement location="src/java">
+ </pathelement>
+ </src>
+- <classpath>
+- <fileset dir="${libdir}">
+- <include name="*.jar">
+- </include>
+- </fileset>
+- </classpath>
++ <classpath refid="compile.classpath"/>
+ </javac>
+ </target>
+- <target name="jar" description="o Create the jar" depends="compile,test">
++ <target name="jar" description="o Create the jar" depends="compile">
+ <jar jarfile="target/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}">
+ </jar>
+ </target>
+@@ -73,23 +72,12 @@
+ <target name="internal-test" depends="compile-tests">
+ <mkdir dir="${testreportdir}">
+ </mkdir>
+- <junit dir="./" failureproperty="test.failure" printSummary="yes" fork="true" haltonerror="true">
+- <sysproperty key="basedir" value=".">
+- </sysproperty>
++ <junit>
++ <classpath refid="compile.classpath"/>
+ <formatter type="xml">
+ </formatter>
+ <formatter usefile="false" type="plain">
+ </formatter>
+- <classpath>
+- <fileset dir="${libdir}">
+- <include name="*.jar">
+- </include>
+- </fileset>
+- <pathelement path="${testclassesdir}">
+- </pathelement>
+- <pathelement path="${classesdir}">
+- </pathelement>
+- </classpath>
+ <batchtest todir="${testreportdir}">
+ <fileset dir="src/test">
+ <include name="**/*Test.java">
+@@ -108,14 +96,7 @@
+ <pathelement location="src/test">
+ </pathelement>
+ </src>
+- <classpath>
+- <fileset dir="${libdir}">
+- <include name="*.jar">
+- </include>
+- </fileset>
+- <pathelement path="${classesdir}">
+- </pathelement>
+- </classpath>
++ <classpath refid="compile.classpath"/>
+ </javac>
+ </target>
+ <target name="javadoc" description="o Generate javadoc" depends="jar">
+@@ -130,30 +111,13 @@
+ <property name="title" value="Jakarta Commons/Net 1.0.1-dev API">
+ </property>
+ <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true" sourcepath="src/java" packagenames="org.apache.commons.net.*">
+- <classpath>
+- <fileset dir="${libdir}">
+- <include name="*.jar">
+- </include>
+- </fileset>
+- <pathelement location="target/${final.name}.jar">
+- </pathelement>
+- </classpath>
++ <classpath refid="compile.classpath"/>
+ </javadoc>
+ </target>
+- <target name="get-deps" unless="noget" depends="init">
+- <get dest="${libdir}/oro-2.0.7.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/oro/jars/oro-2.0.7.jar">
+- </get>
+- <get dest="${libdir}/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/junit/jars/junit-3.8.1.jar">
+- </get>
+- <get dest="${libdir}/ant-1.5.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/ant/jars/ant-1.5.jar">
+- </get>
+- <get dest="${libdir}/ant-optional-1.5.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/ant/jars/ant-optional-1.5.jar">
+- </get>
+- </target>
+ <target name="install-maven">
+ <get dest="${user.home}/maven-install-latest.jar" usetimestamp="true" src="${repo}/maven/maven-install-latest.jar">
+ </get>
+ <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar">
+ </unjar>
+ </target>
+-</project>
+\ No newline at end of file
++</project>