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

Jose Antonio Quevedo joseantonio.quevedo at gmail.com
Sat Aug 13 11:11:39 UTC 2011


The following commit has been merged in the master branch:
commit c1e71094f7c2a2b8bdc1a6e577848f593cc4292d
Author: Jose Antonio Quevedo <joseantonio.quevedo at gmail.com>
Date:   Sat Aug 13 13:12:29 2011 +0200

    Cleaning sources before build-server target at debian/rules.

diff --git a/debian/rules b/debian/rules
index 3b3f165..72dfd77 100755
--- a/debian/rules
+++ b/debian/rules
@@ -48,7 +48,7 @@ configure-local-stamp:
 build: build-server #build-agent
 
 # Build the server
-build-server: configure-server build-server-stamp 
+build-server: clean-sources configure-server build-server-stamp 
 build-server-stamp: 
 # For Prelude support:
 #	cd src && make setprelude
@@ -100,6 +100,7 @@ install-arch: build
 	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
+
 	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
@@ -122,7 +123,7 @@ install-arch: build
 	install -m 640 etc/decoder.xml debian/ossec-hids-server/etc/ossec/
 	install -m 640 etc/internal_options.conf debian/ossec-hids-server/etc/ossec/
 	install -m 640 src/rootcheck/db/*.txt debian/ossec-hids-server/etc/ossec/shared/
-	install -m 640 etc/ossec-server.conf  debian/ossec-hids-server/etc/ossec/ossec.conf
+	install -m 640 etc/ossec-server.conf  debian/ossec-hids-server/etc/ossec/ossec-server.conf
 	cp -pr etc/rules/* debian/ossec-hids-server/etc/ossec/rules/
 	find debian/ossec-hids-server/etc/ossec/rules/ -type f -exec chmod a-x {} \;
 	chmod -R ug=rX,o= debian/ossec-hids-server/etc/ossec/rules/

-- 
Git repository for pkg-ossec



More information about the Pkg-ossec-devel mailing list