summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2005-02-07 21:14:19 +0000
committerAlin Năstac <mrness@gentoo.org>2005-02-07 21:14:19 +0000
commitbfdcd5614495ec1ee971f24e419aef8743462b15 (patch)
tree45ffdef0208564c0f94348fed2f5f45e380c8381 /net-dialup/ltmodem
parentAdded patch to fix building #71090. (diff)
downloadgentoo-2-bfdcd5614495ec1ee971f24e419aef8743462b15.tar.gz
gentoo-2-bfdcd5614495ec1ee971f24e419aef8743462b15.tar.bz2
gentoo-2-bfdcd5614495ec1ee971f24e419aef8743462b15.zip
version bump & stable on x86
(Portage version: 2.0.51-r15)
Diffstat (limited to 'net-dialup/ltmodem')
-rw-r--r--net-dialup/ltmodem/ChangeLog8
-rw-r--r--net-dialup/ltmodem/Manifest14
-rw-r--r--net-dialup/ltmodem/files/digest-ltmodem-8.31_alpha102
-rw-r--r--net-dialup/ltmodem/ltmodem-8.31_alpha10.ebuild109
-rw-r--r--net-dialup/ltmodem/ltmodem-8.31_alpha8.ebuild4
5 files changed, 123 insertions, 14 deletions
diff --git a/net-dialup/ltmodem/ChangeLog b/net-dialup/ltmodem/ChangeLog
index dcc555b7821f..251fb0362f4d 100644
--- a/net-dialup/ltmodem/ChangeLog
+++ b/net-dialup/ltmodem/ChangeLog
@@ -1,6 +1,12 @@
# 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.17 2005/01/06 22:21:28 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ChangeLog,v 1.18 2005/02/07 21:14:19 mrness Exp $
+
+*ltmodem-8.31_alpha10 (07 Feb 2005)
+
+ 07 Feb 2005; Alin Nastac <mrness@gentoo.org> +ltmodem-8.31_alpha10.ebuild,
+ ltmodem-8.31_alpha8.ebuild:
+ Version bump and mark 8.31_alpha8 as stable on x86.
07 Jan 2005; Alin Nastac <mrness@gentoo.org> -files/ltmodem_modules,
-ltmodem-8.26_alpha9-r1.ebuild, -ltmodem-8.26_alpha9-r2.ebuild,
diff --git a/net-dialup/ltmodem/Manifest b/net-dialup/ltmodem/Manifest
index c50f540bbb1a..883a6c976e6d 100644
--- a/net-dialup/ltmodem/Manifest
+++ b/net-dialup/ltmodem/Manifest
@@ -1,17 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 004260f9affa8b46a6f6c94b582de4e3 ltmodem-8.31_alpha10.ebuild 2698
MD5 109f8fa26952b156c101f595793d0b01 ltmodem-8.26_alpha9-r3.ebuild 2281
-MD5 cf3a440bde1d1048e2ecf6946740c384 ltmodem-8.31_alpha8.ebuild 2698
+MD5 f75e72e2ebb02ffc58de27a278256e9b ltmodem-8.31_alpha8.ebuild 2697
MD5 ae13ac3b82c241c7ecb783e9fb2fe668 ChangeLog 2317
MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163
MD5 bb762fb0d5ebce81b72fa6c8eb99ca0d files/digest-ltmodem-8.31_alpha8 136
MD5 c7770cf081fb61801ccdcf7eb67175dc files/digest-ltmodem-8.26_alpha9-r3 137
MD5 b990e7d5303c86f37ea21cf471d22e03 files/ltmodem_devfs 198
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFB3bnyjiC39V7gKu0RAurcAKCuMUovd6hu2LOxMbUyTlkWk96X3wCfQTco
-Eqrr7+RCTd64oZamjsGl3sE=
-=phdH
------END PGP SIGNATURE-----
+MD5 0093643280b04ff8473b33e908df5b67 files/digest-ltmodem-8.31_alpha10 137
diff --git a/net-dialup/ltmodem/files/digest-ltmodem-8.31_alpha10 b/net-dialup/ltmodem/files/digest-ltmodem-8.31_alpha10
new file mode 100644
index 000000000000..fb4d7efe006c
--- /dev/null
+++ b/net-dialup/ltmodem/files/digest-ltmodem-8.31_alpha10
@@ -0,0 +1,2 @@
+MD5 1ca42e1f5622fbc5664920b5dd2146b7 ltmodem-8.31a10.tar.gz 580518
+MD5 cef203ab4ad1edec006a27abb8996507 ltmodem-2.6-alk-7.tar.bz2 435466
diff --git a/net-dialup/ltmodem/ltmodem-8.31_alpha10.ebuild b/net-dialup/ltmodem/ltmodem-8.31_alpha10.ebuild
new file mode 100644
index 000000000000..5f77e9f85f74
--- /dev/null
+++ b/net-dialup/ltmodem/ltmodem-8.31_alpha10.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2005 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.ebuild,v 1.1 2005/02/07 21:14:19 mrness Exp $
+
+inherit linux-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-7.tar.bz2"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+IUSE=""
+
+RESTRICT="nouserpriv"
+
+S=${WORKDIR}/${PN}-2.6-alk-7
+S_2_4=${WORKDIR}/${MY_P}
+
+DEPEND="sys-apps/util-linux"
+
+MODULE_NAMES="ltmodem(ltmodem:) ltserial(ltmodem:)"
+BUILD_TARGETS="module"
+BUILD_PARAMS="KERNEL_DIR=${KV_DIR}"
+MODULESD_LTMODEM_ALIASES=( "char-major-62 ltserial"
+ "/dev/tts/LT0 ltserial"
+ "/dev/modem ltserial" )
+
+pkg_setup() {
+ if kernel_is 2 4; then
+ CONFIG_CHECK="SERIAL"
+ SERIAL_8250_ERROR="This driver requires you to compile your kernel with serial core (CONFIG_SERIAL) support."
+ else
+ 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
+
+ # 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."
+
+ 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"
+}
diff --git a/net-dialup/ltmodem/ltmodem-8.31_alpha8.ebuild b/net-dialup/ltmodem/ltmodem-8.31_alpha8.ebuild
index 7ff18b137e19..2ce9ce0e6d3d 100644
--- a/net-dialup/ltmodem/ltmodem-8.31_alpha8.ebuild
+++ b/net-dialup/ltmodem/ltmodem-8.31_alpha8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 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.2 2005/01/06 22:21:28 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ltmodem-8.31_alpha8.ebuild,v 1.3 2005/02/07 21:14:19 mrness Exp $
inherit linux-mod
@@ -12,7 +12,7 @@ SRC_URI="http://www.physcip.uni-stuttgart.de/heby/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"
-KEYWORDS="~x86"
+KEYWORDS="x86"
IUSE=""
RESTRICT="nouserpriv"