diff options
author | asami <asami@FreeBSD.org> | 1997-06-10 17:10:03 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1997-06-10 17:10:03 +0800 |
commit | 44c86000f61e1a137579aceaa5b91d1f9078bc18 (patch) | |
tree | 43197b6bb93c6bae410ed99bd510d718456fce6a /net | |
parent | 47f6bda65119a782f56da9f4253f927a5ead42b4 (diff) | |
download | freebsd-ports-graphics-44c86000f61e1a137579aceaa5b91d1f9078bc18.tar.gz freebsd-ports-graphics-44c86000f61e1a137579aceaa5b91d1f9078bc18.tar.zst freebsd-ports-graphics-44c86000f61e1a137579aceaa5b91d1f9078bc18.zip |
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 <andy@icc.surw.chel.su>
Diffstat (limited to 'net')
-rw-r--r-- | net/mpd/Makefile | 35 | ||||
-rw-r--r-- | net/mpd/distinfo | 1 | ||||
-rw-r--r-- | net/mpd/files/patch-aa | 48 | ||||
-rw-r--r-- | net/mpd/pkg-comment | 1 | ||||
-rw-r--r-- | net/mpd/pkg-descr | 45 | ||||
-rw-r--r-- | net/mpd/pkg-plist | 12 |
6 files changed, 142 insertions, 0 deletions
diff --git a/net/mpd/Makefile b/net/mpd/Makefile new file mode 100644 index 00000000000..bbc0a8156d7 --- /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 <bsd.port.mk> diff --git a/net/mpd/distinfo b/net/mpd/distinfo new file mode 100644 index 00000000000..8449d085897 --- /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 00000000000..cf635386e2a --- /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 00000000000..0c318be019e --- /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 00000000000..1d101e560fe --- /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 <archie@whistle.com> +Based on IIJ-PPP by Toshiharu OHNO <tony-o@iij.ad.jp> + +* 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 <archie@whistle.com> 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 00000000000..34d403d3ea3 --- /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 |