pkgsrc/net/rp-pppoe/Makefile
tron 269a53f589 Update "rp-pppoe" package to version 3.3. Changes since version 2.8:
- Client works on Solaris again.  It was broken in 3.2.
- Added DEFAULTROUTE=yes|no option to configuration file.
- Server parses address pool file better.
- Server address pool allows ranges of addresses on a line: a.b.c.d-e
- Added "-d" (=debug) and "-P" (=check pool file syntax) options to
  pppoe-server.
- Client now ignores PADT's if they are from the wrong source MAC address
  or to the wrong destination MAC address.
- Minor fixes to Makefile.in for Turbolinux.
- Improved KERNEL-MODE-PPPOE instructions
- Works with patched pppd 2.4.1
- Many improvements to server:  Added "-u" and "-r" options; server can
  now respond to request on multiple Ethernet interfaces.
- SECURITY BUG FIX: Server now ignores PADT's if they are from the wrong
  source MAC address.  You are STRONGLY RECOMMENDED to upgrade to 3.1
  if you use pppoe-server in production.
- Many small improvements to server.  Server now only makes one
  discovery socket, systemwide, with addition of "-n" option to pppoe.
- Fixes for compilation problems on BSD, Solaris and some Linux platforms.
- Added "-p" option to pppoe-server to allow you to specify a pool of
  IP addresses to assign to clients.
- Added GUI system (tkpppoe).  This work was funded by Iospan
  Wireless, Inc.  The GUI includes a Set-UID wrapper (pppoe-wrapper)
  which allows ordinary users to control a link (if so authorized.)
  I believe the wrapper script is secure, but please audit the
  source code (gui/wrapper.c) if you have any concerns.
- Changes to scripts and pppoe.conf.  DNS setup is now dynamic (happens
  each time adsl-connect runs.)
- Made relay.c check packet lengths rigorously; made it throw out Ethernet
  frame padding on session packets as well as discovery packets.
2001-10-07 13:26:37 +00:00

40 lines
985 B
Makefile

# $NetBSD: Makefile,v 1.16 2001/10/07 13:26:37 tron Exp $
DISTNAME= rp-pppoe-3.3
CATEGORIES= net
MASTER_SITES= ${HOMEPAGE} \
http://roaringpenguin.luky.org/pppoe/
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"