Modsecurity module added to Nginx. Archive directory created
This commit is contained in:
76
fedora/SPECS/archive/nconf.spec
Normal file
76
fedora/SPECS/archive/nconf.spec
Normal file
@@ -0,0 +1,76 @@
|
||||
Name: nconf
|
||||
Version: 1.3.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Nagios/Icinga configuration webinterface
|
||||
|
||||
License: GPL
|
||||
URL: http://www.nconf.org
|
||||
Source0: nconf-%{version}.tgz
|
||||
Source1: nconf.conf
|
||||
Source2: mysql.php
|
||||
BuildArch: noarch
|
||||
|
||||
|
||||
Requires: icinga
|
||||
|
||||
%define idir %{_datadir}/%{name}
|
||||
|
||||
%description
|
||||
NConf is a web-based tool which allows users to manage the complete configuration of their Nagios setup.
|
||||
Is is specifically aimed at large environments, but can naturally also be used for small Nagios installations.
|
||||
One of the main benefits is that NConf allows users to define templates and presets,
|
||||
which can be applied when adding hosts. A host-preset contains all services to be added to a host,
|
||||
with all commands linked and all default values already set. It also contains the host-alive-check
|
||||
to be applied to the new host. All a user must do after adding a host is to tweak certain parameters, if necessary.
|
||||
|
||||
A host is always linked to a collector. When the config is generated,
|
||||
all hosts linked to the same collector will be written to a file,
|
||||
including all their services and additional dependencies.
|
||||
Hosts not assigned to the same collector will be written to a different config file.
|
||||
This way, each collector will recieve its own set of config files.
|
||||
It will only monitor hosts assigned to it, all other information is disregarded.
|
||||
This increases performance. Information about all hosts is summarized in the monitor config.
|
||||
Performance is not an issue here, since the monitor server does not do any active checking.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
|
||||
%build
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%{__install} -d %{buildroot}%{idir}
|
||||
%{__install} -d %{buildroot}%{_sysconfdir}/httpd/conf.d
|
||||
cp -r */ %{buildroot}%{idir}
|
||||
cp -r *.php %{buildroot}%{idir}
|
||||
cp %{S:1} %{buildroot}%{_sysconfdir}//httpd/conf.d/%{name}.conf
|
||||
cp %{S:2} %{buildroot}%{idir}/config
|
||||
rm %{buildroot}%{idir}/*/.gitignore
|
||||
|
||||
|
||||
%files
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc README CHANGELOG LICENSE
|
||||
%config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf
|
||||
%config(noreplace) %{idir}/config/mysql.php
|
||||
%{idir}/*.php
|
||||
%{idir}/INSTALL
|
||||
%{idir}/UPDATE
|
||||
%{idir}/ADD-ONS
|
||||
%{idir}/bin
|
||||
%{idir}/config.orig
|
||||
%{idir}/design_templates
|
||||
%{idir}/img
|
||||
%{idir}/include
|
||||
%dir %attr(0755,apache,apache) %{idir}/config
|
||||
%dir %attr(0755,apache,apache) %{idir}/output
|
||||
%dir %attr(0755,apache,apache) %{idir}/static_cfg
|
||||
%dir %attr(0755,apache,apache) %{idir}/temp
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Dec 7 2013 <elpito@bluewin.ch>
|
||||
- New package.
|
||||
Reference in New Issue
Block a user