summaryrefslogtreecommitdiffstats
path: root/abs/core/wlan-ng26
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
commit7b29169fff9e7c624890c5edffe85def8a293136 (patch)
tree47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/core/wlan-ng26
parentc491dea779dac29afff3578bf8245943817c2339 (diff)
downloadlinhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2
LinHES 6.01.00
Diffstat (limited to 'abs/core/wlan-ng26')
-rw-r--r--abs/core/wlan-ng26/PKGBUILD35
-rw-r--r--abs/core/wlan-ng26/kernel-2.6.26.patch14
-rw-r--r--abs/core/wlan-ng26/wlan-ng26.install30
3 files changed, 0 insertions, 79 deletions
diff --git a/abs/core/wlan-ng26/PKGBUILD b/abs/core/wlan-ng26/PKGBUILD
deleted file mode 100644
index c592386..0000000
--- a/abs/core/wlan-ng26/PKGBUILD
+++ /dev/null
@@ -1,35 +0,0 @@
-# $Id: PKGBUILD 7952 2008-08-05 10:33:48Z tpowa $
-# Maintainer: Tom Killian <tom@archlinux.org>
-
-pkgname=wlan-ng26
-pkgver=0.2.9
-pkgrel=1
-_kernver=2.6.26-ARCH
-pkgdesc="Wireless Lan usb modules. For kernel26."
-arch=(i686 x86_64)
-license=('MPL')
-depends=('kernel26>=2.6.26-1' 'kernel26<2.6.27' 'wlan-ng26-utils')
-source=(ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/linux-wlan-ng-$pkgver.tar.bz2
- kernel-2.6.26.patch)
-url="ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/"
-install=wlan-ng26.install
-options=(!makeflags)
-
-build() {
- cd $startdir/src/linux-wlan-ng-$pkgver
- patch -Np0 -i ../kernel-2.6.26.patch || return 1
- # only built usb modules the rest is covered by hostap and orinoco driver, according to gentoo changelog
- sed -i "s#PRISM2_PCMCIA=y#PRISM2_PCMCIA=n#;s#TARGET_ROOT_ON_HOST=#TARGET_ROOT_ON_HOST=$startdir/pkg#;s#PRISM2_PLX=y#PRISM2_PLX=n#;s#PRISM2_PCI=y#PRISM2_PCI=n#;s#PRISM2_USB=n#PRISM2_USB=y#;s%#LINUX_SRC=/usr/src/linux%LINUX_SRC=/lib/modules/${_kernver}/build%" config.in
- make auto_config
- make all || return 1
- make install
- sed -i -e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" $startdir/wlan-ng26.install
- rm -r $startdir/pkg/{etc,sbin,usr,init.d}
- # fix module path
- mkdir -p $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/net/wireless
- mv $startdir/pkg/lib/modules/${_kernver}/linux-wlan-ng \
- $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/net/wireless
-}
-
-md5sums=('96130b36f9674521b08fb3e2a6ac0382'
- '6ed5a5fefc2c149e0e0a98de211ba147')
diff --git a/abs/core/wlan-ng26/kernel-2.6.26.patch b/abs/core/wlan-ng26/kernel-2.6.26.patch
deleted file mode 100644
index ec306f0..0000000
--- a/abs/core/wlan-ng26/kernel-2.6.26.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Index: src/p80211/p80211netdev.c
-===================================================================
---- src/p80211/p80211netdev.c (revision 1865)
-+++ src/p80211/p80211netdev.c (working copy)
-@@ -947,7 +947,9 @@
- #endif
- #endif
-
--#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24) )
-+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26) )
-+ dev_net_set(dev, &init_net);
-+#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24) )
- dev->nd_net = &init_net;
- #endif \ No newline at end of file
diff --git a/abs/core/wlan-ng26/wlan-ng26.install b/abs/core/wlan-ng26/wlan-ng26.install
deleted file mode 100644
index fe7abaa..0000000
--- a/abs/core/wlan-ng26/wlan-ng26.install
+++ /dev/null
@@ -1,30 +0,0 @@
-# arg 1: the new package version
-post_install() {
- post_upgrade
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- # updating module dependencies
- echo ">>> Updating module dependencies. Please wait ..."
- KERNEL_VERSION=2.6.26-ARCH
- depmod -v $KERNEL_VERSION > /dev/null 2>&1
-}
-
-# arg 1: the old package version
-pre_remove() {
- /bin/true
-}
-
-# arg 1: the old package version
-post_remove() {
- # updating module dependencies
- echo ">>> Updating module dependencies. Please wait ..."
- KERNEL_VERSION=2.6.26-ARCH
- depmod -v $KERNEL_VERSION > /dev/null 2>&1
-}
-
-op=$1
-shift
-$op $*