summaryrefslogtreecommitdiff
path: root/net/mpd5
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2005-09-20 19:31:01 +0000
committerArchie Cobbs <archie@FreeBSD.org>2005-09-20 19:31:01 +0000
commit3428afda0e4dfde4a2e4a6fe4763438ac970cf69 (patch)
tree8617d444a97fa3c90f70d69c8fd41840562aa734 /net/mpd5
parentFix the fix for CAN-2005-2495. (diff)
New port for the development version of mpd.
Notes
Notes: svn path=/head/; revision=143241
Diffstat (limited to 'net/mpd5')
-rw-r--r--net/mpd5/Makefile29
-rw-r--r--net/mpd5/distinfo1
-rw-r--r--net/mpd5/files/mpd4.mtree28
-rw-r--r--net/mpd5/files/mpd4.sh37
-rw-r--r--net/mpd5/pkg-descr25
-rw-r--r--net/mpd5/pkg-plist71
6 files changed, 191 insertions, 0 deletions
diff --git a/net/mpd5/Makefile b/net/mpd5/Makefile
new file mode 100644
index 000000000000..701f7f3c76e9
--- /dev/null
+++ b/net/mpd5/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: mpd
+# Date created: 20 Sep 2005
+# Whom: Archie Cobbs
+#
+# $FreeBSD$
+#
+
+PORTNAME= mpd4
+PORTVERSION= 4.0b3
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= archie
+DIST_SUBDIR= mpd4
+
+MAINTAINER= archie@freebsd.org
+COMMENT= Multi-link PPP daemon based on netgraph(4) [development version]
+
+LIB_DEPENDS= pdel.0:${PORTSDIR}/devel/libpdel
+
+MTREE_FILE= ${FILESDIR}/mpd4.mtree
+MAN8= mpd4.8
+MANCOMPRESSED= maybe
+
+USE_OPENSSL= yes
+
+post-install:
+ @${INSTALL_SCRIPT} -m 751 ${FILESDIR}/mpd4.sh ${PREFIX}/etc/rc.d/mpd4.sh.sample
+
+.include <bsd.port.mk>
diff --git a/net/mpd5/distinfo b/net/mpd5/distinfo
new file mode 100644
index 000000000000..2eba4ed77268
--- /dev/null
+++ b/net/mpd5/distinfo
@@ -0,0 +1 @@
+MD5 (mpd4/mpd4-4.0b3.tar.gz) = 47861ee1ecabaedcdbc2a5c2f39c6a05
diff --git a/net/mpd5/files/mpd4.mtree b/net/mpd5/files/mpd4.mtree
new file mode 100644
index 000000000000..530d666792dd
--- /dev/null
+++ b/net/mpd5/files/mpd4.mtree
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+/set type=dir uname=root gname=wheel mode=0755
+.
+ etc
+ rc.d
+ ..
+ ..
+ sbin
+ ..
+ etc
+ mpd4
+ ..
+ ..
+ man
+ cat8 uname=man
+ ..
+ man8
+ ..
+ ..
+ share
+ doc
+ mpd4
+ ..
+ ..
+ ..
+..
+
diff --git a/net/mpd5/files/mpd4.sh b/net/mpd5/files/mpd4.sh
new file mode 100644
index 000000000000..b267a10d13c5
--- /dev/null
+++ b/net/mpd5/files/mpd4.sh
@@ -0,0 +1,37 @@
+#!/bin/sh
+# $FreeBSD$
+
+DAEMON=/usr/local/sbin/mpd4
+PIDFILE=/var/run/mpd4.pid
+
+case "$1" in
+start)
+ if [ -f "${DAEMON}" -a -x "${DAEMON}" ]; then
+ if [ -f "${PIDFILE}" ]; then
+ echo ' mpd4 PID file found - not starting'
+ else
+ "${DAEMON}" -b -p "${PIDFILE}"
+ echo -n ' mpd4'
+ fi
+ else
+ echo ' "${DAEMON}" executable not found - mpd4 not starting'
+ fi
+ ;;
+stop)
+ if [ -f "${PIDFILE}" ]; then
+ read -r pid junk < "${PIDFILE}"
+ kill ${pid}
+ else
+ echo ' mpd4 PID file not found - not killing'
+ fi
+ ;;
+restart)
+ $0 stop
+ sleep 2
+ $0 start
+ ;;
+*)
+ echo "usage: ${0##*/} {start|stop|restart}" >&2
+ ;;
+esac
+
diff --git a/net/mpd5/pkg-descr b/net/mpd5/pkg-descr
new file mode 100644
index 000000000000..655837db7ad1
--- /dev/null
+++ b/net/mpd5/pkg-descr
@@ -0,0 +1,25 @@
+Mpd is a netgraph(4) based implementation of the multi-link PPP
+protocol for FreeBSD. It is designed to be both fast and flexible.
+It handles configuration and negotiation in user land, while routing
+all data packets strictly in the kernel. It supports several of
+the numerous PPP sub-protocols and extensions, such as:
+
+ Multi-link PPP capability
+ PAP, CHAP, and MS-CHAP authentication
+ EAP authentication
+ PPP compression and encryption
+ Point-to-Point Tunnelling Protocol (PPTP)
+ PPP over Ethernet (PPPoE)
+ RADIUS (authentication and accounting)
+
+Mpd also includes many additional features:
+
+ Dial-on-demand with idle timeout
+ Multiple active connections running simultaneously
+ Dynamic demand based link management (also known as ``rubber bandwidth'')
+ Powerful chat scripting language for asynchronous serial ports
+ Pre-tested chat scripts for several common modems and ISDN TAs
+ Clean device-type independent design
+ Comprehensive logging
+
+WWW: http://www.sourceforge.net/projects/mpd
diff --git a/net/mpd5/pkg-plist b/net/mpd5/pkg-plist
new file mode 100644
index 000000000000..4b494e5a7e4e
--- /dev/null
+++ b/net/mpd5/pkg-plist
@@ -0,0 +1,71 @@
+etc/mpd4/mpd.conf.sample
+etc/mpd4/mpd.links.sample
+etc/mpd4/mpd.secret.sample
+etc/mpd4/mpd.script.sample
+etc/rc.d/mpd4.sh.sample
+sbin/mpd4
+share/doc/mpd4/README
+share/doc/mpd4/mpd.ps
+share/doc/mpd4/mpd.html
+share/doc/mpd4/mpd1.html
+share/doc/mpd4/mpd10.html
+share/doc/mpd4/mpd11.html
+share/doc/mpd4/mpd12.html
+share/doc/mpd4/mpd13.html
+share/doc/mpd4/mpd14.html
+share/doc/mpd4/mpd15.html
+share/doc/mpd4/mpd16.html
+share/doc/mpd4/mpd17.html
+share/doc/mpd4/mpd18.html
+share/doc/mpd4/mpd19.html
+share/doc/mpd4/mpd2.html
+share/doc/mpd4/mpd20.html
+share/doc/mpd4/mpd21.html
+share/doc/mpd4/mpd22.html
+share/doc/mpd4/mpd23.html
+share/doc/mpd4/mpd24.html
+share/doc/mpd4/mpd25.html
+share/doc/mpd4/mpd26.html
+share/doc/mpd4/mpd27.html
+share/doc/mpd4/mpd28.html
+share/doc/mpd4/mpd29.html
+share/doc/mpd4/mpd3.html
+share/doc/mpd4/mpd30.html
+share/doc/mpd4/mpd31.html
+share/doc/mpd4/mpd32.html
+share/doc/mpd4/mpd33.html
+share/doc/mpd4/mpd34.html
+share/doc/mpd4/mpd35.html
+share/doc/mpd4/mpd36.html
+share/doc/mpd4/mpd37.html
+share/doc/mpd4/mpd38.html
+share/doc/mpd4/mpd39.html
+share/doc/mpd4/mpd4.html
+share/doc/mpd4/mpd40.html
+share/doc/mpd4/mpd41.html
+share/doc/mpd4/mpd42.html
+share/doc/mpd4/mpd43.html
+share/doc/mpd4/mpd44.html
+share/doc/mpd4/mpd45.html
+share/doc/mpd4/mpd46.html
+share/doc/mpd4/mpd47.html
+share/doc/mpd4/mpd48.html
+share/doc/mpd4/mpd49.html
+share/doc/mpd4/mpd5.html
+share/doc/mpd4/mpd50.html
+share/doc/mpd4/mpd51.html
+share/doc/mpd4/mpd52.html
+share/doc/mpd4/mpd53.html
+share/doc/mpd4/mpd54.html
+share/doc/mpd4/mpd55.html
+share/doc/mpd4/mpd56.html
+share/doc/mpd4/mpd57.html
+share/doc/mpd4/mpd58.html
+share/doc/mpd4/mpd59.html
+share/doc/mpd4/mpd6.html
+share/doc/mpd4/mpd7.html
+share/doc/mpd4/mpd8.html
+share/doc/mpd4/mpd9.html
+share/doc/mpd4/mpd_toc.html
+@dirrm etc/mpd4
+@dirrm share/doc/mpd4