aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorflathill <flathill@FreeBSD.org>1999-07-08 13:11:39 +0800
committerflathill <flathill@FreeBSD.org>1999-07-08 13:11:39 +0800
commitea69e049849cfce2a217dbf731b0b9d90cef8113 (patch)
treebc004ecff73a66356c905d0a4da9aa7fd52e1254 /comms
parentdd0c3bbc9df19d8f394d07fd1f127d0ac751ed05 (diff)
downloadfreebsd-ports-gnome-ea69e049849cfce2a217dbf731b0b9d90cef8113.tar.gz
freebsd-ports-gnome-ea69e049849cfce2a217dbf731b0b9d90cef8113.tar.zst
freebsd-ports-gnome-ea69e049849cfce2a217dbf731b0b9d90cef8113.zip
PR: ports/11816
Submitted by: sobomax@altavista.net A network modem sharing server.
Diffstat (limited to 'comms')
-rw-r--r--comms/mserver/Makefile24
-rw-r--r--comms/mserver/distinfo1
-rw-r--r--comms/mserver/files/patch-aa30
-rw-r--r--comms/mserver/files/patch-ab17
-rw-r--r--comms/mserver/files/patch-ac12
-rw-r--r--comms/mserver/files/patch-ad7
-rw-r--r--comms/mserver/pkg-comment1
-rw-r--r--comms/mserver/pkg-descr6
-rw-r--r--comms/mserver/pkg-plist7
9 files changed, 105 insertions, 0 deletions
diff --git a/comms/mserver/Makefile b/comms/mserver/Makefile
new file mode 100644
index 000000000000..9bfbcaf31ac5
--- /dev/null
+++ b/comms/mserver/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: mserver
+# Version required: 0.23a
+# Date created: 21 May 1999
+# Whom: Maxim Sobolev <sobomax@altavista.net>
+#
+# $Id$
+#
+
+DISTNAME= mserver-0.23a
+CATEGORIES= comms
+MASTER_SITES= ftp://ftp.innet.be/pub/staff/carl/
+
+MAINTAINER= sobomax@altavista.net
+
+do-install:
+ ${MKDIR} ${PREFIX}/share/doc/mserver
+ ${INSTALL_PROGRAM} ${WRKSRC}/mserver ${PREFIX}/sbin
+ ${INSTALL_PROGRAM} ${WRKSRC}/tcpconn ${PREFIX}/sbin
+ ${INSTALL_DATA} ${WRKSRC}/mserver.conf ${PREFIX}/etc/mserver.conf.default
+ ${INSTALL_SCRIPT} ${WRKSRC}/mserver.sh.sample ${PREFIX}/etc/rc.d/mserver.sh.sample
+ ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/mserver
+ ${INSTALL_MAN} ${WRKSRC}/README.tcpconn ${PREFIX}/share/doc/mserver
+
+.include <bsd.port.mk>
diff --git a/comms/mserver/distinfo b/comms/mserver/distinfo
new file mode 100644
index 000000000000..eaaa7393cfad
--- /dev/null
+++ b/comms/mserver/distinfo
@@ -0,0 +1 @@
+MD5 (mserver-0.23a.tar.gz) = ff3a68a80de1559b992f4de982a7b876
diff --git a/comms/mserver/files/patch-aa b/comms/mserver/files/patch-aa
new file mode 100644
index 000000000000..b3d793e161af
--- /dev/null
+++ b/comms/mserver/files/patch-aa
@@ -0,0 +1,30 @@
+diff -ruN mserver-0.23a.orig/Makefile mserver-0.23a/Makefile
+--- Makefile.orig Thu Jan 15 21:12:33 1998
++++ Makefile Fri May 21 11:10:30 1999
+@@ -1,8 +1,7 @@
+ #
+ # Makefile for mserver
+ #
+-CC = gcc
+-CCOPTS = -O2
++CC = cc
+ LIBS =
+
+ INCLUDES = config.h stty.h
+@@ -16,13 +15,13 @@
+ $(CC) tcpconn.o stty.o -o tcpconn $(LIBS)
+
+ mserver.o: mserver.c $(INCLUDES)
+- $(CC) $(CCOPTS) -c -o mserver.o mserver.c
++ $(CC) $(CFLAGS) -c -o mserver.o mserver.c
+
+ tcpconn.o: tcpconn.c $(INCLUDES)
+- $(CC) $(CCOPTS) -c -o tcpconn.o tcpconn.c
++ $(CC) $(CFLAGS) -c -o tcpconn.o tcpconn.c
+
+ stty.o: stty.c $(INCLUDES)
+- $(CC) $(CCOPTS) -c -o stty.o stty.c
++ $(CC) $(CFLAGS) -c -o stty.o stty.c
+
+ clean:
+ rm -f mserver tcpconn *.o core
diff --git a/comms/mserver/files/patch-ab b/comms/mserver/files/patch-ab
new file mode 100644
index 000000000000..387ce3aabfe1
--- /dev/null
+++ b/comms/mserver/files/patch-ab
@@ -0,0 +1,17 @@
+diff -ruN mserver-0.23a.orig/config.h mserver-0.23a/config.h
+--- config.h.orig Sun Jan 18 11:57:10 1998
++++ config.h Fri May 21 11:51:00 1999
+@@ -4,7 +4,6 @@
+
+ /* #define if we are building on a BSD system */
+
+-#undef BSD
+
+ /* location of the runtime config file */
+
+@@ -12,5 +11,5 @@
+
+ /* location of the spool dir for modem locks */
+
+-#define LOCK_DIR "/var/lock"
++#define LOCK_DIR "/var/spool/lock"
diff --git a/comms/mserver/files/patch-ac b/comms/mserver/files/patch-ac
new file mode 100644
index 000000000000..d4735d6fc824
--- /dev/null
+++ b/comms/mserver/files/patch-ac
@@ -0,0 +1,12 @@
+diff -ruN mserver-0.23a.orig/mserver.c mserver-0.23a/mserver.c
+--- mserver.c.orig Wed Jan 28 21:52:09 1998
++++ mserver.c Thu May 20 19:36:14 1999
+@@ -264,7 +264,7 @@
+
+ static struct { int ibaud, speed; } btable[] =
+ {
+-#if !defined(BSDI)
++#if !defined(BSD)
+ { 460800, B460800 },
+ #endif
+ { 230400, B230400 },
diff --git a/comms/mserver/files/patch-ad b/comms/mserver/files/patch-ad
new file mode 100644
index 000000000000..03857142b2bb
--- /dev/null
+++ b/comms/mserver/files/patch-ad
@@ -0,0 +1,7 @@
+diff -ruN mserver-0.23a.orig/mserver.sh.sample mserver-0.23a/mserver.sh.sample
+--- mserver.sh.sample Thu Jan 1 03:00:00 1970
++++ mserver.sh.sample Fri May 21 12:01:53 1999
+@@ -0,0 +1,3 @@
++#!/bin/sh
++echo -n " mserver"
++/usr/local/sbin/mserver
diff --git a/comms/mserver/pkg-comment b/comms/mserver/pkg-comment
new file mode 100644
index 000000000000..f2f3aaf4a22f
--- /dev/null
+++ b/comms/mserver/pkg-comment
@@ -0,0 +1 @@
+A network modem sharing server.
diff --git a/comms/mserver/pkg-descr b/comms/mserver/pkg-descr
new file mode 100644
index 000000000000..2d892d2ba22a
--- /dev/null
+++ b/comms/mserver/pkg-descr
@@ -0,0 +1,6 @@
+The mserver program is a network modem sharing server which allows modems to
+be exported to any number of hosts on the (local) internet. Access control to
+each individually exported modem is performed on a per-host basis.
+
+- Maxim Sobolev
+sobomax@altavista.net
diff --git a/comms/mserver/pkg-plist b/comms/mserver/pkg-plist
new file mode 100644
index 000000000000..5f24b9af9bca
--- /dev/null
+++ b/comms/mserver/pkg-plist
@@ -0,0 +1,7 @@
+sbin/mserver
+sbin/tcpconn
+etc/mserver.conf.default
+etc/rc.d/mserver.sh.sample
+share/doc/mserver/README
+share/doc/mserver/README.tcpconn
+@dirrm share/doc/mserver