[Pkg-ossec-devel] [SCM] Git repository for pkg-ossec branch, master, updated. f89fb2c00b1a2606035e5cd0e35b4ebe99f049ac

Javier Fernandez-Sanguino jfs at debian.org
Wed Aug 29 16:31:27 UTC 2012


The following commit has been merged in the master branch:
commit 01d9eac18b562c7f5a76051c4031e0c82abcf3e1
Author: Javier Fernandez-Sanguino <jfs at debian.org>
Date:   Tue Aug 28 14:35:43 2012 +0200

    Rename files

diff --git a/debian/ossec-hids-agent.ossec-hids-agent.init b/debian/ossec-hids-agent.ossec-hids-agent.init
deleted file mode 100755
index bc613b7..0000000
--- a/debian/ossec-hids-agent.ossec-hids-agent.init
+++ /dev/null
@@ -1,108 +0,0 @@
-#!/bin/sh
-# OSSEC	        Controls OSSEC HIDS
-# Author:       Daniel B. Cid <dcid at ossec.net>
-# Modified for slackware by Jack S. Lai
-# Modified for Debian by Javier Fernandez-Sanguino
-#
-# OSSEC HIDS is a free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License (version 2) as
-# published by the FSF - Free Software Foundation.
-
-### BEGIN INIT INFO
-# Provides:          ossec-hids
-# Required-Start:    $time $network $local_fs $remote_fs
-# Required-Stop:     $network $remote_fs
-# Should-Start:      $syslog
-# Should-Stop:       
-# Default-Start:     2 3 4 5
-# Default-Stop:      0 1 6
-# Short-Description: Host-based intrusion detection system
-# Description:       Host-based intrusion detection system that will
-#                    perform log analysis, file integrity checking, policy
-#                    monitoring, rootkit detection, real-time alerting and
-#                    active response. 
-### END INIT INFO
-
-PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-
-test $DEBIAN_SCRIPT_DEBUG && set -v -x
-
-DAEMON=ossec-hids
-NAME=ossec
-DESC="Host-based Intrusion Detection System"
-
-. /lib/lsb/init-functions
-
-[ -e /etc/ossec-init.conf ] && . /etc/ossec-init.conf
-if [ "X${DIRECTORY}" = "X" ]; then
-    DIRECTORY="/var/ossec"
-fi
-
-# If we don't find DIRECTORY then exit without error, the
-# package is not installed
-[ ! -e "${DIRECTORY}" ] && exit 0
-
-    
-start() {
-       [ -n "$DEBIAN_SCRIPT_DEBUG" ] && OUT=">/dev/null"
-	${DIRECTORY}/bin/ossec-control start $OUT
-       return $?
-}
-
-stop() {
-       [ -n "$DEBIAN_SCRIPT_DEBUG" ] && OUT=">/dev/null"
-	${DIRECTORY}/bin/ossec-control stop
-       return $?
-}
-
-status() {
-       [ -n "$DEBIAN_SCRIPT_DEBUG" ] && OUT=">/dev/null"
-	${DIRECTORY}/bin/ossec-control status
-       return $?
-}
-
-
-case "$1" in
-  start)
-        log_daemon_msg "Starting $DESC " "$NAME"
-	start
-        myret=$?
-        if  [ $myret -eq 0 ] ; then
-            log_end_msg 0
-        else
-            log_end_msg 1
-        fi
-        exit $myret
-	;;
-  stop) 
-        log_daemon_msg "Stopping $DESC " "$NAME"
-	stop
-        myret=$?
-        if  [ $myret -eq 0 ] ; then
-            log_end_msg 0
-        else
-            log_end_msg 1
-        fi
-        exit $myret
-	;;
-  restart|force-restart|reload|force-reload)
-        $0 stop
-	$0 start
-	;;
-  status)
-        log_daemon_msg "Status of $NAME"
-        status
-        myret=$?
-        if  [ $myret -eq 0 ] ; then
-            log_end_msg 0
-        else
-            log_end_msg 1
-        fi
-        exit $myret
-	;;
-  *)
-	echo "Usage: $0 {start|stop|restart|force-restart|reload|force-reload|status}"
-	exit 1
-esac
-
-exit 0
diff --git a/debian/ossec-hids-local.ossec-hids-local.init b/debian/ossec-hids-local.ossec-hids-local.init
deleted file mode 100755
index bc613b7..0000000
--- a/debian/ossec-hids-local.ossec-hids-local.init
+++ /dev/null
@@ -1,108 +0,0 @@
-#!/bin/sh
-# OSSEC	        Controls OSSEC HIDS
-# Author:       Daniel B. Cid <dcid at ossec.net>
-# Modified for slackware by Jack S. Lai
-# Modified for Debian by Javier Fernandez-Sanguino
-#
-# OSSEC HIDS is a free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License (version 2) as
-# published by the FSF - Free Software Foundation.
-
-### BEGIN INIT INFO
-# Provides:          ossec-hids
-# Required-Start:    $time $network $local_fs $remote_fs
-# Required-Stop:     $network $remote_fs
-# Should-Start:      $syslog
-# Should-Stop:       
-# Default-Start:     2 3 4 5
-# Default-Stop:      0 1 6
-# Short-Description: Host-based intrusion detection system
-# Description:       Host-based intrusion detection system that will
-#                    perform log analysis, file integrity checking, policy
-#                    monitoring, rootkit detection, real-time alerting and
-#                    active response. 
-### END INIT INFO
-
-PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-
-test $DEBIAN_SCRIPT_DEBUG && set -v -x
-
-DAEMON=ossec-hids
-NAME=ossec
-DESC="Host-based Intrusion Detection System"
-
-. /lib/lsb/init-functions
-
-[ -e /etc/ossec-init.conf ] && . /etc/ossec-init.conf
-if [ "X${DIRECTORY}" = "X" ]; then
-    DIRECTORY="/var/ossec"
-fi
-
-# If we don't find DIRECTORY then exit without error, the
-# package is not installed
-[ ! -e "${DIRECTORY}" ] && exit 0
-
-    
-start() {
-       [ -n "$DEBIAN_SCRIPT_DEBUG" ] && OUT=">/dev/null"
-	${DIRECTORY}/bin/ossec-control start $OUT
-       return $?
-}
-
-stop() {
-       [ -n "$DEBIAN_SCRIPT_DEBUG" ] && OUT=">/dev/null"
-	${DIRECTORY}/bin/ossec-control stop
-       return $?
-}
-
-status() {
-       [ -n "$DEBIAN_SCRIPT_DEBUG" ] && OUT=">/dev/null"
-	${DIRECTORY}/bin/ossec-control status
-       return $?
-}
-
-
-case "$1" in
-  start)
-        log_daemon_msg "Starting $DESC " "$NAME"
-	start
-        myret=$?
-        if  [ $myret -eq 0 ] ; then
-            log_end_msg 0
-        else
-            log_end_msg 1
-        fi
-        exit $myret
-	;;
-  stop) 
-        log_daemon_msg "Stopping $DESC " "$NAME"
-	stop
-        myret=$?
-        if  [ $myret -eq 0 ] ; then
-            log_end_msg 0
-        else
-            log_end_msg 1
-        fi
-        exit $myret
-	;;
-  restart|force-restart|reload|force-reload)
-        $0 stop
-	$0 start
-	;;
-  status)
-        log_daemon_msg "Status of $NAME"
-        status
-        myret=$?
-        if  [ $myret -eq 0 ] ; then
-            log_end_msg 0
-        else
-            log_end_msg 1
-        fi
-        exit $myret
-	;;
-  *)
-	echo "Usage: $0 {start|stop|restart|force-restart|reload|force-reload|status}"
-	exit 1
-esac
-
-exit 0
diff --git a/debian/ossec-hids-server.ossec-hids-server.init b/debian/ossec-hids-server.ossec-hids-server.init
deleted file mode 100755
index bc613b7..0000000
--- a/debian/ossec-hids-server.ossec-hids-server.init
+++ /dev/null
@@ -1,108 +0,0 @@
-#!/bin/sh
-# OSSEC	        Controls OSSEC HIDS
-# Author:       Daniel B. Cid <dcid at ossec.net>
-# Modified for slackware by Jack S. Lai
-# Modified for Debian by Javier Fernandez-Sanguino
-#
-# OSSEC HIDS is a free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License (version 2) as
-# published by the FSF - Free Software Foundation.
-
-### BEGIN INIT INFO
-# Provides:          ossec-hids
-# Required-Start:    $time $network $local_fs $remote_fs
-# Required-Stop:     $network $remote_fs
-# Should-Start:      $syslog
-# Should-Stop:       
-# Default-Start:     2 3 4 5
-# Default-Stop:      0 1 6
-# Short-Description: Host-based intrusion detection system
-# Description:       Host-based intrusion detection system that will
-#                    perform log analysis, file integrity checking, policy
-#                    monitoring, rootkit detection, real-time alerting and
-#                    active response. 
-### END INIT INFO
-
-PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-
-test $DEBIAN_SCRIPT_DEBUG && set -v -x
-
-DAEMON=ossec-hids
-NAME=ossec
-DESC="Host-based Intrusion Detection System"
-
-. /lib/lsb/init-functions
-
-[ -e /etc/ossec-init.conf ] && . /etc/ossec-init.conf
-if [ "X${DIRECTORY}" = "X" ]; then
-    DIRECTORY="/var/ossec"
-fi
-
-# If we don't find DIRECTORY then exit without error, the
-# package is not installed
-[ ! -e "${DIRECTORY}" ] && exit 0
-
-    
-start() {
-       [ -n "$DEBIAN_SCRIPT_DEBUG" ] && OUT=">/dev/null"
-	${DIRECTORY}/bin/ossec-control start $OUT
-       return $?
-}
-
-stop() {
-       [ -n "$DEBIAN_SCRIPT_DEBUG" ] && OUT=">/dev/null"
-	${DIRECTORY}/bin/ossec-control stop
-       return $?
-}
-
-status() {
-       [ -n "$DEBIAN_SCRIPT_DEBUG" ] && OUT=">/dev/null"
-	${DIRECTORY}/bin/ossec-control status
-       return $?
-}
-
-
-case "$1" in
-  start)
-        log_daemon_msg "Starting $DESC " "$NAME"
-	start
-        myret=$?
-        if  [ $myret -eq 0 ] ; then
-            log_end_msg 0
-        else
-            log_end_msg 1
-        fi
-        exit $myret
-	;;
-  stop) 
-        log_daemon_msg "Stopping $DESC " "$NAME"
-	stop
-        myret=$?
-        if  [ $myret -eq 0 ] ; then
-            log_end_msg 0
-        else
-            log_end_msg 1
-        fi
-        exit $myret
-	;;
-  restart|force-restart|reload|force-reload)
-        $0 stop
-	$0 start
-	;;
-  status)
-        log_daemon_msg "Status of $NAME"
-        status
-        myret=$?
-        if  [ $myret -eq 0 ] ; then
-            log_end_msg 0
-        else
-            log_end_msg 1
-        fi
-        exit $myret
-	;;
-  *)
-	echo "Usage: $0 {start|stop|restart|force-restart|reload|force-reload|status}"
-	exit 1
-esac
-
-exit 0

-- 
Git repository for pkg-ossec



More information about the Pkg-ossec-devel mailing list