Portage is a package management system used by Gentoo Linux
# ChangeLog for net-dialup/ltmodem
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ChangeLog,v 1.42 2008/06/25 20:59:56 mrness Exp $
*ltmodem-2.6.9-r1 (25 Jun 2008)
25 Jun 2008; Alin Năstac
-ltmodem-2.6.9.ebuild, +ltmodem-2.6.9-r1.ebuild:
Update device name - ttySLTM instead ttyLTM (#229365).
21 May 2008; Alin Năstac
Add PCI_LEGACY to CONFIG_CHECK (#220021).
19 May 2008; Alin Năstac
Use udevcontrol to reload udev rules (#220665).
13 Feb 2008; Alin Năstac
+files/ltmodem-2.6.9-kernel-2.6.24.patch, ltmodem-2.6.9.ebuild:
Fix compilation issues on kernel 2.6.24 (#209472).
03 Jan 2008; Alin Năstac
-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
x86 stable, bug #202848
*ltmodem-2.6.9 (08 Nov 2007)
08 Nov 2007; Alin Năstac
Drop kernel 2.4 support (#198258). Version bump.
02 Jul 2007; Piotr Jaroszyński
ltmodem-8.31_alpha10-r3.ebuild:
(QA) RESTRICT clean up.
02 May 2007; Marius Mauch
ltmodem-8.31_alpha10-r3.ebuild:
Replacing einfo with elog
16 Apr 2007; Alin Năstac
ltmodem-8.31_alpha10-r3.ebuild:
Use update-modules.
10 Mar 2007; Alin Năstac
ltmodem-8.31_alpha10-r3.ebuild:
Remove references to $ROOT from src_install (#168039).
25 Feb 2007;
use KV_DIR only after linux-mod_pkg_setup, bug 168051
20 Dec 2006; Alin Năstac
files/ltmodem-2.6-alk-8-kernel-changes.patch:
Make kernel patch future-proof (bug #156783 comment #11).
03 Dec 2006; Alin Năstac
files/ltmodem-2.6-alk-8-kernel-changes.patch:
Fix broken compilation against kernel 2.6.19 (#156938).
21 Sep 2006; Alin Nastac
+files/ltmodem-2.6-alk-8-kernel-changes.patch,
-files/ltmodem-2.6-alk-8-module_param.patch,
ltmodem-8.31_alpha10-r3.ebuild:
Fix broken compilation when build against a 2.6.18 kernel (#148524).
*ltmodem-8.31_alpha10-r3 (09 Sep 2006)
09 Sep 2006; Alin Nastac
-ltmodem-8.31_alpha10-r2.ebuild, +ltmodem-8.31_alpha10-r3.ebuild:
Correct udev rule by replacing 'KERNEL=' with 'KERNEL==' (#144841).
19 Apr 2006; Alin Nastac
+files/ltmodem-2.6-alk-8-module_param.patch,
ltmodem-8.31_alpha10-r2.ebuild:
Convert MODULE_PARM to module_param (#130412).
12 Mar 2006; Alin Nastac
-ltmodem-8.31_alpha10-r1.ebuild, ltmodem-8.31_alpha10-r2.ebuild:
Remove old revision. Quote $KV_DIR.
20 Jan 2006; Alin Nastac
ltmodem-8.31_alpha10-r2.ebuild:
Mark as stable on x86 (#118005).
*ltmodem-8.31_alpha10-r2 (14 Jan 2006)
14 Jan 2006; Alin Nastac
+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
ltmodem-8.31_alpha10-r1.ebuild:
Add warning message regarding incompatibility with Linux SMP support.
15 Jun 2005; Alin Nastac
Remove old version.
26 Mar 2005; Alin Nastac
-ltmodem-8.31_alpha10.ebuild, ltmodem-8.31_alpha8.ebuild:
Correct info messages when installed against a 2.4 kernel (#86658).
Mark 8.31_alpha10-r1 as stable on x86 and remove obsolete version 8.31_alpha10.
*ltmodem-8.31_alpha10-r1 (07 Mar 2005)
07 Mar 2005; Alin Nastac
-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)
07 Feb 2005; Alin Nastac
ltmodem-8.31_alpha8.ebuild:
Version bump and mark 8.31_alpha8 as stable on x86.
07 Jan 2005; Alin Nastac
-ltmodem-8.26_alpha9-r1.ebuild, -ltmodem-8.26_alpha9-r2.ebuild,
ltmodem-8.31_alpha8.ebuild:
Converted to linux-mod eclass and removed old ebuilds (#74417).
20 Nov 2004; Alin Nastac
Stable on x86.
*ltmodem-8.31_alpha8 (06 Nov 2004)
06 Nov 2004; Alin Nastac
+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
ltmodem-8.26_alpha9-r3.ebuild:
deactivate userpriv, otherwise it will fail on kernel 2.6
*ltmodem-8.26_alpha9-r3 (04 Feb 2004)
04 Feb 2004; Heinrich Wendel
ltmodem-8.26_alpha9-r3.ebuild:
added support for kernel 2.6; fixed docs; fixed DEPEND
*ltmodem-8.26_alpha9-r2 (09 Dec 2003)
09 Dec 2003; Heinrich Wendel
ltmodem-8.26_alpha9-r1.ebuild, ltmodem-8.26_alpha9-r2.ebuild:
moved --with-force changes to -r2 since they can break things
07 Dec 2003; Heinrich Wendel
ltmodem-8.26_alpha9-r1.ebuild:
forgot to add ${KV} to build_module
06 Dec 2003; Heinrich Wendel
ltmodem-8.26_alpha9-r1.ebuild:
added --with-force=yes to build in chroot
19 Nov 2003; Heinrich Wendel
metadata.xml
*ltmodem-8.26_alpha9-r1 (23 May 2003)
23 May 2003; Chuck Brewer
Added manifest.
*ltmodem-8.26_alpha9-r1 (25 Jan 2003)
25 Jan 2003; Mike Frysinger
Added updates and stuff from #14528. Thanks goes to
fkqstjg02@sneakemail.com (Tom Poplawski).
Added a few tweaks from #7805. Thanks goes to
Denys Duchier
*ltmodem-8.26_alpha9 (09 Jan 2003)
09 Jan 2003; Mike Frysinger
Version bumped #13099.
*ltmodem-8.22_alpha5 (02 Oct 2002)
02 Oct 2002; Mike Frysinger
Initial import. Ebuild submitted by myself.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
AUX ltmodem-2.6.9-kernel-2.6.24.patch 648 RMD160 8e4137c109aa98b07be159418e0ddc728a0613fc SHA1 279663430bafdab85d906d5261027afa7c5b8f48 SHA256 5b0e95206df10ec0e606cb2a28c6ba6685452bd61f57879f19bcc9df67922e0d
AUX ltmodem_udev 185 RMD160 38b8bb7d80045ab04438d6f9a823d96a37b849f2 SHA1 190be0cb0232530424fbc4b17377a122adf97c9e SHA256 1b7bb2c1b4efd62b0cd45d22c59c93626cd3bc3b5e7bbc83e8c8252c060d1caf
DIST ltmodem-2.6-alk-9.tar.bz2 436144 RMD160 cba66ad674cd4fdb9254041e5f8ae70a52996b67 SHA1 ea8ac7f907f39d49226334d65ac94db9d21a9ab9 SHA256 fb5082cf62434be59a32dc8bd304d9946ba275412057dc439bc569e8be71293f
EBUILD ltmodem-2.6.9-r1.ebuild 2389 RMD160 477c67037b6f5dba35203ce085b16e30b28f17e3 SHA1 0cba1928d0d7e687887ff73cc0b62bb1024cee91 SHA256 7ff4347a0a5b4fa506b39689c23fcd9a1bd002bf4374d0d4274eff9f371031ca
MISC ChangeLog 6430 RMD160 040eba5a10acd4cb0a510c26ca027ab7196536c0 SHA1 0f682072b68c979cec7c7e90207f3a7a94655a84 SHA256 20666913deeaec839fc3fdf1cfec707e5ff9699dbda773c7497609eec7da7354
MISC metadata.xml 163 RMD160 df94c60cc0bb7abe5913b464a33966b142b2fe1e SHA1 d8332605fd22c32f15438bbdf24aa622c3d2738a SHA256 1137a0fd866641cf719b0c2e9e77ca9fa4541a42f2cc851fe4659cf2677acca3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkhisdcACgkQ+fWpoTWIA9FR9wCgiapRaercHaksZ/Swcfk00JQj
n0UAnAgkUXe5Zr7VfQsFPdrZGNqK8KOJ
=SsvR
-----END PGP SIGNATURE-----
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ltmodem-2.6.9-r1.ebuild,v 1.1 2008/06/25 20:59:56 mrness Exp $
inherit linux-mod eutils
MY_ALK_VER="${PV%.*}-alk-${PV##*.}"
DESCRIPTION="Winmodems with Lucent Apollo (ISA) and Mars (PCI) chipsets"
HOMEPAGE="http://linmodems.technion.ac.il/"
SRC_URI="http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/ltmodem-${MY_ALK_VER}.tar.bz2"
LICENSE="GPL-2"
KEYWORDS="-* x86"
IUSE=""
RESTRICT="userpriv"
DEPEND=""
RDEPEND=""
S="${WORKDIR}/${PN}-${MY_ALK_VER}"
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."
pkg_setup() {
kernel_is ge 2 6 24 && CONFIG_CHECK="${CONFIG_CHECK} PCI_LEGACY"
linux-mod_pkg_setup
if kernel_is 2 4; then
eerror "This driver works only with 2.6 kernels!"
die "unsupported kernel detected"
fi
BUILD_TARGETS="module"
BUILD_PARAMS="KERNEL_DIR='${KV_DIR}'"
}
src_unpack() {
unpack ${A}
epatch "${FILESDIR}"/${P}-kernel-2.6.24.patch
}
src_install() {
# Add configuration for udev
insinto /etc/udev/rules.d/; newins "${FILESDIR}/ltmodem_udev" 55-ltmodem.rules
# install kernel module
linux-mod_src_install
}
pkg_postinst() {
linux-mod_pkg_postinst
if [ "$ROOT" = "/" ]; then
/sbin/update-modules
fi
# Make some devices if we aren't using udev
if [ -e "${ROOT}/dev/.udev" ]; then
ebegin "Restarting udev to reread udev rules"
udevcontrol reload_rules
eend $?
else
mknod --mode=0660 /dev/ttySLTM0 c 62 64 && chgrp dialout /dev/ttySLTM0
fi
elog "Use /dev/ttySLTM0 to access modem"
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
}