summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-03-06 12:39:37 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-03-06 12:39:37 +0000
commit0c5f180273dc4c2c99eb98039be57c1dd17b08a7 (patch)
treecf3b7ae20506b31bb6626d727aab03adc20c2aff /net-dialup
parentno more qbankmanager (diff)
downloadhistorical-0c5f180273dc4c2c99eb98039be57c1dd17b08a7.tar.gz
historical-0c5f180273dc4c2c99eb98039be57c1dd17b08a7.tar.bz2
historical-0c5f180273dc4c2c99eb98039be57c1dd17b08a7.zip
no more slmodem
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/slmodem/ChangeLog557
-rw-r--r--net-dialup/slmodem/Manifest29
-rw-r--r--net-dialup/slmodem/files/slmodem-2.9.11-alsa-period-size.patch12
-rw-r--r--net-dialup/slmodem/files/slmodem-2.9.11-create-mode.patch12
-rw-r--r--net-dialup/slmodem/files/slmodem-2.9.11-makefile-r1.patch45
-rw-r--r--net-dialup/slmodem/files/slmodem-confd37
-rw-r--r--net-dialup/slmodem/files/slmodem-initd93
-rw-r--r--net-dialup/slmodem/files/slmodem-modprobe4
-rw-r--r--net-dialup/slmodem/files/slmodem-modules13
-rw-r--r--net-dialup/slmodem/files/slmodem-ungrab-winmodem-hp500.patch27
-rw-r--r--net-dialup/slmodem/files/slusb-udev.script17
-rw-r--r--net-dialup/slmodem/metadata.xml5
-rw-r--r--net-dialup/slmodem/slmodem-2.9.11_pre20080417.ebuild166
-rw-r--r--net-dialup/slmodem/slmodem-2.9.11_pre20080817.ebuild166
-rw-r--r--net-dialup/slmodem/slmodem-2.9.11_pre20090222-r1.ebuild165
15 files changed, 0 insertions, 1348 deletions
diff --git a/net-dialup/slmodem/ChangeLog b/net-dialup/slmodem/ChangeLog
deleted file mode 100644
index 8a4e82f9264e..000000000000
--- a/net-dialup/slmodem/ChangeLog
+++ /dev/null
@@ -1,557 +0,0 @@
-# ChangeLog for net-dialup/slmodem
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/slmodem/ChangeLog,v 1.102 2009/06/20 20:48:10 mrness Exp $
-
-*slmodem-2.9.11_pre20090222-r1 (20 Jun 2009)
-
- 20 Jun 2009; Alin Năstac <mrness@gentoo.org>
- -slmodem-2.9.11_pre20090222.ebuild, +slmodem-2.9.11_pre20090222-r1.ebuild:
- Add .conf suffix to the installed modprobe.d file (#212257).
-
-*slmodem-2.9.11_pre20090222 (20 Jun 2009)
-
- 20 Jun 2009; Alin Năstac <mrness@gentoo.org>
- +slmodem-2.9.11_pre20090222.ebuild:
- Version bump (#271317).
-
- 13 Mar 2009; Alin Năstac <mrness@gentoo.org>
- slmodem-2.9.11_pre20080817.ebuild:
- Replace udevcontrol with udevadm control (#261864).
-
-*slmodem-2.9.11_pre20080817 (03 Mar 2009)
-
- 03 Mar 2009; Alin Năstac <mrness@gentoo.org>
- -files/slmodem-2.9.11-amd64.patch,
- +files/slmodem-2.9.11-create-mode.patch,
- -files/slmodem-2.9.11-kernel-2.6.24.patch,
- -files/slmodem-2.9.11-makefile.patch,
- -slmodem-2.9.11_pre20080126-r1.ebuild, -slmodem-2.9.11_pre20080401.ebuild,
- +slmodem-2.9.11_pre20080817.ebuild:
- Version bump. Fix open missing mode compilation error (#260114).
-
- 06 Jul 2008; Christian Faulhammer <opfer@gentoo.org>
- slmodem-2.9.11_pre20080417.ebuild:
- stable x86, bug 230795
-
- 15 Jun 2008; Alin Năstac <mrness@gentoo.org>
- slmodem-2.9.11_pre20080417.ebuild:
- Remove slusb if kernel version is >=2.6.25; exclude unused modules from
- compilation (#218381).
-
-*slmodem-2.9.11_pre20080417 (19 May 2008)
-
- 19 May 2008; Alin Năstac <mrness@gentoo.org>
- +files/slmodem-2.9.11-makefile-r1.patch,
- -slmodem-2.9.11_pre20080126.ebuild, +slmodem-2.9.11_pre20080417.ebuild:
- Version bump (#222537).
-
- 13 Apr 2008; Markus Meier <maekke@gentoo.org>
- slmodem-2.9.11_pre20080126-r1.ebuild:
- x86 stable, bug #210127
-
-*slmodem-2.9.11_pre20080401 (13 Apr 2008)
-
- 13 Apr 2008; Alin Năstac <mrness@gentoo.org>
- +files/slmodem-2.9.11-amd64.patch, +files/slmodem-modprobe,
- -slmodem-2.9.11_pre20070813.ebuild, +slmodem-2.9.11_pre20080401.ebuild:
- Version bump. Add usb support for amd64, thanks to Roberto Castagnola
- <roberto.castagnola@gmail.com> (#211171). Drop obsoleted modules.d file
- (#214021).
-
- 20 Feb 2008; Christian Faulhammer <opfer@gentoo.org>
- slmodem-2.9.11_pre20080126.ebuild:
- stable x86, bug 207555
-
-*slmodem-2.9.11_pre20080126-r1 (18 Feb 2008)
-
- 18 Feb 2008; Alin Năstac <mrness@gentoo.org>
- +files/slmodem-2.9.11-alsa-period-size.patch,
- +slmodem-2.9.11_pre20080126-r1.ebuild:
- Add patch for the infamous error period size 48 not supported by playback
- (#210127).
-
- 30 Jan 2008; Alin Năstac <mrness@gentoo.org>
- slmodem-2.9.11_pre20080126.ebuild:
- Check CONFIG_PCI_LEGACY when compiled on kernel 2.6.24 (#207555).
-
- 29 Jan 2008; Alin Năstac <mrness@gentoo.org>
- slmodem-2.9.11_pre20080126.ebuild:
- Update ungrab-winmodem module.
-
-*slmodem-2.9.11_pre20080126 (29 Jan 2008)
-
- 29 Jan 2008; Alin Năstac <mrness@gentoo.org>
- +files/slmodem-2.9.11-kernel-2.6.24.patch,
- -slmodem-2.9.11_pre20070505.ebuild, +slmodem-2.9.11_pre20080126.ebuild:
- Version bump. Fix broken build on hosts with kernel 2.6.24 (#207555).
-
- 08 Jan 2008; Markus Meier <maekke@gentoo.org>
- slmodem-2.9.11_pre20070813.ebuild:
- x86 stable, bug #204191
-
- 28 Oct 2007; Christian Heim <phreak@gentoo.org>
- slmodem-2.9.11_pre20070505.ebuild, slmodem-2.9.11_pre20070813.ebuild:
- Include virtual/logger in RDEPEND, as the initscript already specifies 'need
- logger'.
-
-*slmodem-2.9.11_pre20070813 (23 Oct 2007)
-
- 23 Oct 2007; Alin Năstac <mrness@gentoo.org>
- -files/slmodem-2.9.11-kernel-2.6.19.patch, -files/slusb.hotplug,
- -slmodem-2.9.11_pre20061021-r2.ebuild, +slmodem-2.9.11_pre20070813.ebuild:
- Version bump (#196497).
-
- 25 Jul 2007; Christian Faulhammer <opfer@gentoo.org>
- slmodem-2.9.11_pre20070505.ebuild:
- stable x86, bug 185746
-
- 07 Jul 2007; Stefan Schweizer <genstef@gentoo.org>
- slmodem-2.9.11_pre20070505.ebuild:
- Use KV_OUT_DIR instead of KV_DIR thanks to Natanael Copa
- <natanael.copa@gmail.com> in bug 182651
-
-*slmodem-2.9.11_pre20070505 (16 May 2007)
-
- 16 May 2007; Alin Năstac <mrness@gentoo.org> files/slmodem-modules,
- +files/slmodem-ungrab-winmodem-hp500.patch, +files/slusb-udev.script,
- +slmodem-2.9.11_pre20070505.ebuild:
- Version bump based on the current sunrise ebuild, thanks to Jakub Moc
- <jakub@gentoo.org> (see bugs #178030 and #178173).
-
- 06 May 2007; Marius Mauch <genone@gentoo.org>
- slmodem-2.9.11_pre20061021-r2.ebuild:
- Replacing einfo with elog
-
-*slmodem-2.9.11_pre20070505 (16 May 2007)
-
- 16 May 2007; Alin Năstac <mrness@gentoo.org> files/slmodem-modules,
- +files/slmodem-ungrab-winmodem-hp500.patch, +files/slusb-udev.script,
- +slmodem-2.9.11_pre20070505.ebuild:
- Version bump based on the current sunrise ebuild, thanks to Jakub Moc
- <jakub@gentoo.org> (see bugs #178030 and #178173).
-
-*slmodem-2.9.11_pre20061021-r2 (14 Mar 2007)
-
- 14 Mar 2007; Alin Năstac <mrness@gentoo.org> files/slmodem-initd,
- -slmodem-2.9.11_pre20061021-r1.ebuild,
- +slmodem-2.9.11_pre20061021-r2.ebuild:
- Fix broken init script syntax (#170916).
-
- 10 Mar 2007; Alin Năstac <mrness@gentoo.org>
- -files/slmodem-2.9.11-kernel-2.6.18.patch, files/slmodem-initd,
- -slmodem-2.9.11_pre20051101-r3.ebuild,
- slmodem-2.9.11_pre20061021-r1.ebuild:
- Remove obsolete version. Remove references to $ROOT from src_install (#168039).
- Replace bash-specific code from init script, thanks to Natanael Copa
- <natanael.copa@gmail.com> (#170092).
-
- 20 Dec 2006; Alin Năstac <mrness@gentoo.org>
- files/slmodem-2.9.11-kernel-2.6.19.patch:
- Make kernel patch future-proof (bug #156783 comment #11).
-
- 08 Dec 2006; Christian Faulhammer <opfer@gentoo.org>
- slmodem-2.9.11_pre20061021-r1.ebuild:
- stable x86, bug #156783
-
-*slmodem-2.9.11_pre20061021-r1 (06 Dec 2006)
-
- 06 Dec 2006; Alin Nastac <mrness@gentoo.org>
- -slmodem-2.9.11_pre20061021.ebuild, +slmodem-2.9.11_pre20061021-r1.ebuild:
- Apply makefile.patch (#157331).
-
-*slmodem-2.9.11_pre20061021 (02 Dec 2006)
-
- 02 Dec 2006; Alin Năstac <mrness@gentoo.org>
- +files/slmodem-2.9.11-kernel-2.6.19.patch,
- +slmodem-2.9.11_pre20061021.ebuild:
- Version bump. Fix broken compilation against kernel 2.6.19 (#156783).
-
-*slmodem-2.9.11_pre20051101-r3 (01 Dec 2006)
-
- 01 Dec 2006; Alin Năstac <mrness@gentoo.org> files/slmodem-confd,
- files/slmodem-initd, -slmodem-2.9.11_pre20051101-r2.ebuild,
- +slmodem-2.9.11_pre20051101-r3.ebuild:
- Add extra slmodemd options (#156457).
-
- 18 Nov 2006; Alin Nastac <mrness@gentoo.org>
- -files/slmodem-2.9.11-modem-cc-makefile.patch,
- -files/slmodem-2.9.11-modem-makefile.patch, -files/slmodem-2.9.11.init,
- -files/slmodem-2.9.11.modules, -files/slmodem-2.9.conf,
- +files/slmodem-confd, +files/slmodem-initd, +files/slmodem-modules,
- -slmodem-2.9.11_pre20051101.ebuild, slmodem-2.9.11_pre20051101-r2.ebuild:
- Remove obsolete revision.
-
- 08 Oct 2006; Andrej Kacian <ticho@gentoo.org>
- slmodem-2.9.11_pre20051101-r2.ebuild:
- Stable on x86, bug #150392.
-
-*slmodem-2.9.11_pre20051101-r2 (22 Sep 2006)
-
- 22 Sep 2006; Alin Nastac <mrness@gentoo.org> files/slmodem-2.9.11.init,
- -slmodem-2.9.11_pre20051101-r1.ebuild,
- +slmodem-2.9.11_pre20051101-r2.ebuild:
- Create device file with the correct major number (#148503).
-
- 12 Sep 2006; Alin Nastac <mrness@gentoo.org>
- slmodem-2.9.11_pre20051101-r1.ebuild:
- Deactivate exec stack QA warning for slmodem_test and slmodemd (#123733).
-
- 10 Sep 2006; Alin Nastac <mrness@gentoo.org>
- -files/slmodem-2.9.11-devfs.patch,
- +files/slmodem-2.9.11-kernel-2.6.18.patch, -files/slmodem-2.9.devfs,
- slmodem-2.9.11_pre20051101-r1.ebuild:
- Include utsrelease.h when kernel ver >= 2.6.18 (#140723).
-
-*slmodem-2.9.11_pre20051101-r1 (09 Sep 2006)
-
- 09 Sep 2006; Alin Nastac <mrness@gentoo.org>
- +files/slmodem-2.9.11-devfs.patch, +files/slmodem-2.9.11-makefile.patch,
- +slmodem-2.9.11_pre20051101-r1.ebuild:
- Fix compilation errors when build against kernels >= 2.6.18 (#140723).
- Correct udev rules (#144841).
-
- 22 Aug 2006; Stefan Schweizer <genstef@gentoo.org>
- +files/slmodem-2.9.11-modem-cc-makefile.patch,
- slmodem-2.9.11_pre20051101.ebuild:
- Fix problems with amd64 and eselect compiler, thanks to Kazuo Teramoto
- <kaz.rag@gmail.com> in bug 140564
-
- 27 May 2006; Stefan Schweizer <genstef@gentoo.org>
- files/slmodem-2.9.11-modem-makefile.patch:
- Add -finline flag in replacement for upstreams -O, thanks to Ph. Bobo
- <phbobofr@yahoo.fr> in bug 134529
-
- 29 Apr 2006; Stefan Schweizer <genstef@gentoo.org>
- -files/slmodem-2.9.9b-gcc4.patch, -files/slmodem-amd64-Makefile.diff,
- -files/slmodem-2.9.init, -files/slmodem-2.9.modules,
- -files/slmodem-class-simple-to-class.diff,
- -files/slmodem-remove-URB_ASYNC_UNLINK.patch, -slmodem-2.9.9d.ebuild:
- remove old
-
- 26 Apr 2006; Alin Nastac <mrness@gentoo.org>
- slmodem-2.9.11_pre20051101.ebuild:
- Stable on x86 (#131353).
-
- 22 Apr 2006; Alin Nastac <mrness@gentoo.org>
- +files/slmodem-2.9.11-modem-makefile.patch, metadata.xml,
- slmodem-2.9.11_pre20051101.ebuild:
- Fix broken compilation when LDFLAGS=-Wl,--as-needed (#130796). Quote $S, $D,
- $ROOT, $WORKDIR and $FILESDIR.
-
- 08 Apr 2006; Stefan Schweizer <genstef@gentoo.org>
- slmodem-2.9.11_pre20051101.ebuild:
- Add module_param sed-fix
-
- 22 Mar 2006; Stefan Schweizer <genstef@gentoo.org>
- -slmodem-2.9.11_pre20050816.ebuild, -slmodem-2.9.11_pre20051009.ebuild,
- -slmodem-2.9.11_pre20051009-r1.ebuild, slmodem-2.9.11_pre20051101.ebuild:
- Fix 2.6.16 compiling, thanks to pb <gentoobugzilla@mytrashmail.com> in bug
- 127176, remove old ebuilds
-
- 25 Feb 2006; Daniel Black <dragonheart@gentoo.org> metadata.xml:
- I've not maintained this for a while. removing self from metadata. Thanks
- net-dialup herd for taking care of this.
-
-*slmodem-2.9.11_pre20051101 (06 Nov 2005)
-
- 06 Nov 2005; Stefan Schweizer <genstef@gentoo.org>
- +slmodem-2.9.11_pre20051101.ebuild:
- version bump
-
-*slmodem-2.9.11_pre20051009-r1 (22 Oct 2005)
-
- 22 Oct 2005; Stefan Schweizer <genstef@gentoo.org>
- +files/slmodem-2.9.11.init, +slmodem-2.9.11_pre20051009-r1.ebuild:
- Fix init script to work also when we do not get a device node automatically
-
- 16 Oct 2005; Alin Nastac <mrness@gentoo.org> slmodem-2.9.9d.ebuild,
- slmodem-2.9.11_pre20050816.ebuild, slmodem-2.9.11_pre20051009.ebuild:
- Fix typo in info messages (#108743).
-
-*slmodem-2.9.11_pre20051009 (15 Oct 2005)
-
- 15 Oct 2005; Stefan Schweizer <genstef@gentoo.org>
- +files/slmodem-amd64-Makefile.diff, +slmodem-2.9.11_pre20051009.ebuild:
- Version bump, CFLAGS optimization, and amd64 support thanks to Tupone
- Alfredo <alfredo@tupone.it> in bug 106276
-
- 04 Oct 2005; Alin Nastac <mrness@gentoo.org> slmodem-2.9.9d.ebuild,
- slmodem-2.9.11_pre20050816.ebuild:
- Remove COPYING from docs.
-
- 17 Sep 2005; Stefan Schweizer <genstef@gentoo.org>
- slmodem-2.9.11_pre20050816.ebuild:
- Make postinst einfo more descriptive thanks to Carlos Cordoba
- <ccordoba12@gmail.com> in bug 102784
-
-*slmodem-2.9.11_pre20050816 (10 Sep 2005)
-
- 10 Sep 2005; Stefan Schweizer <genstef@gentoo.org>
- +files/slmodem-2.9.11.modules, +files/slmodem-class-simple-to-class.diff,
- +files/slmodem-remove-URB_ASYNC_UNLINK.patch,
- +slmodem-2.9.11_pre20050816.ebuild:
- Version bump including 2.6.13 and 2.6.13-mm compatibility fix
-
- 11 Jul 2005; Stefan Schweizer <genstef@gentoo.org> files/slmodem-2.9.init,
- slmodem-2.9.9d.ebuild:
- Fix init script problem on livecd and move useage of KV_DIR after
- linux-mod_pkg_setup.
-
- 10 Jul 2005; Daniel Drake <dsd@gentoo.org> slmodem-2.9.9d.ebuild:
- Do linux-mod_pkg_setup after setting variables, fixes config check.
-
- 14 Jun 2005; Stefan Schweizer <genstef@gentoo.org>
- -files/slmodem-2.9.9a-alsa.patch,
- -files/slmodem-usb_endpoint_halted-gentoo.patch,
- -slmodem-2.9.9a-r2.ebuild, -slmodem-2.9.9b.ebuild, slmodem-2.9.9d.ebuild:
- 2.9.9d x86 stable, removing old versions.
-
- 12 Jun 2005; Donnie Berkholz <spyderous@gentoo.org>; metadata.xml:
- Remove myself from metadata since my laptop is broken.
-
- 29 May 2005; Alin Nastac <mrness@gentoo.org>
- +files/slmodem-2.9.9b-gcc4.patch, slmodem-2.9.9b.ebuild,
- slmodem-2.9.9d.ebuild:
- Fix gcc-4.0 compile error (#94279).
-
-*slmodem-2.9.9d (14 May 2005)
-
- 14 May 2005; Stefan Schweizer <genstef@gentoo.org> +slmodem-2.9.9d.ebuild:
- Version bump thanks to [steev] for testing
-
-*slmodem-2.9.9b (14 Mar 2005)
-
- 14 Mar 2005; Stefan Schweizer <genstef@gentoo.org> files/slmodem-2.9.conf,
- files/slmodem-2.9.init, +slmodem-2.9.9b.ebuild:
- Version bump, ebuild cleanup. Thanks to steev <threeway@gmail.com> for testing
-
- 28 Jan 2005; Stefan Schweizer <genstef@gentoo.org>
- slmodem-2.9.9a-r2.ebuild:
- Remove CONFIG_CHECK=SND for bug 79837
-
-*slmodem-2.9.9a-r2 (22 Jan 2005)
-
- 22 Jan 2005; Alin Nastac <mrness@gentoo.org> files/slmodem-2.9.init,
- -slmodem-2.9.9a-r1.ebuild, +slmodem-2.9.9a-r2.ebuild:
- Increase timeout of modem initialisation (see bug #77162).
-
- 22 Jan 2005; Daniel Drake <dsd@gentoo.org> slmodem-2.9.9a-r1.ebuild,
- -slmodem-2.9.9a.ebuild:
- Stable on x86
-
-*slmodem-2.9.9a-r1 (21 Jan 2005)
-
- 21 Jan 2005; Daniel Drake <dsd@gentoo.org> +files/slmodem-2.9.9a-alsa.patch,
- +slmodem-2.9.9a-r1.ebuild:
- Readd ALSA modem fix thanks to Jos Delbar <jos.delbar@ugent.be> in bug 77184
-
- 19 Jan 2005; Daniel Drake <dsd@gentoo.org> -slmodem-2.9.10-r1.ebuild,
- slmodem-2.9.9a.ebuild:
- 2.9.9a stable on x86. Removing 2.9.10 because of licensing issues. There are
- no differences between 2.9.9 and 2.9.10 so moving from 2.9.10-r1 to 2.9.9a
- *can* be considered an upgrade. See bug 77184
-
-*slmodem-2.9.9a (12 Jan 2005)
-
- 12 Jan 2005; Daniel Drake <dsd@gentoo.org>
- -files/slmodem-2.9.10-fix-for-2.6.10.patch,
- -files/slmodem-2.9.10-pci-workaround.patch,
- -files/slmodem-2.9.10-usb_endpoint_halted-gentoo.patch,
- +files/slmodem-usb_endpoint_halted-gentoo.patch, slmodem-2.9.10-r3.ebuild,
- -slmodem-2.9.10-r4.ebuild, +slmodem-2.9.9a.ebuild:
- Revert to 2.9.9 due to licensing issues. This is the linmodems release with
- some ALSA and 2.6.10 fixes included.
-
-*slmodem-2.9.10-r4 (07 Jan 2005)
-
- 07 Jan 2005; Alin Nastac <mrness@gentoo.org>
- +files/slmodem-2.9.10-pci-workaround.patch, -slmodem-2.9.10-r2.ebuild,
- -slmodem-2.9.10-r3.ebuild, +slmodem-2.9.10-r4.ebuild:
- Fix slamr module for kernels >= 2.6.10, thanks to Daniel Drake
- <dsd@gentoo.org>. See bug #75656.
-
-*slmodem-2.9.10-r3 (29 Dec 2004)
-
- 29 Dec 2004; Alin Nastac <mrness@gentoo.org>
- +files/slmodem-2.9.10-fix-for-2.6.10.patch, +slmodem-2.9.10-r3.ebuild:
- Don't install slamr for kernel versions >= 2.6.10 (#75656). Rewrite ebuild
- using linux-mod eclass. Create /dev/ppp device at install time (#75913).
-
- 29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
- Change encoding to UTF-8 for GLEP 31 compliance
-
-*slmodem-2.9.10-r2 (14 Dec 2004)
-
- 14 Dec 2004; Alin Nastac <mrness@gentoo.org>
- -files/slmodem-2.9.10-makefile-fixup.patch,
- +files/slmodem-2.9.10-usb_endpoint_halted-gentoo.patch,
- +files/slusb.hotplug, +slmodem-2.9.10-r2.ebuild:
- Solve undefined symbol error for slusb when is compiled against kernel
- versions >= 2.6.9. See bug #74073.
-
-*slmodem-2.9.10-r2 (14 Dec 2004)
-
- 14 Dec 2004; Alin Nastac <mrness@gentoo.org>
- -files/slmodem-2.9.10-makefile-fixup.patch,
- +files/slmodem-2.9.10-usb_endpoint_halted-gentoo.patch,
- +files/slusb.hotplug, +slmodem-2.9.10-r2.ebuild:
- Solve undefined symbol error for slusb when is compiled against kernel
- versions >= 2.69. See bug #74073.
-
- 05 Dec 2004; Daniel Black <dragonheart@gentoo.org> metadata.xml,
- -files/slmodem-2.9.9-makefile-fixup.patch, files/slmodem-2.9.conf,
- files/slmodem-2.9.init, slmodem-2.9.10-r1.ebuild, -slmodem-2.9.10.ebuild,
- -slmodem-2.9.9-r2.ebuild:
- Old version cleanout. Latest version stable to remove use of kmod eclass. Bug
- #71498 (file permission) problem fixed thanks to Urs Joss <tschenturs@gmx.ch>.
- Bug #60676 alsa compatibility problem fixed thanks to Jos Delbar
- <jos.delbar@ugent.be>. Added herd dialup to maintaince metadata.xml
-
- 25 Oct 2004; Daniel Black <dragonheart@gentoo.org>
- -files/slmodem-2.7.14-makefile-fixup.patch, -files/slmodem-2.7.devfs,
- -files/slmodem-2.7.modules, -slmodem-2.7.14.ebuild,
- slmodem-2.9.10-r1.ebuild:
- Fixed ebuild when USE=-alsa. Thanks to Ryan Finnie
- <gentoo-bugzilla@arrrrrr.com> in bug #68179. Removed old version
-
-*slmodem-2.9.10-r1 (16 Oct 2004)
-
- 16 Oct 2004; Daniel Black <dragonheart@gentoo.org>
- +slmodem-2.9.10-r1.ebuild:
- Changed eclasses and does a few more compatable with later kernel versions.
- Thanks to Stefan Schweizer <sschweizer@gmail.com> in bug #67639
-
- 02 Oct 2004; Daniel Black <dragonheart@gentoo.org>
- files/slmodem-2.9.10-makefile-fixup.patch:
- Fixes compile for 2.4 kernels (bug #65743 and #61825). Thanks to Alin
- Nastac <mrness@gentoo.ro> for the fixed patch
-
-*slmodem-2.9.10 (24 Sep 2004)
-
- 24 Sep 2004; Daniel Black <dragonheart@gentoo.org>
- +files/slmodem-2.9.10-makefile-fixup.patch, +slmodem-2.9.10.ebuild:
- version bump as per bug #65117. Thanks to Alin Nastac <mrness@gentoo.ro>
-
- 20 Aug 2004; Daniel Black <dragonheart@gentoo.org> -slmodem-2.9.9-r1.ebuild,
- slmodem-2.9.9-r2.ebuild:
- removed old 2.9.9-r1. Made slmodem-2.9.9-r2 x86 stabled. Unfortunately due to
- drivers/amrlibs.o and modem/dsplibs.o being precompiled this program won't
- work on other archs. Please direct complaints to vendor
- (sales-corporate@smlink.com, linux-support@smlink.com). Mine was ignored but
- there is power in numbers.
-
- 15 Aug 2004; Daniel Black <dragonheart@gentoo.org> slmodem-2.9.9-r2.ebuild:
- snd-intel8x0m added to hotplug blacklist due to it breaking suspend-to-ram.
- Thanks to Stefan Schweizer <sschweizer@gmail.com>
-
- 14 Aug 2004; Daniel Black <dragonheart@gentoo.org>
- files/slmodem-2.9.9-makefile-fixup.patch:
- Patch missing parenthesis. Thanks spyderous@gentoo.org
-
- 13 Aug 2004; Bryan Østergaard <kloeri@gentoo.org> slmodem-2.9.9-r2.ebuild:
- Fix broken quoting reported by genstef in #gentoo-bugs.
-
-*slmodem-2.9.9-r2 (13 Aug 2004)
-
- 13 Aug 2004; Daniel Black <dragonheart@gentoo.org> files/slmodem-2.9.conf,
- files/slmodem-2.9.init, +slmodem-2.9.9-r2.ebuild, -slmodem-2.9.9.ebuild:
- revision bump - improves init scripts and provides fixes listed in bug #59244.
- Many thank to Stefan Schweizer <sschweizer@gmail.com> who summitted the init
- script and fixes. Thanks also to Christian Roessner <info@roessner-net.com>
- for sumbitting the bug
-
- 02 Aug 2004; Daniel Black <dragonheart@gentoo.org> metadata.xml:
- metadata updated. Dual maintence with spyderous
-
-*slmodem-2.9.9-r1 (02 Aug 2004)
-
- 02 Aug 2004; Daniel Black <dragonheart@gentoo.org>
- -files/slmodem-2.9.7-makefile-fixup.patch, files/slmodem-2.9.conf,
- files/slmodem-2.9.init, -slmodem-2.9.7-r1.ebuild, -slmodem-2.9.7-r2.ebuild,
- -slmodem-2.9.7.ebuild, +slmodem-2.9.9-r1.ebuild:
- fixed initscript installation. Added slmodem_test to the install. Removed
- older buggy versions. Closes bug #58222. Thanks to Stefan Schweizer
- <sschweizer@gmail.com> for the init scripts
-
- 01 Aug 2004; Donnie Berkholz <spyderous@gentoo.org>; files/slmodem-2.9.init,
- slmodem-2.9.9.ebuild:
- init script needs alsasound, not alsa-sound (#59051).
-
- 25 Jul 2004; Daniel Black <dragonheart@gentoo.org> files/slmodem-2.9.conf,
- files/slmodem-2.9.init, slmodem-2.9.9.ebuild:
- Fixes as per bug #58222 (missing README.1ST and bug #47947 (virtual/os-headers
- dependancy). Improved init.d script too. Thanks to Matteo Settenvini and Simon
- Cooper <thecoop@runbox.com>.
-
-*slmodem-2.9.9 (25 Jul 2004)
-
- 25 Jul 2004; Daniel Black <dragonheart@gentoo.org>
- -files/slmodem-2.9.8-makefile-fixup.patch, -files/slmodem-2.9.8-udev.patch,
- +files/slmodem-2.9.9-makefile-fixup.patch, -slmodem-2.9.8.ebuild,
- +slmodem-2.9.9.ebuild:
- removed broken version - 2.9.8. Version bump to 2.9.9 for hardware testing
-
- 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
- slmodem-2.7.14.ebuild, slmodem-2.9.7-r1.ebuild, slmodem-2.9.7-r2.ebuild,
- slmodem-2.9.7.ebuild, slmodem-2.9.8.ebuild:
- virtual/glibc -> virtual/libc
-
-*slmodem-2.9.8 (20 Jun 2004)
-
- 20 Jun 2004; Daniel Black <dragonheart@gentoo.org>
- +files/slmodem-2.9.8-makefile-fixup.patch, +files/slmodem-2.9.8-udev.patch,
- files/slmodem-2.9.init, +slmodem-2.9.8.ebuild:
- Version bump. not fully tested however I'm stuck. Thanks to dsd@gentoo.org for
- the udev patch and the members of bug #47947 for other improvement ideas and
- patches
-
- 08 Jun 2004; Daniel Black <dragonheart@gentoo.org> files/slmodem-2.9.conf,
- files/slmodem-2.9.devfs, files/slmodem-2.9.init, +slmodem-2.9.7-r2.ebuild:
- Fixes and updates as per bug #47947 comments 31,35,36. Thanks to Tod
- Morrison, Miroslaw Mieszczak and Simon Cooper.
-
- 05 Jun 2004; Daniel Black <dragonheart@gentoo.org> slmodem-2.9.7-r1.ebuild:
- Fix according to bug #47947 comment 29 - Thanks Simon.
-
- 05 Jun 2004; Daniel Black <dragonheart@gentoo.org> slmodem-2.9.7-r1.ebuild:
- added depmod -a in post_install
-
-*slmodem-2.9.7-r1 (05 Jun 2004)
-
- 05 Jun 2004; Daniel Black <dragonheart@gentoo.org> files/slmodem-2.9.conf,
- files/slmodem-2.9.devfs, files/slmodem-2.9.init, files/slmodem-2.9.modules,
- +slmodem-2.9.7-r1.ebuild:
- More fixes according to bug #47947. Thanks to Miroslaw Mieszczak, Stefan
- Briesenick and Simon Cooper
-
-*slmodem-2.9.7 (23 May 2004)
-
- 23 May 2004; Daniel Black <dragonheart@gentoo.org>
- +files/slmodem-2.9.7-makefile-fixup.patch, +files/slmodem-2.9.conf,
- +files/slmodem-2.9.devfs, +files/slmodem-2.9.init,
- +files/slmodem-2.9.modules, +slmodem-2.9.7.ebuild:
- Added version bump (bug #47947). Thanks to Simon Cooper <thecoop@runbox.com>
- and Mark Wagner <mark+gentoo@lanfear.net>
-
- 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> slmodem-2.7.14.ebuild:
- Add inherit eutils
-
- 06 Mar 2004; Heinrich Wendel <lanius@gentoo.org> files/slmodem-2.7.modules:
- fix modules.d file (bug #40834)
-
- 14 Dec 2003; Donnie Berkholz <spyderous@gentoo.org>; slmodem-2.7.14.ebuild:
- Fixup for people not using devfs.
-
- 14 Dec 2003; Donnie Berkholz <spyderous@gentoo.org>; slmodem-2.7.14.ebuild:
- Stable on x86.
-
- 14 Dec 2003; Donnie Berkholz <spyderous@gentoo.org>; slmodem-2.7.14.ebuild:
- Adding virtual/glibc to RDEPEND.
-
-*slmodem-2.7.14 (29 Oct 2003)
-
- 29 Oct 2003; Donnie Berkholz <spyderous@gentoo.org>; metadata.xml,
- slmodem-2.7.14.ebuild, files/slmodem-2.7.14-makefile-fixup.patch,
- files/slmodem-2.7.devfs, files/slmodem-2.7.modules:
- Initial commit. I wrote the ebuild.
-
diff --git a/net-dialup/slmodem/Manifest b/net-dialup/slmodem/Manifest
deleted file mode 100644
index 7d1f6cbce0d8..000000000000
--- a/net-dialup/slmodem/Manifest
+++ /dev/null
@@ -1,29 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX slmodem-2.9.11-alsa-period-size.patch 543 RMD160 233871b317df9c89751369f62cdd4198e9f47c84 SHA1 9c82d034873d1e472d48a240c955c457f84aa8d4 SHA256 48d3e09cc3e093dcea8985bfe297c3880e334b76a92d983e4333f03b4426d786
-AUX slmodem-2.9.11-create-mode.patch 457 RMD160 6c05cd4e87346296a1393c11d44e3742345addec SHA1 adad0ae686deeaed769d2adc374535d16df89be4 SHA256 bc9c5d2cf92841cd6a3edb96953441e2260207a5295724dbfe4cd9f53df79e69
-AUX slmodem-2.9.11-makefile-r1.patch 1323 RMD160 63470a48371f80a95c2e23f7f80986b8b5352e80 SHA1 c1f671e865078b52d35af2f9cb6d2811ece615ef SHA256 4e2a7b86dc3922189f400eeb4c4c7d212931700d96bd99e6ab83aadfb103bb8b
-AUX slmodem-confd 800 RMD160 7c5460263589cb8b384353484d08b100bdc5b8d2 SHA1 5a734d9121aed93aa40b9620a452b9ec08e30461 SHA256 f430a8bb00aa4ee3cda98ad9fee99125e16727064d0568709740b710ed3525c8
-AUX slmodem-initd 2150 RMD160 555400137ea686b7aabe8094f7df1d95fb47ad75 SHA1 aeefb115e753e49b6b3196ebbdb00e581ae82551 SHA256 f3bd184b5e6d500040bb6e437538ea38bf8207fd2d2808d0af2af0c5a2c270bd
-AUX slmodem-modprobe 105 RMD160 c40095b37f1ed4845dd41b72f969a25ceda27c50 SHA1 cdef71f168f3afd75860bafd58f46cb50f9d59af SHA256 6af712d27b2b218723788914ab30f52be231c811f547f5018a9919b2d0cddca0
-AUX slmodem-modules 640 RMD160 a25293786993d2d31e9c28654707d888754fda96 SHA1 b0392e449e7ef7a2bb305a5ee485c33a55b78011 SHA256 4294828807f82e0451e9f7fdf178f29eb58406d275a0fb5ec9977eb2cc5f72f8
-AUX slmodem-ungrab-winmodem-hp500.patch 1096 RMD160 8f1f16841e02b1473748452a3fd28544e2a41ac7 SHA1 3cb29893ba6507de2c5933fe1f3191ffdacf3bdb SHA256 6e95b2c8c47002016f491d02edd348d8883a2ffc522d90f37b14739158d24cf7
-AUX slusb-udev.script 257 RMD160 62a2d7d4ec28622e89b0dfb045b570a2687e1c9a SHA1 8f3e63fc953d036fcc47755ec399a6510cf22ce3 SHA256 e93d7a46309898cb6e578f5e56e8b25753b4c371260466b10875034cca96480a
-DIST slmodem-2.9.11-20080417.tar.gz 994453 RMD160 66f154382ce2a4a8e90193b96c9e7f9f6698835d SHA1 775b63b6140cd591338eecc9792d5e527f43f679 SHA256 8e2bdb5ef93961743368b3248cfc56ddc7c37140b67b8c0cc9d627a4489ed45e
-DIST slmodem-2.9.11-20080817.tar.gz 993873 RMD160 c13ed62dfaab437efda652ed63cff20a152b6765 SHA1 7838f19a32077ed5e0ecbfe06232a3840888c5eb SHA256 2d5e5005f19cd6bc9a24e22ca533babb8c26e94db8bbc81d81ac4732c853a252
-DIST slmodem-2.9.11-20090222.tar.gz 998461 RMD160 2a0a3948e3845803eb8ac16474a7af87ad3954ab SHA1 bbe0f07e835c1f4258ad21fe117efa98ac3348d6 SHA256 1bb226b2076c72918befe2ad672dcff6d2dcbab204a02f863077c9789daf30d8
-DIST ungrab-winmodem-2.9.11-20080126.tar.gz 2334 RMD160 1f738efc75e6907b63fb664dd6cfcfc4e9a96b7f SHA1 2678bb8995dd1b355a5fc20f2217919b8517ef66 SHA256 3d50bd46884216ea32306a7dcdddaad7910242bd7dfdef44a92fa12b5f5d3609
-DIST ungrab-winmodem-20080126.tar.gz 2329 RMD160 401e853d95742ccfcc10edbd8885e304a0c21f35 SHA1 ddc8fbcbf5417f43aed7f8b01cf062340f45fd08 SHA256 b4d3330016df3f83fcbea8ee1bb421395b43d4baace5ae71f0e04de6620cf186
-EBUILD slmodem-2.9.11_pre20080417.ebuild 4964 RMD160 937277300271da59328707df9d9da0c696da8d1c SHA1 928ba554b303f0e41df05cd920a24ba479dc8928 SHA256 135f44133ea5ff4b5fcf0c678566da0232a9782ef1095c345600e5f2970a8005
-EBUILD slmodem-2.9.11_pre20080817.ebuild 4960 RMD160 03be6541ad29eb09c4b14b0fe8ba9784a12af2d8 SHA1 5b5f1f11c41c29c99a6620c989da3ee94831ede4 SHA256 1039625c07f6280557e20d48433d1dc91f4f4136b1ea86a0f799dd266450cd76
-EBUILD slmodem-2.9.11_pre20090222-r1.ebuild 4823 RMD160 420a12af476ee79abfc2e2bba7b52dba0c4f83d5 SHA1 9bb59bc16c7e307189a0b245d03892a1677880ba SHA256 6415049de7e24b4cd8500536cda0bf87265c6523a5d053ea21e65f5465b0ce49
-MISC ChangeLog 22428 RMD160 482a698f34cecd7e7a6308e205e5a0e449c97dac SHA1 cae7d1da63f30086766c62879d198317b8fe1222 SHA256 1b7487d06611bdd6be2c264a1c0aaac615d8deaf643207bcb9105cb0f1f255be
-MISC metadata.xml 163 RMD160 df94c60cc0bb7abe5913b464a33966b142b2fe1e SHA1 d8332605fd22c32f15438bbdf24aa622c3d2738a SHA256 1137a0fd866641cf719b0c2e9e77ca9fa4541a42f2cc851fe4659cf2677acca3
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
-
-iEYEARECAAYFAko9SxoACgkQts85UDFmaOW/FACdGg6cUgYvYQvk6hYEWU+VzPG8
-7NAAnjKfS6OWvFrIpoewA3QLQ0Zf8qeF
-=jJAx
------END PGP SIGNATURE-----
diff --git a/net-dialup/slmodem/files/slmodem-2.9.11-alsa-period-size.patch b/net-dialup/slmodem/files/slmodem-2.9.11-alsa-period-size.patch
deleted file mode 100644
index 59016063e2f8..000000000000
--- a/net-dialup/slmodem/files/slmodem-2.9.11-alsa-period-size.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -rud slmodem-2.9.11-20060727-orig/modem/modem_main.c slmodem-2.9.11-20060727/modem/modem_main.c
---- slmodem-2.9.11-20060727-orig/modem/modem_main.c 2005-09-22 10:05:27.000000000 -0300
-+++ slmodem-2.9.11-20060727/modem/modem_main.c 2007-07-10 14:37:33.000000000 -0300
-@@ -379,7 +379,7 @@
- ERR("cannot set periods for %s: %s\n", stream_name, snd_strerror(err));
- return err;
- }
-- if ( rsize != size ) {
-+ if ( rsize < size ) {
- ERR("period size %ld is not supported by %s (%ld).\n",
- size, stream_name, rsize);
- return -1;
diff --git a/net-dialup/slmodem/files/slmodem-2.9.11-create-mode.patch b/net-dialup/slmodem/files/slmodem-2.9.11-create-mode.patch
deleted file mode 100644
index c7f146f4d771..000000000000
--- a/net-dialup/slmodem/files/slmodem-2.9.11-create-mode.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Nru slmodem-2.9.11-20080817.orig/modem/modem_datafile.c slmodem-2.9.11-20080817/modem/modem_datafile.c
---- slmodem-2.9.11-20080817.orig/modem/modem_datafile.c 2008-03-29 12:04:16.000000000 +0000
-+++ slmodem-2.9.11-20080817/modem/modem_datafile.c 2009-03-03 22:02:01.000000000 +0000
-@@ -111,7 +111,7 @@
- int ret = -1;
- int fd;
-
-- fd = open(file_name,O_CREAT|O_WRONLY);
-+ fd = open(file_name,O_CREAT|O_WRONLY, 0600);
- if(fd < 0)
- return -errno;
-
diff --git a/net-dialup/slmodem/files/slmodem-2.9.11-makefile-r1.patch b/net-dialup/slmodem/files/slmodem-2.9.11-makefile-r1.patch
deleted file mode 100644
index cfac3030ac4e..000000000000
--- a/net-dialup/slmodem/files/slmodem-2.9.11-makefile-r1.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-diff -Nru slmodem-2.9.11-20080417.orig/modem/Makefile slmodem-2.9.11-20080417/modem/Makefile
---- slmodem-2.9.11-20080417.orig/modem/Makefile 2008-04-18 06:06:17.000000000 +0300
-+++ slmodem-2.9.11-20080417/modem/Makefile 2008-05-19 23:18:45.000000000 +0300
-@@ -16,15 +16,15 @@
- ARCH64:=$(shell uname -m | sed -e '/amd64/s//x86_64/' | grep -c x86_64)
-
- ifeq ($(ARCH64), 0)
--CC:= gcc
-+CC?= gcc
- else
- # SUPPORT_ALSA:=1
--CC:= gcc -m32
-+CC?= gcc -m32
- endif
-
- RM:= rm -f
-
--CFLAGS+= -Wall -g -O -I. -DCONFIG_DEBUG_MODEM
-+CFLAGS+= -Wall -finline -I. -DCONFIG_DEBUG_MODEM
-
- modem-objs:= \
- modem.o modem_datafile.o modem_at.o modem_timer.o \
-@@ -42,18 +42,18 @@
- ifdef SUPPORT_ALSA
- CFLAGS+= -DSUPPORT_ALSA=1
- ifeq ($(ARCH64), 0)
--LFLAGS+= /usr/lib/libasound.so
-+LDLIBS+= /usr/lib/libasound.so
- else
- # LFLAGS+= /usr/lib32/libasound.so , replaced by -l commands search for asound
--LFLAGS+= -lasound
-+LDLIBS+= -lasound
- endif
- endif
-
- slmodemd:
-- $(CC) -o slmodemd modem_main.o $(all-objs) $(LFLAGS)
-+ $(CC) $(LDFLAGS) -o slmodemd modem_main.o $(all-objs) $(LDLIBS)
-
- modem_test:
-- $(CC) -o modem_test modem_test.o $(all-objs) $(LFLAGS)
-+ $(CC) $(LDFLAGS) -o modem_test modem_test.o $(all-objs) $(LDLIBS)
-
- clean:
- $(RM) slmodemd modem_test modem_main.o modem_cmdline.o modem_test.o $(modem-objs) $(dp-objs) $(sysdep-objs)
diff --git a/net-dialup/slmodem/files/slmodem-confd b/net-dialup/slmodem/files/slmodem-confd
deleted file mode 100644
index a4f3bd1d692b..000000000000
--- a/net-dialup/slmodem/files/slmodem-confd
+++ /dev/null
@@ -1,37 +0,0 @@
-# Config file for /etc/init.d/slmodemd
-
-DEV=/dev/ttySL0
-COUNTRY=USA
-GROUP=dialout
-# the group should be kept in sync with:
-# /etc/devfs.d/slmodem (devfs)
-# /etc/udev/rules.d/55-slmodem.rules (udev)
-
-# The following symlink will be created if uncommented
-LN_DEV=/dev/modem
-
-# Raise priority to reduce modem dropouts
-NICE=-6
-
-# ALSA Options:
-
-# The following sets the ALSA (alsasound) init script to
-# be a dependancy of the slmodem one. It does also provides
-# ALSA support.
-# MODULE=alsa
-
-# The modem hardware slot
-# use "modem:0", "modem:1", etc.
-# usually modem:1 is used
-# HW_SLOT=modem:1
-
-# Non-ALSA OPTIONS:
-
-# MODULE=slamr
-# or
-# MODULE=slusb
-
-# Include extra slmodemd options here:
-# -r = enables ring detection (needed for Hylafax faxgetty to answer)
-# -l 5 = Logging Level
-SLMODEM_OPTS=""
diff --git a/net-dialup/slmodem/files/slmodem-initd b/net-dialup/slmodem/files/slmodem-initd
deleted file mode 100644
index 3f6456ba8559..000000000000
--- a/net-dialup/slmodem/files/slmodem-initd
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2 or later
-
-if [ "${MODULE}" = "alsa" ]; then
- needalsasound="alsasound"
-fi
-depend() {
- need logger $needalsasound
-}
-
-
-checkconfig() {
- if [ -z "${COUNTRY}" ]; then
- eerror "You need to config /etc/conf.d/slmodem first"
- return 1
- fi
-}
-
-loadsalsa() {
- ebegin "Starting slmodemd for ${DEV}"
- start-stop-daemon --start --background --nicelevel=${NICE} --make-pidfile \
- --pidfile /var/run/slmodemd.pid --startas /usr/sbin/slmodemd \
- -- -country=${COUNTRY} -g=${GROUP} ${SLMODEM_OPTS} --alsa ${HW_SLOT}
- return ${?}
-}
-
-loadsmodule() {
- modprobe ${MODULE}
-
- if [ "$?" -gt 0 ]; then
- eerror "Missing ${MODULE}. Please set up /etc/conf.d/slmodem"
- return 1;
- fi
-
- if [ -z "${MDEV}" ]; then MDEV="/dev/${MODULE}0"; fi
- if [ ! -c "${MDEV}" ]; then
- case ${MODULE} in
- slamr)
- mknod ${MDEV} c 242 0
- ;;
- slusb)
- mknod ${MDEV} c 243 0
- ;;
- esac
- fi
-
- ebegin "Starting slmodemd for ${DEV}"
- start-stop-daemon --start --background --nicelevel=${NICE} --make-pidfile \
- --pidfile /var/run/slmodemd.pid --startas /usr/sbin/slmodemd \
- -- -country=${COUNTRY} -g=${GROUP} ${SLMODEM_OPTS} ${MDEV}
- return ${?}
-}
-
-start() {
-
- checkconfig || return 1
- if [ ! -c /dev/ppp ]; then mknod /dev/ppp c 108 0; fi
-
- # either if we use alsa or not, the only thing we need is
- # ttySL0, which is created by slmodemd when started (points to a pts)
-
- if [ "${MODULE}" = "alsa" ]; then
- loadsalsa
- else
- loadsmodule
- fi
-
- result=${?}
-
- test ! -z "${LN_DEV}" && /bin/ln -s ${DEV} ${LN_DEV} 2> /dev/null
-
- eend ${result}
-}
-
-stop() {
- ebegin "Shutting down slmodemd"
- start-stop-daemon --stop --quiet --pidfile /var/run/slmodemd.pid
- result=${?}
- [ -e /var/run/slmodemd.pid ] && rm /var/run/slmodemd.pid
- unlink ${LN_DEV} 2> /dev/null
- eend ${result}
- if [ ! "${MODULE}" = "alsa" ]; then
- ebegin "Waiting for ${MODULE} modem driver unload..."
- for a in $(seq 0 2); do
- sleep 1
- echo -n "."
- modprobe -r slamr 2> /dev/null && result=0
- done
- if [ "$RC_NOCOLOR" != "yes" ]; then echo; fi
- eend ${result}
- fi
-}
diff --git a/net-dialup/slmodem/files/slmodem-modprobe b/net-dialup/slmodem/files/slmodem-modprobe
deleted file mode 100644
index 9007e3de3223..000000000000
--- a/net-dialup/slmodem/files/slmodem-modprobe
+++ /dev/null
@@ -1,4 +0,0 @@
-# slmodem 2.9.x kernel modules configuration file
-
-alias char-major-242 slamr
-alias char-major-243 slusb
diff --git a/net-dialup/slmodem/files/slmodem-modules b/net-dialup/slmodem/files/slmodem-modules
deleted file mode 100644
index c751b6ccb47a..000000000000
--- a/net-dialup/slmodem/files/slmodem-modules
+++ /dev/null
@@ -1,13 +0,0 @@
-# slmodem 2.9.x kernel modules' configuration file
-
-alias char-major-242 slamr
-alias char-major-243 slusb
-
-# If you see message like this in dmesg output:
-# device 10b9:5457 is grabbed by driver serial
-# then try uncommenting the two lines at the bottom, run update-modules and reboot.
-# After reboot, check dmesg output again, you should see a message like this instead:
-# device 10b9:5457 is grabbed by driver serial: try to release
-
-# install slamr modprobe --ignore-install ungrab-winmodem ; sleep 5 ; modprobe --ignore-install slamr
-# install slusb modprobe --ignore-install ungrab-winmodem ; sleep 5 ; modprobe --ignore-install slusb
diff --git a/net-dialup/slmodem/files/slmodem-ungrab-winmodem-hp500.patch b/net-dialup/slmodem/files/slmodem-ungrab-winmodem-hp500.patch
deleted file mode 100644
index 3d4461a69539..000000000000
--- a/net-dialup/slmodem/files/slmodem-ungrab-winmodem-hp500.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- ungrab-winmodem-20070505/ungrab-winmodem.c 2007-05-11 13:15:25.000000000 +0200
-+++ ungrab-winmodem-20070505/ungrab-winmodem.c 2007-05-11 13:14:40.000000000 +0200
-@@ -20,6 +20,7 @@
- #include <linux/pci.h>
- #include <linux/kernel.h>
-
-+#define PCI_DEVICE_ID_HP5457 0x266d
- #define PCI_DEVICE_ID_ALI5457 0x5457
- #define PCI_DEVICE_ID_ALI5459 0x5459
- #define PCI_DEVICE_ID_ALI545A 0x545A
-@@ -28,6 +29,7 @@
- #define PCI_VENDOR_ID_SMARTLINK_1 0x163c
- #define PCI_VENDOR_ID_SMARTLINK_2 0x10a5
- #define PCI_VENDOR_ID_SMARTLINK_3 0x2003
-+#define PCI_VENDOR_ID_SMARTLINK_4 0x8086
- #define PCI_DEVICE_ID_SL2800 0x2800
- #define PCI_DEVICE_ID_SL1900 0x3052
- #define PCI_DEVICE_ID_ND92XPA 0x8800 /* ND92XPA */
-@@ -48,6 +50,8 @@
- {PCI_VENDOR_ID_SMARTLINK, PCI_DEVICE_ID_SL2800, PCI_ANY_ID, PCI_ANY_ID },
- /* 2003:8800 */
- {PCI_VENDOR_ID_SMARTLINK_3, PCI_DEVICE_ID_ND92XPA, PCI_ANY_ID, PCI_ANY_ID },
-+ /* 266d:8086 */
-+ {PCI_VENDOR_ID_SMARTLINK_4, PCI_DEVICE_ID_HP5457, PCI_ANY_ID, PCI_ANY_ID },
- /* pctel HSP1688 */
- { 0x134d, 0x2189, PCI_ANY_ID, PCI_ANY_ID },
- {0,}
diff --git a/net-dialup/slmodem/files/slusb-udev.script b/net-dialup/slmodem/files/slusb-udev.script
deleted file mode 100644
index 240dab2c9876..000000000000
--- a/net-dialup/slmodem/files/slusb-udev.script
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-script /etc/init.d/slmodem
-source /etc/conf.d/slmodem
-
-if [ -z "${USBMOD}" ] ; then
- MODULE="slusb"
-else
- MODULE=${USBMOD}
-fi
-
-if $script --quiet status; then
- $script stop
-elif
- ! $script --quiet status; then
- $script start
-fi
diff --git a/net-dialup/slmodem/metadata.xml b/net-dialup/slmodem/metadata.xml
deleted file mode 100644
index 1e11e7bbd01b..000000000000
--- a/net-dialup/slmodem/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/slmodem/slmodem-2.9.11_pre20080417.ebuild b/net-dialup/slmodem/slmodem-2.9.11_pre20080417.ebuild
deleted file mode 100644
index 4150eba36d0b..000000000000
--- a/net-dialup/slmodem/slmodem-2.9.11_pre20080417.ebuild
+++ /dev/null
@@ -1,166 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/slmodem/slmodem-2.9.11_pre20080417.ebuild,v 1.4 2009/03/13 20:33:32 mrness Exp $
-
-inherit eutils linux-mod multilib
-
-UNGRAB_PV="2.9.11-20080126"
-
-DESCRIPTION="Driver for Smart Link modem"
-HOMEPAGE="http://linmodems.technion.ac.il/packages/smartlink/"
-SRC_URI="http://linmodems.technion.ac.il/packages/smartlink/${P/_pre/-}.tar.gz
- http://linmodems.technion.ac.il/packages/smartlink/ungrab-winmodem-${UNGRAB_PV}.tar.gz"
-
-LICENSE="Smart-Link"
-SLOT="0"
-KEYWORDS="-* ~amd64 x86"
-IUSE="alsa usb"
-
-DEPEND="alsa? ( media-libs/alsa-lib )
- amd64? ( app-emulation/emul-linux-x86-soundlibs )"
-
-RDEPEND="${DEPEND}
- virtual/logger"
-
-QA_EXECSTACK="usr/sbin/slmodem_test usr/sbin/slmodemd"
-
-S="${WORKDIR}"/${P/_pre/-}
-
-pkg_setup() {
- use amd64 && multilib_toolchain_setup x86
-
- MODULE_NAMES="ungrab-winmodem(:${WORKDIR}/ungrab-winmodem-${UNGRAB_PV})"
- CONFIG_CHECK=""
- MY_SLMODULES=""
- if ! use amd64; then
- MODULE_NAMES="${MODULE_NAMES} slamr(net:${S}/drivers)"
- MY_SLMODULES="${MY_SLMODULES} slamr.o"
- fi
- if kernel_is ge 2 6 25; then
- if use usb; then
- ewarn "slusb module will not be installed because is not compatible with kernels >=2.6.25"
- fi
- elif use usb; then
- MODULE_NAMES="${MODULE_NAMES} slusb(net:${S}/drivers)"
- CONFIG_CHECK="${CONFIG_CHECK} USB"
- MY_SLMODULES="${MY_SLMODULES} slusb.o"
- fi
- BUILD_TARGETS="all"
- if kernel_is ge 2 6 24; then
- CONFIG_CHECK="${CONFIG_CHECK} PCI_LEGACY"
- fi
- linux-mod_pkg_setup
- BUILD_PARAMS="KERNEL_DIR=${KV_OUT_DIR}"
-}
-
-src_unpack() {
- unpack ${A}
- cd "${WORKDIR}"
- sed -i "s:SUBDIRS=\$(shell pwd):SUBDIRS=${WORKDIR}/ungrab-winmodem-${UNGRAB_PV}:" \
- ungrab-winmodem-${UNGRAB_PV}/Makefile
- convert_to_m ungrab-winmodem-${UNGRAB_PV}/Makefile
-
- cd "${WORKDIR}/ungrab-winmodem-${UNGRAB_PV}"
- epatch "${FILESDIR}"/${PN}-ungrab-winmodem-hp500.patch
-
- cd "${S}"
- epatch "${FILESDIR}/${P%%_*}-makefile-r1.patch"
- epatch "${FILESDIR}/${P%%_*}-alsa-period-size.patch"
-
- cd "${S}"/drivers
- sed -i -e "s:SUBDIRS=\$(shell pwd):SUBDIRS=${S}/drivers:" \
- -e "s|^obj-m:=.*$|obj-m:=${MY_SLMODULES}|" \
- Makefile
- convert_to_m Makefile
- sed -i "s:.*=[ \t]*THIS_MODULE.*::" st7554.c amrmo_init.c old_st7554.c
- sed -i 's:MODULE_PARM(\([^,]*\),"i");:module_param(\1, int, 0);:' st7554.c \
- amrmo_init.c old_st7554.c
-}
-
-src_compile() {
- local MAKE_PARAMS=""
- if use alsa; then
- MAKE_PARAMS="SUPPORT_ALSA=1"
- fi
- emake ${MAKE_PARAMS} modem || die "failed to build modem"
-
- use amd64 && multilib_toolchain_setup amd64
- linux-mod_src_compile
-}
-
-src_install() {
- linux-mod_src_install
-
- cd "${S}"
- newsbin modem/modem_test slmodem_test
- dosbin modem/slmodemd
- dodir /var/lib/slmodem
- fowners root:dialout /var/lib/slmodem
- keepdir /var/lib/slmodem
-
- newconfd "${FILESDIR}/slmodem-confd" ${PN}
- newinitd "${FILESDIR}/slmodem-initd" ${PN}
-
- # configure for alsa - or not for alsa
- if use alsa; then
- sed -i -e "s/# MODULE=alsa/MODULE=alsa/" \
- -e "s/# HW_SLOT=modem:1/HW_SLOT=modem:1/" "${D}/etc/conf.d/slmodem"
- elif use usb; then
- sed -i "s/# MODULE=slusb/MODULE=slusb/" "${D}/etc/conf.d/slmodem"
- else
- sed -i "s/# MODULE=slamr/MODULE=slamr/" "${D}/etc/conf.d/slmodem"
- fi
-
- # Add module aliases
- insinto /etc/modprobe.d/
- newins "${FILESDIR}/slmodem-modprobe" ${PN}
-
- # Add configuration for udev
- dodir /etc/udev/rules.d/
- echo 'KERNEL=="slamr", NAME="slamr0" GROUP="dialout"' > \
- "${D}/etc/udev/rules.d/55-${PN}.rules"
- if use usb; then
- exeinto /$(get_libdir)/udev
- newexe "${FILESDIR}/slusb-udev.script" slmodem_usb.sh
- echo 'KERNEL=="slusb", NAME="slusb0" GROUP="dialout" RUN+="slmodem_usb.sh"' >> \
- "${D}/etc/udev/rules.d/55-${PN}.rules"
- fi
-
- dodoc Changes README
- newdoc "${WORKDIR}"/ungrab-winmodem-${UNGRAB_PV}/Readme.txt README-ungrab-winmodem.txt
-}
-
-pkg_postinst() {
- linux-mod_pkg_postinst
-
- # Make some devices if we aren't using devfs or udev
- if [ -e "${ROOT}/dev/.udev" ]; then
- ebegin "Reloading udev rules..."
- udevadm control --reload-rules
- eend $?
- else
- cd "${S}/drivers"
- make DESTDIR="${ROOT}" install-devices
- fi
-
- ewarn "To avoid problems, slusb/slamr have been blacklisted in /etc/modprobe.d/${PN}"
- elog "You must edit /etc/conf.d/${PN} for your configuration"
- elog "To add slmodem to your startup - type : rc-update add slmodem default"
- elog
-
- if use alsa; then
- elog "I hope you have already added alsa to your startup: "
- elog "otherwise type: rc-update add alsasound boot"
- elog
- elog "If you need to use snd-intel8x0m from the kernel"
- elog "compile it as a module and edit /etc/modules.d/alsa"
- elog 'to: "alias snd-card-(number) snd-intel8x0m"'
- elog
- fi
-
- elog "You need to be in the uucp AND dialout group to make calls as a user."
- elog
- elog "If you see the following in dmesg:"
- elog " slamr: device 10b9:5457 is grabbed by driver serial"
- elog "you need to modprobe ungrab-winmodem before slamr"
-}
diff --git a/net-dialup/slmodem/slmodem-2.9.11_pre20080817.ebuild b/net-dialup/slmodem/slmodem-2.9.11_pre20080817.ebuild
deleted file mode 100644
index d8d5ab2763a0..000000000000
--- a/net-dialup/slmodem/slmodem-2.9.11_pre20080817.ebuild
+++ /dev/null
@@ -1,166 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/slmodem/slmodem-2.9.11_pre20080817.ebuild,v 1.2 2009/03/13 20:09:20 mrness Exp $
-
-inherit eutils linux-mod multilib
-
-UNGRAB_PV="2.9.11-20080126"
-
-DESCRIPTION="Driver for Smart Link modem"
-HOMEPAGE="http://linmodems.technion.ac.il/packages/smartlink/"
-SRC_URI="http://linmodems.technion.ac.il/packages/smartlink/${P/_pre/-}.tar.gz
- http://linmodems.technion.ac.il/packages/smartlink/ungrab-winmodem-${UNGRAB_PV}.tar.gz"
-
-LICENSE="Smart-Link"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE="alsa usb"
-
-DEPEND="alsa? ( media-libs/alsa-lib )
- amd64? ( app-emulation/emul-linux-x86-soundlibs )"
-
-RDEPEND="${DEPEND}
- virtual/logger"
-
-QA_EXECSTACK="usr/sbin/slmodem_test usr/sbin/slmodemd"
-
-S="${WORKDIR}"/${P/_pre/-}
-
-pkg_setup() {
- use amd64 && multilib_toolchain_setup x86
-
- MODULE_NAMES="ungrab-winmodem(:${WORKDIR}/ungrab-winmodem-${UNGRAB_PV})"
- CONFIG_CHECK=""
- MY_SLMODULES=""
- if ! use amd64; then
- MODULE_NAMES="${MODULE_NAMES} slamr(net:${S}/drivers)"
- MY_SLMODULES="${MY_SLMODULES} slamr.o"
- fi
- if kernel_is ge 2 6 25; then
- if use usb; then
- ewarn "slusb module will not be installed because is not compatible with kernels >=2.6.25"
- fi
- elif use usb; then
- MODULE_NAMES="${MODULE_NAMES} slusb(net:${S}/drivers)"
- CONFIG_CHECK="${CONFIG_CHECK} USB"
- MY_SLMODULES="${MY_SLMODULES} slusb.o"
- fi
- BUILD_TARGETS="all"
- if kernel_is ge 2 6 24; then
- CONFIG_CHECK="${CONFIG_CHECK} PCI_LEGACY"
- fi
- linux-mod_pkg_setup
- BUILD_PARAMS="KERNEL_DIR=${KV_OUT_DIR}"
-}
-
-src_unpack() {
- unpack ${A}
- cd "${WORKDIR}"
- sed -i "s:SUBDIRS=\$(shell pwd):SUBDIRS=${WORKDIR}/ungrab-winmodem-${UNGRAB_PV}:" \
- ungrab-winmodem-${UNGRAB_PV}/Makefile
- convert_to_m ungrab-winmodem-${UNGRAB_PV}/Makefile
-
- cd "${WORKDIR}/ungrab-winmodem-${UNGRAB_PV}"
- epatch "${FILESDIR}"/${PN}-ungrab-winmodem-hp500.patch
-
- cd "${S}"
- epatch "${FILESDIR}/${P%%_*}-makefile-r1.patch"
- epatch "${FILESDIR}/${P%%_*}-create-mode.patch"
-
- cd "${S}"/drivers
- sed -i -e "s:SUBDIRS=\$(shell pwd):SUBDIRS=${S}/drivers:" \
- -e "s|^obj-m:=.*$|obj-m:=${MY_SLMODULES}|" \
- Makefile
- convert_to_m Makefile
- sed -i "s:.*=[ \t]*THIS_MODULE.*::" st7554.c amrmo_init.c old_st7554.c
- sed -i 's:MODULE_PARM(\([^,]*\),"i");:module_param(\1, int, 0);:' st7554.c \
- amrmo_init.c old_st7554.c
-}
-
-src_compile() {
- local MAKE_PARAMS=""
- if use alsa; then
- MAKE_PARAMS="SUPPORT_ALSA=1"
- fi
- emake ${MAKE_PARAMS} modem || die "failed to build modem"
-
- use amd64 && multilib_toolchain_setup amd64
- linux-mod_src_compile
-}
-
-src_install() {
- linux-mod_src_install
-
- cd "${S}"
- newsbin modem/modem_test slmodem_test
- dosbin modem/slmodemd
- dodir /var/lib/slmodem
- fowners root:dialout /var/lib/slmodem
- keepdir /var/lib/slmodem
-
- newconfd "${FILESDIR}/slmodem-confd" ${PN}
- newinitd "${FILESDIR}/slmodem-initd" ${PN}
-
- # configure for alsa - or not for alsa
- if use alsa; then
- sed -i -e "s/# MODULE=alsa/MODULE=alsa/" \
- -e "s/# HW_SLOT=modem:1/HW_SLOT=modem:1/" "${D}/etc/conf.d/slmodem"
- elif use usb; then
- sed -i "s/# MODULE=slusb/MODULE=slusb/" "${D}/etc/conf.d/slmodem"
- else
- sed -i "s/# MODULE=slamr/MODULE=slamr/" "${D}/etc/conf.d/slmodem"
- fi
-
- # Add module aliases
- insinto /etc/modprobe.d/
- newins "${FILESDIR}/slmodem-modprobe" ${PN}
-
- # Add configuration for udev
- dodir /etc/udev/rules.d/
- echo 'KERNEL=="slamr", NAME="slamr0" GROUP="dialout"' > \
- "${D}/etc/udev/rules.d/55-${PN}.rules"
- if use usb; then
- exeinto /$(get_libdir)/udev
- newexe "${FILESDIR}/slusb-udev.script" slmodem_usb.sh
- echo 'KERNEL=="slusb", NAME="slusb0" GROUP="dialout" RUN+="slmodem_usb.sh"' >> \
- "${D}/etc/udev/rules.d/55-${PN}.rules"
- fi
-
- dodoc Changes README
- newdoc "${WORKDIR}"/ungrab-winmodem-${UNGRAB_PV}/Readme.txt README-ungrab-winmodem.txt
-}
-
-pkg_postinst() {
- linux-mod_pkg_postinst
-
- # Make some devices if we aren't using devfs or udev
- if [ -e "${ROOT}/dev/.udev" ]; then
- ebegin "Reloading udev rules..."
- udevadm control --reload-rules
- eend $?
- else
- cd "${S}/drivers"
- make DESTDIR="${ROOT}" install-devices
- fi
-
- ewarn "To avoid problems, slusb/slamr have been blacklisted in /etc/modprobe.d/${PN}"
- elog "You must edit /etc/conf.d/${PN} for your configuration"
- elog "To add slmodem to your startup - type : rc-update add slmodem default"
- elog
-
- if use alsa; then
- elog "I hope you have already added alsa to your startup: "
- elog "otherwise type: rc-update add alsasound boot"
- elog
- elog "If you need to use snd-intel8x0m from the kernel"
- elog "compile it as a module and edit /etc/modules.d/alsa"
- elog 'to: "alias snd-card-(number) snd-intel8x0m"'
- elog
- fi
-
- elog "You need to be in the uucp AND dialout group to make calls as a user."
- elog
- elog "If you see the following in dmesg:"
- elog " slamr: device 10b9:5457 is grabbed by driver serial"
- elog "you need to modprobe ungrab-winmodem before slamr"
-}
diff --git a/net-dialup/slmodem/slmodem-2.9.11_pre20090222-r1.ebuild b/net-dialup/slmodem/slmodem-2.9.11_pre20090222-r1.ebuild
deleted file mode 100644
index 7e147d05713d..000000000000
--- a/net-dialup/slmodem/slmodem-2.9.11_pre20090222-r1.ebuild
+++ /dev/null
@@ -1,165 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/slmodem/slmodem-2.9.11_pre20090222-r1.ebuild,v 1.1 2009/06/20 20:48:10 mrness Exp $
-
-EAPI="2"
-
-inherit eutils linux-mod multilib
-
-UNGRAB_PV="20080126"
-
-DESCRIPTION="Driver for Smart Link modem"
-HOMEPAGE="http://linmodems.technion.ac.il/packages/smartlink/"
-SRC_URI="http://linmodems.technion.ac.il/packages/smartlink/${P/_pre/-}.tar.gz
- http://linmodems.technion.ac.il/packages/smartlink/ungrab-winmodem-${UNGRAB_PV}.tar.gz"
-
-LICENSE="Smart-Link"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE="alsa usb"
-
-DEPEND="alsa? ( media-libs/alsa-lib )
- amd64? ( app-emulation/emul-linux-x86-soundlibs )"
-
-RDEPEND="${DEPEND}
- virtual/logger"
-
-QA_EXECSTACK="usr/sbin/slmodem_test usr/sbin/slmodemd"
-
-S="${WORKDIR}"/${P/_pre/-}
-
-pkg_setup() {
- use amd64 && multilib_toolchain_setup x86
-
- MODULE_NAMES="ungrab-winmodem(:${WORKDIR}/ungrab-winmodem-${UNGRAB_PV})"
- CONFIG_CHECK=""
- MY_SLMODULES=""
- if ! use amd64; then
- MODULE_NAMES="${MODULE_NAMES} slamr(net:${S}/drivers)"
- MY_SLMODULES="${MY_SLMODULES} slamr.o"
- fi
- if kernel_is ge 2 6 25; then
- if use usb; then
- ewarn "slusb module will not be installed because is not compatible with kernels >=2.6.25"
- fi
- elif use usb; then
- MODULE_NAMES="${MODULE_NAMES} slusb(net:${S}/drivers)"
- CONFIG_CHECK="${CONFIG_CHECK} USB"
- MY_SLMODULES="${MY_SLMODULES} slusb.o"
- fi
- BUILD_TARGETS="all"
- if kernel_is ge 2 6 24; then
- CONFIG_CHECK="${CONFIG_CHECK} PCI_LEGACY"
- fi
- linux-mod_pkg_setup
- BUILD_PARAMS="KERNEL_DIR=${KV_OUT_DIR}"
-}
-
-src_prepare() {
- cd "${WORKDIR}"
- sed -i "s:SUBDIRS=\$(shell pwd):SUBDIRS=${WORKDIR}/ungrab-winmodem-${UNGRAB_PV}:" \
- ungrab-winmodem-${UNGRAB_PV}/Makefile
- convert_to_m ungrab-winmodem-${UNGRAB_PV}/Makefile
-
- cd "${WORKDIR}/ungrab-winmodem-${UNGRAB_PV}"
- epatch "${FILESDIR}"/${PN}-ungrab-winmodem-hp500.patch
-
- cd "${S}"
- epatch "${FILESDIR}/${P%%_*}-makefile-r1.patch"
-
- cd "${S}"/drivers
- sed -i -e "s:SUBDIRS=\$(shell pwd):SUBDIRS=${S}/drivers:" \
- -e "s|^obj-m:=.*$|obj-m:=${MY_SLMODULES}|" \
- Makefile
- convert_to_m Makefile
- sed -i "s:.*=[ \t]*THIS_MODULE.*::" st7554.c amrmo_init.c old_st7554.c
- sed -i 's:MODULE_PARM(\([^,]*\),"i");:module_param(\1, int, 0);:' st7554.c \
- amrmo_init.c old_st7554.c
-}
-
-src_compile() {
- local MAKE_PARAMS=""
- if use alsa; then
- MAKE_PARAMS="SUPPORT_ALSA=1"
- fi
- emake ${MAKE_PARAMS} modem || die "failed to build modem"
-
- use amd64 && multilib_toolchain_setup amd64
- linux-mod_src_compile
-}
-
-src_install() {
- linux-mod_src_install
-
- cd "${S}"
- newsbin modem/modem_test slmodem_test
- dosbin modem/slmodemd
- dodir /var/lib/slmodem
- fowners root:dialout /var/lib/slmodem
- keepdir /var/lib/slmodem
-
- newconfd "${FILESDIR}/slmodem-confd" ${PN}
- newinitd "${FILESDIR}/slmodem-initd" ${PN}
-
- # configure for alsa - or not for alsa
- if use alsa; then
- sed -i -e "s/# MODULE=alsa/MODULE=alsa/" \
- -e "s/# HW_SLOT=modem:1/HW_SLOT=modem:1/" "${D}/etc/conf.d/slmodem"
- elif use usb; then
- sed -i "s/# MODULE=slusb/MODULE=slusb/" "${D}/etc/conf.d/slmodem"
- else
- sed -i "s/# MODULE=slamr/MODULE=slamr/" "${D}/etc/conf.d/slmodem"
- fi
-
- # Add module aliases
- insinto /etc/modprobe.d/
- newins "${FILESDIR}/slmodem-modprobe" ${PN}.conf
-
- # Add configuration for udev
- dodir /etc/udev/rules.d/
- echo 'KERNEL=="slamr", NAME="slamr0" GROUP="dialout"' > \
- "${D}/etc/udev/rules.d/55-${PN}.rules"
- if use usb; then
- exeinto /$(get_libdir)/udev
- newexe "${FILESDIR}/slusb-udev.script" slmodem_usb.sh
- echo 'KERNEL=="slusb", NAME="slusb0" GROUP="dialout" RUN+="slmodem_usb.sh"' >> \
- "${D}/etc/udev/rules.d/55-${PN}.rules"
- fi
-
- dodoc Changes README
- newdoc "${WORKDIR}"/ungrab-winmodem-${UNGRAB_PV}/Readme.txt README-ungrab-winmodem.txt
-}
-
-pkg_postinst() {
- linux-mod_pkg_postinst
-
- # Make some devices if we aren't using devfs or udev
- if [ -e "${ROOT}/dev/.udev" ]; then
- ebegin "Reloading udev rules..."
- udevadm control --reload-rules
- eend $?
- else
- cd "${S}/drivers"
- make DESTDIR="${ROOT}" install-devices
- fi
-
- elog "You must edit /etc/conf.d/${PN} for your configuration"
- elog "To add slmodem to your startup - type : rc-update add slmodem default"
- elog
-
- if use alsa; then
- elog "I hope you have already added alsa to your startup: "
- elog "otherwise type: rc-update add alsasound boot"
- elog
- elog "If you need to use snd-intel8x0m from the kernel"
- elog "compile it as a module and edit /etc/modules.d/alsa"
- elog 'to: "alias snd-card-(number) snd-intel8x0m"'
- elog
- fi
-
- elog "You need to be in the uucp AND dialout group to make calls as a user."
- elog
- elog "If you see the following in dmesg:"
- elog " slamr: device 10b9:5457 is grabbed by driver serial"
- elog "you need to modprobe ungrab-winmodem before slamr"
-}