[Lunar-commits] <moonbase> wlan-ng-driver, wlan-ng-utils: version bumped to 0.2.9 for -utils, -driver removed.

Florin Braescu florin at lunar-linux.org
Sun Mar 15 18:31:33 CET 2009


commit 3307069a9b4ca6f7fb4409b1035797055dd717a2
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Sun Mar 15 19:31:33 2009 +0200

    wlan-ng-driver, wlan-ng-utils: version bumped to 0.2.9 for -utils, -driver removed.
    
    The wlan-ng-driver module is not needed anymore because it is included in the kernel.
---
 wifi/wlan-ng-driver/BUILD        |   14 --------------
 wifi/wlan-ng-driver/CONFIGURE    |    3 ---
 wifi/wlan-ng-driver/DEPENDS      |    1 -
 wifi/wlan-ng-driver/DETAILS      |   18 ------------------
 wifi/wlan-ng-driver/POST_INSTALL |    3 ---
 wifi/wlan-ng-driver/PRE_BUILD    |   29 -----------------------------
 wifi/wlan-ng-utils/BUILD         |   18 +++++++++++++-----
 wifi/wlan-ng-utils/CONFIGURE     |    3 +++
 wifi/wlan-ng-utils/DEPENDS       |    1 +
 wifi/wlan-ng-utils/DETAILS       |   18 ++++++++----------
 10 files changed, 25 insertions(+), 83 deletions(-)

diff --git a/wifi/wlan-ng-driver/BUILD b/wifi/wlan-ng-driver/BUILD
deleted file mode 100644
index 844d402..0000000
--- a/wifi/wlan-ng-driver/BUILD
+++ /dev/null
@@ -1,14 +0,0 @@
-(
-
-  sedit "s:RC_DIR=/etc/rc.d:RC_DIR=/etc/init.d:" config.in Configure
-  sedit "s/PRISM2_PLX=n/PRISM2_PLX=$PRISM2_PLX/" config.in
-  sedit "s/PRISM2_PCI=n/PRISM2_PCI=$PRISM2_PCI/" config.in
-  sedit "s/PRISM2_USB=n/PRISM2_USB=$PRISM2_USB/" config.in
-  sedit "s:/usr/local/man/man1:/usr/share/man/man1:" man/Makefile
-  make auto_config         &&
-  make all                &&
-  prepare_install         &&
-  make -C src/p80211 install &&
-  make -C src/prism2 install
-
-) > $C_FIFO 2>&1
diff --git a/wifi/wlan-ng-driver/CONFIGURE b/wifi/wlan-ng-driver/CONFIGURE
deleted file mode 100644
index c1b234e..0000000
--- a/wifi/wlan-ng-driver/CONFIGURE
+++ /dev/null
@@ -1,3 +0,0 @@
-mquery PRISM2_PLX "Build Prism2 PLX9052 based PCI (_plx) adapter driver? " n
-mquery PRISM2_PCI "Build Prism2.5 native PCI (_pci) driver? " n
-mquery PRISM2_USB "Build Prism2.5 USB (_usb) driver? " n
diff --git a/wifi/wlan-ng-driver/DEPENDS b/wifi/wlan-ng-driver/DEPENDS
deleted file mode 100644
index d05acd3..0000000
--- a/wifi/wlan-ng-driver/DEPENDS
+++ /dev/null
@@ -1 +0,0 @@
-optional_depends "pcmcia-cs" "" "" "To enable support for prisim 2+ pcmcia cards"
diff --git a/wifi/wlan-ng-driver/DETAILS b/wifi/wlan-ng-driver/DETAILS
deleted file mode 100644
index da8905c..0000000
--- a/wifi/wlan-ng-driver/DETAILS
+++ /dev/null
@@ -1,18 +0,0 @@
-          MODULE=wlan-ng-driver
-         VERSION=0.2.3
-          SOURCE=linux-wlan-ng-$VERSION.tar.gz
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/linux-wlan-ng-$VERSION
-      SOURCE_URL=ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/
-      SOURCE_VFY=sha1:b3dbd0ff78365ff138f8d113719bcf1d534ff482
-        WEB_SITE=http://www.linux-wlan.com/linux-wlan/
-         ENTERED=20031214
-         UPDATED=20060106
-           SHORT="Wireless drivers for PRISIM 2 and higher wireless cards."
-
-cat << EOF
-The goal of the linux-wlan(tm) Project is to develop a complete,
-standards based, wireless LAN system using the GNU/Linux operating
-system. What differentiates this project from the Linux wireless
-extensions and other Linux wireless projects is that everything is
-based on the IEEE 802.11 standard.
-EOF
diff --git a/wifi/wlan-ng-driver/POST_INSTALL b/wifi/wlan-ng-driver/POST_INSTALL
deleted file mode 100644
index 3eb089d..0000000
--- a/wifi/wlan-ng-driver/POST_INSTALL
+++ /dev/null
@@ -1,3 +0,0 @@
-if [[ $KEEP_SOURCE == "off" ]] && [[ $UNPACKED_PC_SRC == "yes" ]]; then
-        rm -rf $BUILD_DIRECTORY/pcmcia-cs-$PC_VER
-fi
diff --git a/wifi/wlan-ng-driver/PRE_BUILD b/wifi/wlan-ng-driver/PRE_BUILD
deleted file mode 100644
index f35cdfa..0000000
--- a/wifi/wlan-ng-driver/PRE_BUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-default_pre_build &&
-UNPACKED_PC_SRC=no
-if module_installed pcmcia-cs; then
-    message "\n${MESSAGE_COLOR}The module pcmcia-cs is installed.\nAs a configured source tree is required for the build it will be replicated for the build.${DEFAULT_COLOR}\n"
-    
-    PC_DETAILS="$MOONBASE/`lvu where pcmcia-cs`/pcmcia-cs/DETAILS"
-    debug_msg "PC_DETAILS = $PC_DETAILS"
-    PC_VER="`grep VERSION= $PC_DETAILS | sed s/^[[:space:]]*// | sed s/VERSION=//`"
-    debug_msg "PC_VER = $PC_VER"
-    validate_source_dir $BUILD_DIRECTORY/pcmcia-cs-$PC_VER
-    if [[ ! -d $BUILD_DIRECTORY/pcmcia-cs-$PC_VER ]] ||
-       [[ $KEEP_SOURCE == "off" ]]; then
-        mk_source_dir $BUILD_DIRECTORY/pcmcia-cs-$PC_VER
-        unpack pcmcia-cs-$PC_VER.tar.gz
-        UNPACKED_PC_SRC=yes
-        pushd $BUILD_DIRECTORY/pcmcia-cs-$PC_VER
-        AIRSNORT="`grep AIRSNORT= $DEPENDS_CONFIG/pcmcia-cs | sed s/AIRSNORT=// | sed 's/"//g'`"
-        AIRSNORT_PATCH=`grep SOURCE2= $PC_DETAILS | sed s/^[[:space:]]*// | sed s/SOURCE2=// | sed 's/$MODULE/pcmcia-cs/'`
-        debug_msg "AIRSNORT_PATCH = $AIRSNORT_PATCH"
-        if [ "$AIRSNORT" == "y" ]; then
-        patch_it $SOURCE_CACHE/$AIRSNORT_PATCH 1
-        fi
-        PC_OPTS="`grep OPTS= $DEPENDS_CONFIG/pcmcia-cs | sed s/OPTS=// | sed 's/"//g'`"
-        ./Configure -n --sysv --rcdir=/etc --srctree $PC_OPTS
-        popd
-    else
-        message "\n${MESSAGE_COLOR}If you do not use KEEP_SOURCE then there may be a problem with pcmcia-cs on your system.${DEFAULT_COLOR}\n"
-    fi
-fi
diff --git a/wifi/wlan-ng-utils/BUILD b/wifi/wlan-ng-utils/BUILD
index c7d6751..d898c4b 100644
--- a/wifi/wlan-ng-utils/BUILD
+++ b/wifi/wlan-ng-utils/BUILD
@@ -1,13 +1,21 @@
 (
 
-  DIRS="doc man etc src/shared src/wlanctl src/wland src/nwepgen src/mkmeta src/wlancfg"
-  sedit "s:RC_DIR=/etc/rc.d:RC_DIR=/etc/init.d:" config.in Configure
-  sedit "s:/usr/local/man/man1:/usr/share/man/man1:" man/Makefile
-  make auto_config         &&
+  DIRS="doc man etc src/shared src/wlanctl src/nwepgen src/mkmeta src/wlancfg"  &&
+  sedit "s:RC_DIR=/etc/rc.d:RC_DIR=/etc/init.d:" config.in Configure  &&
+  sedit "s:/usr/local/man/man1:/usr/share/man/man1:" man/Makefile     &&
+
+  sedit "s:PRISM2_PLX=y:PRISM2_PLX=$PR2_PLX:" config.in  &&
+  sedit "s:PRISM2_PCI=y:PRISM2_PCI=$PR2_PCI:" config.in  &&
+  sedit "s:PRISM2_USB=y:PRISM2_USB=$PR2_USB:" config.in  &&
+  if !(module_installed pcmcia-cs); then
+    sedit "s:RISM2_PCMCIA=y:RISM2_PCMCIA=n:" config.in
+  fi  &&
+
+  make auto_config  &&
   for DIR in $DIRS ; do
     make -C $DIR || return -1
   done                  &&
-  prepare_install         &&
+  prepare_install       &&
   for DIR in $DIRS ; do
     make -C $DIR install || return -1
   done
diff --git a/wifi/wlan-ng-utils/CONFIGURE b/wifi/wlan-ng-utils/CONFIGURE
new file mode 100644
index 0000000..ac55fa2
--- /dev/null
+++ b/wifi/wlan-ng-utils/CONFIGURE
@@ -0,0 +1,3 @@
+mquery PR2_PLX  "Build Prism 2 PLX9052 based PCI (_plx) adapter driver? " n
+mquery PR2_PCI  "Build Prism 2.5 native PCI (_pci) driver? " n
+mquery PR2_USB  "Build Prism 2.5 USB (_usb) driver? " n
diff --git a/wifi/wlan-ng-utils/DEPENDS b/wifi/wlan-ng-utils/DEPENDS
new file mode 100644
index 0000000..a195e3b
--- /dev/null
+++ b/wifi/wlan-ng-utils/DEPENDS
@@ -0,0 +1 @@
+optional_depends "pcmcia-cs" "" "" "To enable support for Prism 2+ pcmcia cards"
diff --git a/wifi/wlan-ng-utils/DETAILS b/wifi/wlan-ng-utils/DETAILS
index 70c7308..3c27356 100644
--- a/wifi/wlan-ng-utils/DETAILS
+++ b/wifi/wlan-ng-utils/DETAILS
@@ -1,13 +1,13 @@
           MODULE=wlan-ng-utils
-         VERSION=0.2.3
-          SOURCE=linux-wlan-ng-$VERSION.tar.gz
+         VERSION=0.2.9
+          SOURCE=linux-wlan-ng-$VERSION.tar.bz2
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/linux-wlan-ng-$VERSION
-      SOURCE_URL=ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/
-      SOURCE_VFY=sha1:b3dbd0ff78365ff138f8d113719bcf1d534ff482
-        WEB_SITE=http://www.linux-wlan.com/linux-wlan/
+      SOURCE_URL=ftp://ftp.linux-wlan.org/pub/linux-wlan-ng
+      SOURCE_VFY=sha1:e6b8e37bbe3b6d2d17dea5d8db782cad7f84a64e
+        WEB_SITE=http://www.linux-wlan.com/linux-wlan
          ENTERED=20031214
-         UPDATED=20060106
-           SHORT="Wireless utils for PRISIM 2 and higher wireless cards."
+         UPDATED=20090315
+           SHORT="Wireless utils for PRISIM 2 and higher wireless cards"
 
 cat << EOF
 The goal of the linux-wlan(tm) Project is to develop a complete, standards
@@ -15,7 +15,5 @@ based, wireless LAN system using the GNU/Linux operating system. What
 differentiates this project from the Linux wireless extensions and other
 Linux wireless projects is that everything is based on the IEEE 802.11
 standard.
-
-This package contains the userspace stuff. The -driver module contains the
-kernel modules.
+This package contains the userspace stuff.
 EOF


More information about the Lunar-commits mailing list