[Pkg-ossec-devel] [SCM] Git repository for pkg-ossec branch, debian, updated. 8646145a69cbcb43ece4021b88a642e644a3885e

Jose Antonio Quevedo joseantonio.quevedo at gmail.com
Sat Aug 13 16:20:30 UTC 2011


The following commit has been merged in the debian branch:
commit 8646145a69cbcb43ece4021b88a642e644a3885e
Author: Jose Antonio Quevedo <joseantonio.quevedo at gmail.com>
Date:   Sat Aug 13 18:21:08 2011 +0200

    Renamed ossec-hids-server init.d script at debian directory.

diff --git a/debian/ossec-hids-server.ossec.init b/debian/ossec-hids-server.ossec-hids-server.init
similarity index 100%
rename from debian/ossec-hids-server.ossec.init
rename to debian/ossec-hids-server.ossec-hids-server.init
diff --git a/debian/rules b/debian/rules
index 797130f..03afec6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -88,7 +88,7 @@ install-arch: build
 	dh_testroot
 	dh_prep -a
 	dh_installdirs -a
-	dh_installinit -a --name=ossec
+	dh_installinit -a --name=ossec-hids-server
 # Server files and directories
 	install -m 755 server-bin/ossec* debian/ossec-hids-server/usr/lib/ossec
 	for file in manage_agents syscheck_update verify-agent-conf  \
@@ -115,9 +115,7 @@ install-arch: build
 	chmod 750 debian/ossec-hids-server/var/log/ossec
 	chmod -R 550 debian/ossec-hids-server/etc/
 
-	install -m 754 src/init/ossec-server.sh debian/ossec-hids-server/etc/init.d/ossec-hids-server
-	cd debian/ossec-hids-server/ && ln -s etc/init.d/ossec-hids-server usr/lib/ossec/ossec-control
-
+	install -m 754 src/init/ossec-server.sh debian/ossec-hids-server/usr/lib/ossec/ossec-control 
 	install -m 750 src/agentlessd/scripts/* debian/ossec-hids-server/var/ossec/agentless/
 	# configuration files:
 	install -m 640 etc/decoder.xml debian/ossec-hids-server/etc/ossec/

-- 
Git repository for pkg-ossec



More information about the Pkg-ossec-devel mailing list