[Pkg-ossec-devel] [SCM] Git repository for pkg-ossec branch, master, updated. 7e3e0e3132eb0cb16158bd5b67f29ca6b499312d

Javier Fernandez-Sanguino jfs at debian.org
Mon Jul 25 18:09:29 UTC 2011


The following commit has been merged in the master branch:
commit 7e3e0e3132eb0cb16158bd5b67f29ca6b499312d
Author: Javier Fernandez-Sanguino <jfs at debian.org>
Date:   Mon Jul 25 20:08:07 2011 +0200

    Symlink log directories

diff --git a/debian/rules b/debian/rules
index 1cb9c7d..effc76c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -52,6 +52,7 @@ install-arch: build
 		rootcheck_control ; do \
 		install -m 755 bin/$$file debian/ossec-hids-server/usr/lib/ossec/ ; \
 	done
+	cd debian/ossec-hids-server/var/ossec && ln -s logs ../logs/ossec/
 # Agent files
 	install -m 755 bin/ossec-agentd debian/ossec-hids-agent/usr/bin/
 	for file in agent-auth ossec-logcollector ossec-syscheckd ossec-execd \
@@ -59,6 +60,7 @@ install-arch: build
 		install -m 755 bin/$$file debian/ossec-hids-agent/usr/lib/ossec/ ; \
 	done
 	dh_install -a
+	cd debian/ossec-hids-agent/var/ossec && ln -s logs ../logs/ossec/
 
 install-indep: build-indep
 	dh_testdir

-- 
Git repository for pkg-ossec



More information about the Pkg-ossec-devel mailing list