summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2004-11-06 14:41:32 +0000
committerAlin Năstac <mrness@gentoo.org>2004-11-06 14:41:32 +0000
commitd766ee4a7ea45eab5ce8d8e0b5c65d7a53413651 (patch)
treee6cc1c7bb9aa043d197ef5459ba2f42a6b003bc5 /net-dialup
parentStable on ppc. (Manifest recommit) (diff)
downloadgentoo-2-d766ee4a7ea45eab5ce8d8e0b5c65d7a53413651.tar.gz
gentoo-2-d766ee4a7ea45eab5ce8d8e0b5c65d7a53413651.tar.bz2
gentoo-2-d766ee4a7ea45eab5ce8d8e0b5c65d7a53413651.zip
add ltmodem-8.31_alpha8
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/ltmodem/ChangeLog8
-rw-r--r--net-dialup/ltmodem/Manifest8
-rw-r--r--net-dialup/ltmodem/files/digest-ltmodem-8.31_alpha82
-rw-r--r--net-dialup/ltmodem/files/ltmodem_devfs5
-rw-r--r--net-dialup/ltmodem/files/ltmodem_modules6
-rw-r--r--net-dialup/ltmodem/ltmodem-8.31_alpha8.ebuild97
6 files changed, 123 insertions, 3 deletions
diff --git a/net-dialup/ltmodem/ChangeLog b/net-dialup/ltmodem/ChangeLog
index 56278076a29a..50f4a46051b5 100644
--- a/net-dialup/ltmodem/ChangeLog
+++ b/net-dialup/ltmodem/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-dialup/ltmodem
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ChangeLog,v 1.14 2004/06/24 22:29:06 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ChangeLog,v 1.15 2004/11/06 14:41:32 mrness Exp $
+
+*ltmodem-8.31_alpha8 (06 Nov 2004)
+
+ 06 Nov 2004; Alin Nastac <mrness@gentoo.org>
+ +ltmodem-8.31_alpha8.ebuild, +files/ltmodem_devfs, +files/ltmodem_modules:
+ bump to 8.31-a8 for 2.4 kernels and alk-6 for 2.6 kernels (bug #59665)
04 Feb 2004; Heinrich Wendel <lanius@gentoo.org>
ltmodem-8.26_alpha9-r3.ebuild:
diff --git a/net-dialup/ltmodem/Manifest b/net-dialup/ltmodem/Manifest
index 6028cccf50ae..ac0ea7a11dac 100644
--- a/net-dialup/ltmodem/Manifest
+++ b/net-dialup/ltmodem/Manifest
@@ -1,8 +1,12 @@
+MD5 54b5f5f5f5e7e52af3d954405e32899c ChangeLog 1989
MD5 fb2e60717b5ce262efea991b5cbbc03b ltmodem-8.26_alpha9-r1.ebuild 1555
-MD5 2f33e168aeb161e164a9e6f418b833bb ltmodem-8.26_alpha9-r3.ebuild 2284
MD5 c6876f0de8131cd0721cce58f339fd92 ltmodem-8.26_alpha9-r2.ebuild 1574
-MD5 aa2afd634d86bf5d366fc3774be7b270 ChangeLog 1755
+MD5 2f33e168aeb161e164a9e6f418b833bb ltmodem-8.26_alpha9-r3.ebuild 2284
MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163
+MD5 8633759d86a110b0c4987911f5649f39 ltmodem-8.31_alpha8.ebuild 2450
MD5 f5ab4274b107a9ac1e7d521c5dbb594a files/digest-ltmodem-8.26_alpha9-r1 66
MD5 f5ab4274b107a9ac1e7d521c5dbb594a files/digest-ltmodem-8.26_alpha9-r2 66
MD5 c7770cf081fb61801ccdcf7eb67175dc files/digest-ltmodem-8.26_alpha9-r3 137
+MD5 b990e7d5303c86f37ea21cf471d22e03 files/ltmodem_devfs 198
+MD5 1a8e6ce7bc277552331003f54cf26c78 files/ltmodem_modules 244
+MD5 bb762fb0d5ebce81b72fa6c8eb99ca0d files/digest-ltmodem-8.31_alpha8 136
diff --git a/net-dialup/ltmodem/files/digest-ltmodem-8.31_alpha8 b/net-dialup/ltmodem/files/digest-ltmodem-8.31_alpha8
new file mode 100644
index 000000000000..9a0aa5649215
--- /dev/null
+++ b/net-dialup/ltmodem/files/digest-ltmodem-8.31_alpha8
@@ -0,0 +1,2 @@
+MD5 6a00c3fcb939f46d4d2ce62669e65fb0 ltmodem-8.31a8.tar.gz 526000
+MD5 d82067a8f4735bd8f53a8bdcfcbc1bb5 ltmodem-2.6-alk-6.tar.bz2 410714
diff --git a/net-dialup/ltmodem/files/ltmodem_devfs b/net-dialup/ltmodem/files/ltmodem_devfs
new file mode 100644
index 000000000000..b07d60a881cb
--- /dev/null
+++ b/net-dialup/ltmodem/files/ltmodem_devfs
@@ -0,0 +1,5 @@
+
+# /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/files/ltmodem_modules b/net-dialup/ltmodem/files/ltmodem_modules
new file mode 100644
index 000000000000..1cfb57733c63
--- /dev/null
+++ b/net-dialup/ltmodem/files/ltmodem_modules
@@ -0,0 +1,6 @@
+# lt_drivers: autoloading and insertion parameter usage
+alias char-major-62 ltserial
+alias /dev/tts/LT0 ltserial
+alias /dev/modem ltserial
+# options lt_modem vendor_id=0x115d device_id=0x0420 Forced=3,0x130,0x2f8
+# section for lt_drivers ends
diff --git a/net-dialup/ltmodem/ltmodem-8.31_alpha8.ebuild b/net-dialup/ltmodem/ltmodem-8.31_alpha8.ebuild
new file mode 100644
index 000000000000..637ee9e5b95d
--- /dev/null
+++ b/net-dialup/ltmodem/ltmodem-8.31_alpha8.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ltmodem-8.31_alpha8.ebuild,v 1.1 2004/11/06 14:41:32 mrness Exp $
+
+inherit kernel-mod
+
+MY_P="${P/_alpha/a}"
+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-2.6-alk-6.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+RESTRICT="nouserpriv"
+
+DEPEND="virtual/linux-sources
+ sys-apps/util-linux"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ if kernel-mod_is_2_4_kernel; then
+ sed -i -e 's:make -e:make:' -e 's:read -p:echo:' build_module
+ FAST="1" ./build_module ${KV} || die "Compilation filed"
+ else
+ cd ../ltmodem-2.6-alk-6/
+ (
+ unset ARCH
+ addwrite /usr/src/linux-${KV}
+ sed -i -e "s:linux-2.6:linux:" Makefile
+ make || die "Compilation failed"
+ )
+ fi
+}
+
+src_install() {
+ # install docs
+ cd 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/modules.d
+ newins ${FILESDIR}/ltmodem_modules ltmodem
+
+ # install kernel module
+ if kernel-mod_is_2_4_kernel; then
+ cd source
+ make install ROOTDIR=${D} || die "Cannot install drivers"
+ else
+ cd ${WORKDIR}/ltmodem-2.6-alk-6/
+ insinto /lib/modules/${KV}/ltmodem
+ doins ltmodem.ko && doins ltserial.ko || die "Cannot install drivers"
+ fi
+}
+
+pkg_postinst() {
+ [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules
+ depmod -ae ${KV}
+
+ # 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."
+
+ elif [ -e ${ROOT}/dev/.udev ]; then
+ ebegin "Restarting udev to reread udev rules"
+ udevstart
+ eend $?
+ fi
+
+ einfo "Use /dev/tts/LT0 to access modem"
+ einfo "If you have problems, read this doc:"
+ einfo "/usr/share/doc/${PF}/html/post-install.html"
+}