summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2009-08-23 06:43:51 +0000
committerAlin Năstac <mrness@gentoo.org>2009-08-23 06:43:51 +0000
commit3a1238f98fdc8261eb66b8aa832bd5683c114339 (patch)
tree5200948b115b9dd37303baab5151a1f91a7ffcb9 /net-dialup
parentVersion bump with no changes. Add/tweak long/short description for the package. (diff)
downloadgentoo-2-3a1238f98fdc8261eb66b8aa832bd5683c114339.tar.gz
gentoo-2-3a1238f98fdc8261eb66b8aa832bd5683c114339.tar.bz2
gentoo-2-3a1238f98fdc8261eb66b8aa832bd5683c114339.zip
Remove net-dialup/speedtouch (#273316).
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/speedtouch/ChangeLog159
-rw-r--r--net-dialup/speedtouch/Manifest10
-rw-r--r--net-dialup/speedtouch/files/adsl.sample24
-rw-r--r--net-dialup/speedtouch/files/speedtch-hotplug29
-rw-r--r--net-dialup/speedtouch/files/speedtouch-1.3.1-debug.patch19
-rw-r--r--net-dialup/speedtouch/files/speedtouch-1.3.1-gcc4.patch11
-rw-r--r--net-dialup/speedtouch/files/speedtouch.confd21
-rw-r--r--net-dialup/speedtouch/files/speedtouch.initd70
-rw-r--r--net-dialup/speedtouch/metadata.xml5
-rw-r--r--net-dialup/speedtouch/speedtouch-1.3.1-r3.ebuild99
10 files changed, 0 insertions, 447 deletions
diff --git a/net-dialup/speedtouch/ChangeLog b/net-dialup/speedtouch/ChangeLog
deleted file mode 100644
index 1170e22c953f..000000000000
--- a/net-dialup/speedtouch/ChangeLog
+++ /dev/null
@@ -1,159 +0,0 @@
-# ChangeLog for net-dialup/speedtouch
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/speedtouch/ChangeLog,v 1.39 2007/09/03 17:51:40 mrness Exp $
-
- 03 Sep 2007; Alin Năstac <mrness@gentoo.org>
- +files/speedtouch-1.3.1-debug.patch, -files/speedtouch.rc7,
- -speedtouch-1.3.1-r2.ebuild, speedtouch-1.3.1-r3.ebuild:
- Remove obsolete revision. Remove useless debug useflag (#191118).
-
- 03 Sep 2007; Jeroen Roovers <jer@gentoo.org> speedtouch-1.3.1-r3.ebuild:
- Stable for HPPA (bug #185747).
-
- 06 May 2007; Marius Mauch <genone@gentoo.org> speedtouch-1.3.1-r2.ebuild,
- speedtouch-1.3.1-r3.ebuild:
- Replacing einfo with elog
-
- 22 Apr 2007; Alin Năstac <mrness@gentoo.org> speedtouch-1.3.1-r2.ebuild:
- Use newinitd and newconfd (#174266).
-
- 12 Jul 2006; Stefan Schweizer <genstef@gentoo.org>
- speedtouch-1.3.1-r2.ebuild, speedtouch-1.3.1-r3.ebuild:
- Do not use xargs, because it does not work for functions
-
- 18 Mar 2006; Alin Nastac <mrness@gentoo.org> speedtouch-1.3.1-r2.ebuild,
- speedtouch-1.3.1-r3.ebuild:
- Inter-block this package with net-dialup/speedtouch-usb (#110665).
-
- 07 Feb 2006; Simon Stelling <blubb@gentoo.org> speedtouch-1.3.1-r3.ebuild:
- stable on amd64
-
- 06 Feb 2006; Aron Griffis <agriffis@gentoo.org>
- speedtouch-1.3.1-r3.ebuild:
- Mark 1.3.1-r3 stable on alpha
-
- 23 Nov 2005; Alin Nastac <mrness@gentoo.org> speedtouch-1.3.1-r3.ebuild:
- Stable on x86.
-
-*speedtouch-1.3.1-r3 (01 Nov 2005)
-
- 01 Nov 2005; Alin Nastac <mrness@gentoo.org> +files/speedtouch.initd,
- +speedtouch-1.3.1-r3.ebuild:
- Remove unreleased semaphore before launching a new modem_run process (#109595).
-
- 04 Oct 2005; Alin Nastac <mrness@gentoo.org> speedtouch-1.3.1-r2.ebuild:
- Remove COPYING and INSTALL from docs.
-
- 23 Jul 2005; Alin Nastac <mrness@gentoo.org>
- +files/speedtouch-1.3.1-gcc4.patch, speedtouch-1.3.1-r2.ebuild:
- Fix broken compilation on gcc-4, thanks to Kerin Millar
- <kerframil@gmail.com> (#99759).
-
- 06 May 2005; Alin Nastac <mrness@gentoo.org> speedtouch-1.3.1-r2.ebuild:
- Correct post-install info message (#91543).
-
-*speedtouch-1.3.1-r2 (22 Dec 2004)
-
- 22 Dec 2004; Alin Nastac <mrness@gentoo.org> -speedtouch-1.3.1-r1.ebuild,
- +speedtouch-1.3.1-r2.ebuild:
- Proper fix bug #74770.
-
-*speedtouch-1.3.1-r1 (18 Dec 2004)
-
- 18 Dec 2004; Alin Nastac <mrness@gentoo.org> -files/speedtouch.rc6,
- -speedtouch-1.1.ebuild, -speedtouch-1.2.ebuild,
- -speedtouch-1.2_beta2.ebuild, +speedtouch-1.3.1-r1.ebuild,
- -speedtouch-1.3.ebuild, -speedtouch-1.3.1.ebuild:
- Increase verbosity level required by ATM log reports due to decreased
- performance in some cases (bug #74770). Cleanup old ebuilds.
-
- 02 Nov 2004; Simon Stelling <blubb@gentoo.org> speedtouch-1.3.1.ebuild:
- stable on amd64 for security reasons (bug #68436)
-
- 28 Oct 2004; Bryan Østergaard <kloeri@gentoo.org>
- speedtouch-1.3.1.ebuild:
- Stable on alpha, bug 68436.
-
-*speedtouch-1.3.1 (27 Oct 2004)
-
- 27 Oct 2004; <heino@gentoo.org> +speedtouch-1.3.1.ebuild:
- version bump because of security issues, bug #68436
-
- 28 Sep 2004; Sven Wegener <swegener@gentoo.org> files/speedtouch.confd,
- files/speedtouch.rc7:
- Gentoo Technologies, Inc. -> Gentoo Foundation
-
-*speedtouch-1.3 (27 Sep 2004)
-
- 27 Sep 2004; Daniel Black <dragonheart@gentoo.org> +files/speedtch-hotplug,
- files/speedtouch.confd, +files/speedtouch.rc7, +speedtouch-1.3.ebuild:
- version bump thanks to bug #45788 by stan <stan@saticed.me.uk>
-
- 15 Jun 2004; Travis Tilley <lv@gentoo.org> speedtouch-1.2.ebuild:
- stable on amd64
-
- 09 Jun 2004; Aron Griffis <agriffis@gentoo.org> speedtouch-1.1.ebuild,
- speedtouch-1.2.ebuild, speedtouch-1.2_beta2.ebuild:
- Fix use invocation
-
-*speedtouch-1.2_beta1-r1 (13 Apr 2004)
-
- 13 Apr 2004; <coxj@gentoo.org> speedtouch-1.2_beta1-r1.ebuild,
- speedtouch-1.2_beta3-r1.ebuild, speedtouch-1.2_beta3-r2.ebuild:
- Cleaning house.
-
-*speedtouch-1.2 (13 Apr 2004)
-
- 13 Apr 2004; <coxj@gentoo.org> speedtouch-1.2.ebuild:
- Version bump.
-
- 25 Dec 2003; Tom Payne <twp@gentoo.org> speedtouch-1.2_beta3-r2.ebuild :
- Install *.html correctly. Add MODEM_RUN_EXTRAOPTS to conf.d and init.d scripts.
-
-*speedtouch-1.2_beta3 (23 Dec 2003)
-
- 23 Dec 2003; Heinrich Wendel <lanius@gentoo.org>
- speedtouch-1.2_beta3-r1.ebuild:
- added installation of adsl-conf-pppd to /usr/sbin
-
- 19 Nov 2003; Heinrich Wendel <lanius@gentoo.org> metadata.xml:
- metadata.xml
-
- 01 Oct 2003; Tavis Ormandy <taviso@gentoo.org> speedtouch-1.2_beta2.ebuild:
- Stable on alpha
-
-*speedtouch-1.2_beta2 (12 Aug 2003)
-
- 12 Aug 2003; Luca Barbato <lu_zero@gentoo.org> speedtouch-1.2_beta2.ebuild:
- Version bump
-
- 08 Aug 2003; <zhen@gentoo.org> :
- 1.2_beta1 did not compile due to $S not being set to ${WORKDIR}/${MY_P}. So I
- fixed that, added an IUSE var, and added brackets around the 'use static' in
- src_compile(). This closes bug 26066.
-
-*speedtouch-1.2_beta1 (25 May 2003)
-
- 28 Jul 2003; Guy Martin <gmsoft@gentoo.org> speedtouch-1.2_beta1.ebuild :
- Added hppa to KEYWORDS.
-
- 25 May 2003; Luca Barbato <lu_zero@gentoo.org> speedtouch-1.2_beta1.ebuild :
- New Version, should support more models. Filtered some flags that break on
- ppc. Thanks to Alessandro Sappia <a.sappia@ngi.it>
-
-*speedtouch-1.1 (30 Aug 2002)
-
- 23 May 2003; Chuck Brewer <killian@gentoo.org>:
- Added manifest.
-
- 17 Apr 2003; Guy Martin <gmsoft@gentoo.org> speedtouch-1.1.ebuild :
- Added ~hppa to KEYWORDS.
-
- 15 Apr 2003; Tavis Ormandy <taviso@gentoo.org> speedtouch-1.1.ebuild:
- adding ~alpha keyword
-
- 30 Aug 2002; phoen][x <phoenix@gentoo.org> ChangeLog, speedtouch-1.1.ebuild
- files/adsl.sample, files/digest-speedtouch-1.1, files/speedtouch.confd,
- files/speedtouch.rc6:
- Initial import. Ebuild submitted by Maurizio Disimino <kevin@aptbasilicata.it>.
- Thanks for the contribution. This closes bug 2300.
diff --git a/net-dialup/speedtouch/Manifest b/net-dialup/speedtouch/Manifest
deleted file mode 100644
index b30aebbc1d7b..000000000000
--- a/net-dialup/speedtouch/Manifest
+++ /dev/null
@@ -1,10 +0,0 @@
-AUX adsl.sample 599 RMD160 23ad83203725459c8f787ee012f7b54a4f8135f8 SHA1 26af2f97d78d7cb900c81da190f6fb067ab942bd SHA256 478a454b347d2d666310eba8ff08cd648642dd39849e880965847c2c69adaec6
-AUX speedtch-hotplug 396 RMD160 1c2c0aa58e8d245e2517166efbea819669d5e749 SHA1 ec1d121bfd356b95ec6744cd22a661934362773a SHA256 dbb7678143c79d767e9f3ebf7567ff53fa21b28a3f61f25487040579156161ac
-AUX speedtouch-1.3.1-debug.patch 740 RMD160 2c9263da49979823de8b39a4d9228b693394c37c SHA1 1135ea99d376609ec91bcaf9a871548186bc13f3 SHA256 2201f4d3e2c9c50b017741e7fd433807f2fa9ebf552134fd3214c4b078b60a66
-AUX speedtouch-1.3.1-gcc4.patch 279 RMD160 a67b5b6ddd04e829556fa7d08eead3370da55635 SHA1 ea10565efcc0f68847a2fb3673f2cab411a107ff SHA256 ce0ea7dcca347bb39f33a4fdb0710f49784daf502234a4d7ac12a545932ec6e7
-AUX speedtouch.confd 699 RMD160 717785e7c2c841a3d8fd406b02ea210c2c92e5fe SHA1 637c5549db4503a2c91e0fc3a45f3cc0ebea9462 SHA256 bec2b3adcfa3fc598364b3d2eafc92d32ef3717fabe56b49bcb7de364abdee4e
-AUX speedtouch.initd 1809 RMD160 272a58897de7dd37c83149852368aaf2eef5267e SHA1 ad3e4ff1b33d229c2518e7264625221e6105ab75 SHA256 6a1453c101ba313bc5d3b2ea3c8db0d1bf5fa0087b19465630004c3fd625b944
-DIST speedtouch-1.3.1.tar.bz2 197709 RMD160 88e64bb415db535078915d10684262b5e57f55dc SHA1 9f2bd1d2800686fa96b38bb3de8283fcf5b39a5c SHA256 0e42203af9252fab2d3e5610d80d6ad72ce18cd2b62454299ab34b9ab71c0dd8
-EBUILD speedtouch-1.3.1-r3.ebuild 3299 RMD160 eb35bdf6fb1b2db9c1cc9f8f8ac04315d2c1c47e SHA1 9572f98a35137740e123c406611d9fd0e4a62be3 SHA256 b8b357c37a4cdb9bfcb35d639e3c14016f2249acf37b7d1f64fe3ade3dd90234
-MISC ChangeLog 5849 RMD160 fc52429f822d0e974518353694f0e9e0c47e7141 SHA1 4e67b36afe63165b70632948f72562944562e99e SHA256 fa23d3fda32566b8ad447d2921cf5c2538e08e948efb288a7dfc3bb13416ab89
-MISC metadata.xml 163 RMD160 df94c60cc0bb7abe5913b464a33966b142b2fe1e SHA1 d8332605fd22c32f15438bbdf24aa622c3d2738a SHA256 1137a0fd866641cf719b0c2e9e77ca9fa4541a42f2cc851fe4659cf2677acca3
diff --git a/net-dialup/speedtouch/files/adsl.sample b/net-dialup/speedtouch/files/adsl.sample
deleted file mode 100644
index 6c23aa9fe5f2..000000000000
--- a/net-dialup/speedtouch/files/adsl.sample
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/speedtouch/files/adsl.sample,v 1.3 2004/07/14 23:11:58 agriffis Exp $
-
-# This file could be rename but its place is under /etc/ppp/peers
-# To connect to Internet using this configuration file
-# pppd call adsl, where "adsl" stands for the name of this file
-
-debug
-kdebug 1
-noipdefault
-defaultroute
-pty "/usr/sbin/pppoa3 -m 1 -c -vpi 8 -vci 35"
-sync
-user "your_login_here"
-noauth
-noaccomp
-nopcomp
-noccp
-novj
-holdoff 4
-persist
-maxfail 25
-usepeerdns
diff --git a/net-dialup/speedtouch/files/speedtch-hotplug b/net-dialup/speedtouch/files/speedtch-hotplug
deleted file mode 100644
index 20325894c546..000000000000
--- a/net-dialup/speedtouch/files/speedtch-hotplug
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-echo "${REMOVER}" | grep '0$'
-
-if [ $? -eq 0 ]; then
-
- case "$ACTION" in
- add)
- cat > "${REMOVER}" <<-EOF
- #!/bin/sh
-
- /etc/init.d/speedtouch stop
- /sbin/lsmod | grep -q "^speedtch"
- if [ \$? -eq 0 ]; then
- #wait for pppd to exit
- sleep 20
- /sbin/rmmod speedtch
- fi
- EOF
-
- /bin/chmod +x "${REMOVER}"
- /etc/init.d/speedtouch start
- ;;
- esac
-
-fi
-
-exit 0
-
diff --git a/net-dialup/speedtouch/files/speedtouch-1.3.1-debug.patch b/net-dialup/speedtouch/files/speedtouch-1.3.1-debug.patch
deleted file mode 100644
index 243f2b6a4df7..000000000000
--- a/net-dialup/speedtouch/files/speedtouch-1.3.1-debug.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -Nru speedtouch-1.3.1.orig/configure.in speedtouch-1.3.1/configure.in
---- speedtouch-1.3.1.orig/configure.in 2004-09-29 23:56:31.000000000 +0300
-+++ speedtouch-1.3.1/configure.in 2007-09-03 08:42:29.000000000 +0300
-@@ -33,15 +33,10 @@
- # --sysconfdir='${prefix}/etc' is considered the system default
- test "x$sysconfdir" = 'x${prefix}/etc' && sysconfdir="/etc"
-
--CFLAGS=`echo $CFLAGS | sed s/"-g"/""/g`
--
- dnl User options
- AC_ARG_ENABLE(release,[ --enable-release set the compiler flags to -O6],
- CFLAGS="-O6")
-
--AC_ARG_ENABLE(debug,[ --enable-debug set the compiler flags to -g],[
-- CFLAGS="-g"; debug_flags="-DDEBUG"])
--
- AC_ARG_ENABLE(syslog,[ --enable-syslog log messages via syslog],
- syslog_flags="-DUSE_SYSLOG")
-
diff --git a/net-dialup/speedtouch/files/speedtouch-1.3.1-gcc4.patch b/net-dialup/speedtouch/files/speedtouch-1.3.1-gcc4.patch
deleted file mode 100644
index bdd323c50e97..000000000000
--- a/net-dialup/speedtouch/files/speedtouch-1.3.1-gcc4.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- speedtouch-1.3.1/src/modem.h 2004-09-29 21:56:31.000000000 +0100
-+++ speedtouch-1.3.1-gcc4/src/modem.h 2005-07-21 07:15:03.000000000 +0100
-@@ -38,7 +38,4 @@
- #define EP_CODE_IN 0x85
- #define EP_CODE_OUT 0x05
-
--/* Global Variables */
--extern int verbose;
--
- #endif
- \ No newline at end of file
diff --git a/net-dialup/speedtouch/files/speedtouch.confd b/net-dialup/speedtouch/files/speedtouch.confd
deleted file mode 100644
index 7d4493636a8e..000000000000
--- a/net-dialup/speedtouch/files/speedtouch.confd
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/speedtouch/files/speedtouch.confd,v 1.6 2004/09/28 01:23:20 swegener Exp $
-
-# Config file for the speedtouch ebuild
-
-# Set the microcode path
-#MICROCODE="/usr/share/speedtouch/mgmt.o"
-
-# Set verbose level for modem_run
-VERBOSE="0"
-
-# Set the peer filename
-# This should be in /etc/ppp/peers/
-PEER="adsl"
-
-# Extra options to modem_run
-# Some modems will need "-s", if in doubt then leave blank
-# add "-k" for use with the kernel mode driver
-# add "-a /usr/share/speedtouch/boot.v123.bin" if your modem is green or purple
-#MODEM_RUN_EXTRAOPTS="-s"
diff --git a/net-dialup/speedtouch/files/speedtouch.initd b/net-dialup/speedtouch/files/speedtouch.initd
deleted file mode 100644
index 1894378f8d63..000000000000
--- a/net-dialup/speedtouch/files/speedtouch.initd
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/speedtouch/files/speedtouch.initd,v 1.1 2005/11/01 04:59:52 mrness Exp $
-
-depend() {
- need localmount modules
-}
-
-start() {
- ebegin "Starting Speedtouch ADSL Modem..."
-
- ps -e | grep -q modem_run
- if [ $? -eq 0 ]; then
- einfo "Firmware already loaded, skipping load"
- else
-
- einfo "Loading firmware..."
-
- if [ -z "${MICROCODE}" ]; then
- eend 1 "Please define \$MICROCODE in /etc/conf.d/speedtouch"
- return 1
- fi
- if [ ! -f ${MICROCODE} ]; then
- eend 1 "Failed to find the microcode."
- return 1
- fi
- # usbdevfs is up ?
- if [ ! -f /proc/bus/usb/devices ]; then
- eend 1 "usbdevfs not mounted"
- return 1
- fi
-
- # Remove unreleased semaphore - previous instance of modem_run left it (bug #109595)
- (ipcs -s | grep ^0xdeadbeef &>/dev/null) && ipcrm -S 0xdeadbeef
-
- modem_run -v $VERBOSE $MODEM_RUN_EXTRAOPTS -f $MICROCODE
- if [ $? -ne 0 ]; then # modem_run CAN'T run
- eerror "Can't load the microcode !!"
- eerror "Please detach and attach again your modem to the USB port to unload the microcode."
- eerror "Then run '/etc/init.d/speedtouch start'"
- eend 1 "Speedtouch firmware load failed"
- return 1
- fi
-
-
- einfo "Speedtouch firmware loaded"
- eend 0
- fi
-
- if [ ! -f "/etc/ppp/peers/$PEER" ]; then
- eend 1 "Failed to find peer configuration"
- return 1
- fi
-
- einfo "Launching the PPP daemon..."
- rm -f /var/run/pppoa*.pid
- start-stop-daemon --start \
- --exec /usr/sbin/pppd call $PEER &>/dev/null
-
- eend $? "Failed to start the PPP daemon"
-}
-
-stop() {
- ebegin "Shutting down the SpeedTouch ADSL Modem..."
-
- start-stop-daemon --stop --pidfile /var/run/ppp0.pid pppd
-
- eend $? "Failed to stop 'pppd'."
-}
diff --git a/net-dialup/speedtouch/metadata.xml b/net-dialup/speedtouch/metadata.xml
deleted file mode 100644
index 1e11e7bbd01b..000000000000
--- a/net-dialup/speedtouch/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>net-dialup</herd>
-</pkgmetadata>
diff --git a/net-dialup/speedtouch/speedtouch-1.3.1-r3.ebuild b/net-dialup/speedtouch/speedtouch-1.3.1-r3.ebuild
deleted file mode 100644
index 2295a125b6af..000000000000
--- a/net-dialup/speedtouch/speedtouch-1.3.1-r3.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/speedtouch/speedtouch-1.3.1-r3.ebuild,v 1.10 2007/09/03 17:51:40 mrness Exp $
-
-inherit flag-o-matic eutils autotools
-
-MY_P=${P/_/-}
-
-DESCRIPTION="GPL Driver for the Alcatel Speedtouch USB under *nix"
-HOMEPAGE="http://speedtouch.sf.net/"
-SRC_URI="mirror://sourceforge/speedtouch/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ~ppc x86"
-IUSE="static"
-
-DEPEND=""
-RDEPEND=">=net-dialup/ppp-2.4.1
- !net-dialup/speedtouch-usb"
-
-S="${WORKDIR}/${MY_P}"
-
-src_unpack() {
- unpack ${A}
-
- # Patch to fix gcc-4.* compile error (bug 99759)
- epatch "${FILESDIR}/${P}-gcc4.patch"
-
- # Increase minlevel of reports in atm.c
- # At least one of the reports could affect performance due to call frequency
- sed -i -e 's/report(0/report(1/' "${S}/src/atm.c"
-
- # Remove stupid --enable debug option (bug 191118)
- epatch "${FILESDIR}/${P}-debug.patch"
- cd "${S}"
- eautoreconf
-}
-
-src_compile() {
- filter-flags -mpowerpc-gfxopt -mpowerpc-gpopt
- econf \
- --enable-syslog \
- $(use_enable static) || die "./configure failed"
-
- emake || die "make failed"
-}
-
-src_install() {
- einstall || die "make install failed"
-
- # twp 2003-12-25 install *.html correctly
- dohtml $(find "${D}/usr/share/doc/speedtouch/" -type f -name '*.html')
- rm $(find "${D}/usr/share/doc/speedtouch/" -type f -name '*.html')
- dodoc $(find "${D}/usr/share/doc/speedtouch/" -type f)
- rm -rf "${D}/usr/share/doc/speedtouch/"
- dodoc AUTHORS ChangeLog TODO VERSION
-
- rm -rf "${D}/usr/bin"
- rm -rf "${D}/usr/share/man/man1"
-
- newinitd "${FILESDIR}/speedtouch.initd" speedtouch
- newconfd "${FILESDIR}/speedtouch.confd" speedtouch
-
- insopts -m 600 ; insinto /etc/ppp/peers ; doins "${FILESDIR}/adsl.sample"
-
- dosbin doc-linux/adsl-conf-pppd
-
- # allows hotplug to modprobe the speedtch module automatically
- mv "${D}"/etc/hotplug/usb/speedtouch.usermap "${D}"/etc/hotplug/usb/speedtch.usermap
- exeinto /etc/hotplug/usb ; newexe "${FILESDIR}/speedtch-hotplug" speedtch
- rm "${D}"/etc/hotplug/usb/speedtouch
-}
-
-pkg_postinst() {
- echo
- ewarn "Make sure you have kernel support for USB, HDCL and PPP"
- ewarn "NB: kernels >= 2.4.18 include the hdlc patch"
- ewarn
- ewarn "Read and subscribe vendor's licence to download the microcode"
- ewarn "You can get it from:"
- ewarn " 1) vendor's site: http://www.speedtouchdsl.com/dvrreg_lx.htm"
- ewarn " 2) a windows system: c:\\\\windows\\\\system\\\\alcaudsl.sys"
- ewarn " 3) the CD provided: X:\\\\Driver\\\\alcaudsl.sys"
- ewarn "Then you should set its path in the /etc/conf.d/speedtouch file"
- ewarn "edit and rename 'adsl.sample' to 'adsl' in /etc/ppp/peers/adsl and"
- ewarn "bring up your adsl line using the /etc/init.d/speedtouch script"
- ewarn
- elog "More info in the documentation in /usr/share/doc/${PF}"
- elog
- elog "You need to pass -a /usr/share/speedtouch/boot.v123.bin to"
- elog "modem_run with this version. The URL for firmware is:"
- elog "http://www.speedtouchdsl.com/driver_upgrade_lx_3.0.1.2.htm"
- elog
- ewarn "This driver is obsoleted by the kernel-space driver, available"
- ewarn "in >=2.6.10 kernels. The firmware and installation instructions"
- ewarn "for this driver are available through net-dialup/speedtouch-usb."
- echo
-}