[Pkg-ossec-devel] [SCM] Git repository for pkg-ossec branch, master, updated. f89fb2c00b1a2606035e5cd0e35b4ebe99f049ac
Javier Fernandez-Sanguino
jfs at debian.org
Wed Aug 29 16:31:33 UTC 2012
The following commit has been merged in the master branch:
commit 3490308c258ac5062d61a277c07ad13014ce5439
Author: Javier Fernandez-Sanguino <jfs at debian.org>
Date: Wed Aug 29 01:15:17 2012 +0200
Fix creation of the symlink
diff --git a/debian/rules b/debian/rules
index 585a744..1638281 100755
--- a/debian/rules
+++ b/debian/rules
@@ -102,7 +102,7 @@ install-local:
cd debian/ossec-hids-local/var/ossec && ln -s ../../etc/ossec/ etc
cd debian/ossec-hids-local/var/ossec && ln -s ../../var/log/ossec/ logs
cd debian/ossec-hids-local/var/ossec && ln -s ../../etc/ossec/rules/ rules
- cd debian/ossec-hids-local/var/ossec/var && ln -s ../../../var/ run
+ cd debian/ossec-hids-local/var/ossec/var && ln -s ../../../var/run/ run
chmod -R 550 debian/ossec-hids-local/var/ossec
chmod 770 debian/ossec-hids-local/var/ossec/queue/alerts
chmod 770 debian/ossec-hids-local/var/ossec/queue/ossec
@@ -146,7 +146,7 @@ install-server:
cd debian/ossec-hids-server/var/ossec && ln -s ../../etc/ossec/ etc
cd debian/ossec-hids-server/var/ossec && ln -s ../../var/log/ossec/ logs
cd debian/ossec-hids-server/var/ossec && ln -s ../../etc/ossec/rules/ rules
- cd debian/ossec-hids-server/var/ossec/var && ln -s ../../../var/ run
+ cd debian/ossec-hids-server/var/ossec/var && ln -s ../../../var/run/ run
chmod -R 550 debian/ossec-hids-server/var/ossec
chmod 770 debian/ossec-hids-server/var/ossec/queue/alerts
chmod 770 debian/ossec-hids-server/var/ossec/queue/ossec
@@ -189,7 +189,7 @@ install-agent:
cd debian/ossec-hids-agent/var/ossec && ln -s ../../usr/lib/ossec/ bin
cd debian/ossec-hids-agent/var/ossec && ln -s ../../etc/ossec/ etc
cd debian/ossec-hids-agent/var/ossec && ln -s ../../var/log/ossec/ logs
- cd debian/ossec-hids-agent/var/ossec/var && ln -s ../../../var/ run
+ cd debian/ossec-hids-agent/var/ossec/var && ln -s ../../../var/run/ run
# TODO: Missing configuration files, extract from src/InstallAgent.sh
chmod -R 550 debian/ossec-hids-agent/var/ossec
chmod 750 debian/ossec-hids-agent/var/log/ossec
--
Git repository for pkg-ossec
More information about the Pkg-ossec-devel
mailing list