From 19f48f930e4e876ae0384b2dc8e6949c511d33ce Mon Sep 17 00:00:00 2001 From: Stefan Schweizer Date: Wed, 9 May 2007 19:33:13 +0000 Subject: Version bump, fixes new kernel compiling, bug 159552 (Portage version: 2.1.2.7) --- net-wireless/zd1211/ChangeLog | 10 ++++- net-wireless/zd1211/files/digest-zd1211-83 | 3 -- net-wireless/zd1211/files/digest-zd1211-85 | 3 ++ net-wireless/zd1211/zd1211-83.ebuild | 60 ------------------------------ net-wireless/zd1211/zd1211-85.ebuild | 60 ++++++++++++++++++++++++++++++ 5 files changed, 71 insertions(+), 65 deletions(-) delete mode 100644 net-wireless/zd1211/files/digest-zd1211-83 create mode 100644 net-wireless/zd1211/files/digest-zd1211-85 delete mode 100644 net-wireless/zd1211/zd1211-83.ebuild create mode 100644 net-wireless/zd1211/zd1211-85.ebuild (limited to 'net-wireless/zd1211') diff --git a/net-wireless/zd1211/ChangeLog b/net-wireless/zd1211/ChangeLog index 23e32f0ac900..b1d91f331bb8 100644 --- a/net-wireless/zd1211/ChangeLog +++ b/net-wireless/zd1211/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/zd1211 -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/zd1211/ChangeLog,v 1.9 2006/09/13 16:48:48 genstef Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/zd1211/ChangeLog,v 1.10 2007/05/09 19:33:13 genstef Exp $ + +*zd1211-85 (09 May 2007) + + 09 May 2007; Stefan Schweizer -zd1211-83.ebuild, + +zd1211-85.ebuild: + Version bump, fixes new kernel compiling, bug 159552 *zd1211-83 (13 Sep 2006) diff --git a/net-wireless/zd1211/files/digest-zd1211-83 b/net-wireless/zd1211/files/digest-zd1211-83 deleted file mode 100644 index 785c1777a04b..000000000000 --- a/net-wireless/zd1211/files/digest-zd1211-83 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 a5751f0e6f1f368689077fa7758a4932 zd1211-driver-r83.tgz 266168 -RMD160 fc8a2f37c3e22838015e86a17460ecb78adfdb25 zd1211-driver-r83.tgz 266168 -SHA256 8288a1299f8c6f0176f2cd1b51f83b2c4b919460a2aa4fe98699b019e583bfc1 zd1211-driver-r83.tgz 266168 diff --git a/net-wireless/zd1211/files/digest-zd1211-85 b/net-wireless/zd1211/files/digest-zd1211-85 new file mode 100644 index 000000000000..7e54514af51c --- /dev/null +++ b/net-wireless/zd1211/files/digest-zd1211-85 @@ -0,0 +1,3 @@ +MD5 51691a15137fbc35515a630d45d03352 zd1211-driver-r85.tgz 266518 +RMD160 b32d639552b10a6661a21b09ea13068942979b53 zd1211-driver-r85.tgz 266518 +SHA256 dd71e82cd3df6ca60e629cc5655e7a380586b363a3d963482e9f151eb186dbad zd1211-driver-r85.tgz 266518 diff --git a/net-wireless/zd1211/zd1211-83.ebuild b/net-wireless/zd1211/zd1211-83.ebuild deleted file mode 100644 index bf97706f4d45..000000000000 --- a/net-wireless/zd1211/zd1211-83.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/zd1211/zd1211-83.ebuild,v 1.1 2006/09/13 16:48:48 genstef Exp $ - -inherit linux-mod toolchain-funcs eutils - -DESCRIPTION="Driver for the zd1211 wireless chipset" -HOMEPAGE="http://zd1211.ath.cx/" -SRC_URI="http://zd1211.ath.cx/download/${PN}-driver-r${PV}.tgz" -S=${WORKDIR}/${PN}-driver-r${PV} -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" -DEPEND="net-wireless/wireless-tools" - -MODULE_NAMES="${PN}(net:${S}/rel_a:${S}) ${PN}b(net:${S}/rel_b:${S})" -BUILD_TARGETS="all" - -CONFIG_CHECK="NET_RADIO" -ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." - -pkg_setup() { - linux-mod_pkg_setup - - if kernel_is 2 6; then - BUILD_PARAMS="KERNEL_SOURCE=${KV_DIR} KDIR=${KV_DIR} KERN_26=y" - else - BUILD_PARAMS="KERNEL_SOURCE=${KV_DIR} KDIR=${KV_DIR} KERN_26=n" - fi -} - -src_unpack() { - unpack ${A} - cd ${S} - - mkdir rel_a rel_b - echo -e "all:\n\tcd ..; make ZD1211REV_B=0" > rel_a/Makefile - echo -e "all:\n\tcd ..; make ZD1211REV_B=1" > rel_b/Makefile -} - -src_compile() { - linux-mod_src_compile - $(tc-getCC) ${CFLAGS} ${LDFLAGS} apdbg.c -o apdbg -} - -src_install() { - linux-mod_src_install - dosbin apdbg -} - -pkg_postinst() { - linux-mod_pkg_postinst - - ewarn "This package installs two new modules named zd1211 and zd1211b" - ewarn "This is done because ZyDAS corp. had made two different versions" - ewarn "of the ZD1211 Chipset." - ewarn "Please look at ${HOMEPAGE} to see which one is the best" - ewarn "for your WiFi adapter or, if you prefer, launch both..." -} diff --git a/net-wireless/zd1211/zd1211-85.ebuild b/net-wireless/zd1211/zd1211-85.ebuild new file mode 100644 index 000000000000..1499ca1f3ec8 --- /dev/null +++ b/net-wireless/zd1211/zd1211-85.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/zd1211/zd1211-85.ebuild,v 1.1 2007/05/09 19:33:13 genstef Exp $ + +inherit linux-mod toolchain-funcs eutils + +DESCRIPTION="Driver for the zd1211 wireless chipset" +HOMEPAGE="http://zd1211.ath.cx/" +SRC_URI="http://zd1211.ath.cx/download/${PN}-driver-r${PV}.tgz" +S=${WORKDIR}/${PN}-driver-r${PV} +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" +DEPEND="net-wireless/wireless-tools" + +MODULE_NAMES="${PN}(net:${S}/rel_a:${S}) ${PN}b(net:${S}/rel_b:${S})" +BUILD_TARGETS="all" + +CONFIG_CHECK="NET_RADIO" +ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." + +pkg_setup() { + linux-mod_pkg_setup + + if kernel_is 2 6; then + BUILD_PARAMS="KERNEL_SOURCE=${KV_DIR} KDIR=${KV_DIR} KERN_26=y" + else + BUILD_PARAMS="KERNEL_SOURCE=${KV_DIR} KDIR=${KV_DIR} KERN_26=n" + fi +} + +src_unpack() { + unpack ${A} + cd ${S} + + mkdir rel_a rel_b + echo -e "all:\n\tcd ..; make ZD1211REV_B=0" > rel_a/Makefile + echo -e "all:\n\tcd ..; make ZD1211REV_B=1" > rel_b/Makefile +} + +src_compile() { + linux-mod_src_compile + $(tc-getCC) ${CFLAGS} ${LDFLAGS} apdbg.c -o apdbg +} + +src_install() { + linux-mod_src_install + dosbin apdbg +} + +pkg_postinst() { + linux-mod_pkg_postinst + + ewarn "This package installs two new modules named zd1211 and zd1211b" + ewarn "This is done because ZyDAS corp. had made two different versions" + ewarn "of the ZD1211 Chipset." + ewarn "Please look at ${HOMEPAGE} to see which one is the best" + ewarn "for your WiFi adapter or, if you prefer, launch both..." +} -- cgit v1.2.3-65-gdbad