1 |
mrness 08/01/09 18:51:30 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: hsfmodem-7.68.00.04-r1.ebuild |
5 |
Removed: hsfmodem-7.68.00.04.ebuild |
6 |
Log: |
7 |
Run hsfconfig --remove in pkg_prerm (#205071). |
8 |
(Portage version: 2.1.3.19, RepoMan options: --force) |
9 |
|
10 |
Revision Changes Path |
11 |
1.43 net-dialup/hsfmodem/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/hsfmodem/ChangeLog?rev=1.43&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/hsfmodem/ChangeLog?rev=1.43&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/hsfmodem/ChangeLog?r1=1.42&r2=1.43 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-dialup/hsfmodem/ChangeLog,v |
20 |
retrieving revision 1.42 |
21 |
retrieving revision 1.43 |
22 |
diff -u -r1.42 -r1.43 |
23 |
--- ChangeLog 8 Jan 2008 10:06:48 -0000 1.42 |
24 |
+++ ChangeLog 9 Jan 2008 18:51:29 -0000 1.43 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-dialup/hsfmodem |
27 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/hsfmodem/ChangeLog,v 1.42 2008/01/08 10:06:48 maekke Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/hsfmodem/ChangeLog,v 1.43 2008/01/09 18:51:29 mrness Exp $ |
30 |
+ |
31 |
+*hsfmodem-7.68.00.04-r1 (09 Jan 2008) |
32 |
+ |
33 |
+ 09 Jan 2008; Alin Năstac <mrness@g.o> -hsfmodem-7.68.00.04.ebuild, |
34 |
+ +hsfmodem-7.68.00.04-r1.ebuild: |
35 |
+ Run hsfconfig --remove in pkg_prerm (#205071). |
36 |
|
37 |
08 Jan 2008; Markus Meier <maekke@g.o> hsfmodem-7.68.00.04.ebuild: |
38 |
x86 stable, bug #204180 |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-dialup/hsfmodem/hsfmodem-7.68.00.04-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/hsfmodem/hsfmodem-7.68.00.04-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/hsfmodem/hsfmodem-7.68.00.04-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: hsfmodem-7.68.00.04-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/hsfmodem/hsfmodem-7.68.00.04-r1.ebuild,v 1.1 2008/01/09 18:51:29 mrness Exp $ |
52 |
|
53 |
inherit eutils linux-info |
54 |
|
55 |
#The document is the same as in hcfpcimodem, even if it has a different URL |
56 |
MY_DOC="100498D_RM_HxF_Released.pdf" |
57 |
|
58 |
DESCRIPTION="Linuxant's modem driver for Conexant HSF chipset" |
59 |
HOMEPAGE="http://www.linuxant.com/drivers/hsf/index.php" |
60 |
SRC_URI="x86? ( http://www.linuxant.com/drivers/hsf/full/archive/${P}full/${P}full.tar.gz ) |
61 |
amd64? ( http://www.linuxant.com/drivers/hsf/full/archive/${P}x86_64full/${P}x86_64full.tar.gz ) |
62 |
doc? ( http://www.linuxant.com/drivers/hsf/full/archive/${P}full/${MY_DOC} )" |
63 |
|
64 |
LICENSE="Conexant" |
65 |
KEYWORDS="-* ~amd64 x86" |
66 |
IUSE="doc" |
67 |
SLOT="0" |
68 |
|
69 |
DEPEND="dev-lang/perl |
70 |
app-arch/cpio" |
71 |
|
72 |
S="${WORKDIR}" |
73 |
|
74 |
pkg_setup() { |
75 |
linux-info_pkg_setup |
76 |
if useq x86; then |
77 |
MY_ARCH_S="${S}/${P}full" |
78 |
elif useq amd64; then |
79 |
MY_ARCH_S="${S}/${P}x86_64full" |
80 |
fi |
81 |
|
82 |
local f |
83 |
QA_EXECSTACK="" |
84 |
for f in pcibasic2 mc97ich mc97via mc97ali mc97ati mc97sis usbcd2 soar hda engine ; do |
85 |
QA_EXECSTACK="${QA_EXECSTACK} usr/lib/hsfmodem/modules/imported/hsf${f}-i386.O" |
86 |
done |
87 |
} |
88 |
|
89 |
src_unpack() { |
90 |
unpack ${A} |
91 |
cd "${MY_ARCH_S}" |
92 |
epatch "${FILESDIR}/${P}-udev-group.patch" |
93 |
epatch "${FILESDIR}/${P}-sandbox-violation.patch" |
94 |
} |
95 |
|
96 |
src_compile() { |
97 |
cd "${MY_ARCH_S}" |
98 |
emake all || die "make failed" |
99 |
} |
100 |
|
101 |
src_install () { |
102 |
cd "${MY_ARCH_S}" |
103 |
make ROOT="${D}" install || die "make install failed" |
104 |
|
105 |
# on testing arches, kernelcompiler.sh permissions are 0600 (#158736) |
106 |
fperms a+rx /usr/lib/hsfmodem/modules/kernelcompiler.sh |
107 |
|
108 |
use doc && dodoc "${DISTDIR}/${MY_DOC}" |
109 |
} |
110 |
|
111 |
pkg_preinst() { |
112 |
local NVMDIR="${ROOT}/etc/${PN}/nvm" |
113 |
if [ -d "${NVMDIR}" ]; then |
114 |
einfo "Cleaning ${NVMDIR}..." |
115 |
rm -rf "${NVMDIR}" |
116 |
eend |
117 |
fi |
118 |
} |
119 |
|
120 |
pkg_postinst() { |
121 |
if [ "${ROOT}" = / ]; then |
122 |
elog "To complete the installation and configuration of your HSF modem," |
123 |
elog "please run hsfconfig." |
124 |
fi |
125 |
} |
126 |
|
127 |
pkg_prerm() { |
128 |
if [ "${ROOT}" = / -a -f /etc/init.d/hsf ] ; then |
129 |
hsfconfig --remove || die "hsfconfig --remove failed" |
130 |
fi |
131 |
} |
132 |
|
133 |
|
134 |
|
135 |
-- |
136 |
gentoo-commits@l.g.o mailing list |