diff options
-rw-r--r-- | net-wireless/bcm43xx/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/bcm43xx/Manifest | 24 | ||||
-rw-r--r-- | net-wireless/bcm43xx/bcm43xx-0.0.1-r20060125.ebuild | 79 | ||||
-rw-r--r-- | net-wireless/bcm43xx/files/digest-bcm43xx-0.0.1-r20060125 | 6 | ||||
-rw-r--r-- | net-wireless/ieee80211softmac/ChangeLog | 8 | ||||
-rw-r--r-- | net-wireless/ieee80211softmac/files/Makefile | 41 | ||||
-rw-r--r-- | net-wireless/ieee80211softmac/files/digest-ieee80211softmac-0.1-r20060125 | 3 | ||||
-rw-r--r-- | net-wireless/ieee80211softmac/ieee80211softmac-0.1-r20060125.ebuild | 56 |
8 files changed, 213 insertions, 12 deletions
diff --git a/net-wireless/bcm43xx/ChangeLog b/net-wireless/bcm43xx/ChangeLog index 766e58ade31e..493b0c509e83 100644 --- a/net-wireless/bcm43xx/ChangeLog +++ b/net-wireless/bcm43xx/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/bcm43xx # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/bcm43xx/ChangeLog,v 1.3 2006/01/10 18:03:41 dang Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bcm43xx/ChangeLog,v 1.4 2006/01/31 05:35:45 josejx Exp $ + +*bcm43xx-0.0.1-r20060125 (31 Jan 2006) + + 31 Jan 2006; Joseph Jezak <josejx@gentoo.org> + +bcm43xx-0.0.1-r20060125.ebuild: + Added newer version. 10 Jan 2006; <dang@gentoo.org> bcm43xx-0.0.1-r20060105.ebuild: Marked ~amd64 diff --git a/net-wireless/bcm43xx/Manifest b/net-wireless/bcm43xx/Manifest index bcd714906f29..bdc0eb3ecbc5 100644 --- a/net-wireless/bcm43xx/Manifest +++ b/net-wireless/bcm43xx/Manifest @@ -1,14 +1,18 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 4cac424a0c59ff5850e732a57b78a2f5 ChangeLog 702 +RMD160 10de5c01d9df4d61baafbf018bdd9becd6d34d0e ChangeLog 702 +SHA256 e2fa3e4b5276a64a535ac4dd13289133e13aa38ff9e9601dcd17b235fcf13762 ChangeLog 702 MD5 3d13e15f7af254af584f35c47971c727 bcm43xx-0.0.1-r20060105.ebuild 1657 +RMD160 ad32a89f4c3fb53c3b58f2ea32983fa6620723cc bcm43xx-0.0.1-r20060105.ebuild 1657 +SHA256 96468197a8419a1a90c91f8c338cedf3deeb0c04a25c6bb98e692308d0eda4b5 bcm43xx-0.0.1-r20060105.ebuild 1657 +MD5 b0f9cd0091ebd2c070f694564b4aff41 bcm43xx-0.0.1-r20060125.ebuild 2298 +RMD160 c4b7d89c2a5f002055ba3de943701afcbc01070f bcm43xx-0.0.1-r20060125.ebuild 2298 +SHA256 6bd6347fbbbd115ee45da86ec4eeb919bfdabf3c6ebe867ca67d641f8c55aae9 bcm43xx-0.0.1-r20060125.ebuild 2298 MD5 e5b1323cee6f9ab16ab89fd2d2a89cb9 files/digest-bcm43xx-0.0.1-r20060105 75 +RMD160 f554b08f3c1f3543c0496c8ebd1757c61f31cf87 files/digest-bcm43xx-0.0.1-r20060105 75 +SHA256 82381ed122a9ba7e7232c2ad17fe218c42bc6cbc047008ecfdcb11448edd77b6 files/digest-bcm43xx-0.0.1-r20060105 75 +MD5 0cbdc946ad45134de643d70118b73c7f files/digest-bcm43xx-0.0.1-r20060125 527 +RMD160 1ad70c9178435fe0162d2ec366086dcdc827dea6 files/digest-bcm43xx-0.0.1-r20060125 527 +SHA256 9628f036415d3177d7f3957f4300ac91a5cbfc067479ea4d6f95dbb6d0e5f868 files/digest-bcm43xx-0.0.1-r20060125 527 MD5 5c96f35e0e2b1e2ea4e59c21d5a2414c metadata.xml 253 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2-ecc0.1.6 (GNU/Linux) - -iD8DBQFDw/ctomPajV0RnrERAmbOAJ9wdaHQm1D7+gVWN7thsp+FKMgNKACghHvq -gEm56lomzRw+DEJ6off4Ob0= -=WGXU ------END PGP SIGNATURE----- +RMD160 ec250a4d88cef44ea4db9f90f4cbbcbcdd023377 metadata.xml 253 +SHA256 92f54e79e6f15330ff2fb1b7bfb0ae0a5e94ad3863d2e6e4df85b523e1e9dab5 metadata.xml 253 diff --git a/net-wireless/bcm43xx/bcm43xx-0.0.1-r20060125.ebuild b/net-wireless/bcm43xx/bcm43xx-0.0.1-r20060125.ebuild new file mode 100644 index 000000000000..14df77440090 --- /dev/null +++ b/net-wireless/bcm43xx/bcm43xx-0.0.1-r20060125.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bcm43xx/bcm43xx-0.0.1-r20060125.ebuild,v 1.1 2006/01/31 05:35:45 josejx Exp $ + +inherit linux-mod + +DESCRIPTION="Driver for Broadcom 43xx based wireless network devices" +HOMEPAGE="http://bcm43xx.berlios.de" +SRC_URI="mirror://gentoo/${PN}-${PR#r}.tar.bz2 + mirror://gentoo/${PN}-fwcutter-${PR#r}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="debug" +DEPEND=">=net-wireless/ieee80211softmac-0.1-r2006125" +RDEPEND="${DEPEND} + >=net-wireless/wireless-tools-28_pre4" + +BUILD_TARGETS="modules" +MODULE_NAMES="bcm43xx(net/wireless:)" + +CONFIG_CHECK="NET_RADIO FW_LOADER" +ERROR_NET_RADIO="${P} requires support for \"Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)\"." +ERROR_FW_LOADER="${P} requires \"Hotplug firmware loading support (CONFIG_FW_LOADER)\"." + +FWCUTTER_DIR="${WORKDIR}/bcm43xx-fwcutter-${PR#r}" + +S="${WORKDIR}/${PN}-${PR#r}" + +pkg_setup() { + linux-mod_pkg_setup + + if kernel_is lt 2 6 15; then + die "${P} does not support building against kernels older than 2.6.15." + fi +} + +src_compile() { + BUILD_PARAMS="DEBUG=$(use debug && echo y || echo n) KSRC=${KV_DIR} KSRC_OUTPUT=${KV_OUT_DIR} SOFTMAC_DIR=/usr/include/softmac" linux-mod_src_compile + cd ${FWCUTTER_DIR} + make || die "Can't compile fwcutter." +} + +src_install() { + # Install fwcutter + exeinto /usr/bin + doexe ${FWCUTTER_DIR}/fwcutter + dodoc ${FWCUTTER_DIR}/README + + # Install the module + linux-mod_src_install +} + +pkg_postinst() { + linux-mod_pkg_postinst + + if [ -f /lib/modules/${KV_FULL}/net/${PN}.ko ]; then + einfo + einfo "Modules from an earlier installation detected. You will need to manually" + einfo "remove those modules by running the following commands:" + einfo " # rm -f /lib/modules/${KV_FULL}/net/${PN}.ko" + einfo " # depmod -a" + einfo + fi + + if ! [ -f /lib/firmware/${PN}_microcode2.fw ]; then + einfo + einfo "You'll need to use fwcutter to install the bcm43xx firmware." + einfo "Please read the fwcutter readme for more details:" + einfo "/usr/share/doc/${PN}-${PVR}/README.gz" + einfo + fi + + einfo "Please read this forums thread for help and troubleshooting:" + einfo "http://forums.gentoo.org/viewtopic-t-409194.html" + einfo +} diff --git a/net-wireless/bcm43xx/files/digest-bcm43xx-0.0.1-r20060125 b/net-wireless/bcm43xx/files/digest-bcm43xx-0.0.1-r20060125 new file mode 100644 index 000000000000..06865f315d4f --- /dev/null +++ b/net-wireless/bcm43xx/files/digest-bcm43xx-0.0.1-r20060125 @@ -0,0 +1,6 @@ +MD5 6a5795c70b57c54c7894dfc1bad15a7c bcm43xx-20060125.tar.bz2 95744 +RMD160 0000fcce61f723ebbca1cce616e7d5d62d125691 bcm43xx-20060125.tar.bz2 95744 +SHA256 6ed70f20227e66090e3363c6d65de12b1e93f0a503ad1861e726b19638c8fc1b bcm43xx-20060125.tar.bz2 95744 +MD5 6727970ede7f26a4620104eff9f6e325 bcm43xx-fwcutter-20060125.tar.bz2 18615 +RMD160 fa77d39d34382fc9aa72ac10d590d02c3e84c061 bcm43xx-fwcutter-20060125.tar.bz2 18615 +SHA256 d9bdaf7d2232f14ead85475113b50d6907871cb211a51d2f07974fbaf2db73f4 bcm43xx-fwcutter-20060125.tar.bz2 18615 diff --git a/net-wireless/ieee80211softmac/ChangeLog b/net-wireless/ieee80211softmac/ChangeLog index edf37957ee11..ff25e5f7931a 100644 --- a/net-wireless/ieee80211softmac/ChangeLog +++ b/net-wireless/ieee80211softmac/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/ieee80211softmac # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/ieee80211softmac/ChangeLog,v 1.4 2006/01/27 16:21:18 pylon Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ieee80211softmac/ChangeLog,v 1.5 2006/01/31 05:34:12 josejx Exp $ + +*ieee80211softmac-0.1-r20060125 (31 Jan 2006) + + 31 Jan 2006; Joseph Jezak <josejx@gentoo.org> +files/Makefile, + +ieee80211softmac-0.1-r20060125.ebuild: + Added newer version. 27 Jan 2006; Lars Weiler <pylon@gentoo.org> ieee80211softmac-0.1-r20060105.ebuild: diff --git a/net-wireless/ieee80211softmac/files/Makefile b/net-wireless/ieee80211softmac/files/Makefile new file mode 100644 index 000000000000..257550cb8b27 --- /dev/null +++ b/net-wireless/ieee80211softmac/files/Makefile @@ -0,0 +1,41 @@ +# this makefile is for building out-of-tree + +CFLAGS+=-DCONFIG_IEEE80211_SOFTMAC_DEBUG=1 +CFLAGS+=-DIEEE80211_DEBUG=1 + +KDIR ?= /lib/modules/`uname -r`/build +MODPATH ?= /lib/modules/`uname -r`/kernel/net/ieee80211 +modules: + make -C $(KDIR) SUBDIRS=`pwd`/net/ieee80211 CONFIG_IEEE80211=m CONFIG_IEEE80211_CRYPT_WEP=m CONFIG_IEEE80211_CRYPT_CCMP=m CONFIG_IEEE80211_CRYPT_TKIP=m CC="${CROSS_COMPILE}gcc -I`pwd`/include" modules + make -C $(KDIR) SUBDIRS=`pwd`/net/ieee80211/softmac CONFIG_IEEE80211_SOFTMAC=m CC="${CROSS_COMPILE}gcc -I`pwd`/include" modules + +install: modules + install -d /lib/modules/`uname -r`/kernel/net/ieee80211 + install -m 644 -c `pwd`/net/ieee80211/ieee80211.ko $(MODPATH) + install -m 644 -c `pwd`/net/ieee80211/ieee80211_crypt.ko $(MODPATH) + install -m 644 -c `pwd`/net/ieee80211/ieee80211_crypt_ccmp.ko $(MODPATH) + install -m 644 -c `pwd`/net/ieee80211/ieee80211_crypt_tkip.ko $(MODPATH) + install -m 644 -c `pwd`/net/ieee80211/ieee80211_crypt_wep.ko $(MODPATH) + install -d $(MODPATH)/softmac + install -m 644 -c `pwd`/net/ieee80211/softmac/ieee80211softmac.ko /lib/modules/`uname -r`/kernel/net/ieee80211/softmac + install -d $(KDIR)/include/net + install -m 644 -c `pwd`/include/net/ieee80211.h $(KDIR)/include/net + install -m 644 -c `pwd`/include/net/ieee80211_crypt.h $(KDIR)/include/net + install -m 644 -c `pwd`/include/net/ieee80211_radiotap.h $(KDIR)/include/net + install -m 644 -c `pwd`/include/net/ieee80211softmac.h $(KDIR)/include/net + install -m 644 -c `pwd`/include/net/ieee80211softmac_wx.h $(KDIR)/include/net + /sbin/depmod -a + +uninstall: + rm -rf $(MODPATH) + rm -f $(KDIR)/include/net/ieee80211.h + rm -f $(KDIR)/include/net/ieee80211_crypt.h + rm -f $(KDIR)/include/net/ieee80211_radiotap.h + rm -f $(KDIR)/include/net/ieee80211softmac.h + rm -f $(KDIR)/include/net/ieee80211softmac_wx.h + /sbin/depmod -a + +clean: + find . \( -name '*.ko' -o -name '*.o' -o -name '.tmp_versions' -o -name '*~' -o -name '.*.cmd' \ + -o -name '*.mod.c' -o -name '*.tar.bz2' -o -name '*.rej' -o -name '*.orig' \)\ + -print | xargs rm -Rf diff --git a/net-wireless/ieee80211softmac/files/digest-ieee80211softmac-0.1-r20060125 b/net-wireless/ieee80211softmac/files/digest-ieee80211softmac-0.1-r20060125 new file mode 100644 index 000000000000..caf96457a43f --- /dev/null +++ b/net-wireless/ieee80211softmac/files/digest-ieee80211softmac-0.1-r20060125 @@ -0,0 +1,3 @@ +MD5 4a7b23e118db9b7a9ea333ea820fd961 ieee80211softmac-20060125.tar.bz2 63179 +RMD160 5473a36fbe6cd3a07bd4e348f9b555c9e098ec28 ieee80211softmac-20060125.tar.bz2 63179 +SHA256 63a6dd805dff68ccf31bcc244bff8c9873a9f110b6c51b17d192a3cde34f9f2a ieee80211softmac-20060125.tar.bz2 63179 diff --git a/net-wireless/ieee80211softmac/ieee80211softmac-0.1-r20060125.ebuild b/net-wireless/ieee80211softmac/ieee80211softmac-0.1-r20060125.ebuild new file mode 100644 index 000000000000..f807f7b75dd8 --- /dev/null +++ b/net-wireless/ieee80211softmac/ieee80211softmac-0.1-r20060125.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/ieee80211softmac/ieee80211softmac-0.1-r20060125.ebuild,v 1.1 2006/01/31 05:34:12 josejx Exp $ + +inherit linux-mod + +DESCRIPTION="Software MAC and the updated generic IEEE 802.11 network subsystem" +HOMEPAGE="http://softmac.sipsolutions.net" +SRC_URI="mirror://gentoo/${PN}-${PR#r}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +DEPEND="!net-wireless/ieee80211 + || ( >=sys-kernel/gentoo-sources-2.6.15 \ + >=sys-kernel/vanilla-sources-2.6.15 \ + >=sys-kernel/suspend2-sources-2.6.15 )" +RDEPEND="${DEPEND}" + +IUSE="" +BUILD_TARGETS="modules" +MODULE_NAMES="ieee80211(net/ieee80211::net/ieee80211) \ + ieee80211_crypt(net/ieee80211::net/ieee80211) \ + ieee80211_crypt_ccmp(net/ieee80211::net/ieee80211) \ + ieee80211_crypt_tkip(net/ieee80211::net/ieee80211) \ + ieee80211softmac(net/ieee80211::net/ieee80211/softmac)" + +CONFIG_CHECK="NET_RADIO !IEEE80211" +ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)." +ERROR_IEEE80211="${P} requires that you disable the in-kernel version of the IEEE802.11 subsystem (CONFIG_IEEE80211)." + +S="${WORKDIR}/softmac-snapshot" + +pkg_setup() { + linux-mod_pkg_setup + + if kernel_is lt 2 6 15; then + die "${P} does not support building against kernels older than 2.6.15." + fi + + BUILD_PARAMS="KSRC=${KV_DIR} KSRC_OUTPUT=${KV_OUT_DIR}" +} + +src_unpack() { + unpack ${A} + cd ${S} + cp ${FILESDIR}/Makefile ${S} +} + +src_install() { + linux-mod_src_install + + insinto /usr/include/softmac/net + doins include/net/*.h +} |