summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-01-14 13:38:28 +0000
committerAlin Năstac <mrness@gentoo.org>2006-01-14 13:38:28 +0000
commitfc5b24d8bfb4bf4eac7e786c33ec25bfb38a3515 (patch)
tree69fe080412e38d6a1b2d8df54b03693303336950 /net-dialup
parentMarked ppc-macos stable (diff)
downloadgentoo-2-fc5b24d8bfb4bf4eac7e786c33ec25bfb38a3515.tar.gz
gentoo-2-fc5b24d8bfb4bf4eac7e786c33ec25bfb38a3515.tar.bz2
gentoo-2-fc5b24d8bfb4bf4eac7e786c33ec25bfb38a3515.zip
Bump kernel 2.6 driver to alk-8, which fixes compilation issue for kernel 2.6.15 (#118005).
(Portage version: 2.0.53)
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/ltmodem/ChangeLog11
-rw-r--r--net-dialup/ltmodem/Manifest18
-rw-r--r--net-dialup/ltmodem/files/digest-ltmodem-8.31_alpha10-r22
-rw-r--r--net-dialup/ltmodem/ltmodem-8.31_alpha10-r2.ebuild133
4 files changed, 149 insertions, 15 deletions
diff --git a/net-dialup/ltmodem/ChangeLog b/net-dialup/ltmodem/ChangeLog
index a03fc8f1d4da..76cbf4cff57a 100644
--- a/net-dialup/ltmodem/ChangeLog
+++ b/net-dialup/ltmodem/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-dialup/ltmodem
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ChangeLog,v 1.22 2005/08/29 21:59:06 mrness Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ChangeLog,v 1.23 2006/01/14 13:38:28 mrness Exp $
+
+*ltmodem-8.31_alpha10-r2 (14 Jan 2006)
+
+ 14 Jan 2006; Alin Nastac <mrness@gentoo.org>
+ +ltmodem-8.31_alpha10-r2.ebuild:
+ Bump kernel 2.6 driver to alk-8, which fixes compilation issue for
+ kernel 2.6.15 (#118005).
29 Aug 2005; Alin Nastac <mrness@gentoo.org>
ltmodem-8.31_alpha10-r1.ebuild:
diff --git a/net-dialup/ltmodem/Manifest b/net-dialup/ltmodem/Manifest
index 7672b98daa21..6a5c1dd6c50e 100644
--- a/net-dialup/ltmodem/Manifest
+++ b/net-dialup/ltmodem/Manifest
@@ -1,15 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 bb8e933a4cd687ae8b987774ae2ed41c ltmodem-8.31_alpha10-r1.ebuild 3548
MD5 9e2015e88460daa627e5a850e8e56747 ChangeLog 3271
-MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163
-MD5 b990e7d5303c86f37ea21cf471d22e03 files/ltmodem_devfs 198
MD5 0093643280b04ff8473b33e908df5b67 files/digest-ltmodem-8.31_alpha10-r1 137
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFDE4XtNSP4Vda7IdsRAsnfAKCHMWUrAsxusBuSzBjXVakVr5eiigCeLTUy
-Sd3VbWFTAkLcPdQ4oZCURzs=
-=S4Ro
------END PGP SIGNATURE-----
+MD5 c1fadb641074695c728bd065813e112f files/digest-ltmodem-8.31_alpha10-r2 137
+MD5 b990e7d5303c86f37ea21cf471d22e03 files/ltmodem_devfs 198
+MD5 bb8e933a4cd687ae8b987774ae2ed41c ltmodem-8.31_alpha10-r1.ebuild 3548
+MD5 98b6c26a72e2cdb9b98f0ab800002faa ltmodem-8.31_alpha10-r2.ebuild 3601
+MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163
diff --git a/net-dialup/ltmodem/files/digest-ltmodem-8.31_alpha10-r2 b/net-dialup/ltmodem/files/digest-ltmodem-8.31_alpha10-r2
new file mode 100644
index 000000000000..3cfc205cd91b
--- /dev/null
+++ b/net-dialup/ltmodem/files/digest-ltmodem-8.31_alpha10-r2
@@ -0,0 +1,2 @@
+MD5 0f7df8d31cf662a4afaa378fa5bf790b ltmodem-2.6-alk-8.tar.bz2 436392
+MD5 1ca42e1f5622fbc5664920b5dd2146b7 ltmodem-8.31a10.tar.gz 580518
diff --git a/net-dialup/ltmodem/ltmodem-8.31_alpha10-r2.ebuild b/net-dialup/ltmodem/ltmodem-8.31_alpha10-r2.ebuild
new file mode 100644
index 000000000000..f171d488da92
--- /dev/null
+++ b/net-dialup/ltmodem/ltmodem-8.31_alpha10-r2.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2006 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-r2.ebuild,v 1.1 2006/01/14 13:38:28 mrness Exp $
+
+inherit linux-mod
+
+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="nouserpriv"
+
+S="${WORKDIR}/${PN}-${MY_ALK_VER}"
+S_2_4="${WORKDIR}/${MY_P}"
+
+DEPEND="sys-apps/util-linux"
+
+BUILD_TARGETS="module"
+BUILD_PARAMS="KERNEL_DIR=${KV_DIR}"
+
+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
+}
+
+src_unpack() {
+ unpack ${A}
+ 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_*
+
+ # install configuration
+ insinto /etc/devfs.d
+ newins "${FILESDIR}/ltmodem_devfs" ltmodem
+ insinto /etc/udev/rules.d/
+ newins "${S}/docs/ltmodem.rules" 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_postinst() {
+ linux-mod_pkg_postinst
+
+ # 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 $?
+ einfo "modules-update to complete configuration."
+
+ einfo "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 $?
+
+ einfo "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
+ echo
+ 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
+
+ echo
+ einfo "If you have problems, read this doc:"
+ einfo "/usr/share/doc/${PF}/html/post-install.html"
+}