summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2006-01-16 22:48:50 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2006-01-16 22:48:50 +0000
commitd2726768acb9946f60f16b189222a32011dc4c27 (patch)
tree4aab47c50058689c023495e867b664d3cfa93dd6 /net-wireless/ieee80211
parentInstall net-snmp-config even with USE=minimal. Fixes bug 104193. (diff)
downloadgentoo-2-d2726768acb9946f60f16b189222a32011dc4c27.tar.gz
gentoo-2-d2726768acb9946f60f16b189222a32011dc4c27.tar.bz2
gentoo-2-d2726768acb9946f60f16b189222a32011dc4c27.zip
Version bump.
(Portage version: 2.0.53)
Diffstat (limited to 'net-wireless/ieee80211')
-rw-r--r--net-wireless/ieee80211/ChangeLog8
-rw-r--r--net-wireless/ieee80211/Manifest6
-rw-r--r--net-wireless/ieee80211/files/digest-ieee80211-1.1.91
-rw-r--r--net-wireless/ieee80211/files/remove-old27
-rw-r--r--net-wireless/ieee80211/ieee80211-1.1.9.ebuild86
5 files changed, 114 insertions, 14 deletions
diff --git a/net-wireless/ieee80211/ChangeLog b/net-wireless/ieee80211/ChangeLog
index 5ec35b45a191..b78e348566e8 100644
--- a/net-wireless/ieee80211/ChangeLog
+++ b/net-wireless/ieee80211/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-wireless/ieee80211
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/ieee80211/ChangeLog,v 1.23 2006/01/11 12:28:56 brix Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ieee80211/ChangeLog,v 1.24 2006/01/16 22:48:50 brix Exp $
+
+*ieee80211-1.1.9 (16 Jan 2006)
+
+ 16 Jan 2006; Henrik Brix Andersen <brix@gentoo.org> files/remove-old,
+ +ieee80211-1.1.9.ebuild:
+ Version bump.
11 Jan 2006; Henrik Brix Andersen <brix@gentoo.org>
+files/ieee80211-1.1.8-nocast.patch, ieee80211-1.1.8.ebuild:
diff --git a/net-wireless/ieee80211/Manifest b/net-wireless/ieee80211/Manifest
index ceacc4119c6b..66104fc2a7b9 100644
--- a/net-wireless/ieee80211/Manifest
+++ b/net-wireless/ieee80211/Manifest
@@ -1,4 +1,4 @@
-MD5 62cfd6a1e4b01b30f9ccd0730f442ab0 ChangeLog 3948
+MD5 c944b4fe105dfd16aa7affb65e70d56b ChangeLog 4096
MD5 cc0dea5fff30f8ea5fe5e62a749115d3 files/digest-ieee80211-1.0.1 63
MD5 affd67ec6900c1e7f9c123969f709181 files/digest-ieee80211-1.0.2 63
MD5 777627671d6848e14270d9f65d9d0be6 files/digest-ieee80211-1.0.3 63
@@ -9,13 +9,14 @@ MD5 27f61bbea47540d198a62c715e33a5b4 files/digest-ieee80211-1.1.5-r1 63
MD5 9501aacea3c39a93671e12bdcd199254 files/digest-ieee80211-1.1.6 63
MD5 0df9ca80228d166621f6d0ed424cd6a8 files/digest-ieee80211-1.1.7 63
MD5 5cf798889745b65cb107070ad36c513c files/digest-ieee80211-1.1.8 63
+MD5 f78d58df9a988441f01c24ff0c272712 files/digest-ieee80211-1.1.9 63
MD5 03afa38292ff5bbcc62500c4b6163888 files/ieee80211-1.0.3-broadcast.patch 622
MD5 f6533e7149d244dd72eb444853266a8f files/ieee80211-1.0.3-keep_restricted_bit.patch 1220
MD5 d2bada5c8bb423cb02a88cc4f0011d39 files/ieee80211-1.0.3-open_frag.patch 2638
MD5 61bac627a89e0cafb9996d2887d8a3e9 files/ieee80211-1.1.5-broadcast.patch 1939
MD5 ccf8b6ee79df516fce26c5780b058ac6 files/ieee80211-1.1.5-we18.patch 1973
MD5 4c49e8e5e739551dd8a68f88131529a4 files/ieee80211-1.1.8-nocast.patch 959
-MD5 0f05f4c35985b633ec476e01c1f4b4d1 files/remove-old 1362
+MD5 1c7250a90205590d6a477efdc0efe963 files/remove-old 1444
MD5 1054af781be5183132744e65a5043a8d ieee80211-1.0.1.ebuild 2768
MD5 c09bd847f99062b5e22ebe9f8976a49c ieee80211-1.0.2.ebuild 2768
MD5 2258001f4252bdf42a23aa76e25752ce ieee80211-1.0.3-r1.ebuild 2836
@@ -26,4 +27,5 @@ MD5 49f0d303a477f0b091dd498e02576a5b ieee80211-1.1.5.ebuild 2828
MD5 42dbbe85c5f5dd959a3da2fa12c4df9e ieee80211-1.1.6.ebuild 2779
MD5 0dadded27c72eb389fecc48bc9b94604 ieee80211-1.1.7.ebuild 2787
MD5 eca48471432047fdb5f0a23aaebecf97 ieee80211-1.1.8.ebuild 2844
+MD5 c19da4d8afbfdbf1cb654a624c149801 ieee80211-1.1.9.ebuild 2682
MD5 b280eebc74d70d85e664debf1adce2c3 metadata.xml 255
diff --git a/net-wireless/ieee80211/files/digest-ieee80211-1.1.9 b/net-wireless/ieee80211/files/digest-ieee80211-1.1.9
new file mode 100644
index 000000000000..e9c680dc4ded
--- /dev/null
+++ b/net-wireless/ieee80211/files/digest-ieee80211-1.1.9
@@ -0,0 +1 @@
+MD5 cab4c5cd1ace1e0837cbf8b586ba1422 ieee80211-1.1.9.tgz 66280
diff --git a/net-wireless/ieee80211/files/remove-old b/net-wireless/ieee80211/files/remove-old
index 2441480d7a49..cf354e684003 100644
--- a/net-wireless/ieee80211/files/remove-old
+++ b/net-wireless/ieee80211/files/remove-old
@@ -1,12 +1,17 @@
#!/bin/sh -x
+KERN=/lib/modules/`uname -r`
if [ -z "$1" ]; then
- KERN=/lib/modules/`uname -r`/build
+ if [ -d ${KERN}/source ]; then
+ KSRC=${KERN}/source
+ else
+ KSRC=${KERN}/build
+ fi
else
- KERN="$1"
+ KSRC="$1"
fi
-echo ${KERN} | grep "/\$" || KERN="${KERN}/"
+echo ${KSRC} | grep "/\$" || KSRC="${KSRC}/"
ask_comment()
{
@@ -19,10 +24,10 @@ ask_comment()
""|y) sed -i \
-e "s:^\(CONFIG_IEEE80211.*\):#\1:" \
- ${KERN}/.config || return 1
+ ${KSRC}/.config || return 1
sed -i -r \
-e "s:^(#(un)?def.*CONFIG_IEEE80211.*):/*\1*/:" \
- ${KERN}/include/linux/autoconf.h || return 1
+ ${KSRC}/include/linux/autoconf.h || return 1
return 0;;
*) continue;;
@@ -40,7 +45,7 @@ ask_remove()
n) return 1;;
- ""|y) find ${KERN} -type f -name 'ieee80211*' | \
+ ""|y) find ${KSRC} -type f -name 'ieee80211*' | \
while read fn; do
[ ! -d $fn ] && (rm -f ${fn} || return 1)
done || return 1
@@ -53,9 +58,9 @@ ask_remove()
do_check()
{
- echo "Checking in ${1} for ieee80211 components..."
+ echo "Checking in ${KSRC} for ieee80211 components..."
- FILES=`find ${1} -type f -name 'ieee80211*'`
+ FILES=`find ${KSRC} -type f -name 'ieee80211*'`
if [ -n "${FILES}" ]; then
for file in $FILES; do
@@ -64,12 +69,12 @@ do_check()
ask_remove || return 1
fi
- ( egrep "^(CONFIG_IEEE80211.*)" ${1}/.config || \
+ ( egrep "^(CONFIG_IEEE80211.*)" ${KSRC}/.config || \
egrep "^#(un)?def.*(CONFIG_IEEE80211.*)" \
- ${1}/include/linux/autoconf.h ) && \
+ ${KSRC}/include/linux/autoconf.h ) && \
(ask_comment || return 1)
return 0
}
-do_check ${KERN}
+do_check
diff --git a/net-wireless/ieee80211/ieee80211-1.1.9.ebuild b/net-wireless/ieee80211/ieee80211-1.1.9.ebuild
new file mode 100644
index 000000000000..2115e0cd42c7
--- /dev/null
+++ b/net-wireless/ieee80211/ieee80211-1.1.9.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/ieee80211/ieee80211-1.1.9.ebuild,v 1.1 2006/01/16 22:48:50 brix Exp $
+
+inherit linux-mod
+
+# The following works with both pre-releases and releases
+MY_P=${P/_/-}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Generic IEEE 802.11 network subsystem for Linux"
+HOMEPAGE="http://ieee80211.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="!<=net-wireless/ipw2100-1.1.0
+ !<=net-wireless/ipw2200-1.0.4"
+RDEPEND="${DEPEND}"
+
+IUSE="debug"
+BUILD_TARGETS="all"
+MODULE_NAMES="ieee80211(net/ieee80211:)
+ ieee80211_crypt(net/ieee80211:)
+ ieee80211_crypt_wep(net/ieee80211:)
+ ieee80211_crypt_ccmp(net/ieee80211:)
+ ieee80211_crypt_tkip(net/ieee80211:)"
+
+CONFIG_CHECK="NET_RADIO CRYPTO_ARC4 CRYPTO_MICHAEL_MIC CRC32 !IEEE80211"
+ERROR_NET_RADIO="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)."
+ERROR_CRYPTO_ARC4="${P} requires support for ARC4 cipher algorithm (CONFIG_CRYPTO_ARC4)."
+ERROR_CRYPTO_MICHAEL_MIC="${P} requires support for Michael MIC keyed digest algorithm (CONFIG_CRYPTO_MICHAEL_MIC)."
+ERROR_CRC32="${P} requires support for CRC32 functions (CONFIG_CRC32)."
+ERROR_IEEE80211="${P} requires the in-kernel version of the IEEE802.11 subsystem to be disabled (CONFIG_IEEE80211)"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+
+ if kernel_is 2 4; then
+ die "${P} does not support building against kernel 2.4.x"
+ fi
+
+ if [[ -f ${KV_DIR}/include/net/ieee80211.h ]] || \
+ [[ -f ${KV_DIR}/include/config/ieee80211.h ]]; then
+ eerror
+ eerror "Your kernel source contains an incompatible version of the"
+ eerror "ieee80211 subsystem, which needs to be removed before"
+ eerror "${P} can be installed. This can be accomplished by running:"
+ eerror
+ eerror " # /bin/sh ${FILESDIR}/remove-old ${KV_DIR}"
+ eerror
+ eerror "Please note that this will make it impossible to use some of the"
+ eerror "in-kernel IEEE 802.11 wireless LAN drivers (eg. orinoco)."
+ eerror
+ die "Incompatible in-kernel ieee80211 subsystem detected"
+ fi
+
+ if ! (linux_chkconfig_present CRYPTO_AES_586 || \
+ linux_chkconfig_present CRYPTO_AES_X86_64 || \
+ linux_chkconfig_present CRYPTO_AES); then
+ eerror "${P} requires support for AES cipher algorithms."
+ die "CONFIG_CRYPTO_AES{_586,_X86_64} support not detected"
+ fi
+
+ BUILD_PARAMS="KSRC=${KV_DIR} KSRC_OUTPUT=${KV_OUT_DIR}"
+}
+
+src_unpack() {
+ local debug="n"
+
+ unpack ${A}
+
+ use debug && debug="y"
+ sed -i -e "s:^\(CONFIG_IEEE80211_DEBUG\)=.*:\1=${debug}:" ${S}/Makefile || die
+}
+
+src_install() {
+ linux-mod_src_install
+
+ insinto /usr/include/net
+ doins net/*.h
+
+ dodoc CHANGES
+}