diff options
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/madwifi-ng-tools/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/madwifi-ng-tools/Manifest | 4 | ||||
-rw-r--r-- | net-wireless/madwifi-ng-tools/madwifi-ng-tools-3941_p20090205.ebuild | 65 | ||||
-rw-r--r-- | net-wireless/madwifi-ng-tools/metadata.xml | 10 | ||||
-rw-r--r-- | net-wireless/madwifi-ng/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/madwifi-ng/Manifest | 4 | ||||
-rw-r--r-- | net-wireless/madwifi-ng/madwifi-ng-3941_p20090205.ebuild | 93 | ||||
-rw-r--r-- | net-wireless/madwifi-ng/metadata.xml | 10 |
8 files changed, 202 insertions, 0 deletions
diff --git a/net-wireless/madwifi-ng-tools/ChangeLog b/net-wireless/madwifi-ng-tools/ChangeLog new file mode 100644 index 0000000..e00e4c6 --- /dev/null +++ b/net-wireless/madwifi-ng-tools/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for net-wireless/madwifi-ng-tools +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 18 Mar 2009; Wolfram Schlich <wschlich@gentoo.org> +metadata.xml, + +madwifi-ng-tools-3941_p20090205.ebuild: + initial import + diff --git a/net-wireless/madwifi-ng-tools/Manifest b/net-wireless/madwifi-ng-tools/Manifest new file mode 100644 index 0000000..aa8800a --- /dev/null +++ b/net-wireless/madwifi-ng-tools/Manifest @@ -0,0 +1,4 @@ +DIST madwifi-trunk-r3941-20090205.tar.gz 4160203 RMD160 73149107fd296f9c4790b504f7a72274c5bf5074 SHA1 ecedae822127a14e9e4899849cb1172066228db6 SHA256 e3b58cd77a836d0c5800ce5d1c92c17c0dd34782d90895d62a992a008c871310 +EBUILD madwifi-ng-tools-3941_p20090205.ebuild 1703 RMD160 c40622b2c17663835ea26482150c534cdd4c3cfb SHA1 acfe502993122f6f2e3acbbfcfeabace7aeaf227 SHA256 19d07260164943d6871f9df2a0b22091876ee0af33e907286df5c159f9b0de65 +MISC ChangeLog 259 RMD160 6646dc8651789cf0288ed872d9029484a391f4c0 SHA1 0e34320bfbb1de43aeac1aaf9a1f2ed13f41f59a SHA256 688b31aec94c8b9812a69341866aa47f684301ad9ddec7822a688a6e1377b4b4 +MISC metadata.xml 300 RMD160 3b9c1cd628f9d7ac94b68543ec737d5c2381a47e SHA1 33c5efd31a8aa789118535b921e211ffb5023ac3 SHA256 bc07a9aecce5770d1ace9af0a6c6af8ff6c7b16eb5e7947a1b178d1970855e43 diff --git a/net-wireless/madwifi-ng-tools/madwifi-ng-tools-3941_p20090205.ebuild b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-3941_p20090205.ebuild new file mode 100644 index 0000000..3f64703 --- /dev/null +++ b/net-wireless/madwifi-ng-tools/madwifi-ng-tools-3941_p20090205.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit toolchain-funcs + +MY_P="${PN/-ng-tools/}-trunk-r${PV%%_p*}-${PV##*_p}" +S=${WORKDIR}/${MY_P}/tools + +DESCRIPTION="Next Generation tools for configuration of Atheros based IEEE 802.11a/b/g wireless LAN cards" +HOMEPAGE="http://www.madwifi-project.org/" +SRC_URI="http://snapshots.madwifi-project.org/madwifi-trunk/${MY_P}.tar.gz" + +LICENSE="|| ( BSD GPL-2 )" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="" +DEPEND="virtual/libc" +RDEPEND="!net-wireless/madwifi-old-tools + ${DEPEND}" + +src_unpack() { + unpack ${A} + sed -i \ + -e "s:CC =.*:CC = $(tc-getCC):" \ + -e "s:CFLAGS=:CFLAGS+=:" \ + -e "s:LDFLAGS=:LDFLAGS+=:" \ + "${S}"/Makefile || die +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" BINDIR=/usr/bin MANDIR=/usr/share/man STRIP=echo \ + install || die "emake install failed" + + dodir /sbin + mv "${D}"/usr/bin/wlanconfig "${D}"/sbin + + # install headers for use by + # net-wireless/wpa_supplicant and net-wireless/hostapd + cd "${S}"/.. + insinto /usr/include/madwifi/include/ + doins include/*.h + insinto /usr/include/madwifi/net80211 + doins net80211/*.h +} + +pkg_postinst() { + if [ -e "${ROOT}"/etc/udev/rules.d/65-madwifi.rules ]; then + ewarn + ewarn "The udev rules for creating interfaces (athX) are no longer needed." + ewarn + ewarn "You should manually remove the /etc/udev/rules.d/65-madwifi.rules file" + ewarn "and either run 'udevstart' or reboot for the changes to take effect." + ewarn + fi + einfo + einfo "If you use net-wireless/wpa_supplicant or net-wireless/hostapd with madwifi" + einfo "you should remerge them now." + einfo +} diff --git a/net-wireless/madwifi-ng-tools/metadata.xml b/net-wireless/madwifi-ng-tools/metadata.xml new file mode 100644 index 0000000..a7162e9 --- /dev/null +++ b/net-wireless/madwifi-ng-tools/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>wschlich@gentoo.org</email> + <name>Wolfram Schlich</name> + <description>Primary maintainer</description> +</maintainer> +</pkgmetadata> diff --git a/net-wireless/madwifi-ng/ChangeLog b/net-wireless/madwifi-ng/ChangeLog new file mode 100644 index 0000000..2143515 --- /dev/null +++ b/net-wireless/madwifi-ng/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for net-wireless/madwifi-ng +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 18 Mar 2009; Wolfram Schlich <wschlich@gentoo.org> +metadata.xml, + +madwifi-ng-3941_p20090205.ebuild: + initial import + diff --git a/net-wireless/madwifi-ng/Manifest b/net-wireless/madwifi-ng/Manifest new file mode 100644 index 0000000..4b4eaa6 --- /dev/null +++ b/net-wireless/madwifi-ng/Manifest @@ -0,0 +1,4 @@ +DIST madwifi-trunk-r3941-20090205.tar.gz 4160203 RMD160 73149107fd296f9c4790b504f7a72274c5bf5074 SHA1 ecedae822127a14e9e4899849cb1172066228db6 SHA256 e3b58cd77a836d0c5800ce5d1c92c17c0dd34782d90895d62a992a008c871310 +EBUILD madwifi-ng-3941_p20090205.ebuild 2981 RMD160 ae69658a325f66f1772aadec91a2f0e85dc35e34 SHA1 fb6ec7df22478e11c048558250228a0a894c8736 SHA256 9fe311ae79987993f74de54e744ae8d4715ddad9106ee1cdc03694a57e99c15a +MISC ChangeLog 247 RMD160 dd6eb22364f024c7348067b102a3adb23901656f SHA1 77406a9aabee5ca0371814242ba6790fbf32f65b SHA256 cff0bdd088b46c5e9d5e8098c1c5c65936b189719aa2411ab30491dc451d02e9 +MISC metadata.xml 300 RMD160 3b9c1cd628f9d7ac94b68543ec737d5c2381a47e SHA1 33c5efd31a8aa789118535b921e211ffb5023ac3 SHA256 bc07a9aecce5770d1ace9af0a6c6af8ff6c7b16eb5e7947a1b178d1970855e43 diff --git a/net-wireless/madwifi-ng/madwifi-ng-3941_p20090205.ebuild b/net-wireless/madwifi-ng/madwifi-ng-3941_p20090205.ebuild new file mode 100644 index 0000000..be3d9e8 --- /dev/null +++ b/net-wireless/madwifi-ng/madwifi-ng-3941_p20090205.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit linux-mod + +MY_P="${PN/-ng/}-trunk-r${PV%%_p*}-${PV##*_p}" +S="${WORKDIR}"/${MY_P} + +DESCRIPTION="Next Generation driver for Atheros based IEEE 802.11a/b/g wireless LAN cards" +HOMEPAGE="http://www.madwifi-project.org/" +SRC_URI="http://snapshots.madwifi-project.org/madwifi-trunk/${MY_P}.tar.gz" +RESTRICT="mirror" + +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}" + touch svnversion.h + 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 +} + +src_install() { + linux-mod_src_install + + dodoc README THANKS +} + +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." +} diff --git a/net-wireless/madwifi-ng/metadata.xml b/net-wireless/madwifi-ng/metadata.xml new file mode 100644 index 0000000..a7162e9 --- /dev/null +++ b/net-wireless/madwifi-ng/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>wschlich@gentoo.org</email> + <name>Wolfram Schlich</name> + <description>Primary maintainer</description> +</maintainer> +</pkgmetadata> |