diff options
author | Alin Năstac <mrness@gentoo.org> | 2008-01-03 13:41:49 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2008-01-03 13:41:49 +0000 |
commit | aed54381780929599bc9276c3574e940723599d7 (patch) | |
tree | a5fd50e122c0462101331ac3d6abe8bf5b741eeb /net-dialup/ltmodem | |
parent | Stable version bump (diff) | |
download | gentoo-2-aed54381780929599bc9276c3574e940723599d7.tar.gz gentoo-2-aed54381780929599bc9276c3574e940723599d7.tar.bz2 gentoo-2-aed54381780929599bc9276c3574e940723599d7.zip |
Remove obsolete version, the last one compatible with 2.4 kernels.
(Portage version: 2.1.3.19)
Diffstat (limited to 'net-dialup/ltmodem')
-rw-r--r-- | net-dialup/ltmodem/ChangeLog | 9 | ||||
-rw-r--r-- | net-dialup/ltmodem/files/digest-ltmodem-8.31_alpha10-r3 | 6 | ||||
-rw-r--r-- | net-dialup/ltmodem/files/ltmodem-2.6-alk-8-kernel-changes.patch | 45 | ||||
-rw-r--r-- | net-dialup/ltmodem/files/ltmodem_devfs | 5 | ||||
-rw-r--r-- | net-dialup/ltmodem/ltmodem-8.31_alpha10-r3.ebuild | 148 |
5 files changed, 7 insertions, 206 deletions
diff --git a/net-dialup/ltmodem/ChangeLog b/net-dialup/ltmodem/ChangeLog index 56f6a889d0b4..64c8402e7331 100644 --- a/net-dialup/ltmodem/ChangeLog +++ b/net-dialup/ltmodem/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-dialup/ltmodem -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ChangeLog,v 1.37 2007/12/28 11:13:40 maekke Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ChangeLog,v 1.38 2008/01/03 13:41:48 mrness Exp $ + + 03 Jan 2008; Alin Năstac <mrness@gentoo.org> + -files/ltmodem-2.6-alk-8-kernel-changes.patch, -files/ltmodem_devfs, + -ltmodem-8.31_alpha10-r3.ebuild: + Remove obsolete version, the last one compatible with 2.4 kernels. 28 Dec 2007; Markus Meier <maekke@gentoo.org> ltmodem-2.6.9.ebuild: x86 stable, bug #202848 diff --git a/net-dialup/ltmodem/files/digest-ltmodem-8.31_alpha10-r3 b/net-dialup/ltmodem/files/digest-ltmodem-8.31_alpha10-r3 deleted file mode 100644 index b1eb38730e8a..000000000000 --- a/net-dialup/ltmodem/files/digest-ltmodem-8.31_alpha10-r3 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 0f7df8d31cf662a4afaa378fa5bf790b ltmodem-2.6-alk-8.tar.bz2 436392 -RMD160 20a1c41ea5cf836895ae6e2e43acacf45716e0aa ltmodem-2.6-alk-8.tar.bz2 436392 -SHA256 262c407471ccaafb7a6b0e7a3df41e37b1d1e6cdf34bd0e1567aac102cf277b6 ltmodem-2.6-alk-8.tar.bz2 436392 -MD5 1ca42e1f5622fbc5664920b5dd2146b7 ltmodem-8.31a10.tar.gz 580518 -RMD160 0dfc43b700a3d806ed0d29e2d3470cc4679a2bb4 ltmodem-8.31a10.tar.gz 580518 -SHA256 877c10fb668e92d86cdc4eaf0d675047edbfb0654d74b092189a936212f62b10 ltmodem-8.31a10.tar.gz 580518 diff --git a/net-dialup/ltmodem/files/ltmodem-2.6-alk-8-kernel-changes.patch b/net-dialup/ltmodem/files/ltmodem-2.6-alk-8-kernel-changes.patch deleted file mode 100644 index 6df7d43fadd1..000000000000 --- a/net-dialup/ltmodem/files/ltmodem-2.6-alk-8-kernel-changes.patch +++ /dev/null @@ -1,45 +0,0 @@ -diff -Nru ltmodem-2.6-alk-8.orig/lt_modem.c ltmodem-2.6-alk-8/lt_modem.c ---- ltmodem-2.6-alk-8.orig/lt_modem.c 2005-12-12 03:18:55.000000000 +0200 -+++ ltmodem-2.6-alk-8/lt_modem.c 2006-04-19 21:43:32.142640500 +0300 -@@ -120,14 +120,14 @@ - static int vendor_id = 0; - static int device_id = 0; - --MODULE_PARM(vendor_id, "i"); -+module_param(vendor_id, int, 0); - MODULE_PARM_DESC(vendor_id, "Vendor ID of the Lucent Modem e.g. vendor_id=0x11c1"); --MODULE_PARM(device_id, "i"); -+module_param(device_id, int, 0); - MODULE_PARM_DESC(device_id, "Device ID of the Lucent Modem e.g. device_id=0x0440"); - - static int Forced[4] = {-1,-1,-1,0}; - --MODULE_PARM(Forced, "4i"); -+module_param_array(Forced, int, NULL, 0); - MODULE_PARM_DESC(Forced, "Forced Irq,BaseAddress,ComAddress[,NoDetect] of the Lucent Modem e.g. Forced=3,0x130,0x2f8"); - - static -diff -Nru ltmodem-2.6-alk-8.orig/serial.c ltmodem-2.6-alk-8/serial.c ---- ltmodem-2.6-alk-8.orig/serial.c 2006-12-20 20:36:13.000000000 +0200 -+++ ltmodem-2.6-alk-8/serial.c 2006-12-20 20:37:37.000000000 +0200 -@@ -99,7 +99,9 @@ - */ - - #include <linux/version.h> --#include <linux/config.h> -+#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,18) -+# include <linux/config.h> -+#endif - #include <linux/module.h> - #include <linux/tty.h> - #include <linux/ioport.h> -@@ -732,7 +732,9 @@ - .devfs_name = "tts/LT", - .dev_name = "ttyLT", - #else -+# if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)) - .devfs_name = "tts/LTM", -+# endif - .dev_name = "ttyLTM", - #endif - .major = 62, diff --git a/net-dialup/ltmodem/files/ltmodem_devfs b/net-dialup/ltmodem/files/ltmodem_devfs deleted file mode 100644 index b07d60a881cb..000000000000 --- a/net-dialup/ltmodem/files/ltmodem_devfs +++ /dev/null @@ -1,5 +0,0 @@ - -# /dev/ttySLT0 and /dev/modem symbolic links to /dev/tts/LT0 -REGISTER ^tts/LT0$ CFUNCTION GLOBAL symlink $devname modem -UNREGISTER ^tts/LT0$ CFUNCTION GLOBAL unlink modem - diff --git a/net-dialup/ltmodem/ltmodem-8.31_alpha10-r3.ebuild b/net-dialup/ltmodem/ltmodem-8.31_alpha10-r3.ebuild deleted file mode 100644 index b13bbd70b2e5..000000000000 --- a/net-dialup/ltmodem/ltmodem-8.31_alpha10-r3.ebuild +++ /dev/null @@ -1,148 +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/ltmodem/ltmodem-8.31_alpha10-r3.ebuild,v 1.7 2007/07/02 14:45:03 peper Exp $ - -inherit linux-mod eutils - -MY_P="${P/_alpha/a}" -MY_ALK_VER="2.6-alk-8" - -DESCRIPTION="Winmodems with Lucent Apollo (ISA) and Mars (PCI) chipsets" -HOMEPAGE="http://www.heby.de/ltmodem/" -SRC_URI="http://www.physcip.uni-stuttgart.de/heby/ltmodem/${MY_P}.tar.gz - http://www.sfu.ca/~cth/ltmodem/${MY_P}.tar.gz - http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/ltmodem-${MY_ALK_VER}.tar.bz2" - -LICENSE="GPL-2" -KEYWORDS="x86" -IUSE="" - -RESTRICT="userpriv" - -S="${WORKDIR}/${PN}-${MY_ALK_VER}" -S_2_4="${WORKDIR}/${MY_P}" - -DEPEND="sys-apps/util-linux" - -pkg_setup() { - if kernel_is 2 4; then - MODULE_NAMES="lt_modem(lt_modem:) lt_serial(lt_modem:)" - MODULESD_LTMODEM_ALIASES=( "char-major-62 lt_serial" - "/dev/tts/LT0 lt_serial" - "/dev/modem lt_serial" ) - CONFIG_CHECK="SERIAL" - SERIAL_8250_ERROR="This driver requires you to compile your kernel with serial core (CONFIG_SERIAL) support." - else - MODULE_NAMES="ltmodem(ltmodem:) ltserial(ltmodem:)" - MODULESD_LTMODEM_ALIASES=( "char-major-62 ltserial" - "/dev/tts/LT0 ltserial" - "/dev/modem ltserial" ) - CONFIG_CHECK="SERIAL_8250" - SERIAL_8250_ERROR="This driver requires you to compile your kernel with serial core (CONFIG_SERIAL_8250) support." - fi - linux-mod_pkg_setup - - BUILD_TARGETS="module" - BUILD_PARAMS="KERNEL_DIR='${KV_DIR}'" -} - -src_unpack() { - unpack ${A} - epatch "${FILESDIR}/${PN}-${MY_ALK_VER}-kernel-changes.patch" - convert_to_m "${S}/Makefile" -} - -src_compile() { - if kernel_is 2 4; then - cd "${S_2_4}" - sed -i -e 's:make -e:make:' -e 's:read -p:echo:' build_module - FAST="1" ./build_module ${KV_FULL} || die "Compilation filed" - else - linux-mod_src_compile - fi -} - -src_install() { - # install docs - cd "${S_2_4}/DOCs" - dohtml *.html - - rm -rf *.html Installers build* Build* gcc3.txt Examples Suse* - rm -rf fixscript* slackware srcprep.man scanmodem.man conf* - - rename .man .1 *.man - doman *.1 - rm -rf *.1 - - dodoc ../1ST-READ * - cd .. - - # install utilities - mv utils/unloading utils/lt_unloading - dosbin utils/lt_* - - # Add configuration for devfs, udev - insinto /etc/devfs.d/; newins "${FILESDIR}/ltmodem_devfs" ltmodem - insinto /etc/udev/rules.d/; newins "${FILESDIR}/ltmodem_udev" 55-ltmodem.rules - - # install kernel module - if kernel_is 2 4; then - cd source - make install "ROOTDIR=${D}" || die "Cannot install drivers" - else - linux-mod_src_install - fi -} - -pkg_preinst() { - linux-mod_pkg_preinst - - # Remove obsolete devfs configuration files if the box use udev - if [ -e "${ROOT}/dev/.udev" ]; then - rm -r "${D}/etc/devfs.d" - fi -} - -pkg_postinst() { - linux-mod_pkg_postinst - - if [ "$ROOT" = "/" ]; then - [ -x /sbin/update-modules ] && /sbin/update-modules || /sbin/modules-update - fi - - # Make some devices if we aren't using devfs - if [ -e "${ROOT}/dev/.devfsd" ]; then - ebegin "Restarting devfsd to reread devfs rules" - killall -HUP devfsd - eend $? - - elog "Use /dev/tts/LT0 or /dev/ttyLT0 to access modem" - elif [ -e "${ROOT}/dev/.udev" ]; then - ebegin "Restarting udev to reread udev rules" - udevstart - eend $? - - elog "Use /dev/ttyLTM0 to access modem" - else - mknod --mode=0660 /dev/ttyLTM0 c 62 64 && chgrp dialout /dev/ttyLTM0 - - elog "Use /dev/ttyLTM0 to access modem" - fi - - echo - ewarn "Remember, in order to access the modem," - ewarn "you have to be in the 'dialout' group." - ewarn "Also, if your dialing application use locking mechanism (e.g wvdial)," - ewarn "you should have write access to /var/lock directory." - - if linux_chkconfig_present SMP ; then - ewarn - ewarn "Please note that Linux support for SMP (symmetric multi processor)" - ewarn "is reported to be incompatible with this driver!" - ewarn "In case it doesn't work, you should try first to disable CONFIG_SMP in your kernel." - fi - - elog - elog "If you have problems, read this doc:" - elog "/usr/share/doc/${PF}/html/post-install.html" -} |