diff options
Diffstat (limited to 'net')
28 files changed, 1004 insertions, 0 deletions
diff --git a/net/coda5_client/Makefile b/net/coda5_client/Makefile new file mode 100644 index 00000000000..9cabff34281 --- /dev/null +++ b/net/coda5_client/Makefile @@ -0,0 +1,29 @@ +# New makefile for: coda client +# Version required: 4.6.5 +# Date created: 19 June 1998 +# Whom: hmpierce <hmpierce@cs.cmu.edu> +# +# $Id: Makefile,v 1.1.1.1 1998/09/29 17:20:46 rvb Exp $ +# + +DISTNAME= coda-4.6.5 +PKGNAME= coda-client-4.6.5-1.3H-1 +CATEGORIES= net +MASTER_SITES= ftp://ftp.coda.cs.cmu.edu/pub/coda/src/ +EXTRACT_SUFX= .tgz + +MAINTAINER= coda@cs.cmu.edu +HOMEPAGE= http://www.coda.cs.cmu.edu/ + +# Dependencies: +DEPENDS= gdbm-*:../../databases/gdbm \ + readline-*:../../devel/readline + +ALL_TARGET= coda +INSTALL_TARGET= client-install + +# Odd, non-default BSD stuff: +GNU_CONFIGURE= yes +USE_GMAKE= yes + +.include "../../mk/bsd.pkg.mk" diff --git a/net/coda5_client/files/md5 b/net/coda5_client/files/md5 new file mode 100644 index 00000000000..005b2548d3f --- /dev/null +++ b/net/coda5_client/files/md5 @@ -0,0 +1 @@ +MD5 (coda-4.6.5.tgz) = 4c946e371c6e04aededfd3d51c004294 diff --git a/net/coda5_client/patches/patch-aa b/net/coda5_client/patches/patch-aa new file mode 100644 index 00000000000..dfd4afd7c4c --- /dev/null +++ b/net/coda5_client/patches/patch-aa @@ -0,0 +1,142 @@ +diff -ru ../coda-4.6.5/configure ./configure +--- ../coda-4.6.5/configure Wed Sep 2 14:07:47 1998 ++++ ./configure Thu Sep 3 14:37:32 1998 +@@ -1362,8 +1362,14 @@ + initsuffix=../etc + ;; + +- *-*-freebsd* ) ++ *-*-freebsd2* ) + sys=i386_fbsd2 ++ vfsdir=bsd44 ++ initsuffix=../etc ++ ;; ++ ++ *-*-freebsd3* ) ++ sys=i386_fbsd3 + vfsdir=bsd44 + initsuffix=../etc + ;; +diff -ru ../coda-4.6.5/coda-src/scripts/venus-setup ./coda-src/scripts/venus-setup +--- ../coda-4.6.5/coda-src/scripts/venus-setup Wed Sep 2 14:21:24 1998 ++++ ./coda-src/scripts/venus-setup Thu Sep 3 13:48:08 1998 +@@ -22,9 +22,13 @@ + case `uname -sr` in + "NetBSD 1.2" ) + CFSMAJOR=46 ;; +- NetBSD\ 1.3* ) ++ NetBSD\ 1.3 ) ++ CFSMAJOR=51 ;; ++ NetBSD\ 1.3.* ) + CFSMAJOR=51 ;; +- FreeBSD\ 2.2* ) ++ NetBSD\ 1.3* ) ++ CFSMAJOR=60 ;; ++ FreeBSD* ) + CFSMAJOR=93 ;; + *) + CFSMAJOR=67 ;; +diff -ru ../coda-4.6.5/coda-src/vice/Makefile.in ./coda-src/vice/Makefile.in +--- ../coda-4.6.5/coda-src/vice/Makefile.in Wed Sep 2 14:21:38 1998 ++++ ./coda-src/vice/Makefile.in Thu Sep 3 13:40:46 1998 +@@ -25,7 +25,7 @@ + # improvements or extensions that they make, and to grant Carnegie + # Mellon the rights to redistribute these changes without encumbrance. + # +-# static char *rcsid = "$Header: /cvsroot/pkgsrc/net/coda5_client/patches/Attic/patch-aa,v 1.1.1.1 1998/09/29 17:20:46 rvb Exp $"; ++# static char *rcsid = "$Header: /cvsroot/pkgsrc/net/coda5_client/patches/Attic/patch-aa,v 1.1.1.1 1998/09/29 17:20:46 rvb Exp $"; + + + # +@@ -96,7 +96,7 @@ + smon.o \ + ViceErrorMsg.o + +-codasrv: ${objects} srv.o dummyplumber.o ${LIBS} ++codasrv: ${objects} srv.o dummyplumber.o ${CLIBS} + $(CXX) $(LIBFLAGS) srv.o ${objects} dummyplumber.o ${CLIBS} -lm -o codasrv + + printvrdb: printvrdb.o +diff -ru /dev/null ./configs/Makeconf.i386_fbsd3 +--- /dev/null Thu Sep 3 17:13:07 1998 ++++ ./configs/Makeconf.i386_fbsd3 Thu Sep 3 17:11:30 1998 +@@ -0,0 +1,60 @@ ++# ++# sets: ++# variables, libraries for BSD build ++ ++# ++# Coda: an Experimental Distributed File System ++# Release 4.4 ++# ++# Copyright (c) 1987-1995 Carnegie Mellon University ++# All Rights Reserved ++# ++# Permission to use, copy, modify and distribute this software and its ++# documentation is hereby granted, provided that both the copyright ++# notice and this permission notice appear in all copies of the ++# software, derivative works or modified versions, and any portions ++# thereof, and that both notices appear in supporting documentation, and ++# that credit is given to Carnegie Mellon University in all documents ++# and publicity pertaining to direct or indirect use of this code or its ++# derivatives. ++# ++# CODA IS AN EXPERIMENTAL SOFTWARE SYSTEM AND IS KNOWN TO HAVE BUGS, ++# SOME OF WHICH MAY HAVE SERIOUS CONSEQUENCES. CARNEGIE MELLON ALLOWS ++# FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION. CARNEGIE MELLON ++# DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER ++# RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE OR OF ++# ANY DERIVATIVE WORK. ++# ++# Carnegie Mellon encourages users of this software to return any ++# improvements or extensions that they make, and to grant Carnegie ++# Mellon the rights to redistribute these changes without encumbrance. ++# */ ++# ++# static char *rcsid = "$Header: /cvsroot/pkgsrc/net/coda5_client/patches/Attic/patch-aa,v 1.1.1.1 1998/09/29 17:20:46 rvb Exp $"; ++# ++ ++MACHINE_FLAGS = -D__BSD44__ ++SHORTSYS = bsd44 ++INCLFLAGS = -I/usr/include ++GFLAG = -g ++CPP = gcc -E -x c-header ++LIBCURSES = /usr/lib/aout/libcurses.a ++LIBCOMPAT = /usr/lib/aout/libcompat.a ++LIBREADLINE = /usr/lib/aout/libreadline.a ++INCREADLINE = -I/usr/include/readline ++LIBTERMCAP = /usr/lib/aout/libtermcap.a ++#for rvm ++LIBTHREADS = ++LIBMACH = ++ ++#for advice_srv ++LIBKVM = /usr/lib/aout/libkvm.a ++INCGDBM = -I/usr/local/include ++LGDBM = -L/usr/local/lib ++LIBMATH = -lm ++GUIDIR = /usr/lib/coda ++ ++KRBINCLFLAGS = -I/usr/athena/include -I/usr/include/kerberosIV ++#LIBKRBS = /usr/athena/lib/libkrb4.a /usr/athena/lib/libkrb5.a /usr/athena/lib/libcrypto.a /usr/athena/lib/libcom_err.a /usr/athena/lib/libdes425.a /usr/athena/lib/libkrb524.a ++LIBKRBS = /usr/lib/libkrb.a ++ +diff -ru ../coda-4.6.5/configs/codaconf.m4 ./configs/codaconf.m4 +--- ../coda-4.6.5/configs/codaconf.m4 Wed Sep 2 14:21:53 1998 ++++ ./configs/codaconf.m4 Thu Sep 3 14:11:57 1998 +@@ -32,8 +32,14 @@ + initsuffix=../etc + ;; + +- *-*-freebsd* ) ++ *-*-freebsd2* ) + sys=i386_fbsd2 ++ vfsdir=bsd44 ++ initsuffix=../etc ++ ;; ++ ++ *-*-freebsd3* ) ++ sys=i386_fbsd3 + vfsdir=bsd44 + initsuffix=../etc + ;; diff --git a/net/coda5_client/patches/patch-ab b/net/coda5_client/patches/patch-ab new file mode 100644 index 00000000000..ce17832114a --- /dev/null +++ b/net/coda5_client/patches/patch-ab @@ -0,0 +1,19 @@ +--- coda-b4_6_4/coda-src/venus/worker.cc Tue Jun 16 06:46:19 1998 ++++ ./coda-src/venus/worker.cc Sat Sep 12 11:24:37 1998 +@@ -289,15 +289,7 @@ + } + #endif /* __MACH__ */ + #ifdef __BSD44__ +-#ifndef MOUNT_CFS +- /* for FreeBSD +- - Add line below into /usr/include/sys/mount.h. Don't forget to adjust +- MOUNT_MAXTYPE. +- # define MOUNT_CFS old MOUNT_MAXTYPE +1 +- In #define INITMOUNTNAMES, +- "cfs", /* 19 or so MOUNT_CFS */ +-#endif +- if (mount(MOUNT_CFS, venusRoot, 0, kernDevice) < 0) { ++ if (mount("coda", venusRoot, 0, kernDevice) < 0) { + eprint("mount(%s, %s) failed (%d), exiting", + kernDevice, venusRoot, errno); + exit(-1); diff --git a/net/coda5_client/pkg/COMMENT b/net/coda5_client/pkg/COMMENT new file mode 100644 index 00000000000..eab49907cf2 --- /dev/null +++ b/net/coda5_client/pkg/COMMENT @@ -0,0 +1 @@ +Coda: an experimental, replicated high performance network file system. diff --git a/net/coda5_client/pkg/DESCR b/net/coda5_client/pkg/DESCR new file mode 100644 index 00000000000..7d9eb482809 --- /dev/null +++ b/net/coda5_client/pkg/DESCR @@ -0,0 +1,8 @@ +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/coda5_client/pkg/PLIST b/net/coda5_client/pkg/PLIST new file mode 100644 index 00000000000..d51a2ffa5a6 --- /dev/null +++ b/net/coda5_client/pkg/PLIST @@ -0,0 +1,55 @@ +@owner bin +@group bin +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/parser +bin/removeinc +bin/repair +bin/replay +bin/spy +bin/xaskuser +bin/xfrepair +@dirrm lib/coda diff --git a/net/coda5_server/Makefile b/net/coda5_server/Makefile new file mode 100644 index 00000000000..83b04dfae55 --- /dev/null +++ b/net/coda5_server/Makefile @@ -0,0 +1,29 @@ +# New makefile for: coda server +# Version required: 4.6.5 +# Date created: 19 June 1998 +# Whom: hmpierce <hmpierce@cs.cmu.edu> +# +# $Id: Makefile,v 1.1.1.1 1998/09/29 17:20:47 rvb Exp $ +# + +DISTNAME= coda-4.6.5 +PKGNAME= coda-server-4.6.5-1.3H-1 +CATEGORIES= net +MASTER_SITES= ftp://ftp.coda.cs.cmu.edu/pub/coda/src/ +EXTRACT_SUFX= .tgz + +MAINTAINER= coda@cs.cmu.edu +HOMEPAGE= http://www.coda.cs.cmu.edu/ + +# Dependencies: +DEPENDS= gdbm-*:../../databases/gdbm \ + readline-*:../../devel/readline + +ALL_TARGET= coda +INSTALL_TARGET= server-install + +# Odd, non-default BSD stuff: +GNU_CONFIGURE= yes +USE_GMAKE= yes + +.include "../../mk/bsd.pkg.mk" diff --git a/net/coda5_server/files/md5 b/net/coda5_server/files/md5 new file mode 100644 index 00000000000..005b2548d3f --- /dev/null +++ b/net/coda5_server/files/md5 @@ -0,0 +1 @@ +MD5 (coda-4.6.5.tgz) = 4c946e371c6e04aededfd3d51c004294 diff --git a/net/coda5_server/patches/patch-aa b/net/coda5_server/patches/patch-aa new file mode 100644 index 00000000000..7cb5ceccd3e --- /dev/null +++ b/net/coda5_server/patches/patch-aa @@ -0,0 +1,142 @@ +diff -ru ../coda-4.6.5/configure ./configure +--- ../coda-4.6.5/configure Wed Sep 2 14:07:47 1998 ++++ ./configure Thu Sep 3 14:37:32 1998 +@@ -1362,8 +1362,14 @@ + initsuffix=../etc + ;; + +- *-*-freebsd* ) ++ *-*-freebsd2* ) + sys=i386_fbsd2 ++ vfsdir=bsd44 ++ initsuffix=../etc ++ ;; ++ ++ *-*-freebsd3* ) ++ sys=i386_fbsd3 + vfsdir=bsd44 + initsuffix=../etc + ;; +diff -ru ../coda-4.6.5/coda-src/scripts/venus-setup ./coda-src/scripts/venus-setup +--- ../coda-4.6.5/coda-src/scripts/venus-setup Wed Sep 2 14:21:24 1998 ++++ ./coda-src/scripts/venus-setup Thu Sep 3 13:48:08 1998 +@@ -22,9 +22,13 @@ + case `uname -sr` in + "NetBSD 1.2" ) + CFSMAJOR=46 ;; +- NetBSD\ 1.3* ) ++ NetBSD\ 1.3 ) ++ CFSMAJOR=51 ;; ++ NetBSD\ 1.3.* ) + CFSMAJOR=51 ;; +- FreeBSD\ 2.2* ) ++ NetBSD\ 1.3* ) ++ CFSMAJOR=60 ;; ++ FreeBSD* ) + CFSMAJOR=93 ;; + *) + CFSMAJOR=67 ;; +diff -ru ../coda-4.6.5/coda-src/vice/Makefile.in ./coda-src/vice/Makefile.in +--- ../coda-4.6.5/coda-src/vice/Makefile.in Wed Sep 2 14:21:38 1998 ++++ ./coda-src/vice/Makefile.in Thu Sep 3 13:40:46 1998 +@@ -25,7 +25,7 @@ + # improvements or extensions that they make, and to grant Carnegie + # Mellon the rights to redistribute these changes without encumbrance. + # +-# static char *rcsid = "$Header: /cvsroot/pkgsrc/net/coda5_server/patches/Attic/patch-aa,v 1.1.1.1 1998/09/29 17:20:47 rvb Exp $"; ++# static char *rcsid = "$Header: /cvsroot/pkgsrc/net/coda5_server/patches/Attic/patch-aa,v 1.1.1.1 1998/09/29 17:20:47 rvb Exp $"; + + + # +@@ -96,7 +96,7 @@ + smon.o \ + ViceErrorMsg.o + +-codasrv: ${objects} srv.o dummyplumber.o ${LIBS} ++codasrv: ${objects} srv.o dummyplumber.o ${CLIBS} + $(CXX) $(LIBFLAGS) srv.o ${objects} dummyplumber.o ${CLIBS} -lm -o codasrv + + printvrdb: printvrdb.o +diff -ru /dev/null ./configs/Makeconf.i386_fbsd3 +--- /dev/null Thu Sep 3 17:13:07 1998 ++++ ./configs/Makeconf.i386_fbsd3 Thu Sep 3 17:11:30 1998 +@@ -0,0 +1,60 @@ ++# ++# sets: ++# variables, libraries for BSD build ++ ++# ++# Coda: an Experimental Distributed File System ++# Release 4.4 ++# ++# Copyright (c) 1987-1995 Carnegie Mellon University ++# All Rights Reserved ++# ++# Permission to use, copy, modify and distribute this software and its ++# documentation is hereby granted, provided that both the copyright ++# notice and this permission notice appear in all copies of the ++# software, derivative works or modified versions, and any portions ++# thereof, and that both notices appear in supporting documentation, and ++# that credit is given to Carnegie Mellon University in all documents ++# and publicity pertaining to direct or indirect use of this code or its ++# derivatives. ++# ++# CODA IS AN EXPERIMENTAL SOFTWARE SYSTEM AND IS KNOWN TO HAVE BUGS, ++# SOME OF WHICH MAY HAVE SERIOUS CONSEQUENCES. CARNEGIE MELLON ALLOWS ++# FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION. CARNEGIE MELLON ++# DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER ++# RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE OR OF ++# ANY DERIVATIVE WORK. ++# ++# Carnegie Mellon encourages users of this software to return any ++# improvements or extensions that they make, and to grant Carnegie ++# Mellon the rights to redistribute these changes without encumbrance. ++# */ ++# ++# static char *rcsid = "$Header: /cvsroot/pkgsrc/net/coda5_server/patches/Attic/patch-aa,v 1.1.1.1 1998/09/29 17:20:47 rvb Exp $"; ++# ++ ++MACHINE_FLAGS = -D__BSD44__ ++SHORTSYS = bsd44 ++INCLFLAGS = -I/usr/include ++GFLAG = -g ++CPP = gcc -E -x c-header ++LIBCURSES = /usr/lib/aout/libcurses.a ++LIBCOMPAT = /usr/lib/aout/libcompat.a ++LIBREADLINE = /usr/lib/aout/libreadline.a ++INCREADLINE = -I/usr/include/readline ++LIBTERMCAP = /usr/lib/aout/libtermcap.a ++#for rvm ++LIBTHREADS = ++LIBMACH = ++ ++#for advice_srv ++LIBKVM = /usr/lib/aout/libkvm.a ++INCGDBM = -I/usr/local/include ++LGDBM = -L/usr/local/lib ++LIBMATH = -lm ++GUIDIR = /usr/lib/coda ++ ++KRBINCLFLAGS = -I/usr/athena/include -I/usr/include/kerberosIV ++#LIBKRBS = /usr/athena/lib/libkrb4.a /usr/athena/lib/libkrb5.a /usr/athena/lib/libcrypto.a /usr/athena/lib/libcom_err.a /usr/athena/lib/libdes425.a /usr/athena/lib/libkrb524.a ++LIBKRBS = /usr/lib/libkrb.a ++ +diff -ru ../coda-4.6.5/configs/codaconf.m4 ./configs/codaconf.m4 +--- ../coda-4.6.5/configs/codaconf.m4 Wed Sep 2 14:21:53 1998 ++++ ./configs/codaconf.m4 Thu Sep 3 14:11:57 1998 +@@ -32,8 +32,14 @@ + initsuffix=../etc + ;; + +- *-*-freebsd* ) ++ *-*-freebsd2* ) + sys=i386_fbsd2 ++ vfsdir=bsd44 ++ initsuffix=../etc ++ ;; ++ ++ *-*-freebsd3* ) ++ sys=i386_fbsd3 + vfsdir=bsd44 + initsuffix=../etc + ;; diff --git a/net/coda5_server/patches/patch-ab b/net/coda5_server/patches/patch-ab new file mode 100644 index 00000000000..ce17832114a --- /dev/null +++ b/net/coda5_server/patches/patch-ab @@ -0,0 +1,19 @@ +--- coda-b4_6_4/coda-src/venus/worker.cc Tue Jun 16 06:46:19 1998 ++++ ./coda-src/venus/worker.cc Sat Sep 12 11:24:37 1998 +@@ -289,15 +289,7 @@ + } + #endif /* __MACH__ */ + #ifdef __BSD44__ +-#ifndef MOUNT_CFS +- /* for FreeBSD +- - Add line below into /usr/include/sys/mount.h. Don't forget to adjust +- MOUNT_MAXTYPE. +- # define MOUNT_CFS old MOUNT_MAXTYPE +1 +- In #define INITMOUNTNAMES, +- "cfs", /* 19 or so MOUNT_CFS */ +-#endif +- if (mount(MOUNT_CFS, venusRoot, 0, kernDevice) < 0) { ++ if (mount("coda", venusRoot, 0, kernDevice) < 0) { + eprint("mount(%s, %s) failed (%d), exiting", + kernDevice, venusRoot, errno); + exit(-1); diff --git a/net/coda5_server/pkg/COMMENT b/net/coda5_server/pkg/COMMENT new file mode 100644 index 00000000000..eab49907cf2 --- /dev/null +++ b/net/coda5_server/pkg/COMMENT @@ -0,0 +1 @@ +Coda: an experimental, replicated high performance network file system. diff --git a/net/coda5_server/pkg/DESCR b/net/coda5_server/pkg/DESCR new file mode 100644 index 00000000000..86cd6e304b4 --- /dev/null +++ b/net/coda5_server/pkg/DESCR @@ -0,0 +1,8 @@ +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/coda5_server/pkg/PLIST b/net/coda5_server/pkg/PLIST new file mode 100644 index 00000000000..4c82197adb1 --- /dev/null +++ b/net/coda5_server/pkg/PLIST @@ -0,0 +1,47 @@ +@owner bin +@group bin +bin/filcon +bin/norton +bin/norton-reinit +bin/reinit +sbin/auth2 +sbin/backup +sbin/backup.sh +sbin/bldvldb.sh +sbin/codasrv +sbin/createvol +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/recreatevol +sbin/recreatevol_rep +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 +@owner root +@group wheel +etc/rc.vice diff --git a/net/coda_client/Makefile b/net/coda_client/Makefile new file mode 100644 index 00000000000..9cabff34281 --- /dev/null +++ b/net/coda_client/Makefile @@ -0,0 +1,29 @@ +# New makefile for: coda client +# Version required: 4.6.5 +# Date created: 19 June 1998 +# Whom: hmpierce <hmpierce@cs.cmu.edu> +# +# $Id: Makefile,v 1.1.1.1 1998/09/29 17:20:46 rvb Exp $ +# + +DISTNAME= coda-4.6.5 +PKGNAME= coda-client-4.6.5-1.3H-1 +CATEGORIES= net +MASTER_SITES= ftp://ftp.coda.cs.cmu.edu/pub/coda/src/ +EXTRACT_SUFX= .tgz + +MAINTAINER= coda@cs.cmu.edu +HOMEPAGE= http://www.coda.cs.cmu.edu/ + +# Dependencies: +DEPENDS= gdbm-*:../../databases/gdbm \ + readline-*:../../devel/readline + +ALL_TARGET= coda +INSTALL_TARGET= client-install + +# Odd, non-default BSD stuff: +GNU_CONFIGURE= yes +USE_GMAKE= yes + +.include "../../mk/bsd.pkg.mk" diff --git a/net/coda_client/files/md5 b/net/coda_client/files/md5 new file mode 100644 index 00000000000..005b2548d3f --- /dev/null +++ b/net/coda_client/files/md5 @@ -0,0 +1 @@ +MD5 (coda-4.6.5.tgz) = 4c946e371c6e04aededfd3d51c004294 diff --git a/net/coda_client/patches/patch-aa b/net/coda_client/patches/patch-aa new file mode 100644 index 00000000000..60f5a088402 --- /dev/null +++ b/net/coda_client/patches/patch-aa @@ -0,0 +1,142 @@ +diff -ru ../coda-4.6.5/configure ./configure +--- ../coda-4.6.5/configure Wed Sep 2 14:07:47 1998 ++++ ./configure Thu Sep 3 14:37:32 1998 +@@ -1362,8 +1362,14 @@ + initsuffix=../etc + ;; + +- *-*-freebsd* ) ++ *-*-freebsd2* ) + sys=i386_fbsd2 ++ vfsdir=bsd44 ++ initsuffix=../etc ++ ;; ++ ++ *-*-freebsd3* ) ++ sys=i386_fbsd3 + vfsdir=bsd44 + initsuffix=../etc + ;; +diff -ru ../coda-4.6.5/coda-src/scripts/venus-setup ./coda-src/scripts/venus-setup +--- ../coda-4.6.5/coda-src/scripts/venus-setup Wed Sep 2 14:21:24 1998 ++++ ./coda-src/scripts/venus-setup Thu Sep 3 13:48:08 1998 +@@ -22,9 +22,13 @@ + case `uname -sr` in + "NetBSD 1.2" ) + CFSMAJOR=46 ;; +- NetBSD\ 1.3* ) ++ NetBSD\ 1.3 ) ++ CFSMAJOR=51 ;; ++ NetBSD\ 1.3.* ) + CFSMAJOR=51 ;; +- FreeBSD\ 2.2* ) ++ NetBSD\ 1.3* ) ++ CFSMAJOR=60 ;; ++ FreeBSD* ) + CFSMAJOR=93 ;; + *) + CFSMAJOR=67 ;; +diff -ru ../coda-4.6.5/coda-src/vice/Makefile.in ./coda-src/vice/Makefile.in +--- ../coda-4.6.5/coda-src/vice/Makefile.in Wed Sep 2 14:21:38 1998 ++++ ./coda-src/vice/Makefile.in Thu Sep 3 13:40:46 1998 +@@ -25,7 +25,7 @@ + # improvements or extensions that they make, and to grant Carnegie + # Mellon the rights to redistribute these changes without encumbrance. + # +-# static char *rcsid = "$Header: /cvsroot/pkgsrc/net/coda_client/patches/Attic/patch-aa,v 1.1.1.1 1998/09/29 17:20:46 rvb Exp $"; ++# static char *rcsid = "$Header: /cvsroot/pkgsrc/net/coda_client/patches/Attic/patch-aa,v 1.1.1.1 1998/09/29 17:20:46 rvb Exp $"; + + + # +@@ -96,7 +96,7 @@ + smon.o \ + ViceErrorMsg.o + +-codasrv: ${objects} srv.o dummyplumber.o ${LIBS} ++codasrv: ${objects} srv.o dummyplumber.o ${CLIBS} + $(CXX) $(LIBFLAGS) srv.o ${objects} dummyplumber.o ${CLIBS} -lm -o codasrv + + printvrdb: printvrdb.o +diff -ru /dev/null ./configs/Makeconf.i386_fbsd3 +--- /dev/null Thu Sep 3 17:13:07 1998 ++++ ./configs/Makeconf.i386_fbsd3 Thu Sep 3 17:11:30 1998 +@@ -0,0 +1,60 @@ ++# ++# sets: ++# variables, libraries for BSD build ++ ++# ++# Coda: an Experimental Distributed File System ++# Release 4.4 ++# ++# Copyright (c) 1987-1995 Carnegie Mellon University ++# All Rights Reserved ++# ++# Permission to use, copy, modify and distribute this software and its ++# documentation is hereby granted, provided that both the copyright ++# notice and this permission notice appear in all copies of the ++# software, derivative works or modified versions, and any portions ++# thereof, and that both notices appear in supporting documentation, and ++# that credit is given to Carnegie Mellon University in all documents ++# and publicity pertaining to direct or indirect use of this code or its ++# derivatives. ++# ++# CODA IS AN EXPERIMENTAL SOFTWARE SYSTEM AND IS KNOWN TO HAVE BUGS, ++# SOME OF WHICH MAY HAVE SERIOUS CONSEQUENCES. CARNEGIE MELLON ALLOWS ++# FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION. CARNEGIE MELLON ++# DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER ++# RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE OR OF ++# ANY DERIVATIVE WORK. ++# ++# Carnegie Mellon encourages users of this software to return any ++# improvements or extensions that they make, and to grant Carnegie ++# Mellon the rights to redistribute these changes without encumbrance. ++# */ ++# ++# static char *rcsid = "$Header: /cvsroot/pkgsrc/net/coda_client/patches/Attic/patch-aa,v 1.1.1.1 1998/09/29 17:20:46 rvb Exp $"; ++# ++ ++MACHINE_FLAGS = -D__BSD44__ ++SHORTSYS = bsd44 ++INCLFLAGS = -I/usr/include ++GFLAG = -g ++CPP = gcc -E -x c-header ++LIBCURSES = /usr/lib/aout/libcurses.a ++LIBCOMPAT = /usr/lib/aout/libcompat.a ++LIBREADLINE = /usr/lib/aout/libreadline.a ++INCREADLINE = -I/usr/include/readline ++LIBTERMCAP = /usr/lib/aout/libtermcap.a ++#for rvm ++LIBTHREADS = ++LIBMACH = ++ ++#for advice_srv ++LIBKVM = /usr/lib/aout/libkvm.a ++INCGDBM = -I/usr/local/include ++LGDBM = -L/usr/local/lib ++LIBMATH = -lm ++GUIDIR = /usr/lib/coda ++ ++KRBINCLFLAGS = -I/usr/athena/include -I/usr/include/kerberosIV ++#LIBKRBS = /usr/athena/lib/libkrb4.a /usr/athena/lib/libkrb5.a /usr/athena/lib/libcrypto.a /usr/athena/lib/libcom_err.a /usr/athena/lib/libdes425.a /usr/athena/lib/libkrb524.a ++LIBKRBS = /usr/lib/libkrb.a ++ +diff -ru ../coda-4.6.5/configs/codaconf.m4 ./configs/codaconf.m4 +--- ../coda-4.6.5/configs/codaconf.m4 Wed Sep 2 14:21:53 1998 ++++ ./configs/codaconf.m4 Thu Sep 3 14:11:57 1998 +@@ -32,8 +32,14 @@ + initsuffix=../etc + ;; + +- *-*-freebsd* ) ++ *-*-freebsd2* ) + sys=i386_fbsd2 ++ vfsdir=bsd44 ++ initsuffix=../etc ++ ;; ++ ++ *-*-freebsd3* ) ++ sys=i386_fbsd3 + vfsdir=bsd44 + initsuffix=../etc + ;; diff --git a/net/coda_client/patches/patch-ab b/net/coda_client/patches/patch-ab new file mode 100644 index 00000000000..ce17832114a --- /dev/null +++ b/net/coda_client/patches/patch-ab @@ -0,0 +1,19 @@ +--- coda-b4_6_4/coda-src/venus/worker.cc Tue Jun 16 06:46:19 1998 ++++ ./coda-src/venus/worker.cc Sat Sep 12 11:24:37 1998 +@@ -289,15 +289,7 @@ + } + #endif /* __MACH__ */ + #ifdef __BSD44__ +-#ifndef MOUNT_CFS +- /* for FreeBSD +- - Add line below into /usr/include/sys/mount.h. Don't forget to adjust +- MOUNT_MAXTYPE. +- # define MOUNT_CFS old MOUNT_MAXTYPE +1 +- In #define INITMOUNTNAMES, +- "cfs", /* 19 or so MOUNT_CFS */ +-#endif +- if (mount(MOUNT_CFS, venusRoot, 0, kernDevice) < 0) { ++ if (mount("coda", venusRoot, 0, kernDevice) < 0) { + eprint("mount(%s, %s) failed (%d), exiting", + kernDevice, venusRoot, errno); + exit(-1); diff --git a/net/coda_client/pkg/COMMENT b/net/coda_client/pkg/COMMENT new file mode 100644 index 00000000000..eab49907cf2 --- /dev/null +++ b/net/coda_client/pkg/COMMENT @@ -0,0 +1 @@ +Coda: an experimental, replicated high performance network file system. diff --git a/net/coda_client/pkg/DESCR b/net/coda_client/pkg/DESCR new file mode 100644 index 00000000000..7d9eb482809 --- /dev/null +++ b/net/coda_client/pkg/DESCR @@ -0,0 +1,8 @@ +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/pkg/PLIST b/net/coda_client/pkg/PLIST new file mode 100644 index 00000000000..d51a2ffa5a6 --- /dev/null +++ b/net/coda_client/pkg/PLIST @@ -0,0 +1,55 @@ +@owner bin +@group bin +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/parser +bin/removeinc +bin/repair +bin/replay +bin/spy +bin/xaskuser +bin/xfrepair +@dirrm lib/coda diff --git a/net/coda_server/Makefile b/net/coda_server/Makefile new file mode 100644 index 00000000000..83b04dfae55 --- /dev/null +++ b/net/coda_server/Makefile @@ -0,0 +1,29 @@ +# New makefile for: coda server +# Version required: 4.6.5 +# Date created: 19 June 1998 +# Whom: hmpierce <hmpierce@cs.cmu.edu> +# +# $Id: Makefile,v 1.1.1.1 1998/09/29 17:20:47 rvb Exp $ +# + +DISTNAME= coda-4.6.5 +PKGNAME= coda-server-4.6.5-1.3H-1 +CATEGORIES= net +MASTER_SITES= ftp://ftp.coda.cs.cmu.edu/pub/coda/src/ +EXTRACT_SUFX= .tgz + +MAINTAINER= coda@cs.cmu.edu +HOMEPAGE= http://www.coda.cs.cmu.edu/ + +# Dependencies: +DEPENDS= gdbm-*:../../databases/gdbm \ + readline-*:../../devel/readline + +ALL_TARGET= coda +INSTALL_TARGET= server-install + +# Odd, non-default BSD stuff: +GNU_CONFIGURE= yes +USE_GMAKE= yes + +.include "../../mk/bsd.pkg.mk" diff --git a/net/coda_server/files/md5 b/net/coda_server/files/md5 new file mode 100644 index 00000000000..005b2548d3f --- /dev/null +++ b/net/coda_server/files/md5 @@ -0,0 +1 @@ +MD5 (coda-4.6.5.tgz) = 4c946e371c6e04aededfd3d51c004294 diff --git a/net/coda_server/patches/patch-aa b/net/coda_server/patches/patch-aa new file mode 100644 index 00000000000..8003b614f66 --- /dev/null +++ b/net/coda_server/patches/patch-aa @@ -0,0 +1,142 @@ +diff -ru ../coda-4.6.5/configure ./configure +--- ../coda-4.6.5/configure Wed Sep 2 14:07:47 1998 ++++ ./configure Thu Sep 3 14:37:32 1998 +@@ -1362,8 +1362,14 @@ + initsuffix=../etc + ;; + +- *-*-freebsd* ) ++ *-*-freebsd2* ) + sys=i386_fbsd2 ++ vfsdir=bsd44 ++ initsuffix=../etc ++ ;; ++ ++ *-*-freebsd3* ) ++ sys=i386_fbsd3 + vfsdir=bsd44 + initsuffix=../etc + ;; +diff -ru ../coda-4.6.5/coda-src/scripts/venus-setup ./coda-src/scripts/venus-setup +--- ../coda-4.6.5/coda-src/scripts/venus-setup Wed Sep 2 14:21:24 1998 ++++ ./coda-src/scripts/venus-setup Thu Sep 3 13:48:08 1998 +@@ -22,9 +22,13 @@ + case `uname -sr` in + "NetBSD 1.2" ) + CFSMAJOR=46 ;; +- NetBSD\ 1.3* ) ++ NetBSD\ 1.3 ) ++ CFSMAJOR=51 ;; ++ NetBSD\ 1.3.* ) + CFSMAJOR=51 ;; +- FreeBSD\ 2.2* ) ++ NetBSD\ 1.3* ) ++ CFSMAJOR=60 ;; ++ FreeBSD* ) + CFSMAJOR=93 ;; + *) + CFSMAJOR=67 ;; +diff -ru ../coda-4.6.5/coda-src/vice/Makefile.in ./coda-src/vice/Makefile.in +--- ../coda-4.6.5/coda-src/vice/Makefile.in Wed Sep 2 14:21:38 1998 ++++ ./coda-src/vice/Makefile.in Thu Sep 3 13:40:46 1998 +@@ -25,7 +25,7 @@ + # improvements or extensions that they make, and to grant Carnegie + # Mellon the rights to redistribute these changes without encumbrance. + # +-# static char *rcsid = "$Header: /cvsroot/pkgsrc/net/coda_server/patches/Attic/patch-aa,v 1.1.1.1 1998/09/29 17:20:47 rvb Exp $"; ++# static char *rcsid = "$Header: /cvsroot/pkgsrc/net/coda_server/patches/Attic/patch-aa,v 1.1.1.1 1998/09/29 17:20:47 rvb Exp $"; + + + # +@@ -96,7 +96,7 @@ + smon.o \ + ViceErrorMsg.o + +-codasrv: ${objects} srv.o dummyplumber.o ${LIBS} ++codasrv: ${objects} srv.o dummyplumber.o ${CLIBS} + $(CXX) $(LIBFLAGS) srv.o ${objects} dummyplumber.o ${CLIBS} -lm -o codasrv + + printvrdb: printvrdb.o +diff -ru /dev/null ./configs/Makeconf.i386_fbsd3 +--- /dev/null Thu Sep 3 17:13:07 1998 ++++ ./configs/Makeconf.i386_fbsd3 Thu Sep 3 17:11:30 1998 +@@ -0,0 +1,60 @@ ++# ++# sets: ++# variables, libraries for BSD build ++ ++# ++# Coda: an Experimental Distributed File System ++# Release 4.4 ++# ++# Copyright (c) 1987-1995 Carnegie Mellon University ++# All Rights Reserved ++# ++# Permission to use, copy, modify and distribute this software and its ++# documentation is hereby granted, provided that both the copyright ++# notice and this permission notice appear in all copies of the ++# software, derivative works or modified versions, and any portions ++# thereof, and that both notices appear in supporting documentation, and ++# that credit is given to Carnegie Mellon University in all documents ++# and publicity pertaining to direct or indirect use of this code or its ++# derivatives. ++# ++# CODA IS AN EXPERIMENTAL SOFTWARE SYSTEM AND IS KNOWN TO HAVE BUGS, ++# SOME OF WHICH MAY HAVE SERIOUS CONSEQUENCES. CARNEGIE MELLON ALLOWS ++# FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION. CARNEGIE MELLON ++# DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER ++# RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE OR OF ++# ANY DERIVATIVE WORK. ++# ++# Carnegie Mellon encourages users of this software to return any ++# improvements or extensions that they make, and to grant Carnegie ++# Mellon the rights to redistribute these changes without encumbrance. ++# */ ++# ++# static char *rcsid = "$Header: /cvsroot/pkgsrc/net/coda_server/patches/Attic/patch-aa,v 1.1.1.1 1998/09/29 17:20:47 rvb Exp $"; ++# ++ ++MACHINE_FLAGS = -D__BSD44__ ++SHORTSYS = bsd44 ++INCLFLAGS = -I/usr/include ++GFLAG = -g ++CPP = gcc -E -x c-header ++LIBCURSES = /usr/lib/aout/libcurses.a ++LIBCOMPAT = /usr/lib/aout/libcompat.a ++LIBREADLINE = /usr/lib/aout/libreadline.a ++INCREADLINE = -I/usr/include/readline ++LIBTERMCAP = /usr/lib/aout/libtermcap.a ++#for rvm ++LIBTHREADS = ++LIBMACH = ++ ++#for advice_srv ++LIBKVM = /usr/lib/aout/libkvm.a ++INCGDBM = -I/usr/local/include ++LGDBM = -L/usr/local/lib ++LIBMATH = -lm ++GUIDIR = /usr/lib/coda ++ ++KRBINCLFLAGS = -I/usr/athena/include -I/usr/include/kerberosIV ++#LIBKRBS = /usr/athena/lib/libkrb4.a /usr/athena/lib/libkrb5.a /usr/athena/lib/libcrypto.a /usr/athena/lib/libcom_err.a /usr/athena/lib/libdes425.a /usr/athena/lib/libkrb524.a ++LIBKRBS = /usr/lib/libkrb.a ++ +diff -ru ../coda-4.6.5/configs/codaconf.m4 ./configs/codaconf.m4 +--- ../coda-4.6.5/configs/codaconf.m4 Wed Sep 2 14:21:53 1998 ++++ ./configs/codaconf.m4 Thu Sep 3 14:11:57 1998 +@@ -32,8 +32,14 @@ + initsuffix=../etc + ;; + +- *-*-freebsd* ) ++ *-*-freebsd2* ) + sys=i386_fbsd2 ++ vfsdir=bsd44 ++ initsuffix=../etc ++ ;; ++ ++ *-*-freebsd3* ) ++ sys=i386_fbsd3 + vfsdir=bsd44 + initsuffix=../etc + ;; diff --git a/net/coda_server/patches/patch-ab b/net/coda_server/patches/patch-ab new file mode 100644 index 00000000000..ce17832114a --- /dev/null +++ b/net/coda_server/patches/patch-ab @@ -0,0 +1,19 @@ +--- coda-b4_6_4/coda-src/venus/worker.cc Tue Jun 16 06:46:19 1998 ++++ ./coda-src/venus/worker.cc Sat Sep 12 11:24:37 1998 +@@ -289,15 +289,7 @@ + } + #endif /* __MACH__ */ + #ifdef __BSD44__ +-#ifndef MOUNT_CFS +- /* for FreeBSD +- - Add line below into /usr/include/sys/mount.h. Don't forget to adjust +- MOUNT_MAXTYPE. +- # define MOUNT_CFS old MOUNT_MAXTYPE +1 +- In #define INITMOUNTNAMES, +- "cfs", /* 19 or so MOUNT_CFS */ +-#endif +- if (mount(MOUNT_CFS, venusRoot, 0, kernDevice) < 0) { ++ if (mount("coda", venusRoot, 0, kernDevice) < 0) { + eprint("mount(%s, %s) failed (%d), exiting", + kernDevice, venusRoot, errno); + exit(-1); diff --git a/net/coda_server/pkg/COMMENT b/net/coda_server/pkg/COMMENT new file mode 100644 index 00000000000..eab49907cf2 --- /dev/null +++ b/net/coda_server/pkg/COMMENT @@ -0,0 +1 @@ +Coda: an experimental, replicated high performance network file system. diff --git a/net/coda_server/pkg/DESCR b/net/coda_server/pkg/DESCR new file mode 100644 index 00000000000..86cd6e304b4 --- /dev/null +++ b/net/coda_server/pkg/DESCR @@ -0,0 +1,8 @@ +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/pkg/PLIST b/net/coda_server/pkg/PLIST new file mode 100644 index 00000000000..4c82197adb1 --- /dev/null +++ b/net/coda_server/pkg/PLIST @@ -0,0 +1,47 @@ +@owner bin +@group bin +bin/filcon +bin/norton +bin/norton-reinit +bin/reinit +sbin/auth2 +sbin/backup +sbin/backup.sh +sbin/bldvldb.sh +sbin/codasrv +sbin/createvol +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/recreatevol +sbin/recreatevol_rep +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 +@owner root +@group wheel +etc/rc.vice |