[Pkg-ossec-devel] [pkg-ossec] 06/18: Adapting patch #06 to 2.7.1-beta-1 upstream version.
Jose Antonio Quevedo Muñoz
jaqm-guest at alioth.debian.org
Tue Aug 13 15:24:51 UTC 2013
This is an automated email from the git hooks/post-receive script.
jaqm-guest pushed a commit to branch debian
in repository pkg-ossec.
commit f0f4873ce051af50ed0d30f2aa57cd6114286c96
Author: Jose Antonio Quevedo <joseantonio.quevedo at gmail.com>
Date: Tue Aug 13 10:01:49 2013 +0200
Adapting patch #06 to 2.7.1-beta-1 upstream version.
---
debian/patches/06-control-return-status-value | 39 -------------------------
1 file changed, 39 deletions(-)
diff --git a/debian/patches/06-control-return-status-value b/debian/patches/06-control-return-status-value
index 6537cff..deef105 100644
--- a/debian/patches/06-control-return-status-value
+++ b/debian/patches/06-control-return-status-value
@@ -32,27 +32,6 @@ Index: pkg-ossec/src/init/ossec-local.sh
===================================================================
--- pkg-ossec.orig/src/init/ossec-local.sh 2012-08-29 01:47:14.000000000 +0200
+++ pkg-ossec/src/init/ossec-local.sh 2012-08-29 01:48:23.000000000 +0200
-@@ -188,16 +188,20 @@
- # Status function
- status()
- {
-+ retvalue=0
- for i in ${DAEMONS}; do
- pstatus ${i};
- if [ $? = 0 ]; then
- echo "${i} not running..."
-+ retvalue=1 # We return with error if some of the components is not running
- else
- echo "${i} is running..."
- fi
- done
-+ return $retvalue
- }
-
-+
- testconfig()
- {
- # We first loop to check the config.
@@ -323,6 +327,7 @@
;;
status)
@@ -65,24 +44,6 @@ Index: pkg-ossec/src/init/ossec-client.sh
===================================================================
--- pkg-ossec.orig/src/init/ossec-client.sh 2012-08-29 01:49:40.000000000 +0200
+++ pkg-ossec/src/init/ossec-client.sh 2012-08-29 01:50:20.000000000 +0200
-@@ -113,14 +113,17 @@
- # Status function
- status()
- {
-+ retvalue=0
- for i in ${DAEMONS}; do
- pstatus ${i};
- if [ $? = 0 ]; then
- echo "${i} not running..."
-+ retvalue=1 # We return with error if some of the components is not running
- else
- echo "${i} is running..."
- fi
- done
-+ return $retvalue
- }
-
- testconfig()
@@ -242,6 +245,7 @@
;;
status)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ossec/pkg-ossec.git
More information about the Pkg-ossec-devel
mailing list