summaryrefslogtreecommitdiff
path: root/net/rp-pppoe/Makefile
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-03-18 18:55:28 +0000
committertron <tron@pkgsrc.org>2001-03-18 18:55:28 +0000
commit3e8284f71079109ee381484b3c4bbc9399ceb6f3 (patch)
tree3ac0b90a102947e75cefbe8f61efa8d92f22426c /net/rp-pppoe/Makefile
parentb2868a2d7b10e5ef221f3764d7b2539841012305 (diff)
downloadpkgsrc-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/Makefile')
-rw-r--r--net/rp-pppoe/Makefile20
1 files changed, 14 insertions, 6 deletions
diff --git a/net/rp-pppoe/Makefile b/net/rp-pppoe/Makefile
index e828f913ac9..3311febdc9b 100644
--- a/net/rp-pppoe/Makefile
+++ b/net/rp-pppoe/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2001/02/27 17:42:15 hubertf Exp $
+# $NetBSD: Makefile,v 1.15 2001/03/18 18:55:28 tron Exp $
-DISTNAME= rp-pppoe-2.6
+DISTNAME= rp-pppoe-2.8
CATEGORIES= net
MASTER_SITES= ${HOMEPAGE}
@@ -13,10 +13,7 @@ CONFLICTS+= mouse_pppoe<20000912nb1
GNU_CONFIGURE= YES
CONFIGURE_ENV+= PPPD=${PPPD}
-post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/rp-pppoe
- ${INSTALL_DATA} ${WRKSRC}/pppoe.conf ${WRKSRC}/pppoe-server-options \
- ${PREFIX}/share/examples/rp-pppoe
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
.include "../../mk/bsd.prefs.mk"
@@ -28,4 +25,15 @@ PPPD= ${LOCALBASE}/sbin/pppd
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"