ChangeLog

# 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
+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 speedtouch-1.3.1-r3.ebuild:
Stable for HPPA (bug #185747).

06 May 2007; Marius Mauch speedtouch-1.3.1-r2.ebuild,
speedtouch-1.3.1-r3.ebuild:
Replacing einfo with elog

22 Apr 2007; Alin Năstac speedtouch-1.3.1-r2.ebuild:
Use newinitd and newconfd (#174266).

12 Jul 2006; Stefan Schweizer
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 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 speedtouch-1.3.1-r3.ebuild:
stable on amd64

06 Feb 2006; Aron Griffis
speedtouch-1.3.1-r3.ebuild:
Mark 1.3.1-r3 stable on alpha

23 Nov 2005; Alin Nastac speedtouch-1.3.1-r3.ebuild:
Stable on x86.

*speedtouch-1.3.1-r3 (01 Nov 2005)

01 Nov 2005; Alin Nastac +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 speedtouch-1.3.1-r2.ebuild:
Remove COPYING and INSTALL from docs.

23 Jul 2005; Alin Nastac
+files/speedtouch-1.3.1-gcc4.patch, speedtouch-1.3.1-r2.ebuild:
Fix broken compilation on gcc-4, thanks to Kerin Millar
(#99759).

06 May 2005; Alin Nastac 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 -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 -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 speedtouch-1.3.1.ebuild:
stable on amd64 for security reasons (bug #68436)

28 Oct 2004; Bryan Østergaard
speedtouch-1.3.1.ebuild:
Stable on alpha, bug 68436.

*speedtouch-1.3.1 (27 Oct 2004)

27 Oct 2004; +speedtouch-1.3.1.ebuild:
version bump because of security issues, bug #68436

28 Sep 2004; Sven Wegener files/speedtouch.confd,
files/speedtouch.rc7:
Gentoo Technologies, Inc. -> Gentoo Foundation

*speedtouch-1.3 (27 Sep 2004)

27 Sep 2004; Daniel Black +files/speedtch-hotplug,
files/speedtouch.confd, +files/speedtouch.rc7, +speedtouch-1.3.ebuild:
version bump thanks to bug #45788 by stan

15 Jun 2004; Travis Tilley speedtouch-1.2.ebuild:
stable on amd64

09 Jun 2004; Aron Griffis 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; 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; speedtouch-1.2.ebuild:
Version bump.

25 Dec 2003; Tom Payne 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
speedtouch-1.2_beta3-r1.ebuild:
added installation of adsl-conf-pppd to /usr/sbin

19 Nov 2003; Heinrich Wendel metadata.xml:
metadata.xml

01 Oct 2003; Tavis Ormandy speedtouch-1.2_beta2.ebuild:
Stable on alpha

*speedtouch-1.2_beta2 (12 Aug 2003)

12 Aug 2003; Luca Barbato speedtouch-1.2_beta2.ebuild:
Version bump

08 Aug 2003; :
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 speedtouch-1.2_beta1.ebuild :
Added hppa to KEYWORDS.

25 May 2003; Luca Barbato speedtouch-1.2_beta1.ebuild :
New Version, should support more models. Filtered some flags that break on
ppc. Thanks to Alessandro Sappia

*speedtouch-1.1 (30 Aug 2002)

23 May 2003; Chuck Brewer :
Added manifest.

17 Apr 2003; Guy Martin speedtouch-1.1.ebuild :
Added ~hppa to KEYWORDS.

15 Apr 2003; Tavis Ormandy speedtouch-1.1.ebuild:
adding ~alpha keyword

30 Aug 2002; phoen][x 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 .
Thanks for the contribution. This closes bug 2300.

Manifest

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

files

metadata.xml




net-dialup

speedtouch-1.3.1-r3.ebuild

# 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
}