[Lunar-commits] r22588 - in moonbase/trunk/wifi: ieee80211 ipw2100 ipw2200

Moritz Heiber moe at lunar-linux.org
Thu Dec 14 22:49:41 CET 2006


Author: moe
Date: 2006-12-14 22:49:41 +0100 (Thu, 14 Dec 2006)
New Revision: 22588

Added:
   moonbase/trunk/wifi/ieee80211/CONFIGURE
Modified:
   moonbase/trunk/wifi/ieee80211/BUILD
   moonbase/trunk/wifi/ipw2100/BUILD
   moonbase/trunk/wifi/ipw2100/CONFIGURE
   moonbase/trunk/wifi/ipw2100/DETAILS
   moonbase/trunk/wifi/ipw2200/BUILD
   moonbase/trunk/wifi/ipw2200/CONFIGURE
   moonbase/trunk/wifi/ipw2200/DETAILS
Log:
Revamping the ipw* drivers to be in sync. Added two WEBSITE's. No
updates .. just functionality tweaks.



Modified: moonbase/trunk/wifi/ieee80211/BUILD
===================================================================
--- moonbase/trunk/wifi/ieee80211/BUILD	2006-12-14 20:10:48 UTC (rev 22587)
+++ moonbase/trunk/wifi/ieee80211/BUILD	2006-12-14 21:49:41 UTC (rev 22588)
@@ -1,5 +1,9 @@
 (
 
+  if [ $DISABLE_DEBUG == "y" ]; then
+    sedit "s:CONFIG_IEEE80211_DEBUG=y:#CONFIG_IEEE80211_DEBUG=y:" Makefile;
+  fi &&
+
   KVER=$(if [ -f /usr/src/linux/include/linux/utsrelease.h ] ; then
          	grep UTS_RELEASE /usr/src/linux/include/linux/utsrelease.h | cut -d'"' -f2
 	 else

Added: moonbase/trunk/wifi/ieee80211/CONFIGURE
===================================================================
--- moonbase/trunk/wifi/ieee80211/CONFIGURE	                        (rev 0)
+++ moonbase/trunk/wifi/ieee80211/CONFIGURE	2006-12-14 21:49:41 UTC (rev 22588)
@@ -0,0 +1 @@
+mquery DISABLE_DEBUG "Disable DEBUG output?" y

Modified: moonbase/trunk/wifi/ipw2100/BUILD
===================================================================
--- moonbase/trunk/wifi/ipw2100/BUILD	2006-12-14 20:10:48 UTC (rev 22587)
+++ moonbase/trunk/wifi/ipw2100/BUILD	2006-12-14 21:49:41 UTC (rev 22588)
@@ -1,9 +1,24 @@
 (
 
-  if [ $WITH_DEBUG == "n" ] ; then
-    message "${MESSAGE_COLOR}Disabling debug messages ...${DEFAULT_COLOR}"
-    sedit 's/CONFIG_IPW_DEBUG=y/#CONFIG_IPW_DEBUG=y/' Makefile
+  if [ $DISABLE_DEBUG == "y" ] ; then
+    sedit 's/CONFIG_IPW2100_DEBUG=y/#CONFIG_IPW2100_DEBUG=y/g' Makefile
   fi  &&
-  default_make
 
+  KVER=$(if [ -f /usr/src/linux/include/linux/utsrelease.h ] ; then
+                grep UTS_RELEASE /usr/src/linux/include/linux/utsrelease.h | cut -d'"' -f2
+         else
+                grep UTS_RELEASE /usr/src/linux/include/linux/version.h | cut -d'"' -f2
+         fi)
+
+  if ! $(uname -r | grep -q "^2\.6") ; then
+        message ""
+        message "${PROBLEM_COLOR}This module must only be installed with 2.6.x based kernels!${DEFAULT_COLOR}";
+        message ""
+        exit 1;
+  fi &&
+
+  make KVER=$KVER &&
+  prepare_install &&
+  make KVER=$KVER install
+
 ) > $C_FIFO 2>&1

Modified: moonbase/trunk/wifi/ipw2100/CONFIGURE
===================================================================
--- moonbase/trunk/wifi/ipw2100/CONFIGURE	2006-12-14 20:10:48 UTC (rev 22587)
+++ moonbase/trunk/wifi/ipw2100/CONFIGURE	2006-12-14 21:49:41 UTC (rev 22588)
@@ -1 +1 @@
-mquery WITH_DEBUG "Enable debug output (for testing purposes)?" n
+mquery DISABLE_DEBUG "Disable DEBUG output?" y

Modified: moonbase/trunk/wifi/ipw2100/DETAILS
===================================================================
--- moonbase/trunk/wifi/ipw2100/DETAILS	2006-12-14 20:10:48 UTC (rev 22587)
+++ moonbase/trunk/wifi/ipw2100/DETAILS	2006-12-14 21:49:41 UTC (rev 22588)
@@ -3,6 +3,7 @@
 	  SOURCE=$MODULE-$VERSION.tgz
       SOURCE_URL=$SFORGE_URL/$MODULE/
       SOURCE_VFY=sha1:a674871d8cd7f8d2cb622ccc0f139da81bc2520c
+         WEBSITE=http://ipw2100.sourceforge.net
       	 ENTERED=20040430
 	 UPDATED=20060222
 	   SHORT="Intel PRO/Wireless 2100 Driver for Linux"

Modified: moonbase/trunk/wifi/ipw2200/BUILD
===================================================================
--- moonbase/trunk/wifi/ipw2200/BUILD	2006-12-14 20:10:48 UTC (rev 22587)
+++ moonbase/trunk/wifi/ipw2200/BUILD	2006-12-14 21:49:41 UTC (rev 22588)
@@ -1,17 +1,14 @@
 (
 
-  if [ $WITH_MONITOR == "y" ]; then
-    message "Enabling monitor mode ..."
-    sedit "s:# CONFIG_IPW_PROMISC=y:CONFIG_IPW_PROMISC=y:" Makefile
-  fi
+  if [ $WITH_RADIOTAP == "y" ]; then
+    sedit "s:#CONFIG_IPW2200_RADIOTAP=y:CONFIG_IPW2200_RADIOTAP=y:" Makefile
+  fi &&
 
-  if [ $WITH_WPA == "y" ]; then
-    message "Enabling WPA support ..."
-    sedit "s:# CONFIG_IEEE80211_WPA:CONFIG_IEEE80211_WPA:" Makefile
-  fi
+  if [ $WITH_PROMISCUOUS == "y" ]; then
+    sedit "s:#CONFIG_IPW2200_PROMISCUOUS=y:CONFIG_IPW2200_PROMISCUOUS=y:" Makefile
+  fi &&
 
   # Debug sucks
-  message "Disabling debug messages ..."
   sedit "s:CONFIG_IPW_DEBUG=y:#CONFIG_IPW_DEBUG=y:" Makefile
 
   KVER=$(if [ -f /usr/src/linux/include/linux/utsrelease.h ] ; then

Modified: moonbase/trunk/wifi/ipw2200/CONFIGURE
===================================================================
--- moonbase/trunk/wifi/ipw2200/CONFIGURE	2006-12-14 20:10:48 UTC (rev 22587)
+++ moonbase/trunk/wifi/ipw2200/CONFIGURE	2006-12-14 21:49:41 UTC (rev 22588)
@@ -1,2 +1,2 @@
-mquery WITH_MONITOR "Enable MONITOR (promiscous) mode?" y
-mquery WITH_WPA	    "Enable WPA support?" y
+mquery WITH_RADIOTAP "Enable RADIOTAP mode?" y
+mquery WITH_PROMISCUOUS "Enable PROMISCUOUS support?" y

Modified: moonbase/trunk/wifi/ipw2200/DETAILS
===================================================================
--- moonbase/trunk/wifi/ipw2200/DETAILS	2006-12-14 20:10:48 UTC (rev 22587)
+++ moonbase/trunk/wifi/ipw2200/DETAILS	2006-12-14 21:49:41 UTC (rev 22588)
@@ -3,6 +3,7 @@
           SOURCE=$MODULE-$VERSION.tgz
       SOURCE_URL=$SFORGE_URL/$MODULE/
       SOURCE_VFY=sha1:d2b327357afc94a94701d260936b037abf4212e8
+         WEBSITE=http://ipw2200.sourceforge.net
          ENTERED=20041115
          UPDATED=20061029
            SHORT="Intel PRO/Wireless 2200 Driver for Linux"



More information about the Lunar-commits mailing list