diff options
author | tom <tom@FreeBSD.org> | 2003-07-11 01:35:22 +0800 |
---|---|---|
committer | tom <tom@FreeBSD.org> | 2003-07-11 01:35:22 +0800 |
commit | b7205eafcac8bdfba8532bab2b370b34f4fd61fa (patch) | |
tree | d878052559e093cfd15de999e1a362b8335ce3aa | |
parent | 98b595ec4a5c12dddb89e051b71aa3deb7eccc90 (diff) | |
download | freebsd-ports-gnome-b7205eafcac8bdfba8532bab2b370b34f4fd61fa.tar.gz freebsd-ports-gnome-b7205eafcac8bdfba8532bab2b370b34f4fd61fa.tar.zst freebsd-ports-gnome-b7205eafcac8bdfba8532bab2b370b34f4fd61fa.zip |
Update to 1.2-beta2, based on the PR below with a few extra changes,
such as using a bz2 distfile and fetching the restricted file
automatically.
PR: ports/53761
Submitted by: Rob Evers <rob@debank.tv>
Reviewed by: brian
-rw-r--r-- | net/pppoa/Makefile | 31 | ||||
-rw-r--r-- | net/pppoa/distinfo | 2 | ||||
-rw-r--r-- | net/pppoa/files/patch-ab | 11 | ||||
-rw-r--r-- | net/pppoa/files/quick-install | 5 | ||||
-rw-r--r-- | net/pppoa/pkg-descr | 16 | ||||
-rw-r--r-- | net/pppoa/pkg-plist | 1 |
6 files changed, 21 insertions, 45 deletions
diff --git a/net/pppoa/Makefile b/net/pppoa/Makefile index 916454ccd28e..0e2baa7b6e68 100644 --- a/net/pppoa/Makefile +++ b/net/pppoa/Makefile @@ -6,41 +6,38 @@ # PORTNAME= pppoa -PORTVERSION= 1.1b +PORTVERSION= 1.2b2 PORTEPOCH= 1 CATEGORIES= net -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ - http://www.xsproject.org/speedtouch/files/ \ - http://www.alcatel.com/consumer/dsl/ \ - http://benoit.papillault.free.fr/speedtouch/ +MASTER_SITES= http://download.ethomson.com/download/ \ + ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= speedtouch -DISTFILES= ${SPEEDTOUCH}.tar.gz ${ALCATELDRIVER} +DISTFILES= ${SPEEDTOUCH}.tar.bz2 ${ALCATELDRIVER} +EXTRACT_ONLY= ${SPEEDTOUCH}.tar.bz2 MAINTAINER= brian@FreeBSD.org COMMENT= Run PPP over Alcatel's USB Speedtouch device HAS_CONFIGURE= yes -SPEEDTOUCH= speedtouch-1.1b +SPEEDTOUCH= speedtouch-1.2-beta2 ALCATELDRIVER= speedmgmt.tar.gz -NO_CDROM= "http://www.alcatel.com/consumer/dsl/disclaimer_lx.htm" -NO_PACKAGE= "http://www.alcatel.com/consumer/dsl/disclaimer_lx.htm" +NO_CDROM= "http://www.speedtouchdsl.com/disclaimer_lx.htm" +NO_PACKAGE= "http://www.speedtouchdsl.com/disclaimer_lx.htm" RESTRICTED_FILES= ${ALCATELDRIVER} WRKSRC= ${WRKDIR}/${SPEEDTOUCH} MAN1= modem_run.1 pppoa2.1 pppoa3.1 +USE_BZIP2= yes + +post-extract: + ${TAR} -zxf ${DISTDIR}/${ALCATELDRIVER} -C ${WRKSRC} post-install: ${INSTALL} -m 0755 -o root -g wheel -d ${LOCALBASE}/libdata - ${INSTALL_DATA} ${WRKSRC}/../mgmt/mgmt.o ${LOCALBASE}/libdata + ${INSTALL_DATA} ${WRKSRC}/mgmt/mgmt.o ${LOCALBASE}/libdata ${INSTALL_DATA} ${FILESDIR}/quick-install \ ${LOCALBASE}/share/doc/speedtouch/. @${CAT} ${LOCALBASE}/share/doc/speedtouch/quick-install -.include <bsd.port.pre.mk> - -.if !exists(${DISTDIR}/${ALCATELDRIVER}) -IGNORE= You must manually fetch the Alcatel driver distribution (${DISTDIR}/${ALCATELDRIVER}) via http://www.speedtouchdsl.com/dvrreg_lx.htm (select binary release 1.3.3), place it in ${DISTDIR} and then run make again -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/net/pppoa/distinfo b/net/pppoa/distinfo index 5970690c026e..986b36fa000e 100644 --- a/net/pppoa/distinfo +++ b/net/pppoa/distinfo @@ -1,2 +1,2 @@ -MD5 (speedtouch-1.1b.tar.gz) = 6335423ffec64478cb01ad33f2cc9c82 +MD5 (speedtouch-1.2-beta2.tar.bz2) = 450005ae68dc6b0323c54d4117460031 MD5 (speedmgmt.tar.gz) = 102dc7a457c3942ee21dc834db68eac2 diff --git a/net/pppoa/files/patch-ab b/net/pppoa/files/patch-ab deleted file mode 100644 index b6a029a16008..000000000000 --- a/net/pppoa/files/patch-ab +++ /dev/null @@ -1,11 +0,0 @@ ---- doc-bsd/ppp.conf.sample.orig Sat Jun 1 00:34:26 2002 -+++ doc-bsd/ppp.conf.sample Thu Jun 20 23:23:47 2002 -@@ -22,7 +22,7 @@ - adsl: - set authname <login> - set authkey <password> -- set device !"pppoa2 -vpi <VPI> -vci <VCI> -v 1" -+ set device !"/usr/local/sbin/pppoa2 -vpi <VPI> -vci <VCI> -v 1" - accept chap - set speed sync - set timeout 0 diff --git a/net/pppoa/files/quick-install b/net/pppoa/files/quick-install index fc49f3740726..b43955fd2314 100644 --- a/net/pppoa/files/quick-install +++ b/net/pppoa/files/quick-install @@ -1,9 +1,8 @@ ** IMPORTANT ** - Please ensure that you have read the Alcatel license agreement at - http://www.alcatel.com/consumer/dsl/dvrreg_lx.htm before running - this software. + Please ensure that you have read the license agreement at + http://www.speedtouchdsl.com/dvrreg_lx.htm before running this software. To activate this port, create a new profile in /etc/ppp/ppp.conf called ``adsl'' using /usr/local/share/doc/speedtouch/ppp.conf.sample diff --git a/net/pppoa/pkg-descr b/net/pppoa/pkg-descr index 4ef298ca87ee..19c8986d2a04 100644 --- a/net/pppoa/pkg-descr +++ b/net/pppoa/pkg-descr @@ -1,15 +1,5 @@ -Support for the Alcatel Speedtouch USB device. This driver is GPL except -for the file that is downloaded from the Alcatel site. This file is -restricted, specifically in terms of distribution. See -http://www.alcatel.com/consumer/dsl/disclaimer_lx.htm. +Unofficial support for Alcatel's Speedtouch USB devices. This driver is +licensed under the GPL except for one restricted file: +http://www.speedtouchdsl.com/disclaimer_lx.htm - -Thanks to - - Benoit Papillault, who made the linux driver. - Francois Rogler and Richard Tobin who ported the driver to *BSD - Jorgen Lundman and Jon Barlow for their help and their time - porting the driver to NetBSD. - -WWW: http://www.xsproject.org/speedtouch/ WWW: http://speedtouch.sourceforge.net/ diff --git a/net/pppoa/pkg-plist b/net/pppoa/pkg-plist index fffa5ef6edef..348c1f0d152a 100644 --- a/net/pppoa/pkg-plist +++ b/net/pppoa/pkg-plist @@ -9,6 +9,7 @@ share/doc/speedtouch/INSTALL share/doc/speedtouch/INSTALL-de share/doc/speedtouch/INSTALL-fr share/doc/speedtouch/INSTALL-it +share/doc/speedtouch/INSTALL-nl share/doc/speedtouch/ppp.conf.sample share/doc/speedtouch/quick-install @exec cat %D/share/doc/speedtouch/quick-install |