diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2006-04-02 10:19:21 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2006-04-02 10:19:21 +0000 |
commit | cfaac7195f421bfa3f7755c256f9e193e1b1d101 (patch) | |
tree | 62a2bcb8f3900de43ab7829bdb8444d701cb38f1 /net-wireless/linux-wlan-ng-modules | |
parent | Add function to get CPP. (diff) | |
download | historical-cfaac7195f421bfa3f7755c256f9e193e1b1d101.tar.gz historical-cfaac7195f421bfa3f7755c256f9e193e1b1d101.tar.bz2 historical-cfaac7195f421bfa3f7755c256f9e193e1b1d101.zip |
A new revision with support for pci, plx and pcmcia drivers removed.
Package-Manager: portage-2.1_pre7-r3
Diffstat (limited to 'net-wireless/linux-wlan-ng-modules')
4 files changed, 112 insertions, 4 deletions
diff --git a/net-wireless/linux-wlan-ng-modules/ChangeLog b/net-wireless/linux-wlan-ng-modules/ChangeLog index 2716ff3736f4..647051e9bbca 100644 --- a/net-wireless/linux-wlan-ng-modules/ChangeLog +++ b/net-wireless/linux-wlan-ng-modules/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/linux-wlan-ng-modules # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng-modules/ChangeLog,v 1.8 2006/03/25 08:16:04 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng-modules/ChangeLog,v 1.9 2006/04/02 10:19:21 betelgeuse Exp $ + +*linux-wlan-ng-modules-0.2.3-r1 (02 Apr 2006) + + 02 Apr 2006; Petteri Räty <betelgeuse@gentoo.org> + +linux-wlan-ng-modules-0.2.3-r1.ebuild: + A new revision with support for pci, plx and pcmcia drivers removed. 25 Mar 2006; Petteri Räty <betelgeuse@gentoo.org> +files/linux-wlan-ng-0.2.3-kernel-2.6.16.patch, diff --git a/net-wireless/linux-wlan-ng-modules/Manifest b/net-wireless/linux-wlan-ng-modules/Manifest index e0b96c68acfd..bc5edb69f7d4 100644 --- a/net-wireless/linux-wlan-ng-modules/Manifest +++ b/net-wireless/linux-wlan-ng-modules/Manifest @@ -1,15 +1,21 @@ -MD5 c622c72f3909cc8b1ad2caf8f035a513 ChangeLog 2072 -RMD160 2e1d9000fde7639185f258baa45a4498802877c1 ChangeLog 2072 -SHA256 b1ed9633749b1696f795ac088e9bcd4aebf9f56cce921222480a23e4fc2722c2 ChangeLog 2072 +MD5 5d9e2a0997882eacc35bd571a3f346a6 ChangeLog 2286 +RMD160 37fec4b3427d1b5bf53762646f86caf0b6bc9e49 ChangeLog 2286 +SHA256 edee9aaa1794320d1e0f4b16181e9e10bd71bfe36012716a5733d75fcac2aa6f ChangeLog 2286 MD5 3414fdda8cf331136d23c69378f70a97 files/digest-linux-wlan-ng-modules-0.2.3 72 RMD160 adffdad2052e56609c23427d899ec1e4fca57e7d files/digest-linux-wlan-ng-modules-0.2.3 72 SHA256 8ddd342c5146c6a1e38db8c36707a7562dd114a6d246b935278cfeb97a405789 files/digest-linux-wlan-ng-modules-0.2.3 72 +MD5 b0151277be475255f82139fc101eae7f files/digest-linux-wlan-ng-modules-0.2.3-r1 262 +RMD160 6e6a482a8ebdaf4bd7f77040cd3f717c25180b53 files/digest-linux-wlan-ng-modules-0.2.3-r1 262 +SHA256 1755efc1d6124109999f9dda7aa3b4240e849ceaf3116244ff149783f635df09 files/digest-linux-wlan-ng-modules-0.2.3-r1 262 MD5 a45dd0a7b3a3b710ce5d415e29c4fff6 files/linux-wlan-ng-0.2.3-kernel-2.6.16.patch 422 RMD160 3da842a0d1c1fb2aaaa48b824b1256dfba3ef817 files/linux-wlan-ng-0.2.3-kernel-2.6.16.patch 422 SHA256 9464dac4c9fd0f5b4403cf60fa86f85fbcd29588f1a1036a8a18ba5e3c41b822 files/linux-wlan-ng-0.2.3-kernel-2.6.16.patch 422 MD5 a4b2153476d6759ee96ab8b4ac7df4aa files/linux-wlan-ng-0.2.3-module_param.patch 657 RMD160 0e21471899880143a13c5bce33e13b0051b005e9 files/linux-wlan-ng-0.2.3-module_param.patch 657 SHA256 4c0edbb9008680c1c1e2972ee4b0bd20245e3664ae48f6cd33d3589351398c81 files/linux-wlan-ng-0.2.3-module_param.patch 657 +MD5 ecc90525e432024f0abbdc09bbd1ccd2 linux-wlan-ng-modules-0.2.3-r1.ebuild 2393 +RMD160 30da594b0263f037e7ba9637ad5d405d243da414 linux-wlan-ng-modules-0.2.3-r1.ebuild 2393 +SHA256 2d8422b35ce94be0b14490cc1bb257da82c88176f78ea33f230e69b8cf86eeca linux-wlan-ng-modules-0.2.3-r1.ebuild 2393 MD5 015b374d963ba35da2a7cbc890bc78a6 linux-wlan-ng-modules-0.2.3.ebuild 3046 RMD160 c82309c9e0d001f92bffdb07245c7f75ff8d9a4d linux-wlan-ng-modules-0.2.3.ebuild 3046 SHA256 b7038aee66b9a6b787aa7d6d7b181eb1dd90d2b1e7da520536dbc957072333fe linux-wlan-ng-modules-0.2.3.ebuild 3046 diff --git a/net-wireless/linux-wlan-ng-modules/files/digest-linux-wlan-ng-modules-0.2.3-r1 b/net-wireless/linux-wlan-ng-modules/files/digest-linux-wlan-ng-modules-0.2.3-r1 new file mode 100644 index 000000000000..0680fd82180a --- /dev/null +++ b/net-wireless/linux-wlan-ng-modules/files/digest-linux-wlan-ng-modules-0.2.3-r1 @@ -0,0 +1,3 @@ +MD5 f26e41336a2838d69a366ab3a2d93ea0 linux-wlan-ng-0.2.3.tar.bz2 454053 +RMD160 a39a6f17dd8a745992a557605d3f5734d8b7de95 linux-wlan-ng-0.2.3.tar.bz2 454053 +SHA256 97004d6cefd1b5c5f37efc1603e4103f9a809d79f8cc0faf2397fa882cdd6ee6 linux-wlan-ng-0.2.3.tar.bz2 454053 diff --git a/net-wireless/linux-wlan-ng-modules/linux-wlan-ng-modules-0.2.3-r1.ebuild b/net-wireless/linux-wlan-ng-modules/linux-wlan-ng-modules-0.2.3-r1.ebuild new file mode 100644 index 000000000000..c8612134361a --- /dev/null +++ b/net-wireless/linux-wlan-ng-modules/linux-wlan-ng-modules-0.2.3-r1.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng-modules/linux-wlan-ng-modules-0.2.3-r1.ebuild,v 1.1 2006/04/02 10:19:21 betelgeuse Exp $ + +inherit eutils linux-mod + +MY_PN=${PN/-modules/} +MY_P=${MY_PN}-${PV} +S=${WORKDIR}/${MY_P} + +DESCRIPTION="Kernel modules for Prism2/2.5/3 based 802.11b USB wireless LAN products" +HOMEPAGE="http://linux-wlan.org" +SRC_URI="ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/${MY_P}.tar.bz2" + +LICENSE="|| ( GPL-2 MPL-1.1 )" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="debug" + +BUILD_TARGETS="default" +BUILD_PARAMS="WLAN_SRC=${S}/src" + +pkg_setup() { + # We have to put this to the global scope inside the function or it will be + # reset between functions because the ebuild is sourced many times. + + MODULE_NAMES="p80211(net/wireless:${S}/src/p80211)" + MODULE_NAMES="${MODULE_NAMES} prism2_usb(net/wireless:${S}/src/prism2/driver)" + + linux-mod_pkg_setup +} + +config_by_usevar() { + local config=${3} + [[ -z ${config} ]] && config=${S}/default.config + + if use ${2}; then + echo "${1}=y" >> ${config} + else + echo "${1}=n" >> ${config} + fi +} + +src_unpack() { + local config=${S}/default.config + + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${MY_P}-module_param.patch + epatch ${FILESDIR}/${MY_P}-kernel-2.6.16.patch + + cp ${S}/config.in ${config} + + echo "TARGET_ROOT_ON_HOST=${D}" >> ${config} + echo "LINUX_SRC=${KERNEL_DIR}" >> ${config} + echo "FIRMWARE_DIR=/lib/firmware/" >> ${config} + echo "PRISM2_PCI=n" >> ${config} + echo "PRISM2_PLX=n" >> ${config} + echo "PRISM2_PCMCIA=n" >> ${config} + echo "PRISM2_USB=y" >> ${config} + + config_by_usevar WLAN_DEBUG debug + + if kernel_is gt 2 4; then + echo "KERN_25=y" >> ${config} + fi + + sed -i -e "s:dep modules:modules:" ${S}/src/p80211/Makefile +} + +src_compile() { + set_arch_to_kernel + emake default_config || die "emake default_config failed" + set_arch_to_portage + + cd ${S}/src/mkmeta + emake || die "emake mkmeta failed" + + linux-mod_src_compile +} + +pkg_postinst() { + linux-mod_pkg_postinst + + einfo "Support for pci, plx and pcmcia drivers has been removed in" + einfo "revision. For pci, plx and pcmcia drivers try for example" + einfo "the hostap-driver or orinoco drivers. They both work with the" + einfo "standard wireless tools." + einfo "" + einfo "If they do not work, please report this to betelgeuse@gentoo.org." +} |