1 |
mrness 07/11/08 12:59:16 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ltmodem-2.6.9.ebuild |
5 |
Log: |
6 |
Drop kernel 2.4 support (#198258). Version bump. |
7 |
(Portage version: 2.1.3.16) |
8 |
|
9 |
Revision Changes Path |
10 |
1.36 net-dialup/ltmodem/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/ltmodem/ChangeLog?rev=1.36&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/ltmodem/ChangeLog?rev=1.36&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/ltmodem/ChangeLog?r1=1.35&r2=1.36 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ChangeLog,v |
19 |
retrieving revision 1.35 |
20 |
retrieving revision 1.36 |
21 |
diff -u -r1.35 -r1.36 |
22 |
--- ChangeLog 2 Jul 2007 14:45:03 -0000 1.35 |
23 |
+++ ChangeLog 8 Nov 2007 12:59:15 -0000 1.36 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for net-dialup/ltmodem |
26 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ChangeLog,v 1.35 2007/07/02 14:45:03 peper Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ChangeLog,v 1.36 2007/11/08 12:59:15 mrness Exp $ |
29 |
+ |
30 |
+*ltmodem-2.6.9 (08 Nov 2007) |
31 |
+ |
32 |
+ 08 Nov 2007; Alin Năstac <mrness@g.o> +ltmodem-2.6.9.ebuild: |
33 |
+ Drop kernel 2.4 support (#198258). Version bump. |
34 |
|
35 |
02 Jul 2007; Piotr Jaroszyński <peper@g.o> |
36 |
ltmodem-8.31_alpha10-r3.ebuild: |
37 |
|
38 |
|
39 |
|
40 |
1.1 net-dialup/ltmodem/ltmodem-2.6.9.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/ltmodem/ltmodem-2.6.9.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/ltmodem/ltmodem-2.6.9.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: ltmodem-2.6.9.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2007 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ltmodem-2.6.9.ebuild,v 1.1 2007/11/08 12:59:15 mrness Exp $ |
50 |
|
51 |
inherit linux-mod |
52 |
|
53 |
MY_ALK_VER="${PV%.*}-alk-${PV##*.}" |
54 |
|
55 |
DESCRIPTION="Winmodems with Lucent Apollo (ISA) and Mars (PCI) chipsets" |
56 |
HOMEPAGE="http://linmodems.technion.ac.il/" |
57 |
SRC_URI="http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/ltmodem-${MY_ALK_VER}.tar.bz2" |
58 |
|
59 |
LICENSE="GPL-2" |
60 |
KEYWORDS="~x86" |
61 |
IUSE="" |
62 |
|
63 |
RESTRICT="userpriv" |
64 |
|
65 |
DEPEND="" |
66 |
RDEPEND="" |
67 |
|
68 |
S="${WORKDIR}/${PN}-${MY_ALK_VER}" |
69 |
|
70 |
MODULE_NAMES="ltmodem(ltmodem:) ltserial(ltmodem:)" |
71 |
MODULESD_LTMODEM_ALIASES=( |
72 |
"char-major-62 ltserial" |
73 |
"/dev/tts/LT0 ltserial" |
74 |
"/dev/modem ltserial" |
75 |
) |
76 |
CONFIG_CHECK="SERIAL_8250" |
77 |
SERIAL_8250_ERROR="This driver requires you to compile your kernel with serial core (CONFIG_SERIAL_8250) support." |
78 |
|
79 |
pkg_setup() { |
80 |
linux-mod_pkg_setup |
81 |
|
82 |
if kernel_is 2 4; then |
83 |
eerror "This driver works only with 2.6 kernels!" |
84 |
die "unsupported kernel detected" |
85 |
fi |
86 |
|
87 |
BUILD_TARGETS="module" |
88 |
BUILD_PARAMS="KERNEL_DIR='${KV_DIR}'" |
89 |
} |
90 |
|
91 |
src_install() { |
92 |
# Add configuration for udev |
93 |
insinto /etc/udev/rules.d/; newins "${FILESDIR}/ltmodem_udev" 55-ltmodem.rules |
94 |
|
95 |
# install kernel module |
96 |
linux-mod_src_install |
97 |
} |
98 |
|
99 |
pkg_postinst() { |
100 |
linux-mod_pkg_postinst |
101 |
|
102 |
if [ "$ROOT" = "/" ]; then |
103 |
/sbin/update-modules |
104 |
fi |
105 |
|
106 |
# Make some devices if we aren't using udev |
107 |
if [ -e "${ROOT}/dev/.udev" ]; then |
108 |
ebegin "Restarting udev to reread udev rules" |
109 |
udevstart |
110 |
eend $? |
111 |
else |
112 |
mknod --mode=0660 /dev/ttyLTM0 c 62 64 && chgrp dialout /dev/ttyLTM0 |
113 |
fi |
114 |
elog "Use /dev/ttyLTM0 to access modem" |
115 |
|
116 |
echo |
117 |
ewarn "Remember, in order to access the modem," |
118 |
ewarn "you have to be in the 'dialout' group." |
119 |
ewarn "Also, if your dialing application use locking mechanism (e.g wvdial)," |
120 |
ewarn "you should have write access to /var/lock directory." |
121 |
|
122 |
if linux_chkconfig_present SMP ; then |
123 |
ewarn |
124 |
ewarn "Please note that Linux support for SMP (symmetric multi processor)" |
125 |
ewarn "is reported to be incompatible with this driver!" |
126 |
ewarn "In case it doesn't work, you should try first to disable CONFIG_SMP in your kernel." |
127 |
fi |
128 |
} |
129 |
|
130 |
|
131 |
|
132 |
-- |
133 |
gentoo-commits@g.o mailing list |