From 88717f97ae79525855a7d669e48ec4266fcf3be6 Mon Sep 17 00:00:00 2001 From: Satoshi Asami Date: Tue, 10 Jun 1997 09:10:03 +0000 Subject: [PATCH] Multilink ppp daemon. Note this port is marked BROKEN for now; I can't get it to compile on -current. Will fix later. PR: 3765 Submitted by: Andrey Zakhvatov --- net/mpd/Makefile | 35 ++++++++++++++++++++++++++++++ net/mpd/distinfo | 1 + net/mpd/files/patch-aa | 48 ++++++++++++++++++++++++++++++++++++++++++ net/mpd/pkg-comment | 1 + net/mpd/pkg-descr | 45 +++++++++++++++++++++++++++++++++++++++ net/mpd/pkg-plist | 12 +++++++++++ 6 files changed, 142 insertions(+) create mode 100644 net/mpd/Makefile create mode 100644 net/mpd/distinfo create mode 100644 net/mpd/files/patch-aa create mode 100644 net/mpd/pkg-comment create mode 100644 net/mpd/pkg-descr create mode 100644 net/mpd/pkg-plist diff --git a/net/mpd/Makefile b/net/mpd/Makefile new file mode 100644 index 000000000000..bbc0a8156d72 --- /dev/null +++ b/net/mpd/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: mpd +# Version required: 1.0b3 +# Date created: 16 May 1997 +# Whom: Andrey Zakhvatov +# +# $Id$ +# + +DISTNAME= mpd-1.0b3 +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_LOCAL} +EXTRACT_SUFX= .tgz + +MAINTAINER= andy@icc.surw.chel.su + +BROKEN= if_tun.h + +WRKSRC= ${WRKDIR}/mpd-1.0b3/src +ALL_TARGET= depend all +MAN1= mpd.1 + +do-install: + @ ${INSTALL_PROGRAM} ${WRKSRC}/mpd ${PREFIX}/sbin/mpd + @ ${INSTALL_MAN} ${WRKSRC}/mpd.1 ${PREFIX}/man/man1 + @ ${MKDIR} ${PREFIX}/etc/mpd +.for file in mpd.conf mpd.links mpd.script mpd.secret + @ ${INSTALL_DATA} ${WRKSRC}/../conf/${file} ${PREFIX}/etc/mpd/${file}.sample +.endfor + @ ${MKDIR} ${PREFIX}/share/doc/mpd + @ ${INSTALL_DATA} ${WRKSRC}/../README ${PREFIX}/share/doc/mpd/README +.for file in CHANGES PROTOS README.code README.commands README.scripts + @ ${INSTALL_DATA} ${WRKSRC}/../docs/${file} ${PREFIX}/share/doc/mpd +.endfor + +.include diff --git a/net/mpd/distinfo b/net/mpd/distinfo new file mode 100644 index 000000000000..8449d0858970 --- /dev/null +++ b/net/mpd/distinfo @@ -0,0 +1 @@ +MD5 (mpd-1.0b3.tgz) = 78b4798c433d4e476ca1ece7e12b24ab diff --git a/net/mpd/files/patch-aa b/net/mpd/files/patch-aa new file mode 100644 index 000000000000..cf635386e2af --- /dev/null +++ b/net/mpd/files/patch-aa @@ -0,0 +1,48 @@ +*** Makefile Tue Apr 15 18:30:00 1997 +--- /home/andy/tmp/wrk/Makefile Fri May 16 21:41:11 1997 +*************** +*** 7,19 **** + # + + PROG= mpd +! BINDIR?= /usr/local/bin + VERSION= 1.0b3 + STRIP= -s + + # Default configuration directory + +! MPD_CONF_DIR?= /etc/ppp + + # Define supported physical layer types + +--- 7,19 ---- + # + + PROG= mpd +! BINDIR?= ${PREFIX}/sbin + VERSION= 1.0b3 + STRIP= -s + + # Default configuration directory + +! MPD_CONF_DIR?= ${PREFIX}/etc/mpd + + # Define supported physical layer types + +*************** +*** 41,47 **** + DPADD+= ${LIBMD} + + COPTS+= -O2 +! COPTS+= -g -Wall -Wmissing-prototypes -Wnested-externs + COPTS+= -DPATH_CONF_DIR=\"${MPD_CONF_DIR}\" + + # Change LOG_DAEMON to LOG_LOCAL3, or whatever, if you like +--- 41,47 ---- + DPADD+= ${LIBMD} + + COPTS+= -O2 +! COPTS+= -Wall -Wmissing-prototypes -Wnested-externs + COPTS+= -DPATH_CONF_DIR=\"${MPD_CONF_DIR}\" + + # Change LOG_DAEMON to LOG_LOCAL3, or whatever, if you like diff --git a/net/mpd/pkg-comment b/net/mpd/pkg-comment new file mode 100644 index 000000000000..0c318be019ed --- /dev/null +++ b/net/mpd/pkg-comment @@ -0,0 +1 @@ +Multilink PPP daemon diff --git a/net/mpd/pkg-descr b/net/mpd/pkg-descr new file mode 100644 index 000000000000..1d101e560fed --- /dev/null +++ b/net/mpd/pkg-descr @@ -0,0 +1,45 @@ +MPD MULTI-LINK PPP DAEMON FOR FREEBSD + +Release 1.0b3 +Written by Archie Cobbs +Based on IIJ-PPP by Toshiharu OHNO + +* WHAT IS IT? + + A user-mode PPP daemon based on iij-ppp which supports multi-link PPP. + It is a complete re-write of the original iij-ppp code. + +* HOW STABLE IS IT? + + Most of this code has been thoroughly tested. Some parts, such + as compression, have not been tested very much at all. However, + the core of the daemon is very solid. + +* HOW DO I SET IT UP? + + Check the "etc/mpd" directory for configuration file examples. + There are four configuration files: + + mpd.conf.sample - General configuration + mpd.links.sample - Description of available links + mpd.script.sample - Modem scripts + mpd.secret.sample - Login/password pairs + + If you're familiar with iij-ppp, the configuration method is + similar: commands are read from a file. + +* WHAT'S THE COPYRIGHT STATUS? + + Berkeley style: see ``COPYRIGHT.iij'' and ``COPYRIGHT.whistle''. + +* WHERE CAN I READ MORE ABOUT IT? + + In the "doc/mpd" directory is a preliminary man page and some other + assorted stuff. In the "etc/mpd" directory are example configuration + files with descriptive comments. + +* WHERE CAN I GO FOR HELP? + + Email me any questions and I'll do my best + to answer them. + diff --git a/net/mpd/pkg-plist b/net/mpd/pkg-plist new file mode 100644 index 000000000000..34d403d3ea39 --- /dev/null +++ b/net/mpd/pkg-plist @@ -0,0 +1,12 @@ +sbin/mpd +man/man1/mpd.1.gz +etc/mpd/mpd.conf.sample +etc/mpd/mpd.links.sample +etc/mpd/mpd.script.sample +etc/mpd/mpd.secret.sample +share/doc/mpd/README +share/doc/mpd/CHANGES +share/doc/mpd/PROTOS +share/doc/mpd/README.code +share/doc/mpd/README.commands +share/doc/mpd/README.scripts