1 |
zzam 09/06/18 15:11:51 |
2 |
|
3 |
Modified: ChangeLog em8300-modules-0.16.4-r1.ebuild |
4 |
Added: em8300-modules-0.17.2-r1.ebuild |
5 |
Log: |
6 |
Rename modprobe config file to em8300.conf |
7 |
(Portage version: 2.1.6.13/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.50 media-video/em8300-modules/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/em8300-modules/ChangeLog?rev=1.50&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/em8300-modules/ChangeLog?rev=1.50&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/em8300-modules/ChangeLog?r1=1.49&r2=1.50 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-video/em8300-modules/ChangeLog,v |
19 |
retrieving revision 1.49 |
20 |
retrieving revision 1.50 |
21 |
diff -u -r1.49 -r1.50 |
22 |
--- ChangeLog 12 Jun 2009 19:26:56 -0000 1.49 |
23 |
+++ ChangeLog 18 Jun 2009 15:11:51 -0000 1.50 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for media-video/em8300-modules |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-modules/ChangeLog,v 1.49 2009/06/12 19:26:56 zzam Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-modules/ChangeLog,v 1.50 2009/06/18 15:11:51 zzam Exp $ |
29 |
+ |
30 |
+*em8300-modules-0.17.2-r1 (18 Jun 2009) |
31 |
+ |
32 |
+ 18 Jun 2009; Matthias Schwarzott <zzam@g.o> |
33 |
+ em8300-modules-0.16.4-r1.ebuild, +em8300-modules-0.17.2-r1.ebuild: |
34 |
+ Rename modprobe config file to em8300.conf |
35 |
|
36 |
12 Jun 2009; Matthias Schwarzott <zzam@g.o> |
37 |
em8300-modules-0.17.2.ebuild, |
38 |
|
39 |
|
40 |
|
41 |
1.3 media-video/em8300-modules/em8300-modules-0.16.4-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/em8300-modules/em8300-modules-0.16.4-r1.ebuild?rev=1.3&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/em8300-modules/em8300-modules-0.16.4-r1.ebuild?rev=1.3&content-type=text/plain |
45 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/em8300-modules/em8300-modules-0.16.4-r1.ebuild?r1=1.2&r2=1.3 |
46 |
|
47 |
Index: em8300-modules-0.16.4-r1.ebuild |
48 |
=================================================================== |
49 |
RCS file: /var/cvsroot/gentoo-x86/media-video/em8300-modules/em8300-modules-0.16.4-r1.ebuild,v |
50 |
retrieving revision 1.2 |
51 |
retrieving revision 1.3 |
52 |
diff -u -r1.2 -r1.3 |
53 |
--- em8300-modules-0.16.4-r1.ebuild 20 May 2008 00:00:30 -0000 1.2 |
54 |
+++ em8300-modules-0.16.4-r1.ebuild 18 Jun 2009 15:11:51 -0000 1.3 |
55 |
@@ -1,6 +1,6 @@ |
56 |
-# Copyright 1999-2008 Gentoo Foundation |
57 |
+# Copyright 1999-2009 Gentoo Foundation |
58 |
# Distributed under the terms of the GNU General Public License v2 |
59 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-modules/em8300-modules-0.16.4-r1.ebuild,v 1.2 2008/05/20 00:00:30 mr_bones_ Exp $ |
60 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-modules/em8300-modules-0.16.4-r1.ebuild,v 1.3 2009/06/18 15:11:51 zzam Exp $ |
61 |
|
62 |
inherit eutils linux-mod |
63 |
|
64 |
@@ -41,7 +41,7 @@ |
65 |
newsbin devices.sh em8300-devices.sh |
66 |
|
67 |
insinto /etc/modprobe.d |
68 |
- newins "${FILESDIR}"/modules.em8300 em8300 |
69 |
+ newins "${FILESDIR}"/modules.em8300 em8300.conf |
70 |
|
71 |
insinto /etc/udev/rules.d |
72 |
newins em8300-udev.rules 15-em8300.rules |
73 |
@@ -50,12 +50,18 @@ |
74 |
pkg_preinst() { |
75 |
linux-mod_pkg_preinst |
76 |
|
77 |
- local old="${ROOT}/etc/modules.d/em8300" |
78 |
- local new="${ROOT}/etc/modprobe.d/em8300" |
79 |
- |
80 |
- if [[ -a ${old} && ! -a ${new} ]]; then |
81 |
- elog "Moving old em8300 configuration in /etc/modules.d to new" |
82 |
- elog "location in /etc/modprobe.d" |
83 |
- mv "${old}" "${new}" |
84 |
+ local old1="${ROOT}/etc/modprobe.d/em8300" |
85 |
+ local old2="${ROOT}/etc/modules.d/em8300" |
86 |
+ local new="${ROOT}/etc/modprobe.d/em8300.conf" |
87 |
+ |
88 |
+ if [[ ! -a ${new} ]]; then |
89 |
+ if [[ -a ${old1} ]]; then |
90 |
+ elog "Renaming em8300-modprobe configuration to em8300.conf" |
91 |
+ mv "${old1}" "${new}" |
92 |
+ elif [[ -a ${old2} ]]; then |
93 |
+ elog "Moving old em8300 configuration in /etc/modules.d to new" |
94 |
+ elog "location in /etc/modprobe.d" |
95 |
+ mv "${old2}" "${new}" |
96 |
+ fi |
97 |
fi |
98 |
} |
99 |
|
100 |
|
101 |
|
102 |
1.1 media-video/em8300-modules/em8300-modules-0.17.2-r1.ebuild |
103 |
|
104 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/em8300-modules/em8300-modules-0.17.2-r1.ebuild?rev=1.1&view=markup |
105 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/em8300-modules/em8300-modules-0.17.2-r1.ebuild?rev=1.1&content-type=text/plain |
106 |
|
107 |
Index: em8300-modules-0.17.2-r1.ebuild |
108 |
=================================================================== |
109 |
# Copyright 1999-2009 Gentoo Foundation |
110 |
# Distributed under the terms of the GNU General Public License v2 |
111 |
# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-modules/em8300-modules-0.17.2-r1.ebuild,v 1.1 2009/06/18 15:11:51 zzam Exp $ |
112 |
|
113 |
inherit eutils linux-mod |
114 |
|
115 |
MY_P="${P/-modules/}" |
116 |
|
117 |
DESCRIPTION="em8300 (RealMagic Hollywood+/Creative DXR3) video decoder card kernel modules" |
118 |
HOMEPAGE="http://dxr3.sourceforge.net" |
119 |
SRC_URI="mirror://sourceforge/dxr3/${MY_P}.tar.gz" |
120 |
|
121 |
DEPEND="virtual/linux-sources" |
122 |
RDEPEND="" |
123 |
|
124 |
SLOT="0" |
125 |
LICENSE="GPL-2" |
126 |
KEYWORDS="~amd64 ~ppc ~x86" |
127 |
IUSE="" |
128 |
|
129 |
CONFIG_CHECK="I2C_ALGOBIT" |
130 |
MODULE_NAMES="em8300(video:) bt865(video:) adv717x(video:)" |
131 |
|
132 |
S="${WORKDIR}/${MY_P}/modules" |
133 |
|
134 |
src_unpack() { |
135 |
unpack ${A} |
136 |
cd "${S}/.." |
137 |
epatch "${FILESDIR}/${P}-kernel-2.6.30.patch" |
138 |
} |
139 |
|
140 |
src_compile() { |
141 |
set_arch_to_kernel |
142 |
cd "${S}" |
143 |
emake KERNEL_LOCATION="${KERNEL_DIR}" || die "emake failed." |
144 |
} |
145 |
|
146 |
src_install() { |
147 |
linux-mod_src_install |
148 |
|
149 |
dodoc README-modoptions README-modules.conf |
150 |
|
151 |
newsbin devices.sh em8300-devices.sh |
152 |
|
153 |
insinto /etc/modprobe.d |
154 |
newins "${FILESDIR}"/modules.em8300 em8300.conf |
155 |
|
156 |
insinto /etc/udev/rules.d |
157 |
newins em8300-udev.rules 15-em8300.rules |
158 |
} |
159 |
|
160 |
pkg_preinst() { |
161 |
linux-mod_pkg_preinst |
162 |
|
163 |
local old1="${ROOT}/etc/modprobe.d/em8300" |
164 |
local old2="${ROOT}/etc/modules.d/em8300" |
165 |
local new="${ROOT}/etc/modprobe.d/em8300.conf" |
166 |
|
167 |
if [[ ! -a ${new} ]]; then |
168 |
if [[ -a ${old1} ]]; then |
169 |
elog "Renaming em8300-modprobe configuration to em8300.conf" |
170 |
mv "${old1}" "${new}" |
171 |
elif [[ -a ${old2} ]]; then |
172 |
elog "Moving old em8300 configuration in /etc/modules.d to new" |
173 |
elog "location in /etc/modprobe.d" |
174 |
mv "${old2}" "${new}" |
175 |
fi |
176 |
fi |
177 |
} |