diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2006-02-07 10:27:05 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2006-02-07 10:27:05 +0000 |
commit | fc87c98342c4dd4e81d99cf91a87a5f7ec882025 (patch) | |
tree | 38f91f0bb39873216b2f5f064faa67f1d15323d4 /net-wireless | |
parent | Mark 1.3.20050816 stable on alpha (diff) | |
download | gentoo-2-fc87c98342c4dd4e81d99cf91a87a5f7ec882025.tar.gz gentoo-2-fc87c98342c4dd4e81d99cf91a87a5f7ec882025.tar.bz2 gentoo-2-fc87c98342c4dd4e81d99cf91a87a5f7ec882025.zip |
New snapshot. The udev rules are no longer needed, bug #121913.
(Portage version: 2.0.54)
Diffstat (limited to 'net-wireless')
8 files changed, 200 insertions, 4 deletions
diff --git a/net-wireless/madwifi-driver/ChangeLog b/net-wireless/madwifi-driver/ChangeLog index 76512be9dbdc..5dfac5d668a7 100644 --- a/net-wireless/madwifi-driver/ChangeLog +++ b/net-wireless/madwifi-driver/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/madwifi-driver # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/ChangeLog,v 1.36 2006/02/06 11:10:19 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/ChangeLog,v 1.37 2006/02/07 10:27:05 brix Exp $ + +*madwifi-driver-0.1443.20060207 (07 Feb 2006) + + 07 Feb 2006; Henrik Brix Andersen <brix@gentoo.org> + +madwifi-driver-0.1443.20060207.ebuild: + New snapshot. The udev rules are no longer needed, bug #121913. *madwifi-driver-0.1440.20060206 (06 Feb 2006) diff --git a/net-wireless/madwifi-driver/Manifest b/net-wireless/madwifi-driver/Manifest index 5399439ead48..2b39f8818d7b 100644 --- a/net-wireless/madwifi-driver/Manifest +++ b/net-wireless/madwifi-driver/Manifest @@ -1,10 +1,12 @@ -MD5 a458bfbd5b0f6bc9437bddb28b451454 ChangeLog 7710 +MD5 ee629c24af074fc68d486ab375fa5de6 ChangeLog 7920 MD5 6225a58b69ebeb67ff97ab4026b21e58 files/digest-madwifi-driver-0.1401.20060117 78 MD5 04ecb172d5d25d2995578d1772e2c239 files/digest-madwifi-driver-0.1420.20060201 78 MD5 94fa700e7f5c8ec3598c00b31c724525 files/digest-madwifi-driver-0.1440.20060206 78 +MD5 7e62e96505ecb836f9f74c54d448af59 files/digest-madwifi-driver-0.1443.20060207 78 MD5 d4937e6f87128084a32ef792ddbccc6e files/digest-madwifi-driver-0.1_pre20050420-r1 85 MD5 bffeadae7b2aa3e9f87fe8b5392531e9 madwifi-driver-0.1401.20060117.ebuild 3439 MD5 f69ecb5b6e8c4663e2db816c795b968c madwifi-driver-0.1420.20060201.ebuild 3351 MD5 663986eba8f16e568bdc6bd8c09f5383 madwifi-driver-0.1440.20060206.ebuild 3397 +MD5 3f4c3b070af285bd6205c8813ab7f75e madwifi-driver-0.1443.20060207.ebuild 3537 MD5 1b9a0408676d910cdc32a019e1861364 madwifi-driver-0.1_pre20050420-r1.ebuild 1966 MD5 19fd766bac8e110b4620363a1ace26dd metadata.xml 159 diff --git a/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1443.20060207 b/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1443.20060207 new file mode 100644 index 000000000000..6613fad653a7 --- /dev/null +++ b/net-wireless/madwifi-driver/files/digest-madwifi-driver-0.1443.20060207 @@ -0,0 +1 @@ +MD5 3695a41cab305c6746c65c80e7b17363 madwifi-ng-r1443-20060207.tar.gz 3249472 diff --git a/net-wireless/madwifi-driver/madwifi-driver-0.1443.20060207.ebuild b/net-wireless/madwifi-driver/madwifi-driver-0.1443.20060207.ebuild new file mode 100644 index 000000000000..f36da5154952 --- /dev/null +++ b/net-wireless/madwifi-driver/madwifi-driver-0.1443.20060207.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-driver/madwifi-driver-0.1443.20060207.ebuild,v 1.1 2006/02/07 10:27:05 brix Exp $ + +inherit linux-mod + +MY_P=madwifi-ng-r${PV:2:4}-${PV:7:8} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="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-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 +} diff --git a/net-wireless/madwifi-tools/ChangeLog b/net-wireless/madwifi-tools/ChangeLog index e4512667d418..b8617419802b 100644 --- a/net-wireless/madwifi-tools/ChangeLog +++ b/net-wireless/madwifi-tools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/madwifi-tools # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-tools/ChangeLog,v 1.17 2006/02/06 11:09:12 brix Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-tools/ChangeLog,v 1.18 2006/02/07 10:25:35 brix Exp $ + +*madwifi-tools-0.1443.20060207 (07 Feb 2006) + + 07 Feb 2006; Henrik Brix Andersen <brix@gentoo.org> + +madwifi-tools-0.1443.20060207.ebuild: + New snapshot. The udev rules are no longer needed, bug #121913. *madwifi-tools-0.1440.20060206 (06 Feb 2006) diff --git a/net-wireless/madwifi-tools/Manifest b/net-wireless/madwifi-tools/Manifest index ac70c4911258..7afc91ef0000 100644 --- a/net-wireless/madwifi-tools/Manifest +++ b/net-wireless/madwifi-tools/Manifest @@ -1,7 +1,8 @@ -MD5 22cdb556e6ca3a8b693fe716b7100443 ChangeLog 3379 +MD5 32431753586088510aa81cc2f8b54893 ChangeLog 3587 MD5 6225a58b69ebeb67ff97ab4026b21e58 files/digest-madwifi-tools-0.1401.20060117 78 MD5 04ecb172d5d25d2995578d1772e2c239 files/digest-madwifi-tools-0.1420.20060201 78 MD5 94fa700e7f5c8ec3598c00b31c724525 files/digest-madwifi-tools-0.1440.20060206 78 +MD5 7e62e96505ecb836f9f74c54d448af59 files/digest-madwifi-tools-0.1443.20060207 78 MD5 d4937e6f87128084a32ef792ddbccc6e files/digest-madwifi-tools-0.1_pre20050420 85 MD5 3b977ab622651738d159d4559e670e25 files/madwifi-tools-0.1401.20060117-udev.rules 355 MD5 3b977ab622651738d159d4559e670e25 files/madwifi-tools-0.1420.20060201-udev.rules 355 @@ -9,5 +10,6 @@ MD5 3b977ab622651738d159d4559e670e25 files/madwifi-tools-0.1440.20060206-udev.ru MD5 407e3d84d5a80b1f584e80606bf5aa94 madwifi-tools-0.1401.20060117.ebuild 1705 MD5 aa059240813668c3c9b4cdca1016f1e6 madwifi-tools-0.1420.20060201.ebuild 1727 MD5 49621589ae8110a5228b1f3a1f5ecd7b madwifi-tools-0.1440.20060206.ebuild 1727 +MD5 0012726f5ecab001c562c2b9ec14df31 madwifi-tools-0.1443.20060207.ebuild 1401 MD5 b51ffccefc25227db9e0af7033042b3d madwifi-tools-0.1_pre20050420.ebuild 883 MD5 19fd766bac8e110b4620363a1ace26dd metadata.xml 159 diff --git a/net-wireless/madwifi-tools/files/digest-madwifi-tools-0.1443.20060207 b/net-wireless/madwifi-tools/files/digest-madwifi-tools-0.1443.20060207 new file mode 100644 index 000000000000..6613fad653a7 --- /dev/null +++ b/net-wireless/madwifi-tools/files/digest-madwifi-tools-0.1443.20060207 @@ -0,0 +1 @@ +MD5 3695a41cab305c6746c65c80e7b17363 madwifi-ng-r1443-20060207.tar.gz 3249472 diff --git a/net-wireless/madwifi-tools/madwifi-tools-0.1443.20060207.ebuild b/net-wireless/madwifi-tools/madwifi-tools-0.1443.20060207.ebuild new file mode 100644 index 000000000000..6c1a7206cbf4 --- /dev/null +++ b/net-wireless/madwifi-tools/madwifi-tools-0.1443.20060207.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/madwifi-tools/madwifi-tools-0.1443.20060207.ebuild,v 1.1 2006/02/07 10:25:35 brix Exp $ + +inherit toolchain-funcs + +MY_P=madwifi-ng-r${PV:2:4}-${PV:7:8} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Tools for configuration of 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="" +DEPEND="virtual/libc" + +src_unpack() { + unpack ${A} + + # format string fix from solar + sed -i \ + -e 's:err(1, ifr.ifr_name);:err(1, "%s", ifr.ifr_name);:g' \ + ${S}/tools/athstats.c || die + + sed -i \ + -e "s:CC =.*:CC = $(tc-getCC):" \ + -e "s:CFLAGS=:CFLAGS+=:" \ + -e "s:LDFLAGS=:LDFLAGS+=:" \ + ${S}/tools/Makefile || die +} + +src_compile() { + emake tools || die "emake tools failed" +} + +src_install() { + make DESTDIR="${D}" BINDIR=/usr/bin MANDIR=/usr/share/man STRIP=echo \ + install-tools || die "make install-tools failed" + + dodir /sbin + mv "${D}"/usr/bin/wlanconfig "${D}"/sbin +} + +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 +} |