source: build-files/ports-overlay/security/ossec-hids-server/files/patch-src__InstallServer.sh @ 1e102bd

9.2-releasereleng/10.0releng/10.0.1
Last change on this file since 1e102bd was 1e102bd, checked in by Kris Moore <kris@…>, 6 months ago

Add a bunch of modified ports for 10.0, so we can fix the building

  • Property mode set to 100644
File size: 849 bytes
Line 
1--- ./src/InstallServer.sh.orig 2012-11-08 21:24:55.000000000 -0500
2+++ ./src/InstallServer.sh      2013-01-14 10:44:36.000000000 -0500
3@@ -195,7 +195,7 @@
4     fi   
5 fi
6     
7-cp -pr ../etc/rules/* ${DIR}/rules/
8+cp -pr ../etc/rules/*.xml ${DIR}/rules/
9 find ${DIR}/rules/ -type f -exec chmod 440 {} \;
10 
11 # If the local_rules is saved, moved it back
12@@ -318,12 +318,12 @@
13 
14 ls ../etc/ossec.mc > /dev/null 2>&1
15 if [ $? = 0 ]; then
16-    cp -pr ../etc/ossec.mc ${DIR}/etc/ossec.conf
17+    cp -pr ../etc/ossec.mc ${DIR}/etc/ossec.conf.sample
18 else   
19-    cp -pr ../etc/ossec-server.conf ${DIR}/etc/ossec.conf
20+    cp -pr ../etc/ossec-server.conf ${DIR}/etc/ossec.conf.sample
21 fi
22-chown root:${GROUP} ${DIR}/etc/ossec.conf
23-chmod 440 ${DIR}/etc/ossec.conf
24+chown root:${GROUP} ${DIR}/etc/ossec.conf.sample
25+chmod 440 ${DIR}/etc/ossec.conf.sample
26 
27 
28 
Note: See TracBrowser for help on using the repository browser.