summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-10-14 06:01:11 +0000
committerPeter Volkov <pva@gentoo.org>2008-10-14 06:01:11 +0000
commit3f9ffd0df8dd19f99c003ff93001f151a7dbcf91 (patch)
tree76b963213b841ec515161df8cc9a9795a02280d2 /net-wireless
parentVersion bump. EAPI 2. New cairo USE flag. (diff)
downloadgentoo-2-3f9ffd0df8dd19f99c003ff93001f151a7dbcf91.tar.gz
gentoo-2-3f9ffd0df8dd19f99c003ff93001f151a7dbcf91.tar.bz2
gentoo-2-3f9ffd0df8dd19f99c003ff93001f151a7dbcf91.zip
Added workaround for unresolved symbols if CONFIG_MODVERSIONS is set, bug #232099.
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-openvz.git-777e816 i686)
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/madwifi-ng/ChangeLog8
-rw-r--r--net-wireless/madwifi-ng/madwifi-ng-0.9.3.1.ebuild4
-rw-r--r--net-wireless/madwifi-ng/madwifi-ng-0.9.3.2.ebuild4
-rw-r--r--net-wireless/madwifi-ng/madwifi-ng-0.9.4-r1.ebuild98
4 files changed, 109 insertions, 5 deletions
diff --git a/net-wireless/madwifi-ng/ChangeLog b/net-wireless/madwifi-ng/ChangeLog
index ad905c5cf744..545047e4ae08 100644
--- a/net-wireless/madwifi-ng/ChangeLog
+++ b/net-wireless/madwifi-ng/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-wireless/madwifi-ng
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/ChangeLog,v 1.59 2008/09/13 18:57:04 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/ChangeLog,v 1.60 2008/10/14 06:01:11 pva Exp $
+
+*madwifi-ng-0.9.4-r1 (14 Oct 2008)
+
+ 14 Oct 2008; Peter Volkov <pva@gentoo.org> +madwifi-ng-0.9.4-r1.ebuild:
+ Added workaround for unresolved symbols if CONFIG_MODVERSIONS is set, bug
+ #232099.
13 Sep 2008; Peter Volkov <pva@gentoo.org> madwifi-ng-0.9.4.ebuild:
Removed app-arch/sharutils from DEPEND as madwifi-ng builds fine without
diff --git a/net-wireless/madwifi-ng/madwifi-ng-0.9.3.1.ebuild b/net-wireless/madwifi-ng/madwifi-ng-0.9.3.1.ebuild
index b62b85418de9..0f16bfa536e5 100644
--- a/net-wireless/madwifi-ng/madwifi-ng-0.9.3.1.ebuild
+++ b/net-wireless/madwifi-ng/madwifi-ng-0.9.3.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.3.1.ebuild,v 1.7 2008/02/14 05:25:13 steev Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.3.1.ebuild,v 1.8 2008/10/14 06:01:11 pva Exp $
inherit linux-mod
diff --git a/net-wireless/madwifi-ng/madwifi-ng-0.9.3.2.ebuild b/net-wireless/madwifi-ng/madwifi-ng-0.9.3.2.ebuild
index dfb02302652f..7bf21763ae11 100644
--- a/net-wireless/madwifi-ng/madwifi-ng-0.9.3.2.ebuild
+++ b/net-wireless/madwifi-ng/madwifi-ng-0.9.3.2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.3.2.ebuild,v 1.6 2008/02/14 05:25:13 steev Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.3.2.ebuild,v 1.7 2008/10/14 06:01:11 pva Exp $
inherit linux-mod
diff --git a/net-wireless/madwifi-ng/madwifi-ng-0.9.4-r1.ebuild b/net-wireless/madwifi-ng/madwifi-ng-0.9.4-r1.ebuild
new file mode 100644
index 000000000000..334195e5744c
--- /dev/null
+++ b/net-wireless/madwifi-ng/madwifi-ng-0.9.4-r1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/madwifi-ng-0.9.4-r1.ebuild,v 1.1 2008/10/14 06:01:11 pva Exp $
+
+inherit linux-mod
+
+MY_P=${PN/-ng/}-${PV}
+S="${WORKDIR}"/${MY_P}
+
+DESCRIPTION="Next Generation driver for Atheros based IEEE 802.11a/b/g wireless LAN cards"
+HOMEPAGE="http://www.madwifi.org/"
+SRC_URI="mirror://sourceforge/madwifi/madwifi-${PV}.tar.bz2"
+
+LICENSE="atheros-hal
+ || ( BSD GPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="injection"
+
+RDEPEND="!net-wireless/madwifi-old
+ net-wireless/wireless-tools
+ ~net-wireless/madwifi-ng-tools-${PV}"
+
+CONFIG_CHECK="CRYPTO WIRELESS_EXT SYSCTL KMOD"
+ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
+ERROR_WIRELESS_EXT="${P} requires CONFIG_WIRELESS_EXT selected by Wireless LAN drivers (non-hamradio) & Wireless Extensions"
+ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
+ERROR_KMOD="${F} requires CONFIG_KMOD to be set to y or m"
+BUILD_TARGETS="all"
+MODULESD_ATH_PCI_DOCS="README"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ MODULE_NAMES='ath_hal(net:"${S}"/ath_hal)
+ wlan(net:"${S}"/net80211)
+ wlan_acl(net:"${S}"/net80211)
+ wlan_ccmp(net:"${S}"/net80211)
+ wlan_tkip(net:"${S}"/net80211)
+ wlan_wep(net:"${S}"/net80211)
+ wlan_xauth(net:"${S}"/net80211)
+ wlan_scan_sta(net:"${S}"/net80211)
+ wlan_scan_ap(net:"${S}"/net80211)
+ ath_rate_amrr(net:"${S}"/ath_rate/amrr)
+ ath_rate_onoe(net:"${S}"/ath_rate/onoe)
+ ath_rate_sample(net:"${S}"/ath_rate/sample)
+ ath_rate_minstrel(net:"${S}"/ath_rate/minstrel)
+ ath_pci(net:"${S}"/ath)'
+
+ BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
+}
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-0.9.3-uudecode-gcda-fix.patch
+ if use injection; then epatch "${FILESDIR}"/${PN}-r1886.patch; fi
+ for dir in ath ath_hal net80211 ath_rate ath_rate/amrr ath_rate/minstrel ath_rate/onoe ath_rate/sample; do
+ convert_to_m "${S}"/${dir}/Makefile
+ done
+ epatch "${FILESDIR}"/madwifi-dfs-ieee80211-skb-update.patch
+ # Workaround our build system, bug #232099 (bug #237618 describes details)
+ touch Module.symvers
+ for ms in ath net80211 ath_hal ath_rate/{amrr,minstrel,onoe,sample}; do
+ ln -s "${S}"/Module.symvers ${ms}
+ done
+}
+
+src_install() {
+ linux-mod_src_install
+
+ dodoc README THANKS docs/users-guide.pdf docs/WEP-HOWTO.txt
+}
+
+pkg_postinst() {
+ local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
+
+ linux-mod_pkg_postinst
+
+ einfo
+ einfo "Interfaces (athX) are now automatically created upon loading the ath_pci"
+ einfo "module."
+ einfo
+ einfo "The type of the created interface can be controlled through the 'autocreate'"
+ einfo "module parameter."
+ einfo
+ einfo "As of net-wireless/madwifi-ng-0.9.3 rate control module selection is done at"
+ einfo "module load time via the 'ratectl' module parameter. USE flags amrr and onoe"
+ einfo "no longer serve any purpose."
+
+ elog "Please note: This release is based off of 0.9.3.3 and NOT trunk."
+ elog "# No AR5007 support in this release;"
+ elog "experimental support is available for i386 (32bit) in #1679"
+ elog "# No AR5008 support in this release; support is available in trunk "
+ elog "No, we will not apply the patch from 1679, if you must, please do so
+ in an overlay on your system. That is upstreams ticket 1679, not Gentoo's."
+}