packages: nagios-plugin-check_poldek/nagios-plugin-check_poldek.spec - %pos...
pawelz
pawelz at pld-linux.org
Tue May 11 19:21:00 CEST 2010
Author: pawelz Date: Tue May 11 17:21:00 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- %post scriptlet that needs network access was bad idea
- rel 2
---- Files affected:
packages/nagios-plugin-check_poldek:
nagios-plugin-check_poldek.spec (1.12 -> 1.13)
---- Diffs:
================================================================
Index: packages/nagios-plugin-check_poldek/nagios-plugin-check_poldek.spec
diff -u packages/nagios-plugin-check_poldek/nagios-plugin-check_poldek.spec:1.12 packages/nagios-plugin-check_poldek/nagios-plugin-check_poldek.spec:1.13
--- packages/nagios-plugin-check_poldek/nagios-plugin-check_poldek.spec:1.12 Tue May 11 16:55:37 2010
+++ packages/nagios-plugin-check_poldek/nagios-plugin-check_poldek.spec Tue May 11 19:20:55 2010
@@ -4,7 +4,7 @@
Summary(pl.UTF_8): Wtyczka Nagiosa sprawdzająca aktualizacje systemów używających poldka
Name: nagios-plugin-%{plugin}
Version: 0.4
-Release: 1
+Release: 2
License: MIT
Group: Networking
Source0: http://github.com/pawelz/nagios-check_poldek/tarball/v%{version}/%{name}-%{version}.tar.gz
@@ -57,9 +57,6 @@
%triggerun -- nagios-nrpe
%nagios_nrpe -d %{plugin} -f %{_sysconfdir}/%{plugin}.cfg
-%post
-su -s /bin/sh -c 'poldek --cache %{cachedir} -q --up' nagios
-
%files
%defattr(644,root,root,755)
%attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{plugin}.cfg
@@ -72,6 +69,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.13 2010/05/11 17:20:55 pawelz
+- %post scriptlet that needs network access was bad idea
+- rel 2
+
Revision 1.12 2010/05/11 14:55:37 pawelz
- use nagios user for %post
- up to 0.4
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nagios-plugin-check_poldek/nagios-plugin-check_poldek.spec?r1=1.12&r2=1.13&f=u
More information about the pld-cvs-commit
mailing list