Author: blues                        Date: Fri Apr  9 13:03:10 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- 1.7.1.2 - RC_LOGGING warning to init script added. It causes a lot of
  strange problems...

---- Files affected:
packages/socat:
   socat.init (1.4 -> 1.5) , socat.spec (1.31 -> 1.32) 

---- Diffs:

================================================================
Index: packages/socat/socat.init
diff -u packages/socat/socat.init:1.4 packages/socat/socat.init:1.5
--- packages/socat/socat.init:1.4       Mon Feb  9 18:29:42 2009
+++ packages/socat/socat.init   Fri Apr  9 15:03:04 2010
@@ -43,9 +43,22 @@
        return $ret
 }
 
+rclog_warning() {
+       if is_yes "${RC_LOGGING}"; then
+               echo "WARNING: RC_LOGGING is enabled!"
+               echo "socat instances will be started but you can have some 
problems, i.e.:"
+               echo " - service status is not available"
+               echo " - instances can be stopped manually only"
+               echo " - duplicate processes can happen"
+               echo
+       fi
+}
+
+
 start() {
        # Check if the service is already running?
        if ! tunlsup; then
+               rclog_warning
                msg_starting "socat"; started
                for tun in $TUNNELS; do
                        # Clear vars:
@@ -81,6 +94,7 @@
 }
 
 stop() {
+       rclog_warning
        if tunlsup; then
                # Stop daemons.
                msg_stopping "socat"; started
@@ -113,6 +127,7 @@
        exit $?
        ;;
   status)
+       rclog_warning
        nls "Configured tunnels:"
        echo " $TUNNELS"
        nls "Currently active tunnels:"

================================================================
Index: packages/socat/socat.spec
diff -u packages/socat/socat.spec:1.31 packages/socat/socat.spec:1.32
--- packages/socat/socat.spec:1.31      Sun Nov 15 15:03:00 2009
+++ packages/socat/socat.spec   Fri Apr  9 15:03:04 2010
@@ -2,12 +2,12 @@
 Summary:       Multipurpose relay
 Summary(pl.UTF-8):     Przekaźnik o wielu zastosowaniach
 Name:          socat
-Version:       1.7.1.1
-Release:       1
+Version:       1.7.1.2
+Release:       0.1
 License:       GPL
 Group:         Networking/Utilities
 Source0:       
http://www.dest-unreach.org/socat/download/%{name}-%{version}.tar.bz2
-# Source0-md5: 5aec1860fe15a258ddb900685d7510c1
+# Source0-md5: 9c0c5e83ce665f38d4d3aababad275eb
 Source1:       %{name}.init
 Source2:       %{name}.sysconfig
 URL:           http://www.dest-unreach.org/socat/
@@ -101,6 +101,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.32  2010/04/09 13:03:04  blues
+- 1.7.1.2 - RC_LOGGING warning to init script added. It causes a lot of
+  strange problems...
+
 Revision 1.31  2009/11/15 14:03:00  blues
 - 1.7.1.1 - fixes sig11
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/socat/socat.init?r1=1.4&r2=1.5&f=u
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/socat/socat.spec?r1=1.31&r2=1.32&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to