[Pkg-ossec-devel] [SCM] Git repository for pkg-ossec branch, debian, updated. f89fb2c00b1a2606035e5cd0e35b4ebe99f049ac
Javier Fernandez-Sanguino
jfs at debian.org
Wed Aug 29 12:57:41 UTC 2012
The following commit has been merged in the debian branch:
commit 45241a5716e4f3de9e6b97cd23182b57f6b5c6e7
Author: Javier Fernandez-Sanguino <jfs at debian.org>
Date: Tue Aug 28 14:24:44 2012 +0200
Use properly dh_installinit with -p and rename the init files to their
standard names.
diff --git a/debian/ossec-hids-agent.ossec-hids-agent.init b/debian/ossec-hids-agent.init
similarity index 100%
copy from debian/ossec-hids-agent.ossec-hids-agent.init
copy to debian/ossec-hids-agent.init
diff --git a/debian/ossec-hids-agent.ossec-hids-agent.init b/debian/ossec-hids-local.init
similarity index 100%
copy from debian/ossec-hids-agent.ossec-hids-agent.init
copy to debian/ossec-hids-local.init
diff --git a/debian/ossec-hids-agent.ossec-hids-agent.init b/debian/ossec-hids-server.init
similarity index 100%
copy from debian/ossec-hids-agent.ossec-hids-agent.init
copy to debian/ossec-hids-server.init
diff --git a/debian/rules b/debian/rules
index 3e864fb..725bfa2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -92,7 +92,7 @@ install-prep:
dh_installdirs -a
install-local:
- dh_installinit -a --name=ossec-hids-local
+ dh_installinit -a -pssec-hids-local
install -m 755 local-bin/ossec* debian/ossec-hids-local/usr/lib/ossec
for file in manage_agents syscheck_update verify-agent-conf \
clear_stats list_agents agent_control syscheck_control \
@@ -136,7 +136,7 @@ install-local:
install -m 750 active-response/firewalls/*.sh debian/ossec-hids-local/var/ossec/active-response/bin/
install-server:
- dh_installinit -a --name=ossec-hids-server
+ dh_installinit -a -possec-hids-server
install -m 755 server-bin/ossec* debian/ossec-hids-server/usr/lib/ossec
for file in manage_agents syscheck_update verify-agent-conf \
clear_stats list_agents agent_control syscheck_control \
@@ -180,7 +180,7 @@ install-server:
install -m 750 active-response/firewalls/*.sh debian/ossec-hids-server/var/ossec/active-response/bin/
install-agent:
- dh_installinit -a --name=ossec-hids-agent
+ dh_installinit -a -possec-hids-agent
install -m 755 agent-bin/ossec-agentd debian/ossec-hids-agent/usr/lib/ossec/
for file in agent-auth ossec-logcollector ossec-syscheckd ossec-execd ; do \
install -m 755 agent-bin/$$file debian/ossec-hids-agent/usr/lib/ossec/ ; \
--
Git repository for pkg-ossec
More information about the Pkg-ossec-devel
mailing list