From 932f7a9d2e6c9675c4774e36a76e83d8f0ee10b3 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 31 Oct 2011 19:07:37 +0100 Subject: ocsinventory, provides external-agents.conf (OCS_OPT_EXT_USERAGENTS_FILE_PATH) --- ocsinventory.spec | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'ocsinventory.spec') diff --git a/ocsinventory.spec b/ocsinventory.spec index 2befa04..9bded84 100644 --- a/ocsinventory.spec +++ b/ocsinventory.spec @@ -12,7 +12,7 @@ Name: ocsinventory Summary: Open Computer and Software Inventory Next Generation Version: 2.0.2 -Release: 1%{?dist}.2 +Release: 1%{?dist}.3 Group: Applications/Internet License: GPLv2 @@ -140,6 +140,16 @@ navigateur favori. chmod -x binutils/ocs-errors +cat >external-agents.conf <%{buildroot}%{_sysconfdir}/httpd/conf.d/ocsinventory-server.conf +install -Dm 644 external-agents.conf \ + %{buildroot}%{_sysconfdir}/ocsinventory/ocsinventory-server/external-agents.conf + # --- ocsinventory-reports --- administration console mkdir -p %{buildroot}%{_datadir}/ocsinventory-reports @@ -280,6 +294,8 @@ fi %doc LICENSE.txt README Apache/Changes %doc binutils/*.README %doc binutils/{ocs-errors,soap-client.pl} +%dir %{_sysconfdir}/ocsinventory/ocsinventory-server +%config(noreplace) %{_sysconfdir}/ocsinventory/ocsinventory-server/external-agents.conf %config(noreplace) %{_sysconfdir}/logrotate.d/ocsinventory-server %config(noreplace) %{_sysconfdir}/httpd/conf.d/ocsinventory-server.conf %attr(755,apache,root) %{_localstatedir}/log/ocsinventory-server @@ -304,6 +320,9 @@ fi %changelog +* Mon Oct 31 2011 Remi Collet - 2.0.2-1.3 +- provides external-agents.conf (OCS_OPT_EXT_USERAGENTS_FILE_PATH) + * Mon Oct 31 2011 Remi Collet - 2.0.2-1.2 - add patch to use CONF_MYSQL (and avoid link to dbconfig) - comment /snmp alias for security -- cgit