Gentoo Archives: gentoo-commits

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