summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2004-12-22 23:50:23 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2004-12-22 23:50:23 +0000
commit741df47d370504f1a6afff9bcea64e97b20ddaa4 (patch)
tree292795b22f7c1d339d44765cbec24611eb2fc6a6 /dev-java/jcifs
parentMinor fixx0r. (Manifest recommit) (diff)
downloadgentoo-2-741df47d370504f1a6afff9bcea64e97b20ddaa4.tar.gz
gentoo-2-741df47d370504f1a6afff9bcea64e97b20ddaa4.tar.bz2
gentoo-2-741df47d370504f1a6afff9bcea64e97b20ddaa4.zip
Initial import. Fixes #75227.
Diffstat (limited to 'dev-java/jcifs')
-rw-r--r--dev-java/jcifs/ChangeLog9
-rw-r--r--dev-java/jcifs/Manifest5
-rw-r--r--dev-java/jcifs/files/build-xml.patch36
-rw-r--r--dev-java/jcifs/files/digest-jcifs-1.1.51
-rw-r--r--dev-java/jcifs/jcifs-1.1.5.ebuild44
-rw-r--r--dev-java/jcifs/metadata.xml15
6 files changed, 110 insertions, 0 deletions
diff --git a/dev-java/jcifs/ChangeLog b/dev-java/jcifs/ChangeLog
new file mode 100644
index 000000000000..a7a7296fee13
--- /dev/null
+++ b/dev-java/jcifs/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-java/jcifs
+# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jcifs/ChangeLog,v 1.1 2004/12/22 23:50:23 karltk Exp $
+
+*jcifs-1.1.5 (23 Dec 2004)
+
+ 23 Dec 2004; Karl Trygve Kalleberg <karltk@gentoo.org> jcifs-1.1.5.ebuild:
+ Initial import. Ebuild submitted by none other than the mean ebuild producing
+ machine Jan 'Berta' Brinkmann <lukcy@the-luckyduck.de>. Fixes #75227.
diff --git a/dev-java/jcifs/Manifest b/dev-java/jcifs/Manifest
new file mode 100644
index 000000000000..83ee4af0ed42
--- /dev/null
+++ b/dev-java/jcifs/Manifest
@@ -0,0 +1,5 @@
+MD5 d623035f0ae7b2c823c35741a308664d jcifs-1.1.5.ebuild 918
+MD5 2f83beb314d05d0213d44f19e10094ff ChangeLog 266
+MD5 0637a933ecb6e8cedfc4ddfcf3491728 metadata.xml 310
+MD5 8f76e601c230b2b96ca413ef3f9feae8 files/digest-jcifs-1.1.5 60
+MD5 b01860bd82de6b504fa59392a812a565 files/build-xml.patch 1272
diff --git a/dev-java/jcifs/files/build-xml.patch b/dev-java/jcifs/files/build-xml.patch
new file mode 100644
index 000000000000..773cba13b50a
--- /dev/null
+++ b/dev-java/jcifs/files/build-xml.patch
@@ -0,0 +1,36 @@
+--- build.xml.orig 2004-12-19 15:48:41.189142888 +0100
++++ build.xml 2004-12-19 15:47:52.200590280 +0100
+@@ -30,30 +30,15 @@
+ usage: Displays this message.</echo>
+ </target>
+
+- <target name="hasServlet" unless="hasServlet">
+- <fail>
+-
+- The Java Servlet API classes could not be found. These files can be
+- obtained from:
+-
+- http://java.sun.com/products/servlet/download.html
+- </fail>
+- </target>
+-
+- <target name="dependencies">
+- <available classname="javax.servlet.Servlet" property="hasServlet"/>
+- <antcall target="hasServlet"/>
+- </target>
+-
+- <target name="compile" depends="dependencies">
++ <target name="compile">
+ <mkdir dir="build"/>
+- <javac srcdir="src" destdir="build" debug="on"/>
++ <javac srcdir="src" destdir="build" debug="off" source="1.4" target="1.4"/>
+ <copy file="src/jcifs/util/mime.map" tofile="build/jcifs/util/mime.map" overwrite="yes"/>
+ <copy file="src/jcifs/http/ne.css" tofile="build/jcifs/http/ne.css" overwrite="yes"/>
+ </target>
+
+ <target name="jar" depends="compile">
+- <jar jarfile="jcifs-${version}.jar">
++ <jar jarfile="jcifs.jar">
+ <fileset dir="build"/>
+ </jar>
+ </target>
diff --git a/dev-java/jcifs/files/digest-jcifs-1.1.5 b/dev-java/jcifs/files/digest-jcifs-1.1.5
new file mode 100644
index 000000000000..9de139fd8a23
--- /dev/null
+++ b/dev-java/jcifs/files/digest-jcifs-1.1.5
@@ -0,0 +1 @@
+MD5 b8f24e347d99b460796801fbc28cdb47 jcifs-1.1.5.tgz 575978
diff --git a/dev-java/jcifs/jcifs-1.1.5.ebuild b/dev-java/jcifs/jcifs-1.1.5.ebuild
new file mode 100644
index 000000000000..36f61480d73f
--- /dev/null
+++ b/dev-java/jcifs/jcifs-1.1.5.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jcifs/jcifs-1.1.5.ebuild,v 1.1 2004/12/22 23:50:23 karltk Exp $
+
+inherit eutils java-pkg
+
+DESCRIPTION="Library that implements the CIFS/SMB networking protocol in Java"
+SRC_URI="http://jcifs.samba.org/src/${P}.tgz"
+HOMEPAGE="http://jcifs.samba.org/"
+LICENSE="LGPL-2.1"
+SLOT="1.1"
+KEYWORDS="~x86 ~amd64"
+IUSE="doc jikes"
+DEPEND=">=virtual/jdk-1.4
+ jikes? ( >=dev-java/jikes-1.21 )
+ >=dev-java/ant-core-1.4"
+RDEPEND=">=virtual/jre-1.4
+ =dev-java/servletapi-2.3*"
+
+S=${WORKDIR}/${P/-/_}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/build-xml.patch
+ java-pkg_jar-from servletapi-2.3
+}
+
+src_compile() {
+ local antflags="jar"
+ if use jikes; then
+ antflags="${antflags} -Dbuild.compiler=jikes"
+ fi
+ ant ${antflags} || die "failed to build"
+}
+
+src_install() {
+ java-pkg_dojar ${PN}.jar
+
+ if use doc; then
+ java-pkg_dohtml -r docs/api docs/*.html
+ fi
+}
diff --git a/dev-java/jcifs/metadata.xml b/dev-java/jcifs/metadata.xml
new file mode 100644
index 000000000000..39781c735421
--- /dev/null
+++ b/dev-java/jcifs/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+<herd>java</herd>
+
+<longdescription>
+
+JCIFS is an Open Source client library that implements the CIFS/SMB networking
+protocol in 100% Java. CIFS is the standard file sharing protocol on the
+Microsoft Windows platform (e.g. Map Network Drive ...). This client is used
+extensively in production on large Intranets.
+
+</longdescription>
+</pkgmetadata>