summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2005-03-07 20:21:17 +0000
committerAlin Năstac <mrness@gentoo.org>2005-03-07 20:21:17 +0000
commitff2ddc42a5e736a825ac5103fb48ca587bb46d16 (patch)
treeb667fcb8bb2d817c2c16c223cf1e0eef8e8d9d33 /net-dialup
parentmark amd64 (diff)
downloadhistorical-ff2ddc42a5e736a825ac5103fb48ca587bb46d16.tar.gz
historical-ff2ddc42a5e736a825ac5103fb48ca587bb46d16.tar.bz2
historical-ff2ddc42a5e736a825ac5103fb48ca587bb46d16.zip
udev rules (#84338); remove old version
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/ltmodem/ChangeLog8
-rw-r--r--net-dialup/ltmodem/Manifest12
-rw-r--r--net-dialup/ltmodem/files/digest-ltmodem-8.26_alpha9-r32
-rw-r--r--net-dialup/ltmodem/files/digest-ltmodem-8.31_alpha10-r12
-rw-r--r--net-dialup/ltmodem/ltmodem-8.26_alpha9-r3.ebuild90
-rw-r--r--net-dialup/ltmodem/ltmodem-8.31_alpha10-r1.ebuild111
6 files changed, 126 insertions, 99 deletions
diff --git a/net-dialup/ltmodem/ChangeLog b/net-dialup/ltmodem/ChangeLog
index 251fb0362f4d..5527be7614c2 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.18 2005/02/07 21:14:19 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ChangeLog,v 1.19 2005/03/07 20:21:17 mrness Exp $
+
+*ltmodem-8.31_alpha10-r1 (07 Mar 2005)
+
+ 07 Mar 2005; Alin Nastac <mrness@gentoo.org>
+ -ltmodem-8.26_alpha9-r3.ebuild, +ltmodem-8.31_alpha10-r1.ebuild:
+ Add udev rules (#84338) and remove obsolete version.
*ltmodem-8.31_alpha10 (07 Feb 2005)
diff --git a/net-dialup/ltmodem/Manifest b/net-dialup/ltmodem/Manifest
index b8e186802a0b..4a16059a4c71 100644
--- a/net-dialup/ltmodem/Manifest
+++ b/net-dialup/ltmodem/Manifest
@@ -1,19 +1,19 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+MD5 b850916c567e380bda9639b29de5d1d5 ltmodem-8.31_alpha10-r1.ebuild 2779
MD5 991deabce9a4812776639d8c66eb3bbb ltmodem-8.31_alpha10.ebuild 2699
-MD5 109f8fa26952b156c101f595793d0b01 ltmodem-8.26_alpha9-r3.ebuild 2281
MD5 ec3cd37e7acb4cc134e908e7bacf395c ltmodem-8.31_alpha8.ebuild 2697
-MD5 c848ac9ff81576cd5c5053fe6ade1e4f ChangeLog 2516
+MD5 b9d5cc00fa69ea700597b79f9badc69b ChangeLog 2726
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
+MD5 0093643280b04ff8473b33e908df5b67 files/digest-ltmodem-8.31_alpha10-r1 137
MD5 0093643280b04ff8473b33e908df5b67 files/digest-ltmodem-8.31_alpha10 137
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
-iD8DBQFCB9o0jiC39V7gKu0RAqBvAKC4cJTT/qU1ZP3WmlWDmE41us5lugCdFfZa
-eJ21lkem8V86iXhMN+Ovccc=
-=cKwJ
+iD8DBQFCLLfbjiC39V7gKu0RAvHvAJ9g9Evai4UmcNfDIIIl/Or/zyr87gCgrVXe
+GYsqTAT6C7/TZBs6n9wytiU=
+=IXSU
-----END PGP SIGNATURE-----
diff --git a/net-dialup/ltmodem/files/digest-ltmodem-8.26_alpha9-r3 b/net-dialup/ltmodem/files/digest-ltmodem-8.26_alpha9-r3
deleted file mode 100644
index a2529bd90dc0..000000000000
--- a/net-dialup/ltmodem/files/digest-ltmodem-8.26_alpha9-r3
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 a75ae27d40ade3aa698c0b0b290724f4 ltmodem-8.26a9.tar.gz 679998
-MD5 c219d9d62034da24c1543f3c4bce1c91 ltmodem-2.6-alk-v00.tar.gz 217382
diff --git a/net-dialup/ltmodem/files/digest-ltmodem-8.31_alpha10-r1 b/net-dialup/ltmodem/files/digest-ltmodem-8.31_alpha10-r1
new file mode 100644
index 000000000000..fb4d7efe006c
--- /dev/null
+++ b/net-dialup/ltmodem/files/digest-ltmodem-8.31_alpha10-r1
@@ -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.26_alpha9-r3.ebuild b/net-dialup/ltmodem/ltmodem-8.26_alpha9-r3.ebuild
deleted file mode 100644
index 790a93bb11eb..000000000000
--- a/net-dialup/ltmodem/ltmodem-8.26_alpha9-r3.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# 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.26_alpha9-r3.ebuild,v 1.6 2005/01/06 22:21:28 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-v00.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-IUSE=""
-
-RESTRICT="nouserpriv"
-
-DEPEND="virtual/linux-sources
- app-shells/bash"
-
-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 || die
- else
- cd ../ltmodem-2.6-alk/
- unset ARCH
- addwrite /usr/src/linux-${KV}
- sed -i -e "s:linux-2.6:linux:" Makefile
- make || die
- 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*
-
- for i in *.man; do mv ${i} ${i}.1; done
- doman *.man.1
- rm -rf *.man.1
-
- dodoc ../1ST-READ *
- cd ..
-
- # install utilities
- mv utils/unloading utils/lt_unloading
- dosbin utils/lt_*
-
- # install configuration
- if kernel-mod_is_2_6_kernel; then
- tar -xzf source.tar.gz
- sed -e "s:@LT_SERIAL_MODULE@:ltmodem:" source/debian/modules.in > source/debian/modules
- fi
- cd source
-
- insinto /etc/devfs.d
- newins debian/etc_devfs_conf.d_ltmodem ltmodem
- insinto /etc/modules.d
- newins debian/modules ltmodem
-
- # install kernel module
- if kernel-mod_is_2_4_kernel; then
- make install ROOTDIR=${D} || die
- else
- cd ${WORKDIR}/ltmodem-2.6-alk/
- insinto /lib/modules/${KV}/ltmodem
- doins ltmodem.ko
- doins ltserial.ko
- fi
-}
-
-pkg_postinst() {
- [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules
- einfo "Use /dev/modem to access modem"
- einfo "If you have problems, read this doc:"
- einfo "/usr/share/doc/${PF}/html/post-install.html"
- echo
- einfo "Also, if you wish to access the modem through"
- einfo "/dev/modem without rebooting, run this:"
- einfo "killall -HUP devfsd"
-}
diff --git a/net-dialup/ltmodem/ltmodem-8.31_alpha10-r1.ebuild b/net-dialup/ltmodem/ltmodem-8.31_alpha10-r1.ebuild
new file mode 100644
index 000000000000..31690d65a793
--- /dev/null
+++ b/net-dialup/ltmodem/ltmodem-8.31_alpha10-r1.ebuild
@@ -0,0 +1,111 @@
+# 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-r1.ebuild,v 1.1 2005/03/07 20:21:17 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
+ 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."
+
+ 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"
+}