1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

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>
This commit is contained in:
Satoshi Asami 1997-06-10 09:10:03 +00:00
parent c8ba71189a
commit 88717f97ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6836
6 changed files with 142 additions and 0 deletions

35
net/mpd/Makefile Normal file
View File

@ -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>

1
net/mpd/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (mpd-1.0b3.tgz) = 78b4798c433d4e476ca1ece7e12b24ab

48
net/mpd/files/patch-aa Normal file
View File

@ -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

1
net/mpd/pkg-comment Normal file
View File

@ -0,0 +1 @@
Multilink PPP daemon

45
net/mpd/pkg-descr Normal file
View File

@ -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.

12
net/mpd/pkg-plist Normal file
View File

@ -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