3e8284f710
- 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.
39 lines
943 B
Makefile
39 lines
943 B
Makefile
# $NetBSD: Makefile,v 1.15 2001/03/18 18:55:28 tron Exp $
|
|
|
|
DISTNAME= rp-pppoe-2.8
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
MAINTAINER= tron@netbsd.org
|
|
HOMEPAGE= http://www.roaringpenguin.com/pppoe/
|
|
COMMENT= Roaring Penguin's PPP over Ethernet client
|
|
|
|
CONFLICTS+= mouse_pppoe<20000912nb1
|
|
|
|
GNU_CONFIGURE= YES
|
|
CONFIGURE_ENV+= PPPD=${PPPD}
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "NetBSD" && ${OS_VERSION:M1.[0-4]*} != ""
|
|
DEPENDS+= ppp>=2.3.10:../ppp
|
|
|
|
PPPD= ${LOCALBASE}/sbin/pppd
|
|
.else
|
|
PPPD= /usr/sbin/pppd
|
|
.endif
|
|
|
|
post-build:
|
|
${SED} -e 's#$${PREFIX}#${PREFIX}#g' <${FILESDIR}/pppoe.sh \
|
|
>${WRKDIR}/pppoe.sh
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/rp-pppoe
|
|
cd ${WRKSRC}/../configs && \
|
|
${INSTALL_DATA} pppoe.conf pppoe-server-options \
|
|
${PREFIX}/share/examples/rp-pppoe
|
|
${INSTALL_SCRIPT} ${WRKDIR}/pppoe.sh ${PREFIX}/etc/rc.d/pppoe
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|