[Pkg-ossec-devel] [SCM] Git repository for pkg-ossec branch, debian, updated. 20e1db16d04181ea0167328fd1fb43860316492d

Jose Antonio Quevedo joseantonio.quevedo at gmail.com
Tue Jul 26 23:04:08 UTC 2011


The following commit has been merged in the debian branch:
commit 5d1c2a7d56606f3afbf2dd59a8711f2c37947e48
Author: Javier Fernandez-Sanguino <jfs at debian.org>
Date:   Mon Jul 25 23:17:14 2011 +0200

    First draft of the configuration file for the ossec server

diff --git a/debian/ossec-hids-server.config b/debian/ossec-hids-server.config
new file mode 100644
index 0000000..438507c
--- /dev/null
+++ b/debian/ossec-hids-server.config
@@ -0,0 +1,26 @@
+#!/bin/sh -e
+
+. /usr/share/debconf/confmodule
+
+db_beginblock
+db_input low ossec-hids-server/enable_email || true
+db_endblock
+db_go
+
+db_get ossec-hids-server/enable_email
+if [ "x$RET" = "xtrue" ]; then
+  # Ask for a valid email and email server
+    db_beginblock
+    db_input medium ossec-hids-server/email_to || true
+    db_input medium ossec-hids-server/email_server || true
+    db_endblock
+    db_go 
+fi
+
+db_beginblock
+db_input low ossec-hids-server/enable_syslog || true
+db_endblock
+db_go
+
+
+db_stop

-- 
Git repository for pkg-ossec



More information about the Pkg-ossec-devel mailing list