diff --git a/.gitignore b/.gitignore index 9b20c8b..f524bdd 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /tang-3.tar.bz2 +/tang-4.tar.bz2 diff --git a/sources b/sources index d3f87dc..a859b36 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ 9ae4a6f51af3a147ddd9d2f8d3f2bd15 tang-3.tar.bz2 +ae1bff851d4da6ad972fea33e3981bb6 tang-4.tar.bz2 diff --git a/tang.spec b/tang.spec index a017e68..446c594 100644 --- a/tang.spec +++ b/tang.spec @@ -1,5 +1,5 @@ Name: tang -Version: 3 +Version: 4 Release: 1%{?dist} Summary: Network Presence Binding Daemon @@ -23,6 +23,8 @@ BuildRequires: coreutils BuildRequires: grep BuildRequires: sed +BuildRequires: nagios-common + %{?systemd_requires} Requires: coreutils Requires: jose >= 5 @@ -34,6 +36,13 @@ Requires(pre): shadow-utils %description Tang is a small daemon for binding data to the presence of a third party. +%package nagios +Summary: Nagios plugin for testing Tang Daemon +Requires: nagios-common + +%description nagios +This package provides a Nagios plugin used to test the Tang Network Presence Binding Daemon. + %prep %setup -q @@ -87,7 +96,15 @@ exit 0 %{_libexecdir}/%{name}d-update %{_libexecdir}/%{name}d +%files nagios +%license COPYING +%{_libdir}/nagios/plugins/%{name} + %changelog +* Thu Nov 10 2016 Nathaniel McCallum - 4-1 +- New upstream release +- Add nagios subpackage + * Wed Oct 26 2016 Nathaniel McCallum - 3-1 - New upstream release