- Update to 1.0.5 - This releases fixes a minor issue resulting in a deprecation notice when previewing a template #255 - Changes from 1.0.4 - This release fixes the failing database migration of version 1.0.3 on PostgreSQL #252 - Changes from 1.0.3 This is a security release. It is recommended to upgrade immediately. * Fixes - Stored XSS leads to SSRF CVE-2025-27406 - Relative timeframe validation not working correctly #240 - Timeframe with fixed date are not saved correctly #241 - Provide better error message when attempting to create a duplicate report #218 - Icon for "Reporting"-menu-item missing in icingaweb2 #249 (Requires Icinga Web 2.12) - Changes from 1.0.2 * Enhancements - Ensure compatibility with PHP 8.3 * Fixes - Scheduler does not work with PDF type #229 - DbMigration: Break once a correct schema version is found #235 - Changes from 1.0.1 - https://github.com/Icinga/icingaweb2-module-reporting/milestone/5?closed=1 - Changes from 1.0.0 - https://github.com/Icinga/icingaweb2-module-reporting/milestone/4?closed=1 OBS-URL: https://build.opensuse.org/request/show/1286904 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/icingaweb2-module-reporting?expand=0&rev=4
85 lines
2.9 KiB
RPMSpec
85 lines
2.9 KiB
RPMSpec
#
|
|
# spec file for package icingaweb2-module-reporting
|
|
#
|
|
# Copyright (c) 2022 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
|
|
%define basedir %{_datadir}/icingaweb2
|
|
%define module_name reporting
|
|
Name: icingaweb2-module-%{module_name}
|
|
Version: 1.0.5
|
|
Release: 0
|
|
Summary: Reporting Icinga Web 2 module
|
|
License: GPL-2.0-or-later
|
|
Group: System/Monitoring
|
|
URL: https://www.icinga.org
|
|
Source0: https://github.com/Icinga/icingaweb2-module-%{module_name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
Source90: README.SUSE
|
|
BuildRequires: systemd-rpm-macros
|
|
Requires: icinga-php-library >= 0.13.0
|
|
Requires: icinga-php-thirdparty >= 0.12.0
|
|
Requires: icingaweb2 >= 2.9
|
|
Requires: icingaweb2-module-director
|
|
Requires: icingaweb2-module-pdfexport >= 0.11.0
|
|
BuildArch: noarch
|
|
%{?systemd_requires}
|
|
|
|
%description
|
|
Icinga Reporting is the central component for reporting related functionality in the monitoring web frontend and framework Icinga Web 2.
|
|
The engine allows you to create reports over a specified time period for ad-hoc and scheduled generation of reports.
|
|
Other modules use the provided functionality in order to provide concrete reports.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
|
|
%install
|
|
install -m644 %{SOURCE90} .
|
|
mkdir -p %{buildroot}%{basedir}/modules/%{module_name}
|
|
mkdir -p %{buildroot}%{basedir}/modules/%{module_name}/{application,config,doc,library,public,test}
|
|
cp -prv application config doc library public schema %{buildroot}%{basedir}/modules/%{module_name}
|
|
cp -pv *.md *.php *.info %{buildroot}%{basedir}/modules/%{module_name}
|
|
# systemd
|
|
install -D -m 644 %{buildroot}%{basedir}/modules/%{module_name}/config/systemd/icinga-reporting.service %{buildroot}%{_unitdir}/%{name}.service
|
|
rm -r %{buildroot}%{basedir}/modules/%{module_name}/config/systemd
|
|
mkdir -p %{buildroot}%{_sbindir}
|
|
ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
|
|
|
|
%pre
|
|
%service_add_pre %{name}.service
|
|
|
|
%preun
|
|
%service_del_preun %{name}.service
|
|
|
|
%post
|
|
%service_add_post %{name}.service
|
|
|
|
%postun
|
|
%service_del_postun %{name}.service
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.SUSE
|
|
%dir %{basedir}
|
|
%dir %{basedir}/modules
|
|
%dir %{basedir}/modules/%{module_name}
|
|
%{basedir}/modules/%{module_name}/*
|
|
%{_unitdir}/%{name}.service
|
|
%{_sbindir}/rc%{name}
|
|
|
|
%changelog
|