Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-wireless/linux-wlan-ng-utils: ChangeLog linux-wlan-ng-utils-0.2.2.ebuild
Date: Tue, 29 Jun 2010 15:27:06
Message-Id: 20100629152700.EB4AC2C621@corvid.gentoo.org
1 ssuominen 10/06/29 15:27:00
2
3 Modified: ChangeLog linux-wlan-ng-utils-0.2.2.ebuild
4 Log:
5 Fix building with -Wl,--as-needed wrt #248195 by Diego E. Pettenò.
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.5 net-wireless/linux-wlan-ng-utils/ChangeLog
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/linux-wlan-ng-utils/ChangeLog?rev=1.5&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/linux-wlan-ng-utils/ChangeLog?rev=1.5&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/linux-wlan-ng-utils/ChangeLog?r1=1.4&r2=1.5
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng-utils/ChangeLog,v
18 retrieving revision 1.4
19 retrieving revision 1.5
20 diff -u -r1.4 -r1.5
21 --- ChangeLog 22 Feb 2007 03:11:07 -0000 1.4
22 +++ ChangeLog 29 Jun 2010 15:27:00 -0000 1.5
23 @@ -1,6 +1,11 @@
24 # ChangeLog for net-wireless/linux-wlan-ng-utils
25 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng-utils/ChangeLog,v 1.4 2007/02/22 03:11:07 peper Exp $
27 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng-utils/ChangeLog,v 1.5 2010/06/29 15:27:00 ssuominen Exp $
29 +
30 + 29 Jun 2010; Samuli Suominen <ssuominen@g.o>
31 + linux-wlan-ng-utils-0.2.2.ebuild,
32 + +files/linux-wlan-ng-utils-0.2.2-asneeded.patch:
33 + Fix building with -Wl,--as-needed wrt #248195 by Diego E. Pettenò.
34
35 22 Feb 2007; Piotr Jaroszyński <peper@g.o> ChangeLog:
36 Transition to Manifest2.
37
38
39
40 1.5 net-wireless/linux-wlan-ng-utils/linux-wlan-ng-utils-0.2.2.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/linux-wlan-ng-utils/linux-wlan-ng-utils-0.2.2.ebuild?rev=1.5&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/linux-wlan-ng-utils/linux-wlan-ng-utils-0.2.2.ebuild?rev=1.5&content-type=text/plain
44 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/linux-wlan-ng-utils/linux-wlan-ng-utils-0.2.2.ebuild?r1=1.4&r2=1.5
45
46 Index: linux-wlan-ng-utils-0.2.2.ebuild
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng-utils/linux-wlan-ng-utils-0.2.2.ebuild,v
49 retrieving revision 1.4
50 retrieving revision 1.5
51 diff -u -r1.4 -r1.5
52 --- linux-wlan-ng-utils-0.2.2.ebuild 2 Apr 2006 12:03:28 -0000 1.4
53 +++ linux-wlan-ng-utils-0.2.2.ebuild 29 Jun 2010 15:27:00 -0000 1.5
54 @@ -1,9 +1,10 @@
55 -# Copyright 1999-2006 Gentoo Foundation
56 +# Copyright 1999-2010 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng-utils/linux-wlan-ng-utils-0.2.2.ebuild,v 1.4 2006/04/02 12:03:28 betelgeuse Exp $
59 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng-utils/linux-wlan-ng-utils-0.2.2.ebuild,v 1.5 2010/06/29 15:27:00 ssuominen Exp $
60 +
61 +inherit eutils toolchain-funcs
62
63 MY_P=${P/-utils/}
64 -S=${WORKDIR}/${MY_P}
65
66 DESCRIPTION="Key generators from the linux-wlan-ng project."
67 HOMEPAGE="http://linux-wlan.org"
68 @@ -12,20 +13,29 @@
69 LICENSE="MPL-1.1"
70 SLOT="0"
71 KEYWORDS="~amd64 ~ppc ~x86"
72 -
73 IUSE=""
74
75 DEPEND="dev-libs/openssl
76 !<net-wireless/linux-wlan-ng-0.2.2"
77 RDEPEND="${DEPEND}"
78
79 +S=${WORKDIR}/${MY_P}
80 +
81 KEYGENS="keygen lwepgen"
82
83 +src_unpack() {
84 + unpack ${A}
85 + cd "${S}"
86 + epatch "${FILESDIR}"/${P}-asneeded.patch
87 +}
88 +
89 src_compile() {
90 + tc-export CC
91 +
92 for keygen in ${KEYGENS}; do
93 cd add-ons/${keygen}
94 - make ${keygen} || die "Failed to make ${keygen}"
95 - cd ${S}
96 + emake ${keygen} || die
97 + cd "${S}"
98 done
99 }