summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aniszczyk <zx@gentoo.org>2004-05-03 22:12:45 +0000
committerChris Aniszczyk <zx@gentoo.org>2004-05-03 22:12:45 +0000
commit5e51e2e94e2a97e75bb6d7ca541602cac118d5c8 (patch)
treeffeba61aa9af377356e343acc580452dbc1f3c0e
parentadding 5.8.4 (Manifest recommit) (diff)
downloadgentoo-2-5e51e2e94e2a97e75bb6d7ca541602cac118d5c8.tar.gz
gentoo-2-5e51e2e94e2a97e75bb6d7ca541602cac118d5c8.tar.bz2
gentoo-2-5e51e2e94e2a97e75bb6d7ca541602cac118d5c8.zip
adding patch for 1.2
-rw-r--r--dev-java/commons-net/files/digest-commons-net-1.2.01
-rw-r--r--dev-java/commons-net/files/gentoo-1.2.diff77
2 files changed, 78 insertions, 0 deletions
diff --git a/dev-java/commons-net/files/digest-commons-net-1.2.0 b/dev-java/commons-net/files/digest-commons-net-1.2.0
new file mode 100644
index 000000000000..9000d7304640
--- /dev/null
+++ b/dev-java/commons-net/files/digest-commons-net-1.2.0
@@ -0,0 +1 @@
+MD5 f63a734433821a6836c4a62daf117c27 commons-net-1.2.0-src.tar.gz 179936
diff --git a/dev-java/commons-net/files/gentoo-1.2.diff b/dev-java/commons-net/files/gentoo-1.2.diff
new file mode 100644
index 000000000000..b840b298b1d1
--- /dev/null
+++ b/dev-java/commons-net/files/gentoo-1.2.diff
@@ -0,0 +1,77 @@
+--- build.xml 2004-04-30 20:02:34.000000000 -0500
++++ build.xml.patched 2004-05-08 14:16:02.487920896 -0500
+@@ -19,6 +19,13 @@
+ on date February 16 2004, time 2310-->
+
+ <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">
+@@ -43,7 +50,7 @@
+ </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">
+@@ -51,15 +58,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>
+@@ -143,30 +145,13 @@
+ <property name="title" value="Jakarta Commons/Net 1.2.0-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.8.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/oro/jars/oro-2.0.8.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>