Compare commits
3 Commits
9998784d90
...
42f32aade0
Author | SHA1 | Date |
---|---|---|
![]() |
42f32aade0 | |
![]() |
5e9d592007 | |
![]() |
1b5edfd086 |
|
@ -3,7 +3,7 @@
|
||||||
%global docdir %{_datadir}/doc/icinganotifications
|
%global docdir %{_datadir}/doc/icinganotifications
|
||||||
|
|
||||||
Name: icinga-notifications-web
|
Name: icinga-notifications-web
|
||||||
Version: 0.0.1
|
Version: 0.0.4
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Icinga Notifications Web — Manage incidents and who gets notified about them how and when
|
Summary: Icinga Notifications Web — Manage incidents and who gets notified about them how and when
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
|
@ -18,7 +18,7 @@ Requires: icinga-php-thirdparty
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Icinga DB Web offers a modern and streamlined design to provide a clear
|
Icinga Notification Web offers a modern and streamlined design to provide a clear
|
||||||
and concise overview of your monitoring environment.
|
and concise overview of your monitoring environment.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
%define service %{name}.service
|
%define service %{name}.service
|
||||||
|
|
||||||
Name: icinga-notifications
|
Name: icinga-notifications
|
||||||
Version: 0.0.1
|
Version: 0.0.4
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Icinga Notifications
|
Summary: Icinga Notifications
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
|
@ -34,13 +34,16 @@ git clone https://%{provider_prefix} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
go build -v -ldflags "-extldflags -s -w -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -buildid "%{version}"" -buildvcs=false -trimpath ./cmd/icinga-notifications-daemon
|
go build -v -ldflags "-extldflags -s -w -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -buildid "%{version}"" -buildvcs=false -trimpath ./cmd/icinga-notifications-daemon
|
||||||
|
go build -v -ldflags "-extldflags -s -w -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \n') -buildid "%{version}"" -buildvcs=false -trimpath -o channel/ ./cmd/channel/...
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -d -m 0755 %{buildroot}%{_sbindir}
|
install -d -m 0755 %{buildroot}%{_sbindir}
|
||||||
install -d -m 0755 %{buildroot}%{configdir}
|
install -d -m 0755 %{buildroot}%{configdir}
|
||||||
install -d -m 0755 %{buildroot}%{_unitdir}
|
install -d -m 0755 %{buildroot}%{_unitdir}
|
||||||
|
install -d -m 0755 %{buildroot}%{_libexecdir}/%{name}
|
||||||
install -m 0755 icinga-notifications-daemon %{buildroot}%{_sbindir}/
|
install -m 0755 icinga-notifications-daemon %{buildroot}%{_sbindir}/
|
||||||
|
%{__cp} -r channel %{buildroot}%{_libexecdir}/%{name}/
|
||||||
install -m 0644 config.example.yml %{buildroot}%{configdir}/config.yml
|
install -m 0644 config.example.yml %{buildroot}%{configdir}/config.yml
|
||||||
install -m 0644 icinga2.conf %{buildroot}%{configdir}/icinga2-notifications.conf
|
install -m 0644 icinga2.conf %{buildroot}%{configdir}/icinga2-notifications.conf
|
||||||
install -m 0644 %{S:1} %{buildroot}%{_unitdir}/
|
install -m 0644 %{S:1} %{buildroot}%{_unitdir}/
|
||||||
|
@ -67,6 +70,7 @@ rm -rf %{buildroot}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc LICENSE README.md
|
%doc LICENSE README.md
|
||||||
%{_sbindir}/icinga-notifications-daemon
|
%{_sbindir}/icinga-notifications-daemon
|
||||||
|
%{_libexecdir}/%{name}/channel/
|
||||||
%{_unitdir}/%{service}
|
%{_unitdir}/%{service}
|
||||||
%dir %{_datadir}/%{name}
|
%dir %{_datadir}/%{name}
|
||||||
%{_datadir}/%{name}/schema
|
%{_datadir}/%{name}/schema
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
%global basedir %{_datadir}/icinga-php/ipl
|
%global basedir %{_datadir}/icinga-php/ipl
|
||||||
|
|
||||||
Name: icinga-php-library
|
Name: icinga-php-library
|
||||||
Version: 0.12.0
|
Version: 0.13.2
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Icinga PHP Library for Icinga Web 2
|
Summary: Icinga PHP Library for Icinga Web 2
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
%global basedir %{_datadir}/icinga-php/vendor
|
%global basedir %{_datadir}/icinga-php/vendor
|
||||||
|
|
||||||
Name: icinga-php-thirdparty
|
Name: icinga-php-thirdparty
|
||||||
Version: 0.11.0
|
Version: 0.12.1
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Icinga PHP Thirdparty for Icinga Web 2
|
Summary: Icinga PHP Thirdparty for Icinga Web 2
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
%global basedir %{_datadir}/icingaweb2/modules/%{module_name}
|
%global basedir %{_datadir}/icingaweb2/modules/%{module_name}
|
||||||
|
|
||||||
Name: icingaweb2-module-%{module_name}
|
Name: icingaweb2-module-%{module_name}
|
||||||
Version: 2.4.0
|
Version: 2.5.1
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Business Processes - Icinga Web 2 module
|
Summary: Business Processes - Icinga Web 2 module
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
%global icingaweb_min_version 2.6.0
|
%global icingaweb_min_version 2.6.0
|
||||||
%global basedir %{_datadir}/icingaweb2/modules/%{module_name}
|
%global basedir %{_datadir}/icingaweb2/modules/%{module_name}
|
||||||
Name: icingaweb2-module-%{module_name}
|
Name: icingaweb2-module-%{module_name}
|
||||||
Version: 1.3.1
|
Version: 1.3.3
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Certificate Monitoring (x509) - Icinga Web 2 module
|
Summary: Certificate Monitoring (x509) - Icinga Web 2 module
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
|
|
|
@ -0,0 +1,54 @@
|
||||||
|
%global module_name map
|
||||||
|
%global icingaweb_min_version 2.9.0
|
||||||
|
%global basedir %{_datadir}/icingaweb2/modules/%{module_name}
|
||||||
|
|
||||||
|
Name: icingaweb2-module-%{module_name}
|
||||||
|
Version: 2.0.0
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Map - Icinga Web 2 module
|
||||||
|
Group: Applications/System
|
||||||
|
License: GPLv2+
|
||||||
|
URL: https://icinga.com
|
||||||
|
Source0: https://github.com/nbuchwitz/icingaweb2-module-%{module_name}/archive/v%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
Requires: icingaweb2 >= %{icingaweb_min_version}
|
||||||
|
Requires: php-Icinga >= %{icingaweb_min_version}
|
||||||
|
|
||||||
|
|
||||||
|
%description
|
||||||
|
Map module for Icinga Web 2.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
mkdir -p %{buildroot}%{basedir}
|
||||||
|
cp -r * %{buildroot}%{basedir}
|
||||||
|
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
|
||||||
|
%preun
|
||||||
|
set -e
|
||||||
|
if [ $1 == 0 ]; then
|
||||||
|
echo "Disabling icingaweb2 module '%{module_name}'"
|
||||||
|
rm -f /etc/icingaweb2/enabledModules/%{module_name}
|
||||||
|
fi
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md LICENSE
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{basedir}
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
|
@ -5,7 +5,7 @@
|
||||||
%global service_user apache
|
%global service_user apache
|
||||||
|
|
||||||
Name: icingaweb2-module-%{module_name}
|
Name: icingaweb2-module-%{module_name}
|
||||||
Version: 0.10.0
|
Version: 1.0.1
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Reporting - Icinga Web 2 module
|
Summary: Reporting - Icinga Web 2 module
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
%global service_name icinga-%{module_name}
|
%global service_name icinga-%{module_name}
|
||||||
%global service_user apache
|
%global service_user apache
|
||||||
Name: icingaweb2-module-%{module_name}
|
Name: icingaweb2-module-%{module_name}
|
||||||
Version: 1.2.1
|
Version: 1.3.2
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Certificate Monitoring (x509) - Icinga Web 2 module
|
Summary: Certificate Monitoring (x509) - Icinga Web 2 module
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
|
|
Loading…
Reference in New Issue