From ea69e049849cfce2a217dbf731b0b9d90cef8113 Mon Sep 17 00:00:00 2001 From: flathill Date: Thu, 8 Jul 1999 05:11:39 +0000 Subject: PR: ports/11816 Submitted by: sobomax@altavista.net A network modem sharing server. --- comms/mserver/Makefile | 24 ++++++++++++++++++++++++ comms/mserver/distinfo | 1 + comms/mserver/files/patch-aa | 30 ++++++++++++++++++++++++++++++ comms/mserver/files/patch-ab | 17 +++++++++++++++++ comms/mserver/files/patch-ac | 12 ++++++++++++ comms/mserver/files/patch-ad | 7 +++++++ comms/mserver/pkg-comment | 1 + comms/mserver/pkg-descr | 6 ++++++ comms/mserver/pkg-plist | 7 +++++++ 9 files changed, 105 insertions(+) create mode 100644 comms/mserver/Makefile create mode 100644 comms/mserver/distinfo create mode 100644 comms/mserver/files/patch-aa create mode 100644 comms/mserver/files/patch-ab create mode 100644 comms/mserver/files/patch-ac create mode 100644 comms/mserver/files/patch-ad create mode 100644 comms/mserver/pkg-comment create mode 100644 comms/mserver/pkg-descr create mode 100644 comms/mserver/pkg-plist (limited to 'comms') diff --git a/comms/mserver/Makefile b/comms/mserver/Makefile new file mode 100644 index 0000000..9bfbcaf --- /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 +# +# $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 diff --git a/comms/mserver/distinfo b/comms/mserver/distinfo new file mode 100644 index 0000000..eaaa739 --- /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 0000000..b3d793e --- /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 0000000..387ce3a --- /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 0000000..d4735d6 --- /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 0000000..0385714 --- /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 0000000..f2f3aaf --- /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 0000000..2d892d2 --- /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 0000000..5f24b9a --- /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 -- cgit v1.1