1 |
mrness 08/01/09 19:09:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: hcfpcimodem-1.14-r1.ebuild |
5 |
Removed: hcfpcimodem-1.14.ebuild |
6 |
Log: |
7 |
Run hcfpciconfig --remove in pkg_prerm (#205071). |
8 |
(Portage version: 2.1.3.19, RepoMan options: --force) |
9 |
|
10 |
Revision Changes Path |
11 |
1.35 net-dialup/hcfpcimodem/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/hcfpcimodem/ChangeLog?rev=1.35&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/hcfpcimodem/ChangeLog?rev=1.35&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/hcfpcimodem/ChangeLog?r1=1.34&r2=1.35 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/ChangeLog,v |
20 |
retrieving revision 1.34 |
21 |
retrieving revision 1.35 |
22 |
diff -u -r1.34 -r1.35 |
23 |
--- ChangeLog 8 Jan 2008 10:02:53 -0000 1.34 |
24 |
+++ ChangeLog 9 Jan 2008 19:09:44 -0000 1.35 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-dialup/hcfpcimodem |
27 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/ChangeLog,v 1.34 2008/01/08 10:02:53 maekke Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/ChangeLog,v 1.35 2008/01/09 19:09:44 mrness Exp $ |
30 |
+ |
31 |
+*hcfpcimodem-1.14-r1 (09 Jan 2008) |
32 |
+ |
33 |
+ 09 Jan 2008; Alin Năstac <mrness@g.o> -hcfpcimodem-1.14.ebuild, |
34 |
+ +hcfpcimodem-1.14-r1.ebuild: |
35 |
+ Run hcfpciconfig --remove in pkg_prerm (#205071). |
36 |
|
37 |
08 Jan 2008; Markus Meier <maekke@g.o> hcfpcimodem-1.14.ebuild: |
38 |
x86 stable, bug #204178 |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-dialup/hcfpcimodem/hcfpcimodem-1.14-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/hcfpcimodem/hcfpcimodem-1.14-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/hcfpcimodem/hcfpcimodem-1.14-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: hcfpcimodem-1.14-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/hcfpcimodem-1.14-r1.ebuild,v 1.1 2008/01/09 19:09:44 mrness Exp $ |
52 |
|
53 |
inherit eutils linux-info |
54 |
|
55 |
#The document is the same as in hsfmodem, even if it has a different URL |
56 |
MY_DOC="100498D_RM_HxF_Released.pdf" |
57 |
|
58 |
DESCRIPTION="Linuxant's modem driver for Connexant HCF chipset" |
59 |
HOMEPAGE="http://www.linuxant.com/drivers/hcf/index.php" |
60 |
SRC_URI="http://www.linuxant.com/drivers/hcf/full/archive/${P}full/${P}full.tar.gz |
61 |
doc? ( http://www.linuxant.com/drivers/hcf/full/archive/${P}full/${MY_DOC} )" |
62 |
|
63 |
LICENSE="Conexant" |
64 |
SLOT="0" |
65 |
KEYWORDS="-* x86" |
66 |
IUSE="doc" |
67 |
|
68 |
DEPEND="dev-lang/perl |
69 |
app-arch/cpio" |
70 |
|
71 |
S="${WORKDIR}/${P}full" |
72 |
|
73 |
QA_EXECSTACK="usr/lib/hcfpcimodem/modules/imported/hcfblam-i386.O usr/lib/hcfpcimodem/modules/imported/hcfengine-i386.O" |
74 |
|
75 |
pkg_setup() { |
76 |
linux-info_pkg_setup |
77 |
|
78 |
MOD_N="hcfpci" |
79 |
# Check to see if module is inserted into kernel, otherwise, build fails |
80 |
if [ "`lsmod | sed '/^'$MOD_N'serial/!d'`" ]; then |
81 |
eerror |
82 |
eerror "Module is in use by the kernel!!!" |
83 |
eerror "Attempting to unload..." |
84 |
eerror |
85 |
|
86 |
# Unloading module... |
87 |
${MOD_N}stop |
88 |
if [ "`lsmod | sed '/^'$MOD_N'serial/!d'`" ]; then |
89 |
eerror "Failed to unload modules from kernel!!!" |
90 |
eerror "Please manualy remove the module from the kernel and emerge again." |
91 |
eerror |
92 |
die |
93 |
fi |
94 |
einfo "Successfuly removed module from memory. Resuming emerge." |
95 |
einfo |
96 |
fi |
97 |
} |
98 |
|
99 |
src_unpack() { |
100 |
unpack ${A} |
101 |
|
102 |
epatch "${FILESDIR}/${P}-implicit-declarations.patch" |
103 |
} |
104 |
|
105 |
src_compile() { |
106 |
emake all || die "make failed" |
107 |
} |
108 |
|
109 |
pkg_preinst() { |
110 |
local NVMDIR="${ROOT}/etc/${PN}/nvm" |
111 |
if [ -d "${NVMDIR}" ]; then |
112 |
einfo "Cleaning ${NVMDIR}..." |
113 |
rm -rf "${NVMDIR}" |
114 |
eend |
115 |
fi |
116 |
} |
117 |
|
118 |
src_install () { |
119 |
make PREFIX="${D}/usr/" ROOT="${D}" install || die "make install failed" |
120 |
|
121 |
# in some cases, kernelcompiler.sh does not have x permission (#173414) |
122 |
fperms a+rx /usr/lib/hcfpcimodem/modules/kernelcompiler.sh |
123 |
|
124 |
use doc && dodoc "${DISTDIR}/${MY_DOC}" |
125 |
} |
126 |
|
127 |
pkg_postinst() { |
128 |
if [ "${ROOT}" = / ]; then |
129 |
elog "To complete the installation and configuration of your HCF modem," |
130 |
elog "please run hcfpciconfig." |
131 |
fi |
132 |
} |
133 |
|
134 |
pkg_prerm() { |
135 |
if [ "${ROOT}" = / -a -f /etc/init.d/hcfpci ] ; then |
136 |
hcfpciconfig --remove || die "hcfpciconfig --remove failed" |
137 |
fi |
138 |
} |
139 |
|
140 |
|
141 |
|
142 |
-- |
143 |
gentoo-commits@l.g.o mailing list |