aboutsummaryrefslogtreecommitdiff
path: root/security/ossec-hids-server/files
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-06-09 10:41:07 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-06-09 10:41:07 +0000
commit709418bdd15ba908a4a862d0a2783c70b81cb91d (patch)
tree9100605362674c8b2b581f5434ffafe83bce82ef /security/ossec-hids-server/files
parent543cd07370bfe5df0500b7835e310025dc143151 (diff)
Notes
Diffstat (limited to 'security/ossec-hids-server/files')
-rw-r--r--security/ossec-hids-server/files/ossec-hids.in4
-rw-r--r--security/ossec-hids-server/files/pkg-message.in11
2 files changed, 13 insertions, 2 deletions
diff --git a/security/ossec-hids-server/files/ossec-hids.in b/security/ossec-hids-server/files/ossec-hids.in
index d441686c5e05..e8d644dbd5f7 100644
--- a/security/ossec-hids-server/files/ossec-hids.in
+++ b/security/ossec-hids-server/files/ossec-hids.in
@@ -20,8 +20,8 @@ stop_cmd=${name}_stop
restart_cmd=${name}_restart
status_cmd=${name}_status
-command="%%PREFIX%%/bin/ossec-control"
-required_files="%%PREFIX%%/etc/ossec.conf"
+command="%%PREFIX%%/%%PORTNAME%%/bin/ossec-control"
+required_files="%%PREFIX%%/%%PORTNAME%%/etc/ossec.conf"
ossechids_start() {
$command start
diff --git a/security/ossec-hids-server/files/pkg-message.in b/security/ossec-hids-server/files/pkg-message.in
new file mode 100644
index 000000000000..438309da3e53
--- /dev/null
+++ b/security/ossec-hids-server/files/pkg-message.in
@@ -0,0 +1,11 @@
+After installation, you need to edit the ossec.conf file to reflect the correct settings
+for your environment. All the files related to %%PORTNAME%% have been installed in
+%%PREFIX%%/%%PORTNAME%% and its subdirectories.
+
+For information on proper configuration, see http://www.ossec.net/.
+
+To enable the startup script, add ossec-hids_enable="YES" to /etc/rc.conf.
+
+When you deinstall this port after starting the daemons once, many directories that are
+created by the daemons will remain. To fully remove the port you need to delete those
+directories manually.