diff options
author | Renato Caldas (seventhguardian) <seventhguardian@gmail.com> | 2007-07-05 23:14:54 +0000 |
---|---|---|
committer | Renato Caldas (seventhguardian) <seventhguardian@gmail.com> | 2007-07-05 23:14:54 +0000 |
commit | e7c1973f05b1e0e5dba83b62f9f8bbad5f52bdb6 (patch) | |
tree | d55349af7b04d0121bed3e2a4ec59a65536bd43a | |
parent | Last attempt on fixing this (diff) | |
download | sunrise-e7c1973f05b1e0e5dba83b62f9f8bbad5f52bdb6.tar.gz sunrise-e7c1973f05b1e0e5dba83b62f9f8bbad5f52bdb6.tar.bz2 sunrise-e7c1973f05b1e0e5dba83b62f9f8bbad5f52bdb6.zip |
net-wireless/mac80211: New version
svn path=/sunrise/; revision=4167
-rw-r--r-- | net-wireless/mac80211/ChangeLog | 4 | ||||
-rw-r--r-- | net-wireless/mac80211/Manifest | 4 | ||||
-rw-r--r-- | net-wireless/mac80211/mac80211-8.0.2.ebuild | 61 |
3 files changed, 68 insertions, 1 deletions
diff --git a/net-wireless/mac80211/ChangeLog b/net-wireless/mac80211/ChangeLog index dc6fd20e0..4fd7b37db 100644 --- a/net-wireless/mac80211/ChangeLog +++ b/net-wireless/mac80211/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 05 Jul 2007; Renato Caldas (seventhguardian) <seventhguardian@gmail.com> + +mac80211-8.0.2.ebuild: + New version + 05 Jul 2007; Jakub Moc <jakub@gentoo.org> mac80211-8.0.1.ebuild: Bail out on kernels which have MAC80211 already built-in diff --git a/net-wireless/mac80211/Manifest b/net-wireless/mac80211/Manifest index 8c516fb55..308afc1a3 100644 --- a/net-wireless/mac80211/Manifest +++ b/net-wireless/mac80211/Manifest @@ -1,4 +1,6 @@ DIST mac80211-8.0.1.tgz 185791 RMD160 3c4d13a9933b3b1a9da8b1ed19bf542cd6561d22 SHA1 28d4af62e918e976a7af41ad32f7e18309215edf SHA256 42e745d514524213992720cd21d685ee9d74c20bfad3d3877c280181156c51d2 +DIST mac80211-8.0.2.tgz 190582 RMD160 e448e0fd6438c4ada01dbd5840cd594910d27791 SHA1 8bafb4c2271c2dcc567e063b524218e440a18036 SHA256 d90a10c036229fce465fc1155f779fe4dab16d7532cf4f9181a50a372ee9adc3 EBUILD mac80211-8.0.1.ebuild 1478 RMD160 ba72f2736242f231e4b73ab753eacb741b9fb973 SHA1 853d6ceb278479b54099a87d51f164d74aae93b9 SHA256 f039d6a6ee0439d5ed53807adddfc7e34dcbcdc95bedc3e7129aaa83ed2574d9 -MISC ChangeLog 1471 RMD160 282f116086f8e99793a5a12f11cf0b9f1167c1e2 SHA1 3430a9c6ef01ce7fdacc9722c3c50d5eed06e95d SHA256 c2c06a38de2027cda3f50cd026460f2024a0d924d1e129ed79e2c6a94b45134a +EBUILD mac80211-8.0.2.ebuild 1478 RMD160 ba72f2736242f231e4b73ab753eacb741b9fb973 SHA1 853d6ceb278479b54099a87d51f164d74aae93b9 SHA256 f039d6a6ee0439d5ed53807adddfc7e34dcbcdc95bedc3e7129aaa83ed2574d9 +MISC ChangeLog 1587 RMD160 41eac10b69216a28a22542a60b65c818020adc15 SHA1 28dc9f329cf9431cf7a0323bb10ab0668db8b62e SHA256 44b467b2e0d4984bc9ac8c1e0a5e00b36daa78a6502de780e87b495c56aac386 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/net-wireless/mac80211/mac80211-8.0.2.ebuild b/net-wireless/mac80211/mac80211-8.0.2.ebuild new file mode 100644 index 000000000..30820cf00 --- /dev/null +++ b/net-wireless/mac80211/mac80211-8.0.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit linux-mod + +DESCRIPTION="mac80211 subsystem" +HOMEPAGE="http://intellinuxwireless.org/?p=mac80211" +SRC_URI="http://intellinuxwireless.org/${PN}/downloads/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~ppc" +IUSE="" + +DEPEND="" +RDEPEND="" + +MOD="${P}" +S="${WORKDIR}/${MOD}/compatible/net" + +MODULE_NAMES="mac80211(net/mac80211:${S}/mac80211) + rc80211_simple(net/mac80211:${S}/mac80211) + cfg80211(net/wireless:${S}/wireless)" +BUILD_TARGETS="modules" +CONFIG_CHECK="NET_SCHED WIRELESS_EXT LEDS_TRIGGERS" + +pkg_setup() { + if kernel_is ge 2 6 22 ; then + CONFIG_CHECK="${CONFIG_CHECK} !MAC80211" + ERROR_MAC80211="MAC80211 support already enabled in kernel. You do not need this ebuild." + fi + + linux-mod_pkg_setup + BUILD_PARAMS="CONFIG_MAC80211_LEDS=y CONFIG_MAC80211=m CONFIG_CFG80211=m + -C ${KV_DIR} M=\${PWD}" +} + +src_unpack() { + unpack ${A} + + cd "${WORKDIR}"/${MOD} + make unmodified KSRC="${KV_DIR}" || die "make unmodified failed" + for i in "${S}"/mac80211 "${S}"/wireless ; do + echo "CFLAGS += -I${WORKDIR}/${MOD}/compatible/include" \ + "-DCONFIG_MAC80211_LEDS=y" >> $i/Makefile + done +} + +src_install() { + cd "${WORKDIR}"/${MOD}/compatible + for i in include/net include/linux ; do + insinto /usr/include/${i/include/mac80211} + doins $i/*.h + done + + insinto /usr/include/mac80211/net/mac80211 + doins net/mac80211/*.h + + linux-mod_src_install +} |