summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2006-04-27 16:34:52 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2006-04-27 16:34:52 +0000
commitfc757ebf37dce703b059f01d104705b91ce76723 (patch)
treef9223169bbc3caff2ce6274c4a796e003204fed1 /net-wireless/madwifi-ng
parentFixing SHA256 digest, pass four (diff)
downloadgentoo-2-fc757ebf37dce703b059f01d104705b91ce76723.tar.gz
gentoo-2-fc757ebf37dce703b059f01d104705b91ce76723.tar.bz2
gentoo-2-fc757ebf37dce703b059f01d104705b91ce76723.zip
New snapshot.
(Portage version: 2203-svn)
Diffstat (limited to 'net-wireless/madwifi-ng')
-rw-r--r--net-wireless/madwifi-ng/ChangeLog8
-rw-r--r--net-wireless/madwifi-ng/Manifest4
-rw-r--r--net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1531.200604271
-rw-r--r--net-wireless/madwifi-ng/madwifi-ng-0.1531.20060427.ebuild125
4 files changed, 136 insertions, 2 deletions
diff --git a/net-wireless/madwifi-ng/ChangeLog b/net-wireless/madwifi-ng/ChangeLog
index 9ebb867a2b65..60d70799891c 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-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/ChangeLog,v 1.1 2006/04/14 13:52:48 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-ng/ChangeLog,v 1.2 2006/04/27 16:34:52 brix Exp $
+
+*madwifi-ng-0.1531.20060427 (27 Apr 2006)
+
+ 27 Apr 2006; Henrik Brix Andersen <brix@gentoo.org>
+ +madwifi-ng-0.1531.20060427.ebuild:
+ New snapshot.
*madwifi-ng-0.1502.20060414 (14 Apr 2006)
*madwifi-ng-0.1485.20060325 (14 Apr 2006)
diff --git a/net-wireless/madwifi-ng/Manifest b/net-wireless/madwifi-ng/Manifest
index 62c785c04733..6fe112ebbff3 100644
--- a/net-wireless/madwifi-ng/Manifest
+++ b/net-wireless/madwifi-ng/Manifest
@@ -1,4 +1,4 @@
-MD5 10d326e550d7afa8fb41f38ef7df7633 ChangeLog 9456
+MD5 c0e32f0a4a8b70f61b7718e01a6f9c62 ChangeLog 9608
MD5 6225a58b69ebeb67ff97ab4026b21e58 files/digest-madwifi-ng-0.1401.20060117 78
MD5 04ecb172d5d25d2995578d1772e2c239 files/digest-madwifi-ng-0.1420.20060201 78
MD5 94fa700e7f5c8ec3598c00b31c724525 files/digest-madwifi-ng-0.1440.20060206 78
@@ -6,6 +6,7 @@ MD5 7e62e96505ecb836f9f74c54d448af59 files/digest-madwifi-ng-0.1443.20060207 78
MD5 a505c0375ea7fdfc85976a0fc0866c6c files/digest-madwifi-ng-0.1473.20060312 78
MD5 cb9bb227fc8875077d219e7bcae57ba5 files/digest-madwifi-ng-0.1485.20060325 78
MD5 f97361e3508b06548cb54b3992459d7b files/digest-madwifi-ng-0.1502.20060414 78
+MD5 1e8c2150ad4b3de67d9d61313a9f8a5f files/digest-madwifi-ng-0.1531.20060427 78
MD5 50490c8660399ce1ad9e2baad987a99b madwifi-ng-0.1401.20060117.ebuild 3596
MD5 e626a838009a50758c878d92f8f46861 madwifi-ng-0.1420.20060201.ebuild 3512
MD5 de3f07cf2748ba4525f5dd9d1e316c58 madwifi-ng-0.1440.20060206.ebuild 3558
@@ -13,4 +14,5 @@ MD5 689c7f61f8f572dd6cf65ca96859faa7 madwifi-ng-0.1443.20060207.ebuild 3814
MD5 798822f88b9786db5d26e9b5e74011ad madwifi-ng-0.1473.20060312.ebuild 3815
MD5 4baa7dacd5b13a2e70db94f45ba7d1a3 madwifi-ng-0.1485.20060325.ebuild 3815
MD5 ce30e6957bb5a754a0f8da81cb4c6eb0 madwifi-ng-0.1502.20060414.ebuild 3826
+MD5 19daf595773ea263aa5ac9090c0fe4d9 madwifi-ng-0.1531.20060427.ebuild 3709
MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255
diff --git a/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1531.20060427 b/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1531.20060427
new file mode 100644
index 000000000000..77cef0450db4
--- /dev/null
+++ b/net-wireless/madwifi-ng/files/digest-madwifi-ng-0.1531.20060427
@@ -0,0 +1 @@
+MD5 5c341bcc5a0c6bc7dbca743266b31afc madwifi-ng-r1531-20060427.tar.gz 3117258
diff --git a/net-wireless/madwifi-ng/madwifi-ng-0.1531.20060427.ebuild b/net-wireless/madwifi-ng/madwifi-ng-0.1531.20060427.ebuild
new file mode 100644
index 000000000000..d8aa05708c66
--- /dev/null
+++ b/net-wireless/madwifi-ng/madwifi-ng-0.1531.20060427.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2006 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.1531.20060427.ebuild,v 1.1 2006/04/27 16:34:52 brix Exp $
+
+inherit linux-mod
+
+MY_P=${PN}-r${PV:2:4}-${PV:7:8}
+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="http://snapshots.madwifi.org/madwifi-ng/${MY_P}.tar.gz"
+
+LICENSE="|| ( BSD GPL-2 )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE="amrr onoe"
+DEPEND="app-arch/sharutils"
+RDEPEND="!net-wireless/madwifi-old
+ >=net-wireless/madwifi-ng-tools-${PV}"
+
+CONFIG_CHECK="CRYPTO NET_RADIO SYSCTL"
+ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)."
+ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)."
+ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)."
+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)"
+
+ BUILD_PARAMS="KERNELPATH=${KV_OUT_DIR}"
+
+ if use amrr && use onoe; then
+ eerror
+ eerror "USE=\"amrr onoe\" is invalid, you can only specify one at a time."
+ eerror
+ die "USE=\"amrr onoe\" is invalid"
+ fi
+
+ if use amrr; then
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_amrr(net:${S}/ath_rate/amrr)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/amrr"
+ elif use onoe; then
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_onoe(net:${S}/ath_rate/onoe)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/onoe"
+ else
+ MODULE_NAMES="${MODULE_NAMES} ath_rate_sample(net:${S}/ath_rate/sample)"
+ BUILD_PARAMS="${BUILD_PARAMS} ATH_RATE=ath_rate/sample"
+ fi
+
+ MODULE_NAMES="${MODULE_NAMES} ath_pci(net:${S}/ath)"
+}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ for dir in ath ath_hal net80211 ath_rate/amrr ath_rate/onoe ath_rate/sample; do
+ convert_to_m ${S}/${dir}/Makefile
+ done
+}
+
+src_compile() {
+ # assists in debugging
+ emake KERNELPATH=${KV_OUT_DIR} info || die "emake info failed"
+
+ # needed by the modules
+ emake svnversion.h
+
+ linux-mod_src_compile
+}
+
+src_install() {
+ linux-mod_src_install
+
+ dodoc README THANKS docs/users-guide.pdf docs/WEP-HOWTO.txt
+
+ # install headers for use by
+ # net-wireless/wpa_supplicant and net-wireless/hostapd
+ insinto /usr/include/madwifi/include/
+ doins include/*.h
+ insinto /usr/include/madwifi/net80211
+ doins net80211/*.h
+}
+
+pkg_postinst() {
+ local moddir="${ROOT}/lib/modules/${KV_FULL}/net/"
+
+ einfo "Removing old ath_rate modules"
+ if use amrr; then
+ [[ -f "${moddir}/ath_rate_onoe.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_onoe.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_sample.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_sample.${KV_OBJ}"
+ elif use onoe; then
+ [[ -f "${moddir}/ath_rate_amrr.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_amrr.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_sample.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_sample.${KV_OBJ}"
+ else
+ [[ -f "${moddir}/ath_rate_amrr.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_amrr.${KV_OBJ}"
+ [[ -f "${moddir}/ath_rate_onoe.${KV_OBJ}" ]] && rm "${moddir}/ath_rate_onoe.${KV_OBJ}"
+ fi
+
+ 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 "If you use net-wireless/wpa_supplicant or net-wireless/hostapd with madwifi"
+ einfo "you should remerge them now."
+ einfo
+}