Re: [suggest] icinga 1.4.0

2011-05-11 Thread David Hrbáč
Dne 11.5.2011 8:24, Michael Friedrich napsal(a):
 Hi,

 just because of getting the release into rpmforge, I've updated the
 spec file shipping within the tarball to match 1.4.0 as version and
 latest changes. it runs smoothly and creates all required pkg.

 I'm new to rpmforge package commits, so please excuse my question on
 what is especially provided (Chris Maser did it before, but now he left).
 What steps would be required next - the current spec file is attached,
 the source tarball can be provided / will be on sourceforge at 11:00
 local vienna time (~2,5h).

 Thanks,
 Michael

Michael,
I reviewed your spec file. Looks good to me, so I have committed it.
Thanks,
DH
___
suggest mailing list
suggest@lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/suggest


Re: [suggest] icinga 1.4.0

2011-05-11 Thread Michael Friedrich

Hi,

David Hrbáč wrote:


Michael,
I reviewed your spec file. Looks good to me, so I have committed it.


Just one thing we just discussed about, reviewing the final diff you 
just committed. It came up that previous commits were changing the 
command group and would break upgrade procedure.


Attached git diff undos that.

Sorry for the inconvenience causing that, I was not aware of that change :(

Thanks,
Michael

PS: If you prefer GIT patches in the future, just let me know. I've just 
cloned the git repo and put the patch against master.


--
DI (FH) Michael Friedrich

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

email:  michael.friedr...@univie.ac.at
phone:  +43 1 4277 14359
mobile: +43 664 60277 14359
fax:+43 1 4277 14338
web:http://www.univie.ac.at/zid
http://www.aco.net

Icinga Core  IDOUtils Developer
http://www.icinga.org

From 12ab708d6ca37416373ea67e3555b4c07e88ba7e Mon Sep 17 00:00:00 2001
From: Michael Friedrich michael.friedr...@univie.ac.at
Date: Wed, 11 May 2011 09:04:52 +0200
Subject: [PATCH] update icinga.spec, re-use icingacmd group instead for icinga-cmd for upgrade reasons

---
 specs/icinga/icinga.spec |   15 +--
 1 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/specs/icinga/icinga.spec b/specs/icinga/icinga.spec
index d951bf3..b0c6c74 100644
--- a/specs/icinga/icinga.spec
+++ b/specs/icinga/icinga.spec
@@ -92,7 +92,7 @@ Documentation for %{name}
 --sysconfdir=%{_sysconfdir}/icinga \
 --with-cgiurl=/icinga/cgi-bin \
 --with-command-user=icinga \
---with-command-group=icinga-cmd \
+--with-command-group=icingacmd \
 --with-gd-lib=%{_libdir} \
 --with-gd-inc=%{_includedir} \
 --with-htmurl=/icinga \
@@ -147,8 +147,8 @@ cp -r module/idoutils/db %{buildroot}%{_sysconfdir}/icinga/idoutils
 %pre
 # Add icinga user
 /usr/sbin/groupadd icinga 2 /dev/null || :
-/usr/sbin/groupadd icinga-cmd 2 /dev/null || :
-/usr/sbin/useradd -c icinga -s /sbin/nologin -r -d /var/icinga -G icinga-cmd -g icinga icinga 2 /dev/null || :
+/usr/sbin/groupadd icingacmd 2 /dev/null || :
+/usr/sbin/useradd -c icinga -s /sbin/nologin -r -d /var/icinga -G icingacmd -g icinga icinga 2 /dev/null || :
 
 
 %post
@@ -161,8 +161,8 @@ if [ $1 -eq 0 ]; then
 fi
 
 %pre gui
-# Add apacheuser in the icinga-cmd group
-  /usr/sbin/usermod -a -G icinga-cmd %{apacheuser}
+# Add apacheuser in the icingacmd group
+  /usr/sbin/usermod -a -G icingacmd %{apacheuser}
 
 %post idoutils
 /sbin/chkconfig --add ido2db
@@ -200,7 +200,7 @@ fi
 %{logdir}
 %dir %{_localstatedir}/icinga
 %dir %{_localstatedir}/icinga/checkresults
-%attr(2755,icinga,icinga-cmd) %{_localstatedir}/icinga/rw/
+%attr(2755,icinga,icingacmd) %{_localstatedir}/icinga/rw/
 
 %files doc
 %defattr(-,icinga,icinga,-)
@@ -242,6 +242,9 @@ fi
 
 
 %changelog
+* Wed May 11 2011 Michael Friedrich michael.friedr...@univie.ac.at - 1.4.0-2
+- undo changes on icinga-cmd group, use icingacmd like before
+
 * Thu Apr 28 2011 Michael Friedrich michael.friedr...@univie.ac.at - 1.4.0-1
 - update for release 1.4.0
 - remove perl subst for eventhandler submit_check_result, this is now done by configure
-- 
1.7.1.1

___
suggest mailing list
suggest@lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/suggest


Re: [suggest] icinga 1.4.0

2011-05-11 Thread Michael Friedrich

David Hrbáč wrote:


Committed. Your patch is missing:
@@ -12,7 +12,7 @@
  Summary: Open Source host, service and network monitoring program
  Name: icinga
  Version: 1.4.0
-Release: 1%{?dist}
+Release: 2%{?dist}
  License: GPLv2+
  Group: Applications/System
  URL: http://www.icinga.org/


Ouch. Thanks for clearing this up!


I don't mind. Feel free to use git or patch. :o)


Ok thanks a lot for the fast actions, much appreciated! =)

Kind regards,
Michael

--
DI (FH) Michael Friedrich

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

email:  michael.friedr...@univie.ac.at
phone:  +43 1 4277 14359
mobile: +43 664 60277 14359
fax:+43 1 4277 14338
web:http://www.univie.ac.at/zid
http://www.aco.net

Icinga Core  IDOUtils Developer
http://www.icinga.org

___
suggest mailing list
suggest@lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/suggest


Re: [suggest] icinga 1.4.0

2011-05-11 Thread David Hrbáč
Dne 11.5.2011 9:46, Michael Friedrich napsal(a):
 Ok thanks a lot for the fast actions, much appreciated! =)


Michael,
Commit might be fast, but when the package is going to be released no
one knows. Dag might know. :o)
DH
___
suggest mailing list
suggest@lists.rpmforge.net
http://lists.rpmforge.net/mailman/listinfo/suggest