[Lunar-commits] <moonbase> wlan-ng-utils, bonding, cyrus-sasl: More bash4 fixes

Stefan Wold ratler at lunar-linux.org
Sun Nov 1 12:01:37 CET 2009


commit a5b1fa7678d7b09a9c88f607c26c26f182ed1686
Author: Stefan Wold <ratler at lunar-linux.org>
Date:   Sun Nov 1 12:01:37 2009 +0100

    wlan-ng-utils, bonding, cyrus-sasl: More bash4 fixes
---
 archive/rpmunpack/plugin.d/unpack-rpm.plugin |    2 +-
 crypto/cyrus-sasl/DETAILS                    |    2 +-
 crypto/cyrus-sasl/init.d/saslauthd           |    4 ++--
 net/bonding/DETAILS                          |    2 +-
 net/bonding/init.d/bonding                   |    4 ++--
 wifi/wlan-ng-utils/BUILD                     |    4 ++--
 6 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/archive/rpmunpack/plugin.d/unpack-rpm.plugin b/archive/rpmunpack/plugin.d/unpack-rpm.plugin
index b02081f..383dcc9 100644
--- a/archive/rpmunpack/plugin.d/unpack-rpm.plugin
+++ b/archive/rpmunpack/plugin.d/unpack-rpm.plugin
@@ -6,7 +6,7 @@
 #############################################################
 #                                                           #
 # Copyright 2005 by Auke Kok under GPLv2                    #
-# Copyright 2009 by Stefan Wold under                   #
+# Copyright 2009 by Stefan Wold under GPLv2                 #
 #                                                           #
 #############################################################
 
diff --git a/crypto/cyrus-sasl/DETAILS b/crypto/cyrus-sasl/DETAILS
index 0ac3c8e..9192c49 100644
--- a/crypto/cyrus-sasl/DETAILS
+++ b/crypto/cyrus-sasl/DETAILS
@@ -14,7 +14,7 @@
      SOURCE4_VFY=sha1:ea9b283fbe284ae4261afc8148891e26cc04f743
         WEB_SITE=http://asg.web.cmu.edu/sasl
          ENTERED=20020826
-         UPDATED=20090825
+         UPDATED=20091101
         SHORT="Simple Authentication and Security Layer"
 
 PSAFE=no
diff --git a/crypto/cyrus-sasl/init.d/saslauthd b/crypto/cyrus-sasl/init.d/saslauthd
index 0829a54..086cc7d 100755
--- a/crypto/cyrus-sasl/init.d/saslauthd
+++ b/crypto/cyrus-sasl/init.d/saslauthd
@@ -15,7 +15,7 @@ start()
     echo -n "Starting SASL Auth Daemon: "
     saslauthd $SASL_OPTIONS &&
     echo -e $RESULT_OK ||
-    (echo -e $RESULT_FAIL; return -1)
+    (echo -e $RESULT_FAIL; return 1)
 }
 
 stop()
@@ -26,7 +26,7 @@ stop()
         killall saslauthd
         sleep 2
         pidof saslauthd >/dev/null 2>&1 &&
-        (echo -e $RESULT_FAIL; return -1) ||
+        (echo -e $RESULT_FAIL; return 1) ||
         echo -e $RESULT_OK
     ) ||
     echo -e $RESULT_FAIL
diff --git a/net/bonding/DETAILS b/net/bonding/DETAILS
index ab80a91..8b0f661 100644
--- a/net/bonding/DETAILS
+++ b/net/bonding/DETAILS
@@ -4,7 +4,7 @@
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/bonding
       MAINTAINER=kc8apf at kc8apf.net
          ENTERED=20020722
-         UPDATED=20020722
+         UPDATED=20091101
            SHORT="bonding provides support for network channel bonding."
 cat << EOF
 bonding provides the init script to setup channel bonding support for
diff --git a/net/bonding/init.d/bonding b/net/bonding/init.d/bonding
index 1b70328..e34db2c 100755
--- a/net/bonding/init.d/bonding
+++ b/net/bonding/init.d/bonding
@@ -13,7 +13,7 @@ IFCONFIG=/sbin/ifconfig
 function bond {
     if [ ! -e $CONFIGDIR/$1 ]; then
         echo "Device $1: no configuration file found";
-        return -1;
+        return 1;
     fi;
 
     while read line; do
@@ -31,7 +31,7 @@ function bond {
 function unbond {
     if [ ! -e $CONFIGDIR/$1 ]; then
         echo "Device $1: no configuration file found";
-        return -1;
+        return 1;
     fi;
 
     while read line; do
diff --git a/wifi/wlan-ng-utils/BUILD b/wifi/wlan-ng-utils/BUILD
index d898c4b..f855856 100644
--- a/wifi/wlan-ng-utils/BUILD
+++ b/wifi/wlan-ng-utils/BUILD
@@ -13,11 +13,11 @@
 
   make auto_config  &&
   for DIR in $DIRS ; do
-    make -C $DIR || return -1
+    make -C $DIR || return 1
   done                  &&
   prepare_install       &&
   for DIR in $DIRS ; do
-    make -C $DIR install || return -1
+    make -C $DIR install || return 1
   done
 
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list