summaryrefslogtreecommitdiff
path: root/ham/dpbox
diff options
context:
space:
mode:
authorwulf <wulf>2000-05-15 10:54:44 +0000
committerwulf <wulf>2000-05-15 10:54:44 +0000
commitd695a23ee55bcf372d4b6ee3b33606d971428321 (patch)
tree5e2ffade0b82c500f2abf9ab4ebfc918fb177f29 /ham/dpbox
parent641101d9fa8059c1b1e02bd01c81816d7b584ca8 (diff)
downloadpkgsrc-d695a23ee55bcf372d4b6ee3b33606d971428321.tar.gz
Initial import of pkgsrc/ham/dpbox:
dpbox-6.00.00 Multi-Protocol Amateur Packet Radio BBS
Diffstat (limited to 'ham/dpbox')
-rw-r--r--ham/dpbox/Makefile32
-rw-r--r--ham/dpbox/files/dpbox.ini78
-rw-r--r--ham/dpbox/files/md53
-rw-r--r--ham/dpbox/files/patch-sum3
-rw-r--r--ham/dpbox/patches/patch-aa108
-rw-r--r--ham/dpbox/pkg/COMMENT1
-rw-r--r--ham/dpbox/pkg/DEINSTALL17
-rw-r--r--ham/dpbox/pkg/DESCR3
-rw-r--r--ham/dpbox/pkg/PLIST121
9 files changed, 366 insertions, 0 deletions
diff --git a/ham/dpbox/Makefile b/ham/dpbox/Makefile
new file mode 100644
index 00000000000..11b8d1016cf
--- /dev/null
+++ b/ham/dpbox/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/05/15 10:54:44 wulf Exp $
+#
+
+DISTNAME= dpbox-60000
+PKGNAME= dpbox-6.00.00
+WRKSRC= ${WRKDIR}/dpbox-6.00.00/source
+CATEGORIES= ham
+MASTER_SITES= ftp://ftp.ping.net.au/pub/unix/ham/
+
+MAINTAINER= wulf@netbsd.org
+HOMEPAGE= http://userpgages.fu-berlin.de/
+
+LICENSE= no-commercial-use
+
+USE_GMAKE= yes
+MAKEFILE= Makefile.netbsd
+
+.include "../../mk/bsd.prefs.mk"
+
+DPBOX_CONF_DIR= ${PREFIX}/share/dpbox/conf
+DPBOX_SPOOL_DIR=/var/spool/dpbox
+DEINSTALL_FILE= ${WRKDIR}/DEINSTALL
+
+post-build:
+ @cd ${PKGDIR}; \
+ ${SED} -e 's#@DPBOX_CONF_DIR@#${DPBOX_CONF_DIR}#g' \
+ -e 's#@DPBOX_SPOOL_DIR@#${DPBOX_SPOOL_DIR}#g' \
+ < DEINSTALL > ${WRKDIR}/DEINSTALL; \
+ ${SED} -e 's#@prefix@#${PREFIX}#g' \
+ < ${FILESDIR}/dpbox.ini > ${WRKDIR}/dpbox-6.00.00/dpbox.ini
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/ham/dpbox/files/dpbox.ini b/ham/dpbox/files/dpbox.ini
new file mode 100644
index 00000000000..22b49555d52
--- /dev/null
+++ b/ham/dpbox/files/dpbox.ini
@@ -0,0 +1,78 @@
+# dpbox.ini
+# edited: Joachim Schurig, DL8HBS, 26.09.1999
+#
+# This is the first configuration file DPBOX will read
+# Take care, if something is missing or misconfigured,
+# DPBOX will NOT start.
+#
+# After reading this config file (it only defines the basic unix
+# setup of the system), DPBOX will read the file system/config.box
+# (and all other files in the subdirectory system/ ). Those files
+# define the amateur radio settings of DPBOX. Please check them and
+# set them up carefully.
+
+# THIS FILE CANNOT BE REREAD WHILE DPBOX IS RUNNING!
+# If you change any of the settings, you have to restart dpbox to
+# accept the changes. The configuration data in all other files
+# can be reloaded by sending a -SIGHUP to dpbox or by typing
+# RELOAD in the mailbox itself.
+
+# Unix user for DPBOX:
+# DPBOX can only change to this user if started as root...
+# If DPBOX is not started as root, please comment out the following line
+dpbox_user dpbox
+
+# own callsign (CHANGE IT TO THE CALLSIGN FOR DPBOX) :
+Console_call AN0NYM
+
+# SSID of box
+box_ssid 7
+
+# own QTH-loc:
+# put in your WW-Locator.
+myqthwwloc JO62RL
+
+# packet length:
+# 236 for TNN/NetRom networks, 255 for other
+# (not 256, the huffman compression needs a byte)
+box_paclen 236
+
+# main box directory:
+# usually, don't change it, except if you plan to start more than one DPBOX...
+boxdir /var/spool/dpbox/
+
+# directory for temporary files:
+# usually, don't change it, except if you plan to start more than one DPBOX...
+tempdir /tmp/
+
+# name of socket for interface
+# usually, don't change it, except if you plan to start more than one DPBOX...
+box_socket /var/run/dpbox
+
+#
+# system files directory
+#
+boxsysdir @prefix@/share/dpbox/conf/system/
+
+#
+# S/F directory
+#
+boxsfdir @prefix@/share/dpbox/conf/sf/
+
+#
+# language files directory
+#
+boxlanguagedir @prefix@/share/dpbox/language/
+
+#
+# run files directory
+#
+boxrundir @prefix@/libexec/dpbox/
+
+# directory for dpbox-pid-file
+# usually, don't change it
+boxprocdir /var/run/
+
+# filename of dpbox-pid-file
+# usually, don't change it, except if you plan to start more than one DPBOX...
+proc_file dpbox.pid
diff --git a/ham/dpbox/files/md5 b/ham/dpbox/files/md5
new file mode 100644
index 00000000000..6510d4721b0
--- /dev/null
+++ b/ham/dpbox/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/05/15 10:54:44 wulf Exp $
+
+MD5 (dpbox-60000.tar.gz) = f8e65464ae8ee4d78c62861cbba54e2c
diff --git a/ham/dpbox/files/patch-sum b/ham/dpbox/files/patch-sum
new file mode 100644
index 00000000000..1ce35eb1cf1
--- /dev/null
+++ b/ham/dpbox/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/05/15 10:54:44 wulf Exp $
+
+MD5 (patch-aa) = 7e8fa40fe8bb76bfb7a7f495e4562da3
diff --git a/ham/dpbox/patches/patch-aa b/ham/dpbox/patches/patch-aa
new file mode 100644
index 00000000000..51c1a057617
--- /dev/null
+++ b/ham/dpbox/patches/patch-aa
@@ -0,0 +1,108 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/05/15 10:54:45 wulf Exp $
+
+--- Makefile.netbsd.orig Thu Apr 27 22:18:57 2000
++++ Makefile.netbsd Mon May 15 20:05:31 2000
+@@ -1,9 +1,9 @@
+ ###############################################################################
+ # #
+-# This is the Makefile of dpbox-5.08 for NetBSD #
++# This is the Makefile of dpbox-6.00.00 for NetBSD #
+ # #
+-# Version: 1.0.0 #
+-# Date : 16 September 1999 #
++# Version: 1.2.0 #
++# Date : 15 May 2000 #
+ # Author : Berndt Josef Wulf, VK5ABN #
+ # #
+ ###############################################################################
+@@ -19,11 +19,13 @@
+ INSTALL_CONF = ${INSTALL} -m 440
+ MKDIR = mkdir -p
+ LN = ln -sf
+-
++CHMOD = /bin/chmod
++SED = /usr/bin/sed
+ prefix = /usr/pkg
+ bindir = $(prefix)/bin
+ sbindir = $(prefix)/sbin
+ confdir = $(prefix)/share/dpbox/conf
++exampledir = $(prefix)/share/examples/dpbox/conf
+ docdir = $(prefix)/share/doc/dpbox
+ landir = $(prefix)/share/dpbox/language
+ spooldir = /var/spool/dpbox
+@@ -100,7 +102,8 @@
+ $(INSTALL_PROGRAM) dpputlinks $(bindir)
+ $(INSTALL_PROGRAM) dpcodeconv $(bindir)
+ $(INSTALL_PROGRAM) dpmybbs $(bindir)
+- $(INSTALL) -m 555 ../cgi/dpboxcgi/dphttp $(bindir)
++ $(SED) "s,/installdir,$(bindir)," < ../cgi/dpboxcgi/dphttp > $(bindir)/dphttp
++ $(CHMOD) 555 $(bindir)/dphttp
+
+ $(MKDIR) $(docdir)
+ $(INSTALL_DATA) ../document/* $(docdir)
+@@ -148,6 +151,9 @@
+ echo "* and manually adjust the configuration files where *"; \
+ echo "* necessary. *"; \
+ echo "* *"; \
++ echo "* A number of example configuration files can be found *"; \
++ echo "* in the ${exampledir} directory. *"; \
++ echo "* *"; \
+ echo "***********************************************************"; \
+ else \
+ $(MKDIR) $(confdir); \
+@@ -158,9 +164,20 @@
+ $(INSTALL_CONF) ../sf/* $(confdir)/sf; \
+ fi
+
++ $(MKDIR) $(exampledir); \
++ $(INSTALL_CONF) ../dpbox.ini $(exampledir)/dpbox.ini; \
++ $(MKDIR) $(exampledir)/system; \
++ $(INSTALL_CONF) ../system/* $(exampledir)/system ; \
++ $(MKDIR) $(exampledir)/sf ; \
++ $(INSTALL_CONF) ../sf/* $(exampledir)/sf; \
++
+ @if [ -e ${cgidir} ]; then \
+ echo "installing cgi-scripts"; \
+- $(INSTALL) -m 755 ../cgi/cgi/* $(cgidir); \
++ for i in `ls -1 ../cgi/cgi`; \
++ do \
++ $(SED) "s,/installdir,$(bindir)," < ../cgi/cgi/$$i > $(cgidir)/$$i; \
++ $(CHMOD) 555 $(cgidir)/$$i; \
++ done; \
+ $(INSTALL_DATA) ../cgi/dpboxcgi/*.html $(cgidir); \
+ fi
+
+@@ -171,11 +188,23 @@
+ $(INSTALL_DATA) ../cgi/dpbox/pic/* $(httpdir)/dpbox/pic; \
+ fi
+
+- @echo
+- @echo dpbox installation complete
+- @echo
+- @echo Now edit the configuration files in $(confdir) and
+- @echo $(confdir)/dpbox.ini!!!
++ @echo
++ @echo "***********************************************************"
++ @echo "* *"
++ @echo "* The installation of dpbox is now completed. *"
++ @echo "* *"
++ @echo "* Please read the documentation provided with this *"
++ @echo "* package carefully and edit all configuration files *"
++ @echo "* to reflect your system setup! *"
++ @echo "* *"
++ @echo "* The documentation can be found in *"
++ @echo "* $(docdir) *"
++ @echo "* *"
++ @echo "* The configuration files are located in *"
++ @echo "* $(confdir) *"
++ @echo "* *"
++ @echo "***********************************************************"
++ @echo
+
+ clean:
+ $(RM) *.o *~ .*~ *.orig *.bak *.s *.core
+@@ -193,4 +222,3 @@
+ ifeq (.depend,$(wildcard .depend))
+ include .depend
+ endif
+-
diff --git a/ham/dpbox/pkg/COMMENT b/ham/dpbox/pkg/COMMENT
new file mode 100644
index 00000000000..5d830542961
--- /dev/null
+++ b/ham/dpbox/pkg/COMMENT
@@ -0,0 +1 @@
+Multi-Protocol Amateur Packet Radio BBS
diff --git a/ham/dpbox/pkg/DEINSTALL b/ham/dpbox/pkg/DEINSTALL
new file mode 100644
index 00000000000..e930bd2d12d
--- /dev/null
+++ b/ham/dpbox/pkg/DEINSTALL
@@ -0,0 +1,17 @@
+# $NetBSD: DEINSTALL,v 1.1.1.1 2000/05/15 10:54:44 wulf Exp $
+#
+
+case "$2" in
+ DEINSTALL) cat <<EOF
+
+=============================================================
+Note that the dpbox configuration and BBS server files in
+(@DPBOX_CONF_DIR@/*) and (@DPBOX_SPOOL_DIR@/*) are
+not removed in the deinstallation process.
+
+You should remove those by hand if you no longer need them.
+=============================================================
+
+EOF
+ ;;
+esac
diff --git a/ham/dpbox/pkg/DESCR b/ham/dpbox/pkg/DESCR
new file mode 100644
index 00000000000..f0ec9b64861
--- /dev/null
+++ b/ham/dpbox/pkg/DESCR
@@ -0,0 +1,3 @@
+DPBOX is a multi protocol and multi user packet radio BBS. It can
+handle up to 200 simultaneous users and has the capacity of storing
+a maximum of 32767*32767 messages.
diff --git a/ham/dpbox/pkg/PLIST b/ham/dpbox/pkg/PLIST
new file mode 100644
index 00000000000..af934849f6d
--- /dev/null
+++ b/ham/dpbox/pkg/PLIST
@@ -0,0 +1,121 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/05/15 10:54:44 wulf Exp $
+bin/dpgate
+bin/dpcodeconv
+bin/dpmybbs
+bin/dphttp
+sbin/dpbox
+libexec/cgi-bin/dpbbs
+libexec/cgi-bin/dpcheck
+libexec/cgi-bin/dpcmd
+libexec/cgi-bin/dpdir
+libexec/cgi-bin/dpftr
+libexec/cgi-bin/dplist
+libexec/cgi-bin/dplist.neu
+libexec/cgi-bin/dploc
+libexec/cgi-bin/dpprefix
+libexec/cgi-bin/dpsertit
+libexec/cgi-bin/dpuser
+libexec/cgi-bin/dpbottom.html
+libexec/cgi-bin/dptop.html
+share/dpbox/language/BS.ALL
+share/dpbox/language/BS.LAN
+share/dpbox/language/DL.ALL
+share/dpbox/language/DL.LAN
+share/dpbox/language/DLX.ALL
+share/dpbox/language/DLX.LAN
+share/dpbox/language/EA.ALL
+share/dpbox/language/EA.LAN
+share/dpbox/language/EY.ALL
+share/dpbox/language/EY.LAN
+share/dpbox/language/F.LAN
+share/dpbox/language/G.ALL
+share/dpbox/language/G.LAN
+share/dpbox/language/HB.ALL
+share/dpbox/language/HB.LAN
+share/dpbox/language/HELP.BS
+share/dpbox/language/HELP.DL
+share/dpbox/language/HELP.DLX
+share/dpbox/language/HELP.EA
+share/dpbox/language/HELP.EY
+share/dpbox/language/HELP.F
+share/dpbox/language/HELP.G
+share/dpbox/language/HELP.HB
+share/dpbox/language/HELP.I
+share/dpbox/language/HELP.NL
+share/dpbox/language/HELP.OE1
+share/dpbox/language/HELP.OK
+share/dpbox/language/HELP.OZ
+share/dpbox/language/HELP_SYS.BS
+share/dpbox/language/HELP_SYS.DL
+share/dpbox/language/HELP_SYS.DLX
+share/dpbox/language/HELP_SYS.EY
+share/dpbox/language/HELP_SYS.G
+share/dpbox/language/HELP_SYS.HB
+share/dpbox/language/HELP_SYS.OE1
+share/dpbox/language/I.LAN
+share/dpbox/language/NEWS.DL
+share/dpbox/language/NL.LAN
+share/dpbox/language/NLX.LAN
+share/dpbox/language/OE1.ALL
+share/dpbox/language/OE1.LAN
+share/dpbox/language/OK.LAN
+share/dpbox/language/OZ.LAN
+share/dpbox/language/SP.LAN
+share/dpbox/language/SPC.LAN
+share/dpbox/language/SW.LAN
+share/examples/dpbox/conf/dpbox.ini
+share/examples/dpbox/conf/sf/db0xyz.sf
+share/examples/dpbox/conf/system/badwords.box
+share/examples/dpbox/conf/system/bcast.box
+share/examples/dpbox/conf/system/beacon.box
+share/examples/dpbox/conf/system/commands.box
+share/examples/dpbox/conf/system/config.box
+share/examples/dpbox/conf/system/convlt.box
+share/examples/dpbox/conf/system/convtit.box
+share/examples/dpbox/conf/system/cookies.doc
+share/examples/dpbox/conf/system/digimap.stn
+share/examples/dpbox/conf/system/prefix.inf
+share/examples/dpbox/conf/system/prefix.sub
+share/examples/dpbox/conf/system/prvcalls.box
+share/examples/dpbox/conf/system/reject.box
+share/examples/dpbox/conf/system/rubriken.box
+share/examples/dpbox/conf/system/tcpip.box
+share/examples/dpbox/conf/system/transfer.box
+share/examples/dpbox/conf/system/unproto.box
+share/examples/dpbox/conf/system/whotalks.lan
+share/doc/dpbox/active_routing.txt
+share/doc/dpbox/dpbox500.html
+share/doc/dpbox/layer.gif
+share/doc/dpbox/release.500
+share/doc/dpbox/release.503
+share/doc/dpbox/release.504
+share/doc/dpbox/release.506
+share/doc/dpbox/release.507
+share/doc/dpbox/release.50708.german
+share/doc/dpbox/release.508
+share/httpd/htdocs/dpbox/boxmain.html
+share/httpd/htdocs/dpbox/boxrub.html
+share/httpd/htdocs/dpbox/dboxmain.html
+share/httpd/htdocs/dpbox/dboxrub.html
+share/httpd/htdocs/dpbox/dindex.html
+share/httpd/htdocs/dpbox/index.html
+share/httpd/htdocs/dpbox/pic/arrow1.gif
+share/httpd/htdocs/dpbox/pic/icindex.gif
+libexec/dpbox/crawler
+libexec/dpbox/7cor
+libexec/dpbox/7get
+libexec/dpbox/bsget
+libexec/dpbox/bsjoin
+libexec/dpbox/listarc
+libexec/dpbox/mkboard
+libexec/dpbox/mkreject
+libexec/dpbox/mktrans
+libexec/dpbox/new
+libexec/dpbox/search
+@dirrm share/doc/dpbox
+@dirrm share/dpbox/language
+@dirrm share/examples/dpbox/conf/sf
+@dirrm share/examples/dpbox/conf/system
+@dirrm share/examples/dpbox/conf
+@dirrm share/examples/dpbox
+@dirrm libexec/dpbox