aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authoradam <adam@FreeBSD.org>1996-06-18 19:15:44 +0800
committeradam <adam@FreeBSD.org>1996-06-18 19:15:44 +0800
commit5c215e3ba6b8683351593ee32fdec9a28b05c79f (patch)
treef6fa7ff97ac45e974ec95475a3db0133ba05a671 /net
parent75cb960186689dc3ca47c30e6d8ba395a0fe1242 (diff)
downloadfreebsd-ports-gnome-5c215e3ba6b8683351593ee32fdec9a28b05c79f.tar.gz
freebsd-ports-gnome-5c215e3ba6b8683351593ee32fdec9a28b05c79f.tar.zst
freebsd-ports-gnome-5c215e3ba6b8683351593ee32fdec9a28b05c79f.zip
This is the networking-enhanced version of DGD.
The following additional functionality is provided: send and receive udp datagrams initiate tcp and telnet connections listen on any number of ports for incoming connections This is a separate version because sites not requiring these features can use the other version and not need to concern themselves with the network security issues. Also the programming semantics for network communication are somewhat different in the two versions.
Diffstat (limited to 'net')
-rw-r--r--net/dgd-net/Makefile43
-rw-r--r--net/dgd-net/distinfo5
-rw-r--r--net/dgd-net/files/patch-aa79
-rw-r--r--net/dgd-net/files/patch-ab31
-rw-r--r--net/dgd-net/files/patch-ac19
-rw-r--r--net/dgd-net/pkg-comment1
-rw-r--r--net/dgd-net/pkg-descr13
-rw-r--r--net/dgd-net/pkg-plist76
-rw-r--r--net/dgd-net/scripts/configure3
9 files changed, 270 insertions, 0 deletions
diff --git a/net/dgd-net/Makefile b/net/dgd-net/Makefile
new file mode 100644
index 000000000000..63a24c796257
--- /dev/null
+++ b/net/dgd-net/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: dgd-net
+# Version required: 1.0.56
+# Date created: 17 June 1996
+# Whom: adam
+#
+# $Id$
+#
+
+DISTNAME= dgd-net-1.0.56
+DISTFILES= dgd-1.0.37.tar.gz
+CATEGORIES= net lang
+MASTER_SITES= ftp.lysator.liu.se:/pub/lpmud/drivers/dgd/
+
+PATCH_SITES= ftp.lysator.liu.se:/pub/lpmud/drivers/dgd/patches/ \
+ ftp.lysator.liu.se:/pub/lpmud/drivers/dgd/pkg/
+PATCHFILES= 1.0.37-1.0.39.gz \
+ 1.0.39-1.0.40.gz \
+ 1.0.40-1.0.56.gz \
+ net-10.dgd-56.gz
+
+MAINTAINER= adam@veda.is
+
+NO_CDROM= no distribution to corporate environment
+RESTRICTED= license required for commercial use
+
+DIST_SUBDIR= dgd
+WRKSRC= ${WRKDIR}/dgd/src
+PATCH_DIST_STRIP= -p1
+
+post-build:
+ @cd ${WRKSRC}; ${MAKE} install
+ @mv ${WRKDIR}/dgd/bin/driver ${WRKDIR}/dgd/bin/driver.net
+ @mv ${WRKDIR}/dgd/bin/precomp ${WRKDIR}/dgd/bin/precomp.net
+ @mv ${WRKDIR}/dgd/doc/Introduction ${WRKDIR}/dgd/doc/Introduction.NET
+ @mv ${WRKDIR}/dgd/doc/kfun/send_message ${WRKDIR}/dgd/doc/kfun/send_message.NET
+ @chmod o+r ${WRKDIR}/dgd/doc/kfun/*
+
+do-install:
+ @-mv ${PREFIX}/dgd/bin/driver.net ${PREFIX}/dgd/bin/driver.net.old
+ @tar -C ${WRKDIR} -cf - `grep '^dgd/' ${PKGDIR}/PLIST` \
+ | tar -C ${PREFIX} -xpf -
+
+.include <bsd.port.mk>
diff --git a/net/dgd-net/distinfo b/net/dgd-net/distinfo
new file mode 100644
index 000000000000..4a05bcc08874
--- /dev/null
+++ b/net/dgd-net/distinfo
@@ -0,0 +1,5 @@
+MD5 (dgd-1.0.37.tar.gz) = 1a25b6419dbca14c33fade79f3380932
+MD5 (1.0.37-1.0.39.gz) = 3e75afb0b098c177eec13be422be34a8
+MD5 (1.0.39-1.0.40.gz) = 21e8ac46650306fb46f6edc497d03d81
+MD5 (1.0.40-1.0.56.gz) = 934a272681c1eda637c22d9d00800fe0
+MD5 (net-10.dgd-56.gz) = 18e06478b0f68de4b157ac7c841b46cf
diff --git a/net/dgd-net/files/patch-aa b/net/dgd-net/files/patch-aa
new file mode 100644
index 000000000000..f4f3fb83bb67
--- /dev/null
+++ b/net/dgd-net/files/patch-aa
@@ -0,0 +1,79 @@
+*** Makefile.orig Sun Dec 10 19:21:36 1995
+--- Makefile Wed Feb 7 22:53:33 1996
+***************
+*** 3,14 ****
+ #
+ HOST= NETBSD
+ DEFINES=-D$(HOST) #-DDUMP_FUNCS
+! DEBUG= -g -DDEBUG
+ CCFLAGS=$(DEFINES) $(DEBUG)
+ CFLAGS= -I. -Icomp -Ilex -Ied -Ikfun $(CCFLAGS)
+! LDFLAGS=
+! LIBS=
+! CC= gcc
+ LD= $(CC)
+ DMAKE= make
+ BIN= ../bin
+--- 3,15 ----
+ #
+ HOST= NETBSD
+ DEFINES=-D$(HOST) #-DDUMP_FUNCS
+! DEBUG=-O2
+! #DEBUG= -g -DDEBUG
+ CCFLAGS=$(DEFINES) $(DEBUG)
+ CFLAGS= -I. -Icomp -Ilex -Ied -Ikfun $(CCFLAGS)
+! LDFLAGS=-s
+! LIBS=-lcrypt
+! CC= cc
+ LD= $(CC)
+ DMAKE= make
+ BIN= ../bin
+***************
+*** 20,25 ****
+--- 21,28 ----
+ COMPOBJ=alloc.o error.o hash.o path.o str.o array.o object.o data.o \
+ interpret.o config.o
+
++ all: a.out comp/a.out
++
+ a.out: $(OBJ) always
+ cd comp; $(MAKE) 'DMAKE=$(DMAKE)' 'CC=$(CC)' 'CCFLAGS=$(CCFLAGS)' dgd
+ cd lex; $(MAKE) 'DMAKE=$(DMAKE)' 'CC=$(CC)' 'CCFLAGS=$(CCFLAGS)' dgd
+***************
+*** 38,44 ****
+ -mv $(BIN)/driver $(BIN)/driver.old
+ cp a.out $(BIN)/driver
+
+! install: $(BIN)/driver
+
+ comp.sub: $(COMPOBJ)
+ @for i in $(COMPOBJ); do echo ../$$i; done > comp.sub
+--- 41,51 ----
+ -mv $(BIN)/driver $(BIN)/driver.old
+ cp a.out $(BIN)/driver
+
+! $(BIN)/precomp: comp/a.out
+! -mv $(BIN)/precomp $(BIN)/precomp.old
+! cp comp/a.out $(BIN)/precomp
+!
+! install: $(BIN)/driver $(BIN)/precomp
+
+ comp.sub: $(COMPOBJ)
+ @for i in $(COMPOBJ); do echo ../$$i; done > comp.sub
+***************
+*** 54,60 ****
+
+ comp/a.out:
+ cd comp; $(DMAKE) 'DMAKE=$(DMAKE)' 'CC=$(CC)' 'CCFLAGS=$(CCFLAGS)' \
+! 'LIBS=$(LIBS)' a.out
+
+ clean:
+ rm -f a.out $(OBJ) comp.sub lex.sub ed.sub
+--- 61,67 ----
+
+ comp/a.out:
+ cd comp; $(DMAKE) 'DMAKE=$(DMAKE)' 'CC=$(CC)' 'CCFLAGS=$(CCFLAGS)' \
+! 'LDFLAGS=$(LDFLAGS)' 'LIBS=$(LIBS)' a.out
+
+ clean:
+ rm -f a.out $(OBJ) comp.sub lex.sub ed.sub
diff --git a/net/dgd-net/files/patch-ab b/net/dgd-net/files/patch-ab
new file mode 100644
index 000000000000..00003843b55a
--- /dev/null
+++ b/net/dgd-net/files/patch-ab
@@ -0,0 +1,31 @@
+*** ../README.FreeBSD Wed Dec 31 16:00:00 1969
+--- ../README.FreeBSD Sun Aug 28 06:43:17 1994
+***************
+*** 0 ****
+--- 1,8 ----
++ This is the core distribution of DGD, providing all the tools needed to
++ implement a MUD server, except for the "mudlib" which must be obtained
++ separately or written from scratch. Normally with DGD, the mudlib exists
++ as two distinct layers -- one to define the programming environment, and
++ the other is the actual programmed "world" that is interacted with.
++
++ Mudlib simulations are available for LPmud and LambdaMoo environments.
++ Other such simulations are in various stages of development.
+*** ../README.sites Wed Dec 31 16:00:00 1969
+--- ../README.sites Sun Aug 28 06:27:25 1994
+***************
+*** 0 ****
+--- 1,13 ----
++ DGD MUDs known to be open as of October 1995 are:
++
++ [LPmud]
++ IgorMUD: [193.12.207.11] igor.algonet.se 1701 (good typical LPmud)
++ Albion MUD: [193.4.230.1] mud.veda.is 4000 (play and development)
++ PaderMUD: [131.234.12.13] mud.uni-paderborn.de 3000 (enchanting realism)
++
++ All 3 have a more or less medieval theme.
++
++ [moo]
++ MirrorMOO: [129.10.114.196] mirror.ccs.neu.edu 8889 (Alice's Wonderland)
++
++ Other sites are also developing their own special mudlibs with DGD.
diff --git a/net/dgd-net/files/patch-ac b/net/dgd-net/files/patch-ac
new file mode 100644
index 000000000000..b637ea21817f
--- /dev/null
+++ b/net/dgd-net/files/patch-ac
@@ -0,0 +1,19 @@
+*** ../Copyright.NET.old Mon Jun 17 17:53:49 1996
+--- ../Copyright.NET Mon Jun 17 17:54:29 1996
+***************
+*** 3,9 ****
+ The package is also a derived work of Dworkin's Generic Driver, which
+ is copyrighted by BeeHive Internet Technologies, Inc. Therefore, its
+ copyright applies to it in addition to mine. Its license is included
+! in the file Copyright.DGD.
+
+ I grant permission for any use of this package which does not conflict
+ with the terms of the DGD copyright mentioned above.
+--- 3,9 ----
+ The package is also a derived work of Dworkin's Generic Driver, which
+ is copyrighted by BeeHive Internet Technologies, Inc. Therefore, its
+ copyright applies to it in addition to mine. Its license is included
+! in the file Copyright.
+
+ I grant permission for any use of this package which does not conflict
+ with the terms of the DGD copyright mentioned above.
diff --git a/net/dgd-net/pkg-comment b/net/dgd-net/pkg-comment
new file mode 100644
index 000000000000..c41990c58b32
--- /dev/null
+++ b/net/dgd-net/pkg-comment
@@ -0,0 +1 @@
+Dworkin's Generic Driver (network server) + extra networking support
diff --git a/net/dgd-net/pkg-descr b/net/dgd-net/pkg-descr
new file mode 100644
index 000000000000..118620071c51
--- /dev/null
+++ b/net/dgd-net/pkg-descr
@@ -0,0 +1,13 @@
+This is Dworkin's Generic Driver, a versatile general purpose server program
+for building MUDs and other network server applications.
+The language implementation is an improved and simplified dialect of LPC,
+it is suitable for simulating existing Gamedriver models, or inventing new
+ones. Its usefulness is not limited to the world of MUDs and MUDding.
+
+Please send all reports, comments and suggestions to:
+
+ dworkin@hippolytos.cd.chalmers.se
+
+Additional networking support provides for initiating network connections
+and includes udp functionality. Please send any correspondence about this
+to: dark@xs4all.nl
diff --git a/net/dgd-net/pkg-plist b/net/dgd-net/pkg-plist
new file mode 100644
index 000000000000..50f9b16c84fb
--- /dev/null
+++ b/net/dgd-net/pkg-plist
@@ -0,0 +1,76 @@
+@cwd /usr/local
+dgd/Copyright
+dgd/Copyright.NET
+dgd/Credits
+dgd/README
+dgd/README.FreeBSD
+dgd/README.sites
+dgd/bin/driver.net
+dgd/bin/precomp.net
+dgd/doc/kfun/allocate
+dgd/doc/kfun/call_other
+dgd/doc/kfun/call_out
+dgd/doc/kfun/call_trace
+dgd/doc/kfun/catch
+dgd/doc/kfun/ceil
+dgd/doc/kfun/clone_object
+dgd/doc/kfun/compile_object
+dgd/doc/kfun/connect
+dgd/doc/kfun/crypt
+dgd/doc/kfun/ctime
+dgd/doc/kfun/destruct_object
+dgd/doc/kfun/dump_state
+dgd/doc/kfun/editor
+dgd/doc/kfun/error
+dgd/doc/kfun/explode
+dgd/doc/kfun/fabs
+dgd/doc/kfun/find_object
+dgd/doc/kfun/floor
+dgd/doc/kfun/fmod
+dgd/doc/kfun/frexp
+dgd/doc/kfun/function_object
+dgd/doc/kfun/get_dir
+dgd/doc/kfun/implode
+dgd/doc/kfun/ldexp
+dgd/doc/kfun/modf
+dgd/doc/kfun/make_dir
+dgd/doc/kfun/map_indices
+dgd/doc/kfun/map_sizeof
+dgd/doc/kfun/map_values
+dgd/doc/kfun/object_name
+dgd/doc/kfun/open_port
+dgd/doc/kfun/parse_string
+dgd/doc/kfun/ports
+dgd/doc/kfun/previous_object
+dgd/doc/kfun/query_editor
+dgd/doc/kfun/query_ip_number
+dgd/doc/kfun/random
+dgd/doc/kfun/read_file
+dgd/doc/kfun/remove_call_out
+dgd/doc/kfun/remove_dir
+dgd/doc/kfun/remove_file
+dgd/doc/kfun/rename_file
+dgd/doc/kfun/restore_object
+dgd/doc/kfun/save_object
+dgd/doc/kfun/send_datagram
+dgd/doc/kfun/send_message
+dgd/doc/kfun/send_message.NET
+dgd/doc/kfun/shutdown
+dgd/doc/kfun/sizeof
+dgd/doc/kfun/sscanf
+dgd/doc/kfun/status
+dgd/doc/kfun/strlen
+dgd/doc/kfun/swapout
+dgd/doc/kfun/this_object
+dgd/doc/kfun/this_user
+dgd/doc/kfun/time
+dgd/doc/kfun/typeof
+dgd/doc/kfun/users
+dgd/doc/kfun/write_file
+dgd/doc/Commercial
+dgd/doc/Introduction.NET
+dgd/doc/LPC.html
+dgd/doc/Networking
+dgd/doc/Patching
+dgd/doc/Platforms
+dgd/doc/editor
diff --git a/net/dgd-net/scripts/configure b/net/dgd-net/scripts/configure
new file mode 100644
index 000000000000..c65e336baf62
--- /dev/null
+++ b/net/dgd-net/scripts/configure
@@ -0,0 +1,3 @@
+#!/bin/sh
+#
+