diff options
author | Christian Heim <phreak@gentoo.org> | 2007-02-10 12:06:00 +0000 |
---|---|---|
committer | Christian Heim <phreak@gentoo.org> | 2007-02-10 12:06:00 +0000 |
commit | f72c1a32c53933d69a0e7f0ca04f338537f042d5 (patch) | |
tree | c72610c1037d8683a52d2a7b3be5b8b71095d4dc /net-wireless | |
parent | Stable for HPPA (bug #165788). (diff) | |
download | gentoo-2-f72c1a32c53933d69a0e7f0ca04f338537f042d5.tar.gz gentoo-2-f72c1a32c53933d69a0e7f0ca04f338537f042d5.tar.bz2 gentoo-2-f72c1a32c53933d69a0e7f0ca04f338537f042d5.zip |
Fixing compilation with kernel >= 2.6.19, thanks to Paul Healy <lmiphay at gmail.com> in #164743.
(Portage version: 2.1.2-r9)
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/wavemon/ChangeLog | 11 | ||||
-rw-r--r-- | net-wireless/wavemon/files/digest-wavemon-0.3.3 | 2 | ||||
-rw-r--r-- | net-wireless/wavemon/files/digest-wavemon-0.4.0b-r2 | 3 | ||||
-rw-r--r-- | net-wireless/wavemon/files/wavemon-0.4.0b-includes.patch | 13 | ||||
-rw-r--r-- | net-wireless/wavemon/wavemon-0.4.0b-r2.ebuild | 44 |
5 files changed, 71 insertions, 2 deletions
diff --git a/net-wireless/wavemon/ChangeLog b/net-wireless/wavemon/ChangeLog index 06036b2e1af7..fbf89fdced78 100644 --- a/net-wireless/wavemon/ChangeLog +++ b/net-wireless/wavemon/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-wireless/wavemon -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/wavemon/ChangeLog,v 1.19 2006/06/28 15:29:51 dang Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wavemon/ChangeLog,v 1.20 2007/02/10 12:06:00 phreak Exp $ + +*wavemon-0.4.0b-r2 (10 Feb 2007) + + 10 Feb 2007; Christian Heim <phreak@gentoo.org> + +files/wavemon-0.4.0b-includes.patch, +wavemon-0.4.0b-r2.ebuild: + Fixing compilation with kernel >= 2.6.19, thanks to Paul Healy <lmiphay at + gmail.com> in #164743. 28 Jun 2006; Daniel Gryniewicz <dang@gentoo.org> wavemon-0.4.0b-r1.ebuild: Marked stable on amd64 per bug# 137977 diff --git a/net-wireless/wavemon/files/digest-wavemon-0.3.3 b/net-wireless/wavemon/files/digest-wavemon-0.3.3 index bddfe5b47b85..af3cbf4c000c 100644 --- a/net-wireless/wavemon/files/digest-wavemon-0.3.3 +++ b/net-wireless/wavemon/files/digest-wavemon-0.3.3 @@ -1 +1,3 @@ MD5 9bd4cc17c2a6491bb14d30f1c03adf49 wavemon-current.tar.gz 29662 +RMD160 adaaae661f05c76309742d66c1345141a40a356c wavemon-current.tar.gz 29662 +SHA256 f0cea97327e9f497b96875e9e33bb433c22acc2514f90977bd9fe0285152a21a wavemon-current.tar.gz 29662 diff --git a/net-wireless/wavemon/files/digest-wavemon-0.4.0b-r2 b/net-wireless/wavemon/files/digest-wavemon-0.4.0b-r2 new file mode 100644 index 000000000000..e1def3eb2d1a --- /dev/null +++ b/net-wireless/wavemon/files/digest-wavemon-0.4.0b-r2 @@ -0,0 +1,3 @@ +MD5 2baab37eb967fc38dc53f8e4f609daac wavemon-0.4.0b.tar.gz 71540 +RMD160 91ae1eab82de15b91863ea3e714c8f6f9b08bc0b wavemon-0.4.0b.tar.gz 71540 +SHA256 4e8dba564f22cdd593df541257b487cd03c599e4591c4a7eb692b015adc594cd wavemon-0.4.0b.tar.gz 71540 diff --git a/net-wireless/wavemon/files/wavemon-0.4.0b-includes.patch b/net-wireless/wavemon/files/wavemon-0.4.0b-includes.patch new file mode 100644 index 000000000000..dbc6faed8753 --- /dev/null +++ b/net-wireless/wavemon/files/wavemon-0.4.0b-includes.patch @@ -0,0 +1,13 @@ +Index: wavemon-0.4.0b/iw_if.h +=================================================================== +--- wavemon-0.4.0b.orig/iw_if.h ++++ wavemon-0.4.0b/iw_if.h +@@ -19,6 +19,8 @@ + */ + + #include <netdb.h> ++#include <linux/types.h> ++#include <linux/if.h> + #include <linux/wireless.h> + + #define IW_STACKSIZE 1024 diff --git a/net-wireless/wavemon/wavemon-0.4.0b-r2.ebuild b/net-wireless/wavemon/wavemon-0.4.0b-r2.ebuild new file mode 100644 index 000000000000..a5fa6e773e26 --- /dev/null +++ b/net-wireless/wavemon/wavemon-0.4.0b-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wavemon/wavemon-0.4.0b-r2.ebuild,v 1.1 2007/02/10 12:06:00 phreak Exp $ + +inherit toolchain-funcs flag-o-matic eutils linux-info + +DESCRIPTION="Ncurses based monitor for IEEE 802.11 wireless LAN cards" +HOMEPAGE="http://www.janmorgenstern.de/projects-software.html" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +IUSE="" +DEPEND="sys-libs/ncurses" + +src_unpack() { + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}"/wavemon-gcc-fixes.patch + epatch "${FILESDIR}"/${P}-includes.patch + + append-flags "-I${KV_DIR}/include" + + sed -i \ + -e "s|^CFLAGS=\".*\"|CFLAGS=\"${CFLAGS}\"|" \ + "${S}"/configure +} + +src_compile() { + CC=$(tc-getCC) econf || die "econf failed" + emake || die "emake failed" +} + +src_install() { + dodir /usr/bin /usr/share/man/{man1,man5} + + make prefix="${D}"/usr mandir="${D}"/usr/share/man install \ + || die "make install failed" + + dodoc AUTHORS Changelog README TODO +} |