diff options
author | Joseph Jezak <josejx@gentoo.org> | 2006-01-31 05:35:45 +0000 |
---|---|---|
committer | Joseph Jezak <josejx@gentoo.org> | 2006-01-31 05:35:45 +0000 |
commit | ca3c2d365fe657ff3cb43a58cbaf7133a8de61dd (patch) | |
tree | 98e3e15800010dff2a24ebd749ad70d9706ddcc4 /net-wireless/ieee80211softmac | |
parent | New version: 1.2.3 (diff) | |
download | historical-ca3c2d365fe657ff3cb43a58cbaf7133a8de61dd.tar.gz historical-ca3c2d365fe657ff3cb43a58cbaf7133a8de61dd.tar.bz2 historical-ca3c2d365fe657ff3cb43a58cbaf7133a8de61dd.zip |
Added newer version.
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'net-wireless/ieee80211softmac')
4 files changed, 107 insertions, 1 deletions
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 +} |