summaryrefslogtreecommitdiff
path: root/security/ossec-hids-server/files/patch-src__InstallAgent.sh
diff options
context:
space:
mode:
authorBrad Davis <brd@FreeBSD.org>2014-05-15 15:46:52 +0000
committerBrad Davis <brd@FreeBSD.org>2014-05-15 15:46:52 +0000
commit9da100720ec3c6cf28ba7d5b764ee2dda1e2c5bd (patch)
treec03daa7c7de8fc9b27e4b9601da7e078549c003c /security/ossec-hids-server/files/patch-src__InstallAgent.sh
parentFix rc.d scripts REQUIRE (diff)
- Update ossec to 2.7.1
- Stagify - Fix build with clang Reviewed by: zi@
Diffstat (limited to 'security/ossec-hids-server/files/patch-src__InstallAgent.sh')
-rw-r--r--security/ossec-hids-server/files/patch-src__InstallAgent.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/security/ossec-hids-server/files/patch-src__InstallAgent.sh b/security/ossec-hids-server/files/patch-src__InstallAgent.sh
new file mode 100644
index 000000000000..9306385b6bc0
--- /dev/null
+++ b/security/ossec-hids-server/files/patch-src__InstallAgent.sh
@@ -0,0 +1,16 @@
+--- src/InstallAgent.sh.orig 2014-05-15 09:23:09.596592731 -0600
++++ src/InstallAgent.sh 2014-05-15 09:23:33.770590120 -0600
+@@ -223,10 +223,10 @@
+ if [ $? = 0 ]; then
+ cp -pr ../etc/ossec.mc ${DIR}/etc/ossec.conf
+ else
+- cp -pr ../etc/ossec-agent.conf ${DIR}/etc/ossec.conf
++ cp -pr ../etc/ossec-agent.conf ${DIR}/etc/ossec.conf.sample
+ fi
+-chown root:${GROUP} ${DIR}/etc/ossec.conf
+-chmod 440 ${DIR}/etc/ossec.conf
++chown root:${GROUP} ${DIR}/etc/ossec.conf.sample
++chmod 440 ${DIR}/etc/ossec.conf.sample
+
+
+