diff options
Diffstat (limited to 'net-wireless/iwlwifi')
-rw-r--r-- | net-wireless/iwlwifi/ChangeLog | 4 | ||||
-rw-r--r-- | net-wireless/iwlwifi/Manifest | 3 | ||||
-rw-r--r-- | net-wireless/iwlwifi/iwlwifi-0.0.34-r1.ebuild | 60 |
3 files changed, 66 insertions, 1 deletions
diff --git a/net-wireless/iwlwifi/ChangeLog b/net-wireless/iwlwifi/ChangeLog index 053264a82..825b38e1e 100644 --- a/net-wireless/iwlwifi/ChangeLog +++ b/net-wireless/iwlwifi/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> + +iwlwifi-0.0.34-r1.ebuild: + Add support for in-kernel mac80211 + 29 Jun 2007; Christian Faulhammer <opfer@gentoo.org> ChangeLog: add some quotes diff --git a/net-wireless/iwlwifi/Manifest b/net-wireless/iwlwifi/Manifest index 143ea3f76..875c41520 100644 --- a/net-wireless/iwlwifi/Manifest +++ b/net-wireless/iwlwifi/Manifest @@ -1,4 +1,5 @@ DIST iwlwifi-0.0.34.tgz 210172 RMD160 c74e39439a946bc032fc60cbc4e3e441fe106b47 SHA1 3250e93351c845658a231ae1decca6fac25dabd6 SHA256 e459741edfbb544e076b68c0cc9c228f4498a445475d6a9e521cfa62fe06d191 +EBUILD iwlwifi-0.0.34-r1.ebuild 1404 RMD160 737cbbff9110fd8e0207a8c23cd2ced2d2a04c70 SHA1 8a26fe10107218b960f8631a0823920140acd345 SHA256 7cb2c9315dbe2257eb733a3ee9a0cb00c6b1106a79b16705c4cbc9fe6dbe0c3b EBUILD iwlwifi-0.0.34.ebuild 1034 RMD160 27d1c2b51df18b2acbb1d6678586ec84473dc7c9 SHA1 52550f7c02414861fbdefaa1e945fc0499cd59bc SHA256 27bf95c8090c0aa603575afa59ac9b4b88cce5d96d825b588da8c0e8b532d37c -MISC ChangeLog 1447 RMD160 8373a5d4b03c2a2c91c555ae207a29ea85a6dc0b SHA1 2f74d22b645209df27ad63cfeb71808c28ad890a SHA256 40bbe57adbc776e7b2a5e8744668e28521e1a87b2f81bdf40a1a96d9827046b6 +MISC ChangeLog 1589 RMD160 aa53e3925600dbfd0c16ab70f9c2a4ead738aae8 SHA1 3d182f941ed5d921b7320eb925078436c5ce24c3 SHA256 4ce3d7ad2554cf399a812423a9fdaea346a643b14b37710f3316f2899d9699e0 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/net-wireless/iwlwifi/iwlwifi-0.0.34-r1.ebuild b/net-wireless/iwlwifi/iwlwifi-0.0.34-r1.ebuild new file mode 100644 index 000000000..89f583904 --- /dev/null +++ b/net-wireless/iwlwifi/iwlwifi-0.0.34-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit linux-mod + +DESCRIPTION="Intel (R) PRO/Wireless 3945ABG Network Connection" +HOMEPAGE="http://intellinuxwireless.org/?p=iwlwifi" +SRC_URI="http://intellinuxwireless.org/${PN}/downloads/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +if kernel_is lt 2 6 22; then + DEPEND="net-wireless/mac80211" +else + CONFIG_CHECK="MAC80211" +fi + +RDEPEND="net-wireless/iwlwifi-ucode" + +S="${WORKDIR}/${P}/compatible" + +MODULE_NAMES="iwl3945(net/wireless)" +BUILD_TARGETS="modules" + +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="-C "${KV_DIR}" M="${S}" CONFIG_IWL3945=m" + + if kernel_is lt 2 6 22; then + MY_INCLUDE="/usr/include/mac80211" + MY_HEADERS="MAC80211_INC=/usr/include/mac80211/net/" + else + MY_INCLUDE="/usr/src/linux/" + MY_HEADERS="" + fi +} + +src_unpack() { + unpack ${A} + cd "${WORKDIR}/${P}" + sed -i -e 's/\(.*chmod\)/#\1/' Makefile + make compatible/kversion KSRC="${KV_DIR}" \ + ${MY_HEADERS} || die "make unmodified failed" + sed -i -e 's%\.\./\(net/mac80211/\)%\1%' "${S}"/*.c "${S}"/*.h + echo "CFLAGS += -I${MY_INCLUDE} -DCONFIG_IWLWIFI_DEBUG=y" \ + "-DCONFIG_IWLWIFI_SPECTRUM_MEASUREMENT=y" >> "${S}"/Makefile +} + +pkg_postinst() +{ + linux-mod_pkg_postinst + elog + elog "As for kernel version 2.6.22, iwlwifi uses the in-kernel" + elog "version of mac80211" + elog +} |