Gentoo Archives: gentoo-commits

From: "Alexey Shvetsov (alexxy)" <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-wireless/wimax: wimax-1.5.2-r1.ebuild ChangeLog
Date: Sat, 19 Nov 2011 10:17:22
Message-Id: 20111119101713.A42AA2004B@flycatcher.gentoo.org
1 alexxy 11/11/19 10:17:13
2
3 Modified: ChangeLog
4 Added: wimax-1.5.2-r1.ebuild
5 Log:
6 Fix bugs #390845 and #386127
7
8 (Portage version: 2.2.0_alpha76/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.12 net-wireless/wimax/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wimax/ChangeLog?rev=1.12&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wimax/ChangeLog?rev=1.12&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wimax/ChangeLog?r1=1.11&r2=1.12
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-wireless/wimax/ChangeLog,v
20 retrieving revision 1.11
21 retrieving revision 1.12
22 diff -u -r1.11 -r1.12
23 --- ChangeLog 27 Oct 2011 03:56:19 -0000 1.11
24 +++ ChangeLog 19 Nov 2011 10:17:13 -0000 1.12
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-wireless/wimax
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/wimax/ChangeLog,v 1.11 2011/10/27 03:56:19 tetromino Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wimax/ChangeLog,v 1.12 2011/11/19 10:17:13 alexxy Exp $
30 +
31 +*wimax-1.5.2-r1 (19 Nov 2011)
32 +
33 + 19 Nov 2011; Alexey Shvetsov <alexxy@g.o> +wimax-1.5.2-r1.ebuild:
34 + Fix bugs #390845 and #386127
35
36 27 Oct 2011; Alexandre Rostovtsev <tetromino@g.o> wimax-1.5.2.ebuild:
37 Depend on same slot of libnl as wimax-tools.
38
39
40
41 1.1 net-wireless/wimax/wimax-1.5.2-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wimax/wimax-1.5.2-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wimax/wimax-1.5.2-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: wimax-1.5.2-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-wireless/wimax/wimax-1.5.2-r1.ebuild,v 1.1 2011/11/19 10:17:13 alexxy Exp $
51
52 EAPI="4"
53
54 inherit base linux-info multilib
55
56 DESCRIPTION="Intel WiMAX daemon used to interface to the hardware"
57 HOMEPAGE="http://www.linuxwimax.org/"
58 SRC_URI="http://www.linuxwimax.org/Download?action=AttachFile&do=get&target=${P}.tar.gz -> ${P}.tar.gz"
59
60 LICENSE="BSD"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="static-libs"
64
65 DEPEND=">=dev-libs/libnl-1.1:1.1
66 >=sys-kernel/linux-headers-2.6.34"
67 RDEPEND="${DEPEND}
68 net-wireless/wimax-tools
69 net-wireless/wpa_supplicant[wimax]"
70
71 src_configure() {
72 econf \
73 --with-libwimaxll=/usr/$(get_libdir) \
74 --localstatedir=/var \
75 --with-i2400m=/usr || die "econf failed"
76 }
77
78 src_install() {
79 emake DESTDIR="${D}" install || die "Install failed"
80 doinitd "${FILESDIR}"/wimax || die "failed to place the init daemon"
81 sed -e "s:/usr/lib/libeap.so.0:/usr/$(get_libdir)/libeap.so.0:g" \
82 -e "s:<GetDeviceTraces>3</GetDeviceTraces>:<GetDeviceTraces>0</GetDeviceTraces>:g" \
83 -e "s:<OutputTarget>console</OutputTarget>:<OutputTarget>daemon</OutputTarget>:g" \
84 -e "s:<IPRenew>1</IPRenew>:<IPRenew>0</IPRenew>:g" \
85 -i "${D}/etc/wimax/config.xml" || die "Fixing config failed"
86 # Drop udev rusles for now
87 rm -rf "${D}/etc/udev"
88 use static-libs || find "${D}" -name '*.*a' -exec rm {} +
89 }