diff options
author | drochner <drochner> | 2003-09-04 08:42:51 +0000 |
---|---|---|
committer | drochner <drochner> | 2003-09-04 08:42:51 +0000 |
commit | e4cd89960c9a53b2883565fe91f577b8e7fb628a (patch) | |
tree | 09988f42db7bb36c60975a8d839ae1f04a0d7517 /net | |
parent | 53a8a6768b8b7259944e7177d2b29857703253ed (diff) | |
download | pkgsrc-e4cd89960c9a53b2883565fe91f577b8e7fb628a.tar.gz |
nuke coda-4 - it is outdated and unmaintained
Diffstat (limited to 'net')
29 files changed, 1 insertions, 733 deletions
diff --git a/net/Makefile b/net/Makefile index f9a40fbdeb7..aea4c6dceaa 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.401 2003/09/01 21:43:20 xtraeme Exp $ +# $NetBSD: Makefile,v 1.402 2003/09/04 08:42:51 drochner Exp $ # COMMENT= Networking tools @@ -40,10 +40,8 @@ SUBDIR+= citrix_ica SUBDIR+= cmu-dhcpd SUBDIR+= coda5_client SUBDIR+= coda5_server -SUBDIR+= coda_client SUBDIR+= coda_doc SUBDIR+= coda_intro -SUBDIR+= coda_server SUBDIR+= dante SUBDIR+= dc_gui2 SUBDIR+= dctc diff --git a/net/coda_client/DESCR b/net/coda_client/DESCR deleted file mode 100644 index 316a235cabd..00000000000 --- a/net/coda_client/DESCR +++ /dev/null @@ -1,8 +0,0 @@ -Coda is a distributed file system. Among its features are disconnected -operation, good security model, server replication and persistent client -side caching. - -This package builds the entire source tree but only installs(/packages) the -client side programs. - -For more info, contact <coda@cs.cmu.edu> or visit http://www.coda.cs.cmu.edu. diff --git a/net/coda_client/Makefile b/net/coda_client/Makefile deleted file mode 100644 index 45aa81a6960..00000000000 --- a/net/coda_client/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -# $NetBSD: Makefile,v 1.21 2003/07/21 17:10:30 martti Exp $ -# - -DISTNAME= coda-4.6.6 -PKGNAME= coda-client-4.6.6.1 -PKGREVISION= 1 -CATEGORIES= net -MASTER_SITES= ftp://ftp.infonoc.ne.jp/pub/coda/src/old/ \ - ftp://ftp.rsu.ru/pub/unix/FileSystems/coda/ -EXTRACT_SUFX= .tgz - -MAINTAINER= rvb@cs.cmu.edu -HOMEPAGE= http://www.coda.cs.cmu.edu/ -COMMENT= Client programs for a replicated high-performance network file system - -DEPENDS+= gdbm>=1.8.3:../../databases/gdbm -DEPENDS+= readline>=4.0:../../devel/readline - -# Requires "lwp" plus "filesystem CODA" to operate. Should build on -# any NetBSD-*-m68k, though. -ONLY_FOR_PLATFORM= NetBSD-1.[45]*-i386 NetBSD-1.[45]*-m68k - -ALL_TARGET= coda -INSTALL_TARGET= client-install - -USE_PERL5= yes -GNU_CONFIGURE= yes -USE_GMAKE= yes - -FIX_RPATH+= GDBM_LDADD -GDBM_LDADD= -Wl,${RPATH_FLAG}${PREFIX}/lib -L${PREFIX}/lib -lgdbm - -pre-configure: - cd ${WRKSRC} && \ - for F in coda-src/advice/Makefile.in; do \ - ${SED} -e "s_-lgdbm_${GDBM_LDADD}_" \ - < $$F > $$F.patched && \ - ${MV} $$F.patched $$F; \ - done - -.include "../../mk/bsd.pkg.mk" diff --git a/net/coda_client/PLIST b/net/coda_client/PLIST deleted file mode 100644 index 733590d7d45..00000000000 --- a/net/coda_client/PLIST +++ /dev/null @@ -1,57 +0,0 @@ -@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:55:05 zuntum Exp $ -lib/coda/Advice.tcl -lib/coda/CodaConsole -lib/coda/Consider.tcl -lib/coda/ConsiderAdding.tcl -lib/coda/ConsiderRemoving.tcl -lib/coda/ControlPanel.tcl -lib/coda/Date.tcl -lib/coda/DiscoMiss.tcl -lib/coda/Events.tcl -lib/coda/Globals.tcl -lib/coda/Helper.tcl -lib/coda/HoardWalk.tcl -lib/coda/HoardWalkAdvice.tcl -lib/coda/Indicators.tcl -lib/coda/Initialization.tcl -lib/coda/Lock.tcl -lib/coda/Log.tcl -lib/coda/Network.tcl -lib/coda/OutsideWorld.tcl -lib/coda/ReadMiss.tcl -lib/coda/Reconnection.tcl -lib/coda/Reintegration.tcl -lib/coda/Repair.tcl -lib/coda/Space.tcl -lib/coda/Task.tcl -lib/coda/Timing.tcl -lib/coda/Tokens.tcl -lib/coda/WeakMiss.tcl -lib/coda/tixCodaMeter.tcl -sbin/au -sbin/venus -sbin/venus-setup -sbin/volmunge -sbin/vutil -bin/advice_srv -bin/cfs -bin/clog -bin/cmon -bin/codacon -bin/cpasswd -bin/ctokens -bin/cunlog -bin/filcon -bin/filerepair -bin/hoard -bin/logbandwidth -bin/logcmls -bin/logreintegration -bin/parser -bin/removeinc -bin/repair -bin/replay -bin/spy -bin/xaskuser -bin/xfrepair -@dirrm lib/coda diff --git a/net/coda_client/distinfo b/net/coda_client/distinfo deleted file mode 100644 index 56be72fb04a..00000000000 --- a/net/coda_client/distinfo +++ /dev/null @@ -1,14 +0,0 @@ -$NetBSD: distinfo,v 1.2 2001/04/21 11:23:12 wiz Exp $ - -SHA1 (coda-4.6.6.tgz) = 4872262bb08cef32f65b7e1b8b61ae9658bbe0d3 -Size (coda-4.6.6.tgz) = 2583462 bytes -SHA1 (patch-aa) = fdced1cd7811a9adb732c05a1a03b07814eb49a3 -SHA1 (patch-ab) = df2acb522bf10721bef1cd56d085c11a82a1fac5 -SHA1 (patch-ba) = 76d001a971abc011371d7f04097e695577c9390c -SHA1 (patch-bb) = f955adb0fd67d3b4ca37e2a11299103f83edb9c9 -SHA1 (patch-bc) = 5316b6333d41abb013c275b0b2ed2bced1e56f32 -SHA1 (patch-bd) = 4cb1b04bd695f5275affdb757d10b2fc6cbe0d7b -SHA1 (patch-be) = 1124b0f039bb99b3a5a6c72df549a7486c63af85 -SHA1 (patch-ca) = cabc1bb43a6cbd54ee9db191344dcb83a95b0afc -SHA1 (patch-cb) = 0c0d9f3c619cd4fb6fc8b07efdf9160d2bda6a41 -SHA1 (patch-da) = dec8a25b437b0b636dc3dcd88b731e3695a59568 diff --git a/net/coda_client/patches/patch-aa b/net/coda_client/patches/patch-aa deleted file mode 100644 index fd4bba16a99..00000000000 --- a/net/coda_client/patches/patch-aa +++ /dev/null @@ -1,110 +0,0 @@ -$NetBSD: patch-aa,v 1.6 1999/02/24 06:34:52 sommerfe Exp $ - ---- lib-src/mlwp/process.s~ Wed Oct 7 20:11:01 1998 -+++ lib-src/mlwp/process.s Wed Feb 24 01:05:51 1999 -@@ -590,5 +590,105 @@ - jmp r1 - - #endif /* luna88k */ -+ -+#ifdef arm32 -+ -+@ r0-r3 call arguments -+@ r4-r8 "saved over call" -+ -+@ r9 frame pointer -+@ r10 stack limit -+@ r11 arg pointer -+@ r12 temp -+@ r13 sp -+@ r14 link/temp -+@ r15 pc -+ -+@ -+@ savecontext(f, area1, newsp) -+@ int (*f)(); struct savearea *area1; char *newsp; -+@ -+@ set global _PRE_Block = 1 -+ -+rfp .req r9 -+sl .req r10 -+fp .req r11 -+ip .req r12 -+sp .req r13 -+lr .req r14 -+pc .req r15 -+ -+ .text -+ .align 0 -+ -+ .global _savecontext -+ .type _savecontext,#function -+ -+_savecontext: -+ mov ip, sp -+ stmfd sp!, {fp, ip, lr, pc} -+ -+ sub fp, ip, #4 -+ -+ ldr r3, Lpre_addr -+ mov lr, #1 -+ str lr, [r3, #0] @ stall here waiting for r3? -+ -+@ push callee-saves registers -+ -+ stmfd sp!, { r4-r10, fp } -+ -+@ save old sp in area1 -+ -+ str sp, [r1, #0] -+ -+@ if newsp != 0, sp = newsp -+ -+ cmp r2, #0 -+ movne sp, r2 -+ -+@ call f() with no arguments -+ -+ mov lr, pc -+ mov pc, r0 -+ bl _abort @ in case we fall down go boom -+ -+Lpre_addr: -+ .word _PRE_Block -+ -+Lfe1: -+ .size _savecontext,Lfe1-_savecontext -+ -+@ -+@ returnto(area2) -+@ struct savearea *area2; -+@ -+ -+@ set _PRE_Block = 0 -+ .global _returnto -+ .type _returnto, #function -+_returnto: -+ ldr r3, Lpre_addr -+ mov r2, #0 -+ str r2, [r3, #0] @ stall here waiting for r3? -+ -+@ restore sp from area2 -+ ldr sp, [r0, #0] -+ -+@ pop callee-saves registers -+ -+ ldmfd sp!, { r4-r10, fp } -+ -+@ return. -+ -+ ldmea fp, {fp, sp, pc} -+ -+Lfe2: -+ .size _returnto,Lfe2-_returnto -+ -+ -+ -+#endif /* arm32 */ -+ - - #endif OLDLWP diff --git a/net/coda_client/patches/patch-ab b/net/coda_client/patches/patch-ab deleted file mode 100644 index c1c29a77fd3..00000000000 --- a/net/coda_client/patches/patch-ab +++ /dev/null @@ -1,19 +0,0 @@ -$NetBSD: patch-ab,v 1.6 2000/12/28 14:20:09 hubertf Exp $ - ---- coda-src/venus/fso_cfscalls2.cc.orig Thu Oct 8 02:11:22 1998 -+++ coda-src/venus/fso_cfscalls2.cc -@@ -538,6 +538,14 @@ - static char cputype [] = "i386"; - static char systype [] = "i386_nbsd1"; - #endif /* i386 */ -+#ifdef arm32 -+static char cputype [] = "arm32"; -+static char systype [] = "arm32_nbsd1"; -+#endif /* arm32 */ -+#ifdef m68k -+static char cputype [] = "m68k"; -+static char systype [] = "m68k_nbsd1"; -+#endif /* m68k */ - #endif /* __NetBSD__ */ - - #ifdef __FreeBSD__ diff --git a/net/coda_client/patches/patch-ba b/net/coda_client/patches/patch-ba deleted file mode 100644 index 617e40e75de..00000000000 --- a/net/coda_client/patches/patch-ba +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ba,v 1.1 1999/04/27 20:43:10 rvb Exp $ - ---- ../coda-4.6.6/coda-src/scripts/venus-setup Thu Oct 8 12:07:49 1998 -+++ coda-src/scripts/venus-setup Tue Apr 27 14:52:30 1999 -@@ -28,6 +28,8 @@ - CFSMAJOR=51 ;; - NetBSD\ 1.3* ) - CFSMAJOR=60 ;; -+ NetBSD\ 1.4* ) -+ CFSMAJOR=60 ;; - FreeBSD* ) - CFSMAJOR=93 ;; - *) diff --git a/net/coda_client/patches/patch-bb b/net/coda_client/patches/patch-bb deleted file mode 100644 index 8c68a68a211..00000000000 --- a/net/coda_client/patches/patch-bb +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-bb,v 1.1 1999/04/27 20:43:10 rvb Exp $ - ---- ../coda-4.6.6/coda-src/scripts/vice-setup-rvm Mon Oct 5 16:27:01 1998 -+++ coda-src/scripts/vice-setup-rvm Tue Apr 27 14:52:00 1999 -@@ -112,6 +112,8 @@ - rvmstart=0x20000000 ;; - NetBSD\ 1.3* ) - rvmstart=0x50000000 ;; -+ NetBSD\ 1.4* ) -+ rvmstart=0x50000000 ;; - FreeBSD\ 2.2* ) - rvmstart=0x50000000 ;; - FreeBSD\ 3* ) diff --git a/net/coda_client/patches/patch-bc b/net/coda_client/patches/patch-bc deleted file mode 100644 index c28aee1859e..00000000000 --- a/net/coda_client/patches/patch-bc +++ /dev/null @@ -1,23 +0,0 @@ -$NetBSD: patch-bc,v 1.1 1999/04/27 20:43:10 rvb Exp $ - ---- ../coda-4.6.6/coda-src/venus/venusrecov.cc Mon Oct 5 16:13:11 1998 -+++ coda-src/venus/venusrecov.cc Tue Apr 27 14:53:50 1999 -@@ -119,11 +119,17 @@ - - - /* ***** Private Constants ***** */ -+#if defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 104000000) -+#define NetBSD1_4 -+#else -+#undef NetBSD1_4 -+#endif -+ - - #ifdef MACH - PRIVATE const char *VM_RVGADDR = (char *)0x00c00000; - PRIVATE const char *VM_RDSADDR = (char *)0x01c00000; --#elif defined(NetBSD1_3) || defined(__FreeBSD_version) -+#elif defined(NetBSD1_3) || defined(NetBSD1_4) || defined(__FreeBSD_version) - PRIVATE const char *VM_RVGADDR = (char *)0x50000000; - PRIVATE const char *VM_RDSADDR = (char *)0x51000000; - #elif defined(__BSD44__) diff --git a/net/coda_client/patches/patch-bd b/net/coda_client/patches/patch-bd deleted file mode 100644 index b95a2ec7f19..00000000000 --- a/net/coda_client/patches/patch-bd +++ /dev/null @@ -1,19 +0,0 @@ -$NetBSD: patch-bd,v 1.1 1999/04/27 20:43:10 rvb Exp $ - ---- ../coda-4.6.6/coda-src/venus/vproc.cc Mon Aug 31 10:47:56 1998 -+++ coda-src/venus/vproc.cc Tue Apr 27 14:50:40 1999 -@@ -850,7 +850,13 @@ - sp->st_blocks = (int64_t)ceil(((double)vap->va_bytes) / S_BLKSIZE); - sp->st_flags = 0; - sp->st_gen = 0; --#ifdef NetBSD1_3 -+#if defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 104000000) -+#define NetBSD1_4 -+#else -+#undef NetBSD1_4 -+#endif -+ -+#if defined(NetBSD1_3) || defined(NetBSD1_4) - #else - sp->st_lspare = 0; - #endif diff --git a/net/coda_client/patches/patch-be b/net/coda_client/patches/patch-be deleted file mode 100644 index 8dd27a143f8..00000000000 --- a/net/coda_client/patches/patch-be +++ /dev/null @@ -1,21 +0,0 @@ -$NetBSD: patch-be,v 1.1 1999/04/27 20:43:10 rvb Exp $ - ---- ../coda-4.6.6/coda-src/vice/srv.cc Wed Oct 7 20:10:39 1998 -+++ coda-src/vice/srv.cc Tue Apr 27 14:49:42 1999 -@@ -1773,9 +1773,15 @@ - "Setting Rvm Truncate threshhold to %d.\n", _Rvm_Truncate); - options->truncate = _Rvm_Truncate; - } -+#if defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 104000000) -+#define NetBSD1_4 -+#else -+#undef NetBSD1_4 -+#endif -+ - #if defined(__FreeBSD__) - sbrk((void *)(0x50000000 - (int)sbrk(0))); /* for garbage reasons. */ --#elif defined(__NetBSD__) && NetBSD1_3 -+#elif defined(__NetBSD__) && (defined(NetBSD1_3) || defined(NetBSD1_4)) - sbrk((void *)(0x50000000 - (int)sbrk(0))); /* for garbage reasons. */ - #elif defined(__NetBSD__) && NetBSD1_2 - sbrk((void *)(0x20000000 - (int)sbrk(0))); /* for garbage reasons. */ diff --git a/net/coda_client/patches/patch-ca b/net/coda_client/patches/patch-ca deleted file mode 100644 index 3d69bca7eb6..00000000000 --- a/net/coda_client/patches/patch-ca +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ca,v 1.1 1999/04/27 20:43:10 rvb Exp $ - ---- ../coda-4.6.6/coda-src/volutil/vol-ancient.cc Tue Apr 27 15:49:45 1999 -+++ coda-src/volutil/vol-ancient.cc Tue Apr 27 15:50:13 1999 -@@ -41,7 +41,7 @@ - #endif __cplusplus - - #include <sys/types.h> --#include <sys/errno.h> -+#include <errno.h> - - #include <lwp.h> - #include <lock.h> diff --git a/net/coda_client/patches/patch-cb b/net/coda_client/patches/patch-cb deleted file mode 100644 index cd883e3bac4..00000000000 --- a/net/coda_client/patches/patch-cb +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-cb,v 1.1 1999/04/27 20:43:10 rvb Exp $ - ---- ../coda-4.6.6/coda-src/volutil/parserecdump.cc Tue Apr 27 15:49:35 1999 -+++ coda-src/volutil/parserecdump.cc Tue Apr 27 15:50:20 1999 -@@ -51,7 +51,7 @@ - #include <sys/time.h> - #include <ctype.h> - #include <sys/param.h> --#include <sys/errno.h> -+#include <errno.h> - #include <sys/stat.h> - #include <stdio.h> - #include <sys/file.h> diff --git a/net/coda_client/patches/patch-da b/net/coda_client/patches/patch-da deleted file mode 100644 index 30d9255aae5..00000000000 --- a/net/coda_client/patches/patch-da +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-da,v 1.2 2000/09/02 18:44:21 wiz Exp $ - ---- coda-src/venus/vol_vsr.cc.orig Wed Aug 30 12:34:17 2000 -+++ coda-src/venus/vol_vsr.cc Wed Aug 30 12:35:28 2000 -@@ -56,6 +56,10 @@ - #endif /* __MACH__ */ - #if defined(__BSD44__) - #include <sys/dkstat.h> -+#include <sys/param.h> -+#if defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 104250000) -+#include <sys/sched.h> -+#endif /* __NetBSD__ */ - #endif /* __BSD44__ */ - #ifdef __linux__ - #include "dkstat.h" diff --git a/net/coda_server/DESCR b/net/coda_server/DESCR deleted file mode 100644 index 829483587ca..00000000000 --- a/net/coda_server/DESCR +++ /dev/null @@ -1,8 +0,0 @@ -Coda is a distributed file system. Among its features are disconnected -operation, good security model, server replication and persistent client -side caching. - -This package builds the entire source tree but only installs(/packages) the -server side programs. - -For more info, contact <coda@cs.cmu.edu> or visit http://www.coda.cs.cmu.edu. diff --git a/net/coda_server/Makefile b/net/coda_server/Makefile deleted file mode 100644 index bc517f023d2..00000000000 --- a/net/coda_server/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# $NetBSD: Makefile,v 1.18 2003/07/21 17:10:32 martti Exp $ -# - -DISTNAME= coda-4.6.6 -PKGNAME= coda-server-4.6.6.1 -PKGREVISION= 1 -CATEGORIES= net -MASTER_SITES= ftp://ftp.coda.cs.cmu.edu/pub/coda/src/ -EXTRACT_SUFX= .tgz - -MAINTAINER= rvb@cs.cmu.edu -HOMEPAGE= http://www.coda.cs.cmu.edu/ -COMMENT= Server for a replicated high-performance network file system - -DEPENDS+= gdbm>=1.8.3:../../databases/gdbm -DEPENDS+= readline>=4.0:../../devel/readline - -# Only enable platforms that can build "lwp". -ONLY_FOR_PLATFORM= NetBSD-1.[45]*-i386 NetBSD-1.[45]*-m68k - -ALL_TARGET= coda -INSTALL_TARGET= server-install - -USE_PERL5= yes -GNU_CONFIGURE= yes -USE_GMAKE= yes - -.include "../../mk/bsd.pkg.mk" diff --git a/net/coda_server/PLIST b/net/coda_server/PLIST deleted file mode 100644 index 40482ddc150..00000000000 --- a/net/coda_server/PLIST +++ /dev/null @@ -1,42 +0,0 @@ -@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:55:08 zuntum Exp $ -bin/au -bin/filcon -bin/norton -bin/norton-reinit -bin/reinit -sbin/auth2 -sbin/backup -sbin/backup.sh -sbin/bldvldb.sh -sbin/codasrv -sbin/createvol_rep -sbin/initpw -sbin/inoder -sbin/makeftree -sbin/merge -sbin/mvdb -sbin/parserecdump -sbin/partial-reinit.sh -sbin/pcfgen -sbin/printvrdb -sbin/purgevol -sbin/purgevol_rep -sbin/pwd2pdb -sbin/rdsinit -sbin/readdump -sbin/rpc2portmap -sbin/rvmutl -sbin/startserver -sbin/tape.pl -sbin/updateclnt -sbin/updatefetch -sbin/updatesrv -sbin/vice-killvolumes -sbin/vice-setup -sbin/vice-setup-ports -sbin/vice-setup-rvm -sbin/vice-setup-scm -sbin/vice-setup-srvdir -sbin/vice-setup-user -sbin/volutil -etc/rc.vice diff --git a/net/coda_server/distinfo b/net/coda_server/distinfo deleted file mode 100644 index ce182fdd8c5..00000000000 --- a/net/coda_server/distinfo +++ /dev/null @@ -1,14 +0,0 @@ -$NetBSD: distinfo,v 1.2 2001/04/21 11:23:13 wiz Exp $ - -SHA1 (coda-4.6.6.tgz) = 4872262bb08cef32f65b7e1b8b61ae9658bbe0d3 -Size (coda-4.6.6.tgz) = 2583462 bytes -SHA1 (patch-aa) = fdced1cd7811a9adb732c05a1a03b07814eb49a3 -SHA1 (patch-ab) = df2acb522bf10721bef1cd56d085c11a82a1fac5 -SHA1 (patch-ba) = 76d001a971abc011371d7f04097e695577c9390c -SHA1 (patch-bb) = f955adb0fd67d3b4ca37e2a11299103f83edb9c9 -SHA1 (patch-bc) = 5316b6333d41abb013c275b0b2ed2bced1e56f32 -SHA1 (patch-bd) = 4cb1b04bd695f5275affdb757d10b2fc6cbe0d7b -SHA1 (patch-be) = 1124b0f039bb99b3a5a6c72df549a7486c63af85 -SHA1 (patch-ca) = cabc1bb43a6cbd54ee9db191344dcb83a95b0afc -SHA1 (patch-cb) = 0c0d9f3c619cd4fb6fc8b07efdf9160d2bda6a41 -SHA1 (patch-da) = dec8a25b437b0b636dc3dcd88b731e3695a59568 diff --git a/net/coda_server/patches/patch-aa b/net/coda_server/patches/patch-aa deleted file mode 100644 index cd036e43a7d..00000000000 --- a/net/coda_server/patches/patch-aa +++ /dev/null @@ -1,110 +0,0 @@ -$NetBSD: patch-aa,v 1.6 1999/04/27 20:43:11 rvb Exp $ - ---- lib-src/mlwp/process.s~ Wed Oct 7 20:11:01 1998 -+++ lib-src/mlwp/process.s Wed Feb 24 01:05:51 1999 -@@ -590,5 +590,105 @@ - jmp r1 - - #endif /* luna88k */ -+ -+#ifdef arm32 -+ -+@ r0-r3 call arguments -+@ r4-r8 "saved over call" -+ -+@ r9 frame pointer -+@ r10 stack limit -+@ r11 arg pointer -+@ r12 temp -+@ r13 sp -+@ r14 link/temp -+@ r15 pc -+ -+@ -+@ savecontext(f, area1, newsp) -+@ int (*f)(); struct savearea *area1; char *newsp; -+@ -+@ set global _PRE_Block = 1 -+ -+rfp .req r9 -+sl .req r10 -+fp .req r11 -+ip .req r12 -+sp .req r13 -+lr .req r14 -+pc .req r15 -+ -+ .text -+ .align 0 -+ -+ .global _savecontext -+ .type _savecontext,#function -+ -+_savecontext: -+ mov ip, sp -+ stmfd sp!, {fp, ip, lr, pc} -+ -+ sub fp, ip, #4 -+ -+ ldr r3, Lpre_addr -+ mov lr, #1 -+ str lr, [r3, #0] @ stall here waiting for r3? -+ -+@ push callee-saves registers -+ -+ stmfd sp!, { r4-r10, fp } -+ -+@ save old sp in area1 -+ -+ str sp, [r1, #0] -+ -+@ if newsp != 0, sp = newsp -+ -+ cmp r2, #0 -+ movne sp, r2 -+ -+@ call f() with no arguments -+ -+ mov lr, pc -+ mov pc, r0 -+ bl _abort @ in case we fall down go boom -+ -+Lpre_addr: -+ .word _PRE_Block -+ -+Lfe1: -+ .size _savecontext,Lfe1-_savecontext -+ -+@ -+@ returnto(area2) -+@ struct savearea *area2; -+@ -+ -+@ set _PRE_Block = 0 -+ .global _returnto -+ .type _returnto, #function -+_returnto: -+ ldr r3, Lpre_addr -+ mov r2, #0 -+ str r2, [r3, #0] @ stall here waiting for r3? -+ -+@ restore sp from area2 -+ ldr sp, [r0, #0] -+ -+@ pop callee-saves registers -+ -+ ldmfd sp!, { r4-r10, fp } -+ -+@ return. -+ -+ ldmea fp, {fp, sp, pc} -+ -+Lfe2: -+ .size _returnto,Lfe2-_returnto -+ -+ -+ -+#endif /* arm32 */ -+ - - #endif OLDLWP diff --git a/net/coda_server/patches/patch-ab b/net/coda_server/patches/patch-ab deleted file mode 100644 index c1c29a77fd3..00000000000 --- a/net/coda_server/patches/patch-ab +++ /dev/null @@ -1,19 +0,0 @@ -$NetBSD: patch-ab,v 1.6 2000/12/28 14:20:09 hubertf Exp $ - ---- coda-src/venus/fso_cfscalls2.cc.orig Thu Oct 8 02:11:22 1998 -+++ coda-src/venus/fso_cfscalls2.cc -@@ -538,6 +538,14 @@ - static char cputype [] = "i386"; - static char systype [] = "i386_nbsd1"; - #endif /* i386 */ -+#ifdef arm32 -+static char cputype [] = "arm32"; -+static char systype [] = "arm32_nbsd1"; -+#endif /* arm32 */ -+#ifdef m68k -+static char cputype [] = "m68k"; -+static char systype [] = "m68k_nbsd1"; -+#endif /* m68k */ - #endif /* __NetBSD__ */ - - #ifdef __FreeBSD__ diff --git a/net/coda_server/patches/patch-ba b/net/coda_server/patches/patch-ba deleted file mode 100644 index bc3389dc7f6..00000000000 --- a/net/coda_server/patches/patch-ba +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ba,v 1.1 1999/04/27 20:43:11 rvb Exp $ - ---- ../coda-4.6.6/coda-src/scripts/venus-setup Thu Oct 8 12:07:49 1998 -+++ coda-src/scripts/venus-setup Tue Apr 27 14:52:30 1999 -@@ -28,6 +28,8 @@ - CFSMAJOR=51 ;; - NetBSD\ 1.3* ) - CFSMAJOR=60 ;; -+ NetBSD\ 1.4* ) -+ CFSMAJOR=60 ;; - FreeBSD* ) - CFSMAJOR=93 ;; - *) diff --git a/net/coda_server/patches/patch-bb b/net/coda_server/patches/patch-bb deleted file mode 100644 index 41e5550a2c0..00000000000 --- a/net/coda_server/patches/patch-bb +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-bb,v 1.1 1999/04/27 20:43:11 rvb Exp $ - ---- ../coda-4.6.6/coda-src/scripts/vice-setup-rvm Mon Oct 5 16:27:01 1998 -+++ coda-src/scripts/vice-setup-rvm Tue Apr 27 14:52:00 1999 -@@ -112,6 +112,8 @@ - rvmstart=0x20000000 ;; - NetBSD\ 1.3* ) - rvmstart=0x50000000 ;; -+ NetBSD\ 1.4* ) -+ rvmstart=0x50000000 ;; - FreeBSD\ 2.2* ) - rvmstart=0x50000000 ;; - FreeBSD\ 3* ) diff --git a/net/coda_server/patches/patch-bc b/net/coda_server/patches/patch-bc deleted file mode 100644 index 522ff7e5565..00000000000 --- a/net/coda_server/patches/patch-bc +++ /dev/null @@ -1,23 +0,0 @@ -$NetBSD: patch-bc,v 1.1 1999/04/27 20:43:11 rvb Exp $ - ---- ../coda-4.6.6/coda-src/venus/venusrecov.cc Mon Oct 5 16:13:11 1998 -+++ coda-src/venus/venusrecov.cc Tue Apr 27 14:53:50 1999 -@@ -119,11 +119,17 @@ - - - /* ***** Private Constants ***** */ -+#if defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 104000000) -+#define NetBSD1_4 -+#else -+#undef NetBSD1_4 -+#endif -+ - - #ifdef MACH - PRIVATE const char *VM_RVGADDR = (char *)0x00c00000; - PRIVATE const char *VM_RDSADDR = (char *)0x01c00000; --#elif defined(NetBSD1_3) || defined(__FreeBSD_version) -+#elif defined(NetBSD1_3) || defined(NetBSD1_4) || defined(__FreeBSD_version) - PRIVATE const char *VM_RVGADDR = (char *)0x50000000; - PRIVATE const char *VM_RDSADDR = (char *)0x51000000; - #elif defined(__BSD44__) diff --git a/net/coda_server/patches/patch-bd b/net/coda_server/patches/patch-bd deleted file mode 100644 index a6a6a20d0d4..00000000000 --- a/net/coda_server/patches/patch-bd +++ /dev/null @@ -1,19 +0,0 @@ -$NetBSD: patch-bd,v 1.1 1999/04/27 20:43:11 rvb Exp $ - ---- ../coda-4.6.6/coda-src/venus/vproc.cc Mon Aug 31 10:47:56 1998 -+++ coda-src/venus/vproc.cc Tue Apr 27 14:50:40 1999 -@@ -850,7 +850,13 @@ - sp->st_blocks = (int64_t)ceil(((double)vap->va_bytes) / S_BLKSIZE); - sp->st_flags = 0; - sp->st_gen = 0; --#ifdef NetBSD1_3 -+#if defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 104000000) -+#define NetBSD1_4 -+#else -+#undef NetBSD1_4 -+#endif -+ -+#if defined(NetBSD1_3) || defined(NetBSD1_4) - #else - sp->st_lspare = 0; - #endif diff --git a/net/coda_server/patches/patch-be b/net/coda_server/patches/patch-be deleted file mode 100644 index e68fc1d6bf8..00000000000 --- a/net/coda_server/patches/patch-be +++ /dev/null @@ -1,21 +0,0 @@ -$NetBSD: patch-be,v 1.1 1999/04/27 20:43:11 rvb Exp $ - ---- ../coda-4.6.6/coda-src/vice/srv.cc Wed Oct 7 20:10:39 1998 -+++ coda-src/vice/srv.cc Tue Apr 27 14:49:42 1999 -@@ -1773,9 +1773,15 @@ - "Setting Rvm Truncate threshhold to %d.\n", _Rvm_Truncate); - options->truncate = _Rvm_Truncate; - } -+#if defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 104000000) -+#define NetBSD1_4 -+#else -+#undef NetBSD1_4 -+#endif -+ - #if defined(__FreeBSD__) - sbrk((void *)(0x50000000 - (int)sbrk(0))); /* for garbage reasons. */ --#elif defined(__NetBSD__) && NetBSD1_3 -+#elif defined(__NetBSD__) && (defined(NetBSD1_3) || defined(NetBSD1_4)) - sbrk((void *)(0x50000000 - (int)sbrk(0))); /* for garbage reasons. */ - #elif defined(__NetBSD__) && NetBSD1_2 - sbrk((void *)(0x20000000 - (int)sbrk(0))); /* for garbage reasons. */ diff --git a/net/coda_server/patches/patch-ca b/net/coda_server/patches/patch-ca deleted file mode 100644 index a42ba40fbb9..00000000000 --- a/net/coda_server/patches/patch-ca +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ca,v 1.1 1999/04/27 20:43:11 rvb Exp $ - ---- ../coda-4.6.6/coda-src/volutil/vol-ancient.cc Tue Apr 27 15:49:45 1999 -+++ coda-src/volutil/vol-ancient.cc Tue Apr 27 15:50:13 1999 -@@ -41,7 +41,7 @@ - #endif __cplusplus - - #include <sys/types.h> --#include <sys/errno.h> -+#include <errno.h> - - #include <lwp.h> - #include <lock.h> diff --git a/net/coda_server/patches/patch-cb b/net/coda_server/patches/patch-cb deleted file mode 100644 index 3b870b0c538..00000000000 --- a/net/coda_server/patches/patch-cb +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-cb,v 1.1 1999/04/27 20:43:11 rvb Exp $ - ---- ../coda-4.6.6/coda-src/volutil/parserecdump.cc Tue Apr 27 15:49:35 1999 -+++ coda-src/volutil/parserecdump.cc Tue Apr 27 15:50:20 1999 -@@ -51,7 +51,7 @@ - #include <sys/time.h> - #include <ctype.h> - #include <sys/param.h> --#include <sys/errno.h> -+#include <errno.h> - #include <sys/stat.h> - #include <stdio.h> - #include <sys/file.h> diff --git a/net/coda_server/patches/patch-da b/net/coda_server/patches/patch-da deleted file mode 100644 index a03fd221822..00000000000 --- a/net/coda_server/patches/patch-da +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-da,v 1.2 2000/09/02 18:50:54 wiz Exp $ - ---- coda-src/venus/vol_vsr.cc.orig Wed Aug 30 12:34:17 2000 -+++ coda-src/venus/vol_vsr.cc Wed Aug 30 12:35:28 2000 -@@ -56,6 +56,10 @@ - #endif /* __MACH__ */ - #if defined(__BSD44__) - #include <sys/dkstat.h> -+#include <sys/param.h> -+#if defined(__NetBSD_Version__) && (__NetBSD_Version__ >= 104250000) -+#include <sys/sched.h> -+#endif /* __NetBSD__ */ - #endif /* __BSD44__ */ - #ifdef __linux__ - #include "dkstat.h" |