summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2005-10-23 20:55:58 +0000
committerStefan Schweizer <genstef@gentoo.org>2005-10-23 20:55:58 +0000
commite881a039d10bfdc8fd255a1918654a3cf012af21 (patch)
tree5ef243f89db2ab2bea46963a4556ce82184a407e /net-wireless/at76c503a
parentStable on x86; bug #110146 (diff)
downloadhistorical-e881a039d10bfdc8fd255a1918654a3cf012af21.tar.gz
historical-e881a039d10bfdc8fd255a1918654a3cf012af21.tar.bz2
historical-e881a039d10bfdc8fd255a1918654a3cf012af21.zip
Make ad-hoc working thanks to Arrigo Marchiori <dido@quipo.it> in bug 109615
Package-Manager: portage-2.0.53_rc6
Diffstat (limited to 'net-wireless/at76c503a')
-rw-r--r--net-wireless/at76c503a/ChangeLog8
-rw-r--r--net-wireless/at76c503a/Manifest5
-rw-r--r--net-wireless/at76c503a/at76c503a-0.12_beta23-r2.ebuild49
-rw-r--r--net-wireless/at76c503a/files/at76c503a-adhoc-fix.diff18
-rw-r--r--net-wireless/at76c503a/files/digest-at76c503a-0.12_beta23-r22
5 files changed, 80 insertions, 2 deletions
diff --git a/net-wireless/at76c503a/ChangeLog b/net-wireless/at76c503a/ChangeLog
index 9439f5d80e1c..20e29c5b5177 100644
--- a/net-wireless/at76c503a/ChangeLog
+++ b/net-wireless/at76c503a/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-wireless/at76c503a
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/at76c503a/ChangeLog,v 1.6 2005/10/17 05:35:38 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/at76c503a/ChangeLog,v 1.7 2005/10/23 20:55:58 genstef Exp $
+
+*at76c503a-0.12_beta23-r2 (23 Oct 2005)
+
+ 23 Oct 2005; Stefan Schweizer <genstef@gentoo.org>
+ +files/at76c503a-adhoc-fix.diff, +at76c503a-0.12_beta23-r2.ebuild:
+ Make ad-hoc working thanks to Arrigo Marchiori <dido@quipo.it> in bug 109615
17 Oct 2005; Stefan Schweizer <genstef@gentoo.org>
files/at76c503a-kernel-2.6-fixes.diff:
diff --git a/net-wireless/at76c503a/Manifest b/net-wireless/at76c503a/Manifest
index abd2da17fcf4..c386503bc088 100644
--- a/net-wireless/at76c503a/Manifest
+++ b/net-wireless/at76c503a/Manifest
@@ -1,9 +1,12 @@
-MD5 2f23214986019cbdc55e342e842975a5 ChangeLog 1141
+MD5 1f3dda5cbb50e4ffb584cc2564fa078d ChangeLog 1384
MD5 56396ce73ba684e39c24a1c6731bae49 at76c503a-0.12_beta19.ebuild 1614
MD5 90d64722fbfeb263bed2972d08ba3819 at76c503a-0.12_beta23-r1.ebuild 1674
+MD5 f4dcc27569ba68ef5246a98d7d1572ed at76c503a-0.12_beta23-r2.ebuild 1719
MD5 db84b769c8cfd2c6333467031343b4e3 at76c503a-0.12_beta23.ebuild 1617
+MD5 d79e76ecaf2c400a06e505bbe869bf1f files/at76c503a-adhoc-fix.diff 544
MD5 5668b1fe560b9b17a8086158cba310d5 files/at76c503a-kernel-2.6-fixes.diff 3502
MD5 29b716c7fdd6c59a6a42452a905c6abf files/digest-at76c503a-0.12_beta19 151
MD5 7f93eef31cc66db8c3da09629831fa49 files/digest-at76c503a-0.12_beta23 151
MD5 35f5c84feb2694bb071d04073ba6d6e5 files/digest-at76c503a-0.12_beta23-r1 151
+MD5 35f5c84feb2694bb071d04073ba6d6e5 files/digest-at76c503a-0.12_beta23-r2 151
MD5 19fd766bac8e110b4620363a1ace26dd metadata.xml 159
diff --git a/net-wireless/at76c503a/at76c503a-0.12_beta23-r2.ebuild b/net-wireless/at76c503a/at76c503a-0.12_beta23-r2.ebuild
new file mode 100644
index 000000000000..75f6a410d688
--- /dev/null
+++ b/net-wireless/at76c503a/at76c503a-0.12_beta23-r2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/at76c503a/at76c503a-0.12_beta23-r2.ebuild,v 1.1 2005/10/23 20:55:58 genstef Exp $
+
+inherit linux-mod eutils
+
+MY_P=${PN}_${PV/_beta/.beta}
+SRC_PATCH="${MY_P}-1.diff"
+DESCRIPTION="at76c503 is a Linux driver for the wlan USB adapter based on the Atmel at76c503 chip. It currently supports ad-hoc mode, infrastructure mode, and WEP. It supports adapters from Atmel, the Belkin F5D6050, Netgear MA101, and others."
+HOMEPAGE="http://at76c503a.berlios.de"
+SRC_URI="mirror://debian/pool/contrib/a/at76c503a/${MY_P}.orig.tar.gz
+ mirror://debian/pool/contrib/a/at76c503a/${SRC_PATCH}.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+RDEPEND="net-wireless/atmel-firmware
+ >=sys-apps/hotplug-20040923
+ >=net-wireless/wireless-tools-26-r1"
+S=${WORKDIR}/${MY_P/_/-}.orig
+
+MODULE_NAMES="at76_usbdfu(net:) at76c503-i3861(net:) at76c503-i3863(net:)
+ at76c503-rfmd-acc(net:) at76c503-rfmd(net:) at76c503(net:) at76c505-rfmd(net:)
+ at76c505-rfmd2958(net:) at76c505a-rfmd2958(net:)"
+BUILD_TARGETS="all"
+
+CONFIG_CHECK="NET_RADIO"
+NET_RADIO_ERROR="${P} requires support for Wireless LAN drivers (non-hamradio) & Wireless Extensions (CONFIG_NET_RADIO)."
+
+pkg_setup() {
+ linux-mod_pkg_setup
+ BUILD_PARAMS="KSRC=${KV_DIR}"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${WORKDIR}/${SRC_PATCH}
+ epatch ${FILESDIR}/at76c503a-kernel-2.6-fixes.diff
+ epatch ${FILESDIR}/at76c503a-adhoc-fix.diff
+ convert_to_m Makefile
+ sed -si "s:-cp \$(KERNEL_SRC)/.tmp_versions/\*.mod \$(MODVERDIR)::" Makefile
+}
+
+src_install() {
+ linux-mod_src_install
+
+ dodoc README COPYING CHANGELOG
+}
diff --git a/net-wireless/at76c503a/files/at76c503a-adhoc-fix.diff b/net-wireless/at76c503a/files/at76c503a-adhoc-fix.diff
new file mode 100644
index 000000000000..68f637a3260c
--- /dev/null
+++ b/net-wireless/at76c503a/files/at76c503a-adhoc-fix.diff
@@ -0,0 +1,18 @@
+--- at76c503.c.ORIG 2005-04-06 19:38:55.000000000 +0200
++++ at76c503.c 2005-08-22 11:43:44.000000000 +0200
+@@ -2833,6 +2833,7 @@
+ goto end_startibss;
+ }
+
++ netif_carrier_on(dev->netdev);
+ netif_start_queue(dev->netdev);
+ }
+ end_startibss:
+@@ -2884,6 +2885,7 @@
+ memcpy(dev->bssid, bptr->bssid, ETH_ALEN);
+ dev->channel = bptr->channel;
+ iwevent_bss_connect(dev->netdev,bptr->bssid);
++ netif_carrier_on(dev->netdev);
+ netif_start_queue(dev->netdev);
+ /* just to be sure */
+ del_timer_sync(&dev->mgmt_timer);
diff --git a/net-wireless/at76c503a/files/digest-at76c503a-0.12_beta23-r2 b/net-wireless/at76c503a/files/digest-at76c503a-0.12_beta23-r2
new file mode 100644
index 000000000000..6bab29bf5dc6
--- /dev/null
+++ b/net-wireless/at76c503a/files/digest-at76c503a-0.12_beta23-r2
@@ -0,0 +1,2 @@
+MD5 181db93685faef6fb66f223464529d64 at76c503a_0.12.beta23-1.diff.gz 4705
+MD5 e229684679a1d3926bbbf55100026d10 at76c503a_0.12.beta23.orig.tar.gz 89639