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

Javier Fernandez-Sanguino jfs at debian.org
Tue Aug 2 01:43:22 UTC 2011


The following commit has been merged in the debian branch:
commit ac10a1bdef04704d058cc4a3ec218f55ba5ccabb
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