aboutsummaryrefslogtreecommitdiff
path: root/net/pppoa
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2001-10-12 20:24:23 +0000
committerBrian Somers <brian@FreeBSD.org>2001-10-12 20:24:23 +0000
commit10b84eefce333975503e01b4fae082af1c5c3ff2 (patch)
treee146a041b233ef2c661eaaffee4a40fb8507da5e /net/pppoa
parent46cc0996283c04fe5f49c4e9b3e4f14e06b232c5 (diff)
downloadports-10b84eefce333975503e01b4fae082af1c5c3ff2.tar.gz
ports-10b84eefce333975503e01b4fae082af1c5c3ff2.zip
Notes
Diffstat (limited to 'net/pppoa')
-rw-r--r--net/pppoa/Makefile9
-rw-r--r--net/pppoa/distinfo2
-rw-r--r--net/pppoa/files/patch-aa32
-rw-r--r--net/pppoa/files/quick-install2
-rw-r--r--net/pppoa/pkg-plist1
5 files changed, 19 insertions, 27 deletions
diff --git a/net/pppoa/Makefile b/net/pppoa/Makefile
index 265ded95ca14..10a897b9586a 100644
--- a/net/pppoa/Makefile
+++ b/net/pppoa/Makefile
@@ -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>
diff --git a/net/pppoa/distinfo b/net/pppoa/distinfo
index 9c89a79a4afc..bcff8926ecb2 100644
--- a/net/pppoa/distinfo
+++ b/net/pppoa/distinfo
@@ -1,2 +1,2 @@
-MD5 (speedtouch-15082001.tar.gz) = cdcde701d89faf636a6743ee25d580e6
+MD5 (speedtouch-20011007.tar.gz) = 0db56a01c7e5c12dd96e359b2e272bc4
MD5 (speedmgmt.tar.gz) = 102dc7a457c3942ee21dc834db68eac2
diff --git a/net/pppoa/files/patch-aa b/net/pppoa/files/patch-aa
index dbe9c0c00ab8..1e4d8a872196 100644
--- a/net/pppoa/files/patch-aa
+++ b/net/pppoa/files/patch-aa
@@ -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
diff --git a/net/pppoa/files/quick-install b/net/pppoa/files/quick-install
index 790b24a5cef4..21951f6a5b66 100644
--- a/net/pppoa/files/quick-install
+++ b/net/pppoa/files/quick-install
@@ -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.
+
diff --git a/net/pppoa/pkg-plist b/net/pppoa/pkg-plist
index 813c157be79d..6015a353aac6 100644
--- a/net/pppoa/pkg-plist
+++ b/net/pppoa/pkg-plist
@@ -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