Version bump. Fixes bug #149167. Should build with kernels from 2.6.16 to 2.6.18...
authorPetteri Räty <betelgeuse@gentoo.org>
Sun, 8 Oct 2006 19:09:23 +0000 (19:09 +0000)
committerPetteri Räty <betelgeuse@gentoo.org>
Sun, 8 Oct 2006 19:09:23 +0000 (19:09 +0000)
Package-Manager: portage-2.1.2_pre2-r6

net-wireless/linux-wlan-ng-modules/ChangeLog
net-wireless/linux-wlan-ng-modules/Manifest
net-wireless/linux-wlan-ng-modules/files/digest-linux-wlan-ng-modules-0.2.5 [new file with mode: 0644]
net-wireless/linux-wlan-ng-modules/linux-wlan-ng-modules-0.2.5.ebuild [new file with mode: 0644]

index 8a77ec164974e41e6c596bb4b3a891584b0d3cdc..c71e565088fb1656f8d6bf6d7a39750fbbbf6be4 100644 (file)
@@ -1,6 +1,13 @@
 # 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.10 2006/08/26 07:51:28 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng-modules/ChangeLog,v 1.11 2006/10/08 19:09:23 betelgeuse Exp $
+
+*linux-wlan-ng-modules-0.2.5 (08 Oct 2006)
+
+  08 Oct 2006; Petteri Räty <betelgeuse@gentoo.org>
+  +linux-wlan-ng-modules-0.2.5.ebuild:
+  Version bump. Fixes bug #149167. Should build with kernels from 2.6.16 to
+  2.6.18 now.
 
   26 Aug 2006; Petteri Räty <betelgeuse@gentoo.org>
   +files/linux-wlan-ng-0.2.3-kernel-2.6.17.patch,
index 265e1f9fd6dc9255ae461bc6fc6cd163528cde25..5d37ca67ec45e6ff7072a34ec035b91d701b51ba 100644 (file)
@@ -14,6 +14,7 @@ MD5 a4b2153476d6759ee96ab8b4ac7df4aa files/linux-wlan-ng-0.2.3-module_param.patc
 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
 DIST linux-wlan-ng-0.2.3.tar.bz2 454053 RMD160 a39a6f17dd8a745992a557605d3f5734d8b7de95 SHA1 72fdb2d7af8e071db169b56df594d0ce8a91abc8 SHA256 97004d6cefd1b5c5f37efc1603e4103f9a809d79f8cc0faf2397fa882cdd6ee6
+DIST linux-wlan-ng-0.2.5.tar.bz2 457056 RMD160 3bd08380d9bd131ad960a8b3c9dd87972254357a SHA1 6f95e8e63b3271e3d6b88ec0eb267027b8c6d436 SHA256 882f5fe8c3e3a2538f59e96d002866aea1ce3ad33396da0cea7721455f4a42be
 EBUILD linux-wlan-ng-modules-0.2.3-r1.ebuild 2510 RMD160 2fade836ca03776ec9f1077bf9d7a273d41eed32 SHA1 2e7806656302676733584ac7a4264635c9a98b31 SHA256 4a856ece9dee6525b03bfa35164a8af413f87980db627ee95fe3e23d11490ace
 MD5 234543a40bdfb3534d16395403a26126 linux-wlan-ng-modules-0.2.3-r1.ebuild 2510
 RMD160 2fade836ca03776ec9f1077bf9d7a273d41eed32 linux-wlan-ng-modules-0.2.3-r1.ebuild 2510
@@ -22,10 +23,14 @@ EBUILD linux-wlan-ng-modules-0.2.3.ebuild 3046 RMD160 c82309c9e0d001f92bffdb0724
 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
-MISC ChangeLog 2525 RMD160 80d22326683eb02415db1c99ad1f16074ed94d36 SHA1 04e736b0270e1598ba31ead240d4373702ec7ad0 SHA256 dd1b55e1f4708c133d67a4a82759535dcda172f70ca08e57ff65c74cef012569
-MD5 73cd1ce61698616dda0f454f37017595 ChangeLog 2525
-RMD160 80d22326683eb02415db1c99ad1f16074ed94d36 ChangeLog 2525
-SHA256 dd1b55e1f4708c133d67a4a82759535dcda172f70ca08e57ff65c74cef012569 ChangeLog 2525
+EBUILD linux-wlan-ng-modules-0.2.5.ebuild 2276 RMD160 ccf1729d74c6f11d261c7aef97dc07b32b2519fc SHA1 14b564ca74966e4fa204a53c95c24807de3b5052 SHA256 5d20165ff7fa5a2b37597f5cce22ab15cb0417c4b1aa6182a561de5c1c9d5122
+MD5 eb23b5b197bac28a3a57a3f1d23d5974 linux-wlan-ng-modules-0.2.5.ebuild 2276
+RMD160 ccf1729d74c6f11d261c7aef97dc07b32b2519fc linux-wlan-ng-modules-0.2.5.ebuild 2276
+SHA256 5d20165ff7fa5a2b37597f5cce22ab15cb0417c4b1aa6182a561de5c1c9d5122 linux-wlan-ng-modules-0.2.5.ebuild 2276
+MISC ChangeLog 2752 RMD160 997ccb3903b08e476bbec5eeade1b6d4241c189e SHA1 ec2b8d3e50ff8f0c6739f1e3f8f87b0e66deed71 SHA256 3dad6eeac702b305794ef44c031dd1c2a76f889dd84c1e4e85099a8bfa1e9033
+MD5 0f8559cb6cf7d7b567f3cb845704579e ChangeLog 2752
+RMD160 997ccb3903b08e476bbec5eeade1b6d4241c189e ChangeLog 2752
+SHA256 3dad6eeac702b305794ef44c031dd1c2a76f889dd84c1e4e85099a8bfa1e9033 ChangeLog 2752
 MISC metadata.xml 571 RMD160 a17abb45825b57ac44fc2c76bbddc05dfc70e6b1 SHA1 bcfab6e5905e962e40e46ce903f1d87fef96c24c SHA256 7c0a45fa8b25ff12fcc72f4a57755393f3c566706ad05cd839d583a541603a2c
 MD5 bd46277fb8c768aa34612bb9cb43fe75 metadata.xml 571
 RMD160 a17abb45825b57ac44fc2c76bbddc05dfc70e6b1 metadata.xml 571
@@ -36,10 +41,13 @@ SHA256 1755efc1d6124109999f9dda7aa3b4240e849ceaf3116244ff149783f635df09 files/di
 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 81567922ffb52ccdfe432d79685d2f7e files/digest-linux-wlan-ng-modules-0.2.5 262
+RMD160 b0fd850024c67510d7d5978f746985f7a4bcebed files/digest-linux-wlan-ng-modules-0.2.5 262
+SHA256 a9bf03c54fa52ad9e711eefbc202fd134a55f9cc7c8c03e4a66b4986a51e6e5c files/digest-linux-wlan-ng-modules-0.2.5 262
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.5 (GNU/Linux)
 
-iD8DBQFE7/2OcxLzpIGCsLQRAvtVAJ90M+k3Uv1Wf4Snd+Xu/RXW8Y8A2ACeLfdH
-mS+rlxPsGvRY76Ian/Ku83k=
-=SpAm
+iD8DBQFFKUzrcxLzpIGCsLQRAhUpAJ0ZZIr7rCQMO7b+fUMV+z4y/7l+SwCfTUUV
+jpzGzOBf7rjnivxJSwY6q2k=
+=DZai
 -----END PGP SIGNATURE-----
diff --git a/net-wireless/linux-wlan-ng-modules/files/digest-linux-wlan-ng-modules-0.2.5 b/net-wireless/linux-wlan-ng-modules/files/digest-linux-wlan-ng-modules-0.2.5
new file mode 100644 (file)
index 0000000..f91173c
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 b4f6eb438533f73cd456e5ee7a3f722a linux-wlan-ng-0.2.5.tar.bz2 457056
+RMD160 3bd08380d9bd131ad960a8b3c9dd87972254357a linux-wlan-ng-0.2.5.tar.bz2 457056
+SHA256 882f5fe8c3e3a2538f59e96d002866aea1ce3ad33396da0cea7721455f4a42be linux-wlan-ng-0.2.5.tar.bz2 457056
diff --git a/net-wireless/linux-wlan-ng-modules/linux-wlan-ng-modules-0.2.5.ebuild b/net-wireless/linux-wlan-ng-modules/linux-wlan-ng-modules-0.2.5.ebuild
new file mode 100644 (file)
index 0000000..6bc4da4
--- /dev/null
@@ -0,0 +1,89 @@
+# 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.5.ebuild,v 1.1 2006/10/08 19:09:23 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"
+
+DEPEND="!<net-wireless/linux-wlan-ng-0.2.2"
+
+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}
+
+       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
+
+       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."
+}