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.1-r1.ebuild ChangeLog
Date: Wed, 23 Feb 2011 11:12:20
Message-Id: 20110223111208.C7F0720057@flycatcher.gentoo.org
1 alexxy 11/02/23 11:12:08
2
3 Modified: ChangeLog
4 Added: wimax-1.5.1-r1.ebuild
5 Log:
6 [net-wireless/wimax] Add updates from git. Also fix bug #356121
7
8 (Portage version: 2.2.0_alpha25/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.7 net-wireless/wimax/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wimax/ChangeLog?rev=1.7&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wimax/ChangeLog?rev=1.7&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wimax/ChangeLog?r1=1.6&r2=1.7
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-wireless/wimax/ChangeLog,v
20 retrieving revision 1.6
21 retrieving revision 1.7
22 diff -u -r1.6 -r1.7
23 --- ChangeLog 2 Jan 2011 14:37:39 -0000 1.6
24 +++ ChangeLog 23 Feb 2011 11:12:08 -0000 1.7
25 @@ -1,6 +1,33 @@
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.6 2011/01/02 14:37:39 alexxy Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wimax/ChangeLog,v 1.7 2011/02/23 11:12:08 alexxy Exp $
30 +
31 +*wimax-1.5.1-r1 (23 Feb 2011)
32 +
33 + 23 Feb 2011; Alexey Shvetsov <alexxy@g.o>
34 + +files/updates/0001-wimax-network-service-64-bit-fixes.patch,
35 + +files/updates/0002-cleanup-fix-struct-packing-and-type-casting-issues.patch,
36 + +files/updates/0003-Fix-pthread_mutex_unlock-duplicate-call-in-OSALTrace.patch,
37 + +files/updates/0004-Fix-a-lot-of-warnings-about-undefined-malloc-free.patch,
38 + +files/updates/0005-remove-duplicate-typedef-for-u8.patch,
39 + +files/updates/0006-wimaxcu-fix-array-size.patch,
40 + +files/updates/0007-supplicant-fix-invocation-of-eap_peer_sm_init.patch,
41 + +files/updates/0008-supplicant-Fix-eap_methods-array-setup-and-declarati.patch,
42 + +files/updates/0009-daemon-don-t-mask-SEGV-just-crash-and-dump-core.patch,
43 + +files/updates/0010-OSAL-fix-OSAL_wcsmp-for-Linux-environments.patch,
44 + +files/updates/0011-configure-remove-O2-by-default.patch,
45 + +files/updates/0012-Allow-IP-handling-script-to-be-configurable-at-runti.patch,
46 + +files/updates/0013-Fix-typo-in-logrotate-script.patch,
47 + +files/updates/0014-KDapi-Big-endian-support.patch,
48 + +files/updates/0015-Wrappers-wmx_Preambles_t-alignment.patch,
49 + +files/updates/0016-Wrappers-wmx_SystemStateUpdate-alignment.patch,
50 + +files/updates/0017-L4_INTEL_80216_INDICATION-typedef-redefinition.patch,
51 + +files/updates/0018-L5Common-Big-endian-support.patch,
52 + +files/updates/0019-Supplicant-Big-endian-support.patch,
53 + +files/updates/0020-endianess-use-endian.h-to-determine-endianess-vs-sta.patch,
54 + +wimax-1.5.1-r1.ebuild,
55 + files/wimax:
56 + Add updates from git. Also fix bug #356121
57
58 02 Jan 2011; Alexey Shvetsov <alexxy@g.o> wimax-1.5.1.ebuild:
59 Fix bug #331289
60
61
62
63 1.1 net-wireless/wimax/wimax-1.5.1-r1.ebuild
64
65 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wimax/wimax-1.5.1-r1.ebuild?rev=1.1&view=markup
66 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/wimax/wimax-1.5.1-r1.ebuild?rev=1.1&content-type=text/plain
67
68 Index: wimax-1.5.1-r1.ebuild
69 ===================================================================
70 # Copyright 1999-2011 Gentoo Foundation
71 # Distributed under the terms of the GNU General Public License v2
72 # $Header: /var/cvsroot/gentoo-x86/net-wireless/wimax/wimax-1.5.1-r1.ebuild,v 1.1 2011/02/23 11:12:08 alexxy Exp $
73
74 EAPI="3"
75
76 inherit linux-info base
77
78 DESCRIPTION="Intel WiMAX daemon used to interface to the hardware"
79 HOMEPAGE="http://www.linuxwimax.org/"
80 SRC_URI="http://www.linuxwimax.org/Download?action=AttachFile&do=get&target=${P}.tar.gz -> ${P}.tar.gz"
81
82 LICENSE="BSD"
83 SLOT="0"
84 KEYWORDS="~amd64 ~x86"
85 IUSE=""
86
87 DEPEND=">=dev-libs/libnl-1.1
88 >=sys-kernel/linux-headers-2.6.34"
89 RDEPEND="${DEPEND}
90 net-wireless/wimax-tools
91 net-wireless/wpa_supplicant[wimax]"
92
93 PATCHES=(
94 "${FILESDIR}/updates/0001-wimax-network-service-64-bit-fixes.patch"
95 "${FILESDIR}/updates/0002-cleanup-fix-struct-packing-and-type-casting-issues.patch"
96 "${FILESDIR}/updates/0003-Fix-pthread_mutex_unlock-duplicate-call-in-OSALTrace.patch"
97 "${FILESDIR}/updates/0004-Fix-a-lot-of-warnings-about-undefined-malloc-free.patch"
98 "${FILESDIR}/updates/0005-remove-duplicate-typedef-for-u8.patch"
99 "${FILESDIR}/updates/0006-wimaxcu-fix-array-size.patch"
100 "${FILESDIR}/updates/0007-supplicant-fix-invocation-of-eap_peer_sm_init.patch"
101 "${FILESDIR}/updates/0008-supplicant-Fix-eap_methods-array-setup-and-declarati.patch"
102 "${FILESDIR}/updates/0009-daemon-don-t-mask-SEGV-just-crash-and-dump-core.patch"
103 "${FILESDIR}/updates/0010-OSAL-fix-OSAL_wcsmp-for-Linux-environments.patch"
104 "${FILESDIR}/updates/0011-configure-remove-O2-by-default.patch"
105 "${FILESDIR}/updates/0012-Allow-IP-handling-script-to-be-configurable-at-runti.patch"
106 "${FILESDIR}/updates/0013-Fix-typo-in-logrotate-script.patch"
107 "${FILESDIR}/updates/0014-KDapi-Big-endian-support.patch"
108 "${FILESDIR}/updates/0015-Wrappers-wmx_Preambles_t-alignment.patch"
109 "${FILESDIR}/updates/0016-Wrappers-wmx_SystemStateUpdate-alignment.patch"
110 "${FILESDIR}/updates/0017-L4_INTEL_80216_INDICATION-typedef-redefinition.patch"
111 "${FILESDIR}/updates/0018-L5Common-Big-endian-support.patch"
112 "${FILESDIR}/updates/0019-Supplicant-Big-endian-support.patch"
113 "${FILESDIR}/updates/0020-endianess-use-endian.h-to-determine-endianess-vs-sta.patch"
114 )
115
116 pkg_setup() {
117 linux-info_pkg_setup
118 }
119
120 src_configure() {
121 econf \
122 --with-libwimaxll=/usr/$(get_libdir) \
123 --localstatedir=/var \
124 --with-i2400m=/usr || die "econf failed"
125 }
126
127 src_install() {
128 emake DESTDIR="${D}" install || die "Install failed"
129 doinitd "${FILESDIR}"/wimax || die "failed to place the init daemon"
130 sed -e "s:/usr/lib/libeap.so.0:/usr/$(get_libdir)/libeap.so.0:g" \
131 -e "s:<GetDeviceTraces>3</GetDeviceTraces>:<GetDeviceTraces>0</GetDeviceTraces>:g" \
132 -e "s:<OutputTarget>console</OutputTarget>:<OutputTarget>daemon</OutputTarget>:g" \
133 -e "s:<IPRenew>1</IPRenew>:<IPRenew>0</IPRenew>:g" \
134 -i "${D}/etc/wimax/config.xml" || die "Fixing config failed"
135 # Drop udev rusles for now
136 rm -rf "${D}/etc/udev"
137 }