diff options
author | tron <tron@pkgsrc.org> | 2001-03-18 18:55:28 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2001-03-18 18:55:28 +0000 |
commit | 3e8284f71079109ee381484b3c4bbc9399ceb6f3 (patch) | |
tree | 3ac0b90a102947e75cefbe8f61efa8d92f22426c /net/rp-pppoe/files | |
parent | b2868a2d7b10e5ef221f3764d7b2539841012305 (diff) | |
download | pkgsrc-3e8284f71079109ee381484b3c4bbc9399ceb6f3.tar.gz |
Update "rp-pppoe" package to version 2.8. Changes since version 2.6:
- Added init scripts for TurboLinux, courtesy of Yasuhiro Sumi.
- Made relay.c check packet lengths rigorously; made it throw out Ethernet
frame padding on discovery packets.
- Completely restructured source file tree.
- Much internal restructuring to eliminate a bunch of global variables.
- adsl-connect now executes /etc/ppp/adsl-lost whenever connection is dropped
or cannot be established.
- Split pppoe.c into pppoe.c and discovery.c.
- Added relay agent (pppoe-relay). Development of the relay agent was
funded by IBM Corporation.
- Made adsl-connect script use the "-U" (host-unique) option to better support
multiple PPPoE links.
- Added support for kernel-mode PPPoE (EXPERIMENTAL, UNSUPPORTED!)
- Added "-o" option to PPPoE server; encoded server PID in pppoe-server
cookie.
Furthermore a startup script for NetBSD 1.5 and newer was added.
Diffstat (limited to 'net/rp-pppoe/files')
-rw-r--r-- | net/rp-pppoe/files/md5 | 4 | ||||
-rw-r--r-- | net/rp-pppoe/files/patch-sum | 8 | ||||
-rwxr-xr-x | net/rp-pppoe/files/pppoe.sh | 29 |
3 files changed, 36 insertions, 5 deletions
diff --git a/net/rp-pppoe/files/md5 b/net/rp-pppoe/files/md5 index f11a1718a24..c5403ce4447 100644 --- a/net/rp-pppoe/files/md5 +++ b/net/rp-pppoe/files/md5 @@ -1,3 +1,3 @@ -$NetBSD: md5,v 1.5 2001/01/30 20:33:25 tron Exp $ +$NetBSD: md5,v 1.6 2001/03/18 18:55:29 tron Exp $ -MD5 (rp-pppoe-2.6.tar.gz) = b0979be9408850acf2d94d6d448efaea +SHA1 (rp-pppoe-2.8.tar.gz) = a95059cc6e41b11f831f1dbf7f420d63d93ed708 diff --git a/net/rp-pppoe/files/patch-sum b/net/rp-pppoe/files/patch-sum index 0165257c201..dc5d9087686 100644 --- a/net/rp-pppoe/files/patch-sum +++ b/net/rp-pppoe/files/patch-sum @@ -1,4 +1,6 @@ -$NetBSD: patch-sum,v 1.6 2001/02/19 21:26:14 tron Exp $ +$NetBSD: patch-sum,v 1.7 2001/03/18 18:55:29 tron Exp $ -MD5 (patch-aa) = f2720b8feef48d25799a18fe0de93a95 -MD5 (patch-ab) = d74fad2f3d65de08f6a479e17abef337 +SHA1 (patch-aa) = 3753fbe6e5a1d62a6adca109391134ead5c037c0 +SHA1 (patch-ab) = 4a16b96d6b2069fab9efb42c856b71af14f672f1 +SHA1 (patch-ac) = 2c76eded4e98fb3564a70dd136f4c66fe41a165f +SHA1 (patch-ad) = b88680e7dd8a15878d40787ab4e3536e687e8081 diff --git a/net/rp-pppoe/files/pppoe.sh b/net/rp-pppoe/files/pppoe.sh new file mode 100755 index 00000000000..c56c534aa8a --- /dev/null +++ b/net/rp-pppoe/files/pppoe.sh @@ -0,0 +1,29 @@ +#!/bin/sh +# +# $NetBSD: pppoe.sh,v 1.1 2001/03/18 18:55:29 tron Exp $ +# +# PROVIDE: pppoe +# REQUIRE: ipnat + +test -f /etc/ppp/pppoe.conf || exit 1 + +case $1 in +start) + . /etc/ppp/pppoe.conf + ifconfig $ETH up + ${PREFIX}/sbin/adsl-start + ;; +stop) + ${PREFIX}/sbin/adsl-stop + . /etc/ppp/pppoe.conf + ifconfig $ETH down + ;; +restart) + sh $0 stop + sleep 5 + sh $0 start + ;; +*) + echo "Usage: $0 {start|stop|restart}" + exit 1 +esac |