Gentoo Archives: gentoo-commits

From: "Stefan Briesenick (sbriesen)" <sbriesen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dialup/fxusb_CZ: ChangeLog fxusb_CZ-0.1-r1.ebuild
Date: Wed, 30 Jan 2008 14:35:39
Message-Id: E1JKE2K-0000iK-KH@stork.gentoo.org
1 sbriesen 08/01/30 14:35:36
2
3 Modified: ChangeLog
4 Added: fxusb_CZ-0.1-r1.ebuild
5 Log:
6 fixing string.h problem (see bug #202385) + patches for kernel 2.6.24 (thanks to Arnd Feldmueller <arnd.feldmueller@×××.de>).
7 (Portage version: 2.1.4)
8
9 Revision Changes Path
10 1.2 net-dialup/fxusb_CZ/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/fxusb_CZ/ChangeLog?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/fxusb_CZ/ChangeLog?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/fxusb_CZ/ChangeLog?r1=1.1&r2=1.2
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-dialup/fxusb_CZ/ChangeLog,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- ChangeLog 6 Jan 2008 02:09:08 -0000 1.1
23 +++ ChangeLog 30 Jan 2008 14:35:36 -0000 1.2
24 @@ -1,6 +1,13 @@
25 # ChangeLog for net-dialup/fxusb_CZ
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/fxusb_CZ/ChangeLog,v 1.1 2008/01/06 02:09:08 sbriesen Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/fxusb_CZ/ChangeLog,v 1.2 2008/01/30 14:35:36 sbriesen Exp $
29 +
30 +*fxusb_CZ-0.1-r1 (30 Jan 2008)
31 +
32 + 30 Jan 2008; Stefan Briesenick <sbriesen@g.o>
33 + +files/fxusb_CZ_kernel-2.6.24.diff, +fxusb_CZ-0.1-r1.ebuild:
34 + fixing string.h problem (see bug #202385) + patches for kernel 2.6.24
35 + (thanks to Arnd Feldmueller <arnd.feldmueller@×××.de>).
36
37 *fxusb_CZ-0.1 (06 Jan 2008)
38
39
40
41
42 1.1 net-dialup/fxusb_CZ/fxusb_CZ-0.1-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/fxusb_CZ/fxusb_CZ-0.1-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/fxusb_CZ/fxusb_CZ-0.1-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: fxusb_CZ-0.1-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/fxusb_CZ/fxusb_CZ-0.1-r1.ebuild,v 1.1 2008/01/30 14:35:36 sbriesen Exp $
52
53 inherit eutils rpm linux-mod
54
55 DESCRIPTION="AVM kernel 2.6 modules for Fritz!X USB (Teledat Version)"
56 HOMEPAGE="http://opensuse.foehr-it.de/"
57 SRC_URI="http://opensuse.foehr-it.de/rpms/10_3/src/${P}-0.src.rpm"
58
59 LICENSE="AVM-FC"
60 SLOT="0"
61 KEYWORDS="~x86"
62 IUSE=""
63
64 DEPEND="!net-dialup/fritzcapi"
65 RDEPEND="${DEPEND} net-dialup/capi4k-utils"
66
67 S="${WORKDIR}/fritz"
68
69 pkg_setup() {
70 linux-mod_pkg_setup
71
72 if ! kernel_is 2 6; then
73 die "This package works only with 2.6 kernel!"
74 fi
75
76 BUILD_TARGETS="all"
77 BUILD_PARAMS="KDIR=${KV_DIR} LIBDIR=${S}/src"
78 MODULE_NAMES="${PN}(net:${S}/src)"
79 }
80
81 src_unpack() {
82 rpm_unpack "${DISTDIR}/${A}" || die "failed to unpack ${A} file"
83 DISTDIR="${WORKDIR}" unpack fxusb.tar.gz
84
85 cd "${S}"
86 epatch $(sed -n "s|^Patch[01234]:\s*\(.*\)|../\1|p" ../${PN}.spec)
87 epatch "${FILESDIR}/${PN}_kernel-2.6.24.diff"
88 convert_to_m src/Makefile
89
90 for i in lib/*-lib.o; do
91 einfo "Localize symbols in ${i##*/} ..."
92 objcopy -L memcmp -L memcpy -L memmove -L memset -L strcat \
93 -L strcmp -L strcpy -L strlen -L strncmp -L strncpy "${i}"
94 done
95 }
96
97 src_install() {
98 linux-mod_src_install
99 dodoc CAPI*.txt README*
100 dohtml *.html
101 }
102
103
104
105 --
106 gentoo-commits@l.g.o mailing list