mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Upgrade to 20011007 and install man pages.
This version contains a threaded pppoa implementation and supports more than one pppoa* invocation.
This commit is contained in:
parent
46cc099628
commit
10b84eefce
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48719
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= pppoa
|
||||
PORTVERSION= 20010815
|
||||
PORTVERSION= 20011007
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.xsproject.org/speedtouch/files/ \
|
||||
http://www.alcatel.com/consumer/dsl/ \
|
||||
@ -16,13 +16,15 @@ DISTFILES= ${SPEEDTOUCH}.tar.gz speedmgmt.tar.gz
|
||||
MAINTAINER= brian@Awfulhak.org
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
SPEEDTOUCH= speedtouch-15082001
|
||||
SPEEDTOUCH= speedtouch-${PORTVERSION}
|
||||
NO_CDROM= "http://www.alcatel.com/consumer/dsl/disclaimer_lx.htm"
|
||||
NO_PACKAGE= "http://www.alcatel.com/consumer/dsl/disclaimer_lx.htm"
|
||||
RESTRICTED_FILES= speedmgmt.tar.gz
|
||||
|
||||
WRKSRC= ${WRKDIR}/${SPEEDTOUCH}
|
||||
|
||||
MAN1= modem_run.1 pppoa2.1 pppoa3.1
|
||||
|
||||
post-install:
|
||||
if [ ! -d ${PREFIX}/libdata ]; then \
|
||||
${MKDIR} ${PREFIX}/libdata; \
|
||||
@ -32,5 +34,8 @@ post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/../mgmt/mgmt.o ${PREFIX}/libdata/.
|
||||
${INSTALL_DATA} ${FILESDIR}/quick-install ${PREFIX}/share/speedtouch/.
|
||||
${CAT} ${PREFIX}/share/speedtouch/quick-install
|
||||
${INSTALL_MAN} ${WRKSRC}/doc-linux/modem_run.1 ${PREFIX}/man/man1/.
|
||||
${INSTALL_MAN} ${WRKSRC}/doc-linux/pppoa2.1 ${PREFIX}/man/man1/.
|
||||
${INSTALL_MAN} ${WRKSRC}/doc-linux/pppoa3.1 ${PREFIX}/man/man1/.
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (speedtouch-15082001.tar.gz) = cdcde701d89faf636a6743ee25d580e6
|
||||
MD5 (speedtouch-20011007.tar.gz) = 0db56a01c7e5c12dd96e359b2e272bc4
|
||||
MD5 (speedmgmt.tar.gz) = 102dc7a457c3942ee21dc834db68eac2
|
||||
|
@ -1,27 +1,11 @@
|
||||
--- doc-bsd/adsl.sh.sample.orig Tue Aug 14 22:15:19 2001
|
||||
+++ doc-bsd/adsl.sh.sample Sat Sep 1 02:12:23 2001
|
||||
@@ -1,3 +1,15 @@
|
||||
+#! /bin/sh
|
||||
+
|
||||
+prog=$(realpath $0) || exit 1
|
||||
+dir=${prog%/*}
|
||||
+PREFIX=${dir%/etc/rc.d}
|
||||
+
|
||||
+if [ ."$dir" = ."$prog" -o ."$PREFIX" = ."$dir" ]
|
||||
+then
|
||||
+ echo "$0: Cannot determine the PREFIX" >&2
|
||||
+ exit 1
|
||||
+fi
|
||||
+
|
||||
ISP=adsl
|
||||
PATH=$PATH:$PREFIX/bin
|
||||
|
||||
@@ -5,7 +17,7 @@
|
||||
--- doc-bsd/adsl.sh.sample.orig Sun Oct 7 19:46:13 2001
|
||||
+++ doc-bsd/adsl.sh.sample Fri Oct 12 21:04:04 2001
|
||||
@@ -13,7 +13,7 @@
|
||||
case $1 in
|
||||
start)
|
||||
modem_run -f $PREFIX/libdata/mgmt.o -m \
|
||||
&& ppp -quiet -auto $ISP \
|
||||
- && echo -n ' ppp($ISP)'
|
||||
+ && echo -n " ppp($ISP)"
|
||||
modem_run -f $PREFIX/libdata/mgmt.o \
|
||||
- && ppp -quiet -($MODE) $ISP \
|
||||
+ && ppp -quiet -$MODE $ISP \
|
||||
&& echo -n ' ppp'
|
||||
;;
|
||||
stop)
|
||||
killall modem_run
|
||||
|
@ -6,3 +6,5 @@
|
||||
as a template, then copy /usr/local/etc/rc.d/asdl.sh.sample to
|
||||
/usr/local/etc/rc.d/asdl.sh.
|
||||
|
||||
You may need to change the value of MODE in adsl.sh.
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
libdata/mgmt.o
|
||||
bin/modem_run
|
||||
bin/pppoa2
|
||||
bin/pppoa3
|
||||
etc/rc.d/adsl.sh.sample
|
||||
share/speedtouch/ppp.conf.sample
|
||||
share/speedtouch/INSTALL
|
||||
|
Loading…
Reference in New Issue
Block a user