Remove kaffe1 port, ending months of duplication with kaffe port.

This commit is contained in:
ian 1999-11-26 18:39:27 +00:00
parent 176ef30c9c
commit 131d1608a7
8 changed files with 0 additions and 198 deletions

View File

@ -1,31 +0,0 @@
# $OpenBSD: Makefile,v 1.12 1999/05/08 09:00:49 niklas Exp $
#
# Relevant URLs: http://www.transvirtual.com/kaffe/
DISTNAME= kaffe-1.0.b4
WRKSRC= ${WRKDIR}/kaffe-1.0b4
CATEGORIES= lang
NEED_VERSION= 1.73
MASTER_SITES= ftp://ftp.transvirtual.com/pub/kaffe/
BUILD_DEPENDS= libtool:${PORTSDIR}/devel/libtool
LIB_DEPENDS= jpeg.62.:${PORTSDIR}/graphics/jpeg \
gif.4.:${PORTSDIR}/graphics/giflib \
png.1.:${PORTSDIR}/graphics/png
.if defined(NO_SHARED_LIBS)
BROKEN= "doesn't work on architectures that do not support shared libs"
.endif
MAINTAINER= ian@OpenBSD.ORG
# build/configuration variables
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ENV= ${SETENV} CPPFLAGS=-I/usr/local/include \
LDFLAGS=-L/usr/local/lib
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
SHA1 (kaffe-1.0.b4.tar.gz) = aa952cdfaefe1f3f30b4c3c49828fd78212372f8
RMD160 (kaffe-1.0.b4.tar.gz) = 68b66c5f81116e545fbdce5700045a34442b6c73
MD5 (kaffe-1.0.b4.tar.gz) = 86f917a3e592a80fff9affa2f92712a7

View File

@ -1,11 +0,0 @@
--- include/system.h.orig Sat Apr 3 14:07:25 1999
+++ include/system.h Wed Aug 11 18:28:18 1999
@@ -28,7 +28,7 @@
#define kaffe_specification_name "Java Platform API Specification"
#define kaffe_class_version "46.0"
-#if defined(unix) || defined(__BEOS__)
+#if defined(unix) || defined(__unix__) || defined(__BEOS__)
#define file_separator "/"
#define path_separator ":"
#define line_separator "\n"

View File

@ -1,70 +0,0 @@
--- kaffe/kaffevm/support.c.orig Tue Mar 23 20:47:08 1999
+++ kaffe/kaffevm/support.c Wed Aug 18 14:07:16 1999
@@ -25,9 +25,11 @@
#include "stringSupport.h"
#include "lookup.h"
#include "exception.h"
+#include "support.h"
+#define NEED_sysdepCallMethod 1
+#include "classMethod.h"
#include "slots.h"
#include "machine.h"
-#include "support.h"
#include "md.h"
#include "itypes.h"
#include "external.h"
--- config/i386/common.h.orig Sat Dec 12 03:23:58 1998
+++ config/i386/common.h Wed Aug 18 14:01:33 1999
@@ -22,6 +22,7 @@
* This function is mandatory for both JIT and Interpreter (since stubs
* have now been deprecated).
*/
+#if 0
/* Jason <jbaker@cs.utah.edu> notes that we must not use %ebx because it's
* used for shared lib support on ELF systems (Linux, FreeBSD3.0) and gcc
* will not save it before it uses it again, despite what we say in asm().
@@ -64,4 +65,44 @@
asm volatile (" \n\
subl %0,%%esp \n\
" : : "r" ((CALL)->argsize * sizeof(jint)) : "cc")
+#else
+#if NEED_sysdepCallMethod
+static inline void sysdepCallMethod(callMethodInfo *call) {
+ unsigned args = call->nrargs;
+
+ /* Push all arguments into the stack, in last-to-first order. This
+ assumes that the second 32bit-word of longs and doubles is
+ available as an additional int argument, as callMethod[AV]() do. */
+ while (args > 0)
+ asm volatile ("pushl %0" : : "m" (call->args[--args].i) : "sp");
+
+ switch(call->retsize) {
+ case 0:
+ /* Must be void. */
+ ((void (*)(void))(call->function))();
+ break;
+
+ case 1:
+ if (call->rettype == 'F')
+ call->ret->f = ((jfloat (*)(void))(call->function))();
+ else /* Must be 32-bit or smaller int. */
+ call->ret->i = ((jint (*)(void))(call->function))();
+ break;
+
+ default:
+ /* It could've been `case 2;', but then we'd get an additional cmp
+ * that we don't really need. */
+ if (call->rettype == 'D')
+ call->ret->d = ((jdouble (*)(void))(call->function))();
+ else /* Must be jlong. */
+ call->ret->j = ((jlong (*)(void))(call->function))();
+ break;
+ }
+
+ /* Adjust the stack pointer. */
+ asm volatile ("addl %0,%%esp" : :
+ "r" (call->argsize * sizeof(jint)) : "cc", "sp");
+}
+#endif
+#endif
#endif

View File

@ -1 +0,0 @@
TransVirtual's BETA Java JDK1.1 compiler, runtime and libs

View File

@ -1,19 +0,0 @@
=====================
KAFFE OpenVM 1.0 Beta
=====================
This is "Kaffe OpenVM", a complete virtual machine and class library
set which allows the execution of Java code without any code from
Javasoft. It comes with a virtual machine and a set of class
libraries including beans, and the all important AWT graphics system.
This is the first full JDK1.1 release of the runtime, and also
includes a compiler (javac-compatible).
This is beta software and, in particular, has numerous minor glitches.
However it can run enough JDK1.1-compatible programs that I am
releasing it into the Ports tree for others to experiment with.
We are keeping it separate from the Kaffe-0.8.* which will be left
in ports/lang/kaffe for people who need JDK-1.0 compatability
or who prefer a BSD style license.
For more information see http://www.transvirtual.com/.

View File

@ -1,62 +0,0 @@
@unexec [ ! -x /sbin/ldconfig ] || /sbin/ldconfig -m %D/lib/kaffe
man/man1/kaffe.1
bin/appletviewer
bin/install-jar
bin/jar
bin/java
bin/javac
bin/javadoc
bin/javakey
bin/javap
bin/jdb
bin/kaffe
bin/kaffeh
bin/native2ascii
bin/pizza
bin/pizzadoc
bin/report-kaffe-bug
bin/rmic
bin/rmiregistry
bin/serialver
include/kaffe/Arrays.h
include/kaffe/java_lang_Object.h
include/kaffe/java_lang_String.h
include/kaffe/java_lang_Thread.h
include/kaffe/java_lang_ThreadGroup.h
include/kaffe/java_lang_Throwable.h
include/kaffe/jmalloc.h
include/kaffe/jni.h
include/kaffe/jni_cpp.h
include/kaffe/jsyscall.h
include/kaffe/jtypes.h
include/kaffe/native.h
lib/kaffe/libawt.a
lib/kaffe/libawt.la
lib/kaffe/libio-1.0b4.so.0.0
lib/kaffe/libio.la
lib/kaffe/libio.so.0.0
lib/kaffe/libmanagement-1.0b4.so.0.0
lib/kaffe/libmanagement.la
lib/kaffe/libmanagement.so.0.0
lib/kaffe/libmath.a
lib/kaffe/libmath.la
lib/kaffe/libnative.a
lib/kaffe/libnative.la
lib/kaffe/libnet-1.0b4.so.0.0
lib/kaffe/libnet.la
lib/kaffe/libnet.so.0.0
lib/kaffe/libzip.a
lib/kaffe/libzip.la
lib/libkaffevm-1.0b4.so.0.0
lib/libkaffevm.la
lib/libkaffevm.so.0.0
libexec/Kaffe
share/kaffe/Klasses.jar
share/kaffe/comm.jar
share/kaffe/pizza.jar
share/kaffe/pjava.jar
share/kaffe/servlet.jar
@dirrm share/kaffe
@dirrm include/kaffe
@dirrm lib/kaffe
@exec [ ! -x /sbin/ldconfig ] || /sbin/ldconfig -m %D/lib/kaffe

View File

@ -1 +0,0 @@
This code has NOT been audited for security yet.