SPECS: nagios-ndoutils.spec - update to 1.4b7, switch to nagios 3
glen
glen at pld-linux.org
Wed Nov 26 22:09:48 CET 2008
Author: glen Date: Wed Nov 26 21:09:48 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- update to 1.4b7, switch to nagios 3
---- Files affected:
SPECS:
nagios-ndoutils.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/nagios-ndoutils.spec
diff -u SPECS/nagios-ndoutils.spec:1.2 SPECS/nagios-ndoutils.spec:1.3
--- SPECS/nagios-ndoutils.spec:1.2 Thu Feb 15 11:17:44 2007
+++ SPECS/nagios-ndoutils.spec Wed Nov 26 22:09:41 2008
@@ -1,17 +1,21 @@
# $Revision$, $Date$
-%define _beta b2
+# TODO
+# - NDO2DB initscript (subpkg?)
+# - add db/{installdb,upgradedb} (Perl) somewhere
+%define extraver b7
+%define rel 0.1
Summary: NDOUTILS (Nagios Data Output Utils) addon
Summary(pl.UTF-8): Dodatek NDOUTILS (Nagios Data Output Utils)
Name: nagios-ndoutils
Version: 1.4
-Release: 0.1
+Release: 0.%{extraver}.%{rel}
License: GPL v2
Group: Networking
-Source0: http://dl.sourceforge.net/nagios/ndoutils-%{version}%{_beta}.tar.gz
-# Source0-md5: 3aab5af0816041c54b029d42985e6189
+Source0: http://dl.sourceforge.net/nagios/ndoutils-%{version}%{extraver}.tar.gz
+# Source0-md5: a454f7434f401bd48047cc42b045ff8b
URL: http://sourceforge.net/projects/nagios/
BuildRequires: mysql-devel
-Requires: nagios >= 2.0
+Requires: nagios >= 3.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _sysconfdir /etc/nagios
@@ -28,7 +32,7 @@
późniejszego odczytu i przetwarzania.
%prep
-%setup -q -n ndoutils-%{version}%{_beta}
+%setup -q -n ndoutils-%{version}%{extraver}
%build
%configure
@@ -38,12 +42,12 @@
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_libdir},%{_sysconfdir},%{_sbindir}}
-install src/ndomod-2x.o $RPM_BUILD_ROOT%{_libdir}/ndomod.o
+install src/ndomod-3x.o $RPM_BUILD_ROOT%{_libdir}/ndomod.o
cp -a config/ndomod.cfg $RPM_BUILD_ROOT%{_sysconfdir}
echo 'broker_module=%{_libdir}/ndomod.o config_file=%{_sysconfdir}/ndomod.cfg' \
> $RPM_BUILD_ROOT%{_sysconfdir}/ndomod-load.cfg
-install src/ndo2db-2x $RPM_BUILD_ROOT%{_sbindir}/ndo2db
+install src/ndo2db-3x $RPM_BUILD_ROOT%{_sbindir}/ndo2db
cp -a config/ndo2db.cfg $RPM_BUILD_ROOT%{_sysconfdir}
# daemon startup:
@@ -54,7 +58,7 @@
%files
%defattr(644,root,root,755)
-%doc HISTORY README REQUIREMENTS TODO UPGRADING
+%doc README REQUIREMENTS TODO UPGRADING
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ndo2db.cfg
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ndomod-load.cfg
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ndomod.cfg
@@ -67,6 +71,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2008/11/26 21:09:41 glen
+- update to 1.4b7, switch to nagios 3
+
Revision 1.2 2007/02/15 10:17:44 qboosh
- pl
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/nagios-ndoutils.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list