head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.30 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.28 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.5.0.26 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q2:1.5.0.24 pkgsrc-2011Q2-base:1.5 pkgsrc-2009Q4:1.5.0.22 pkgsrc-2009Q4-base:1.5 pkgsrc-2008Q4:1.5.0.20 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.18 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.16 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.14 pkgsrc-2008Q2-base:1.5 pkgsrc-2008Q1:1.5.0.12 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.10 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.8 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.6 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.4 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.2 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.4.0.8 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.6 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.4 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.2 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.3.0.24 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.22 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.20 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.18 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.16 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.14 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.12 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.10 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.3.0.6 netbsd-1-6-1-base:1.3 netbsd-1-6:1.3.0.8 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.3 netbsd-1-5-PATCH001:1.3; locks; strict; comment @# @; 1.5 date 2006.11.01.15.17.14; author martin; state dead; branches; next 1.4; 1.4 date 2005.11.03.22.49.41; author rillig; state Exp; branches; next 1.3; 1.3 date 2001.03.18.18.55.29; author tron; state Exp; branches; next 1.2; 1.2 date 2000.07.17.21.11.46; author tron; state dead; branches; next 1.1; 1.1 date 2000.07.11.21.32.45; author tron; state Exp; branches; next ; desc @@ 1.5 log @Update rp-pppoe to 3.8: various internal changes, some of them bogus and reverted by patches, some of them were already present in (now removed) patches; plus: - Changed the names of commands from adsl-* to pppoe-* to more logically name the scripts. - Make the userland pppoe daemon run as "nobody" if possible, once session has started. - Make userland pppoe program somewhat safe if it is installed SUID or SGID. Note that I still do *NOT* recommend a SUID/SGID pppoe. - Fix long-standing bug in pppoe-server that passed arguments to pppd in the wrong order. @ text @$NetBSD: patch-ac,v 1.4 2005/11/03 22:49:41 rillig Exp $ --- src/pppoe.h.orig Mon Feb 5 17:34:49 2001 +++ src/pppoe.h Sun Mar 18 19:11:33 2001 @@@@ -72,7 +72,9 @@@@ #ifdef USE_BPF extern int bpfSize; struct PPPoEPacketStruct; -void sessionDiscoveryPacket(struct PPPoEPacketStruct *packet); +struct PPPoEConnectionStruct; +void sessionDiscoveryPacket(struct PPPoEConnectionStruct *conn, + struct PPPoEPacketStruct *packet); #define BPF_BUFFER_IS_EMPTY (bpfSize <= 0) #define BPF_BUFFER_HAS_DATA (bpfSize > 0) #define ethhdr ether_header @ 1.4 log @Fixed wrong use of WRKSRC. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 2001/03/18 18:55:29 tron Exp $ @ 1.3 log @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. @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- pppoe.h.orig Mon Feb 5 17:34:49 2001 +++ pppoe.h Sun Mar 18 19:11:33 2001 @ 1.2 log @Update "rp-ppoe" package to version 2.0. Change since version 1.9: - Addition of pppoe-server - Massive internal code restructuring - Zealous bounds-checking everywhere. - adsl-setup now quotes user name and password in /etc/ppp/pap-secrets. - Ported to OpenBSD, FreeBSD and NetBSD, courtesy of Geoff Mottram and Yannis Sismanis. - Rearranged adsl-* shell scripts, courtesy of Heiko Schlittermann. - Fixed bug in which Host-Uniq did not work if access concentrator sent a cookie. - Addition of SuSE-specific "init" script, courtesy of Gary Cameron. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1 2000/07/11 21:32:45 tron Exp $ d3 13 a15 11 --- adsl-setup.in.orig Fri May 26 01:16:21 2000 +++ adsl-setup.in Tue Jul 11 23:30:35 2000 @@@@ -16,7 +16,7 @@@@ # Paths to programs IFCONFIG=/sbin/ifconfig -PPPD=/usr/sbin/pppd +PPPD=@@sbindir@@/pppd PPPOE=@@sbindir@@/pppoe LOGGER=/usr/bin/logger @ 1.1 log @Use package system's "pppd" in "adsl-connect" and "adsl-setup". @ text @d1 1 a1 1 $NetBSD$ @