summaryrefslogtreecommitdiff
path: root/net/dgd
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2002-04-25 15:19:37 +0000
committertron <tron@pkgsrc.org>2002-04-25 15:19:37 +0000
commit2c40b182d16536ab85e57fe80d21fa3435ea870d (patch)
tree9dd47f134205bd871888ceed286b4e74bb2cb19a /net/dgd
parentc4283bf2695f12418a413f9ad268e4193187cf75 (diff)
downloadpkgsrc-2c40b182d16536ab85e57fe80d21fa3435ea870d.tar.gz
Import new "dgd" package:
Object-oriented programmable server This packages was provided by Scott Thompson in PR pkg/13765.
Diffstat (limited to 'net/dgd')
-rw-r--r--net/dgd/DESCR8
-rw-r--r--net/dgd/MESSAGE2
-rw-r--r--net/dgd/Makefile30
-rw-r--r--net/dgd/PLIST175
-rw-r--r--net/dgd/distinfo6
-rw-r--r--net/dgd/patches/patch-aa19
-rw-r--r--net/dgd/patches/patch-ab10
7 files changed, 250 insertions, 0 deletions
diff --git a/net/dgd/DESCR b/net/dgd/DESCR
new file mode 100644
index 00000000000..4165d6a20fb
--- /dev/null
+++ b/net/dgd/DESCR
@@ -0,0 +1,8 @@
+DGD (Dworkin's Generic Driver, also known as Dworkin's Game Driver)
+is an object-oriented programmable server. It is a re-implementation
+from scratch of the LPMud server created by Lars Pensjoe. However,
+rather than embracing and extending LPMud 3.1.2, the last version of
+LPMud created by Lars, DGD departs from LPMud at an earlier version,
+2.4.5.
+
+Please report bugs to <felix@dworkin.nl>.
diff --git a/net/dgd/MESSAGE b/net/dgd/MESSAGE
new file mode 100644
index 00000000000..310225a5261
--- /dev/null
+++ b/net/dgd/MESSAGE
@@ -0,0 +1,2 @@
+It is recommended that you create a nonprivileged account to run
+the DGD driver.
diff --git a/net/dgd/Makefile b/net/dgd/Makefile
new file mode 100644
index 00000000000..511768fa1df
--- /dev/null
+++ b/net/dgd/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/25 15:19:37 tron Exp $
+
+DISTNAME= dgd-1.2p1
+PKGNAME= dgd-1.2.0.1
+CATEGORIES= net games
+MASTER_SITES= ftp://ftp.dworkin.nl/pub/dgd/ \
+ ftp://ftp.imaginary.com/pub/LPC/servers/DGD/
+
+MAINTAINER= sco@openface.ca
+HOMEPAGE= http://www.dworkin.nl/dgd/
+COMMENT= Object-oriented programmable server
+
+LICENSE= no-commercial-use
+
+WRKSRC= ${WRKDIR}/dgd/src
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/a.out ${PREFIX}/libexec/dgd
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dgd
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dgd
+ ${INSTALL_DATA_DIR} ${PREFIX}/libdata/dgd/tmp
+ cd ${WRKDIR}/dgd && \
+ ${INSTALL_DATA} Copyright Credits README ${PREFIX}/share/doc/dgd
+ ${GTAR} cCf ${WRKDIR}/dgd/doc - . | ${GTAR} xCf ${PREFIX}/share/doc/dgd -
+ ${GTAR} cCf ${WRKDIR}/dgd - mud | ${GTAR} xCf ${PREFIX}/libdata/dgd -
+ ${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/libdata/dgd \
+ ${PREFIX}/share/doc/dgd
+ ${SED} -e "s#@PREFIX@#${PREFIX}#" ${WRKSRC}/../mud.dgd > ${PREFIX}/share/examples/dgd/mud.dgd
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/dgd/PLIST b/net/dgd/PLIST
new file mode 100644
index 00000000000..bf51d4e618e
--- /dev/null
+++ b/net/dgd/PLIST
@@ -0,0 +1,175 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/04/25 15:19:37 tron Exp $
+libexec/dgd
+share/doc/dgd/Copyright
+share/doc/dgd/Credits
+share/doc/dgd/README
+share/doc/dgd/Commercial
+share/doc/dgd/Extensions
+share/doc/dgd/Introduction
+share/doc/dgd/LPC.html
+share/doc/dgd/Platforms
+share/doc/dgd/editor
+share/doc/dgd/parser
+share/doc/dgd/kfun/acos
+share/doc/dgd/kfun/allocate
+share/doc/dgd/kfun/allocate_float
+share/doc/dgd/kfun/allocate_int
+share/doc/dgd/kfun/asin
+share/doc/dgd/kfun/atan
+share/doc/dgd/kfun/atan2
+share/doc/dgd/kfun/block_input
+share/doc/dgd/kfun/call_other
+share/doc/dgd/kfun/call_out
+share/doc/dgd/kfun/call_trace
+share/doc/dgd/kfun/ceil
+share/doc/dgd/kfun/clone_object
+share/doc/dgd/kfun/compile_object
+share/doc/dgd/kfun/cos
+share/doc/dgd/kfun/cosh
+share/doc/dgd/kfun/crypt
+share/doc/dgd/kfun/ctime
+share/doc/dgd/kfun/destruct_object
+share/doc/dgd/kfun/dump_state
+share/doc/dgd/kfun/editor
+share/doc/dgd/kfun/error
+share/doc/dgd/kfun/exp
+share/doc/dgd/kfun/explode
+share/doc/dgd/kfun/fabs
+share/doc/dgd/kfun/find_object
+share/doc/dgd/kfun/log
+share/doc/dgd/kfun/floor
+share/doc/dgd/kfun/fmod
+share/doc/dgd/kfun/frexp
+share/doc/dgd/kfun/function_object
+share/doc/dgd/kfun/get_dir
+share/doc/dgd/kfun/hash_crc16
+share/doc/dgd/kfun/hash_md5
+share/doc/dgd/kfun/implode
+share/doc/dgd/kfun/ldexp
+share/doc/dgd/kfun/log10
+share/doc/dgd/kfun/make_dir
+share/doc/dgd/kfun/map_indices
+share/doc/dgd/kfun/map_sizeof
+share/doc/dgd/kfun/map_values
+share/doc/dgd/kfun/millitime
+share/doc/dgd/kfun/modf
+share/doc/dgd/kfun/object_name
+share/doc/dgd/kfun/parse_string
+share/doc/dgd/kfun/pow
+share/doc/dgd/kfun/previous_object
+share/doc/dgd/kfun/previous_program
+share/doc/dgd/kfun/query_editor
+share/doc/dgd/kfun/query_ip_name
+share/doc/dgd/kfun/query_ip_number
+share/doc/dgd/kfun/random
+share/doc/dgd/kfun/sin
+share/doc/dgd/kfun/tan
+share/doc/dgd/kfun/read_file
+share/doc/dgd/kfun/remove_call_out
+share/doc/dgd/kfun/remove_dir
+share/doc/dgd/kfun/remove_file
+share/doc/dgd/kfun/rename_file
+share/doc/dgd/kfun/restore_object
+share/doc/dgd/kfun/save_object
+share/doc/dgd/kfun/send_datagram
+share/doc/dgd/kfun/send_message
+share/doc/dgd/kfun/shutdown
+share/doc/dgd/kfun/sinh
+share/doc/dgd/kfun/sizeof
+share/doc/dgd/kfun/sqrt
+share/doc/dgd/kfun/sscanf
+share/doc/dgd/kfun/status
+share/doc/dgd/kfun/strlen
+share/doc/dgd/kfun/swapout
+share/doc/dgd/kfun/tanh
+share/doc/dgd/kfun/this_object
+share/doc/dgd/kfun/this_user
+share/doc/dgd/kfun/time
+share/doc/dgd/kfun/typeof
+share/doc/dgd/kfun/users
+share/doc/dgd/kfun/write_file
+libdata/dgd/mud/doc/kernel/overview
+libdata/dgd/mud/doc/kernel/efun/add_event
+libdata/dgd/mud/doc/kernel/efun/call_limited
+libdata/dgd/mud/doc/kernel/efun/call_other
+libdata/dgd/mud/doc/kernel/efun/call_trace
+libdata/dgd/mud/doc/kernel/efun/clone_object
+libdata/dgd/mud/doc/kernel/efun/compile_object
+libdata/dgd/mud/doc/kernel/efun/destruct_object
+libdata/dgd/mud/doc/kernel/efun/event
+libdata/dgd/mud/doc/kernel/efun/event_except
+libdata/dgd/mud/doc/kernel/efun/file_info
+libdata/dgd/mud/doc/kernel/efun/find_object
+libdata/dgd/mud/doc/kernel/efun/get_dir
+libdata/dgd/mud/doc/kernel/efun/query_events
+libdata/dgd/mud/doc/kernel/efun/query_subscribed_event
+libdata/dgd/mud/doc/kernel/efun/remove_event
+libdata/dgd/mud/doc/kernel/efun/status
+libdata/dgd/mud/doc/kernel/efun/subscribe_event
+libdata/dgd/mud/doc/kernel/efun/unsubscribe_event
+libdata/dgd/mud/doc/kernel/hook/driver
+libdata/dgd/mud/doc/kernel/hook/rsrcd
+libdata/dgd/mud/doc/kernel/hook/userd
+libdata/dgd/mud/doc/kernel/lfun/allow_subscribe
+libdata/dgd/mud/doc/kernel/lfun/create
+libdata/dgd/mud/doc/kernel/lfun/query_owner
+libdata/dgd/mud/include/config.h
+libdata/dgd/mud/include/std.h
+libdata/dgd/mud/include/kernel/access.h
+libdata/dgd/mud/include/kernel/kernel.h
+libdata/dgd/mud/include/kernel/net.h
+libdata/dgd/mud/include/kernel/objreg.h
+libdata/dgd/mud/include/kernel/rsrc.h
+libdata/dgd/mud/include/kernel/tls.h
+libdata/dgd/mud/include/kernel/user.h
+libdata/dgd/mud/include/kernel/version.h
+libdata/dgd/mud/kernel/lib/api/access.c
+libdata/dgd/mud/kernel/lib/api/objreg.c
+libdata/dgd/mud/kernel/lib/api/rsrc.c
+libdata/dgd/mud/kernel/lib/api/tls.c
+libdata/dgd/mud/kernel/lib/api/user.c
+libdata/dgd/mud/kernel/lib/auto.c
+libdata/dgd/mud/kernel/lib/connection.c
+libdata/dgd/mud/kernel/lib/port.c
+libdata/dgd/mud/kernel/lib/user.c
+libdata/dgd/mud/kernel/lib/wiztool.c
+libdata/dgd/mud/kernel/obj/binary.c
+libdata/dgd/mud/kernel/obj/port.c
+libdata/dgd/mud/kernel/obj/rsrc.c
+libdata/dgd/mud/kernel/obj/telnet.c
+libdata/dgd/mud/kernel/obj/udp.c
+libdata/dgd/mud/kernel/obj/user.c
+libdata/dgd/mud/kernel/obj/wiztool.c
+libdata/dgd/mud/kernel/sys/accessd.c
+libdata/dgd/mud/kernel/sys/driver.c
+libdata/dgd/mud/kernel/sys/objregd.c
+libdata/dgd/mud/kernel/sys/rsrcd.c
+libdata/dgd/mud/kernel/sys/userd.c
+share/examples/dgd/mud.dgd
+@exec mkdir -p %D/libdata/dgd/mud/kernel/data
+@exec mkdir -p %D/libdata/dgd/mud/usr/System
+@exec mkdir -p %D/libdata/dgd/mud/usr/admin
+@exec mkdir -p %D/libdata/dgd/mud/usr
+@exec mkdir -p %D/libdata/dgd/tmp
+@dirrm share/doc/dgd/kfun
+@dirrm share/doc/dgd
+@dirrm libdata/dgd/mud/doc/kernel/efun
+@dirrm libdata/dgd/mud/doc/kernel/hook
+@dirrm libdata/dgd/mud/doc/kernel/lfun
+@dirrm libdata/dgd/mud/doc/kernel
+@dirrm libdata/dgd/mud/doc
+@dirrm libdata/dgd/mud/include/kernel
+@dirrm libdata/dgd/mud/include
+@dirrm libdata/dgd/mud/kernel/data
+@dirrm libdata/dgd/mud/kernel/lib/api
+@dirrm libdata/dgd/mud/kernel/lib
+@dirrm libdata/dgd/mud/kernel/obj
+@dirrm libdata/dgd/mud/kernel/sys
+@dirrm libdata/dgd/mud/kernel
+@dirrm libdata/dgd/mud/usr/System
+@dirrm libdata/dgd/mud/usr/admin
+@dirrm libdata/dgd/mud/usr
+@dirrm libdata/dgd/mud
+@dirrm libdata/dgd/tmp
+@dirrm libdata/dgd
+@dirrm share/examples/dgd
diff --git a/net/dgd/distinfo b/net/dgd/distinfo
new file mode 100644
index 00000000000..efd023fa90f
--- /dev/null
+++ b/net/dgd/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/04/25 15:19:37 tron Exp $
+
+SHA1 (dgd-1.2p1.tar.gz) = eedd02eb2ec576745e03ed44f6bc43aa2094c4f6
+Size (dgd-1.2p1.tar.gz) = 470644 bytes
+SHA1 (patch-aa) = bb85916706717011f00b21301ad17cfcefef68e9
+SHA1 (patch-ab) = 9efa9f6f8f457e2cce586ae6da2760708a8d26b4
diff --git a/net/dgd/patches/patch-aa b/net/dgd/patches/patch-aa
new file mode 100644
index 00000000000..9323993cebc
--- /dev/null
+++ b/net/dgd/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/04/25 15:19:37 tron Exp $
+
+--- Makefile.orig Wed Dec 20 05:13:29 2000
++++ Makefile Tue Aug 21 10:48:37 2001
+@@ -7,3 +7,3 @@
+ CCFLAGS=$(DEFINES) $(DEBUG)
+-CFLAGS= -I. -Icomp -Ilex -Ied -Iparser -Ikfun $(CCFLAGS)
++CFLAGS+= -I. -Icomp -Ilex -Ied -Iparser -Ikfun $(CCFLAGS)
+ LDFLAGS=
+@@ -11,3 +11,3 @@
+ LINTFLAGS=-abcehpruz
+-CC= gcc
++CC?= gcc
+ LD= $(CC)
+@@ -22,2 +22,4 @@
+ interpret.o config.o
++
++all: a.out
+
diff --git a/net/dgd/patches/patch-ab b/net/dgd/patches/patch-ab
new file mode 100644
index 00000000000..d27ff580f86
--- /dev/null
+++ b/net/dgd/patches/patch-ab
@@ -0,0 +1,10 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/04/25 15:19:37 tron Exp $
+
+--- ../mud.dgd.orig Thu Mar 4 15:54:52 1999
++++ ../mud.dgd Tue Apr 23 12:23:17 2002
+@@ -2,3 +2,4 @@
+ binary_port = 6048; /* binary port number */
+-directory = "/home/dworkin/dgd/mud";/* base directory (MUST be absolute) */
++directory = "@PREFIX@/libdata/dgd/mud";
++ /* base directory (MUST be absolute) */
+ users = 40; /* max # of users */