diff options
author | Jeffrey Gardner <je_fro@gentoo.org> | 2008-07-05 05:37:18 +0000 |
---|---|---|
committer | Jeffrey Gardner <je_fro@gentoo.org> | 2008-07-05 05:37:18 +0000 |
commit | 689f57bb5c7a4aaed9689546030b5dc4dc7fd7c0 (patch) | |
tree | c4e463eaf027dafca286806e7bc5e593c93e887f | |
parent | newer one in portage (diff) | |
download | je_fro-689f57bb5c7a4aaed9689546030b5dc4dc7fd7c0.tar.gz je_fro-689f57bb5c7a4aaed9689546030b5dc4dc7fd7c0.tar.bz2 je_fro-689f57bb5c7a4aaed9689546030b5dc4dc7fd7c0.zip |
latest svn - still colliding with -tools for some reason...
svn path=/; revision=237
-rw-r--r-- | net-wireless/madwifi-ng-svn/Manifest | 3 | ||||
-rw-r--r-- | net-wireless/madwifi-ng-svn/files/svnversion.h | 2 | ||||
-rw-r--r-- | net-wireless/madwifi-ng-svn/madwifi-ng-svn-3750.ebuild | 99 |
3 files changed, 102 insertions, 2 deletions
diff --git a/net-wireless/madwifi-ng-svn/Manifest b/net-wireless/madwifi-ng-svn/Manifest index 18f42be..36c628e 100644 --- a/net-wireless/madwifi-ng-svn/Manifest +++ b/net-wireless/madwifi-ng-svn/Manifest @@ -1,5 +1,5 @@ AUX madwifi-ng-0.9.3-uudecode-gcda-fix.patch 340 RMD160 2a18fc4f9e66aa131e901e7e46930e08e2ece7ea SHA1 3c84bf4e203ab3c810c734816dd1291ba19b0005 SHA256 be6e7a66acad56044c25ab56d9cbd7d5326c4ba21f5d9ed25caef56a9577bdc8 -AUX svnversion.h 31 RMD160 60c40ab1d1d279755f03500be468b3641e2f3911 SHA1 acc4d46344a5039b5f164d8c8d6aeb6b678cb944 SHA256 324eba8a6a569f232685235246d44f12f8ce37562c4b8f9326a8bdb7c939e28b +AUX svnversion.h 31 RMD160 d73c1f1493ff6d2e5129a57ade0c19e12ac306d0 SHA1 05e08f811f02203fde4245d39e89846f0a72c9b5 SHA256 12cae6e93e934a5f817065d1eccab347513b4651d814ca275dc509e857398e0b EBUILD madwifi-ng-svn-3112.ebuild 2488 RMD160 bd2664be7ce7b22ba7a38d05714375fcf6a78dee SHA1 afbf9a7d0ebc8f9e855fdf9b79c931ae9d1146e1 SHA256 4dc548a209e3078e6d19c9ef97d9b7a30c99b2a253597da758432b3d95e22a1d EBUILD madwifi-ng-svn-3223.ebuild 2488 RMD160 bd2664be7ce7b22ba7a38d05714375fcf6a78dee SHA1 afbf9a7d0ebc8f9e855fdf9b79c931ae9d1146e1 SHA256 4dc548a209e3078e6d19c9ef97d9b7a30c99b2a253597da758432b3d95e22a1d EBUILD madwifi-ng-svn-3277.ebuild 2487 RMD160 dc5962dcb74f884b61f0f4d4677d8fbbce4174d0 SHA1 2d3fb5a80a017cb3dc06b4b7dfadc7ed6fc0bf7b SHA256 b1a16c63fff8d476f6a285d56c317fb4510d12b6df5e570446272b692b1ce21c @@ -11,4 +11,5 @@ EBUILD madwifi-ng-svn-3545.ebuild 2487 RMD160 dc5962dcb74f884b61f0f4d4677d8fbbce EBUILD madwifi-ng-svn-3693.ebuild 2487 RMD160 dc5962dcb74f884b61f0f4d4677d8fbbce4174d0 SHA1 2d3fb5a80a017cb3dc06b4b7dfadc7ed6fc0bf7b SHA256 b1a16c63fff8d476f6a285d56c317fb4510d12b6df5e570446272b692b1ce21c EBUILD madwifi-ng-svn-3714.ebuild 2487 RMD160 dc5962dcb74f884b61f0f4d4677d8fbbce4174d0 SHA1 2d3fb5a80a017cb3dc06b4b7dfadc7ed6fc0bf7b SHA256 b1a16c63fff8d476f6a285d56c317fb4510d12b6df5e570446272b692b1ce21c EBUILD madwifi-ng-svn-3742.ebuild 2487 RMD160 dc5962dcb74f884b61f0f4d4677d8fbbce4174d0 SHA1 2d3fb5a80a017cb3dc06b4b7dfadc7ed6fc0bf7b SHA256 b1a16c63fff8d476f6a285d56c317fb4510d12b6df5e570446272b692b1ce21c +EBUILD madwifi-ng-svn-3750.ebuild 2487 RMD160 dc5962dcb74f884b61f0f4d4677d8fbbce4174d0 SHA1 2d3fb5a80a017cb3dc06b4b7dfadc7ed6fc0bf7b SHA256 b1a16c63fff8d476f6a285d56c317fb4510d12b6df5e570446272b692b1ce21c MISC ChangeLog 251 RMD160 4d4105cadc66c2d3465788b94d6a5340ccaa1c86 SHA1 c59738d9c4a46a5878927f7880904448c78ed63a SHA256 7513b76d59895c7617484e66f7636c32cd00a02da7305d55fa398538160d8907 diff --git a/net-wireless/madwifi-ng-svn/files/svnversion.h b/net-wireless/madwifi-ng-svn/files/svnversion.h index eacce4f..cf16d8a 100644 --- a/net-wireless/madwifi-ng-svn/files/svnversion.h +++ b/net-wireless/madwifi-ng-svn/files/svnversion.h @@ -1 +1 @@ -#define SVNVERSION "svn r2628" +#define SVNVERSION "svn r3747" diff --git a/net-wireless/madwifi-ng-svn/madwifi-ng-svn-3750.ebuild b/net-wireless/madwifi-ng-svn/madwifi-ng-svn-3750.ebuild new file mode 100644 index 0000000..c46a684 --- /dev/null +++ b/net-wireless/madwifi-ng-svn/madwifi-ng-svn-3750.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ +# This ebuild is intended for macbook pro users. + +inherit linux-mod subversion flag-o-matic + +ESVN_REPO_URI="http://svn.madwifi.org/madwifi/trunk/" +ESVN_UPDATE_CMD="svn -r ${PV} update" +ESVN_PROJECT="madwifi-ng" + +DESCRIPTION="Wireless-ng driver for Atheros chipset a/b/g cards" +HOMEPAGE="http://www.madwifi.org/" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="app-arch/sharutils" +RDEPEND="" + +S="${WORKDIR}"/madwifi + +CONFIG_CHECK="CRYPTO SYSCTL" +ERROR_CRYPTO="${P} requires Cryptographic API support (CONFIG_CRYPTO)." +ERROR_SYSCTL="${P} requires Sysctl support (CONFIG_SYSCTL)." + +pkg_setup() { + + if ! ( kernel_is ge 2 6 22 ); then + die "This only works on >=2.6.22 kernels" + fi + + linux-mod_pkg_setup + + use x86 && ARCH=i386 + use amd64 && ARCH=x86_64 + 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=${ROOT}${KV_OUT_DIR} KERNELRELEASE=${KV_FULL} + ARCH=${ARCH} TOOLPREFIX=/usr/bin/" + BUILD_TARGETS="all" +} + +src_unpack() { + + subversion_src_unpack + + epatch "${FILESDIR}"/madwifi-ng-0.9.3-uudecode-gcda-fix.patch + + for dir in ath ath_hal net80211 ath_rate/amrr ath_rate/onoe ath_rate/sample ath_rate/minstrel + do + convert_to_m "${S}"/${dir}/Makefile + done + + cp "${FILESDIR}"/svnversion.h "${S}" +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + linux-mod_src_install + + cd "${S}" + dodoc README +# install headers for use by +# net-wireless/wpa_supplicant and net-wireless/hostapd + insinto /usr/include/madwifi/include/ + doins "${S}"/include/*.h + insinto /usr/include/madwifi/include/sys/ + doins "${S}"/include/sys/*.h + insinto /usr/include/madwifi/net80211 + doins "${S}"/net80211/*.h + + cd "${S}"/tools + emake DESTDIR="${D}" BINDIR=/sbin MANDIR=/usr/man install || die "emake install failed" +} + +pkg_postinst() { + linux-mod_pkg_postinst + einfo "" + einfo "The madwifi drivers create an interface named 'wifiX'" + einfo "" + einfo "Any bugs with this ebuild report to je_fro@gentoo.org" +} |