summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1997-06-10 09:10:03 +0000
committerSatoshi Asami <asami@FreeBSD.org>1997-06-10 09:10:03 +0000
commit88717f97ae79525855a7d669e48ec4266fcf3be6 (patch)
treec0678e3b6da3b407b4fd59e4c5f4101155b249f5 /net
parentUpgrade to xshodo-2.0. (diff)
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>
Notes
Notes: svn path=/head/; revision=6836
Diffstat (limited to 'net')
-rw-r--r--net/mpd/Makefile35
-rw-r--r--net/mpd/distinfo1
-rw-r--r--net/mpd/files/patch-aa48
-rw-r--r--net/mpd/pkg-comment1
-rw-r--r--net/mpd/pkg-descr45
-rw-r--r--net/mpd/pkg-plist12
6 files changed, 142 insertions, 0 deletions
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 <bsd.port.mk>
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 <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 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