# # $Id$ # %define url $URL: svn+ssh://svn.planet-lab.org/svn/monitor/trunk/monitor.spec $ %define name monitor %define version 1.0 %define taglevel 16 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} Summary: Monitor account initialization for the root image. Name: %{name} Version: %{version} Release: %{release} Source0: %{name}-%{version}.tar.bz2 License: GPL Group: Applications/System BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Vendor: PlanetLab Packager: PlanetLab Central Distribution: PlanetLab %{plrelease} URL: %(echo %{url} | cut -d ' ' -f 2) Requires: curl Requires: coreutils %description Scripts for creating the monitor account in the root filesystem, to enable node access without using the 'root' account. %prep %setup -q %build echo "There is no build stage. Simply copy files." %install rm -rf $RPM_BUILD_ROOT install -D -m 755 monitor.init $RPM_BUILD_ROOT/%{_initrddir}/monitor install -D -m 755 monitor.cron $RPM_BUILD_ROOT/%{_sysconfdir}/cron.d/monitor %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_initrddir}/monitor %{_sysconfdir}/cron.d/monitor %post chkconfig --add monitor chkconfig monitor on %changelog * Mon Apr 13 2009 Stephen Soltesz - Monitor-1.0-16 - add email exceptions. - add better timeouts for commands even once ssh has opened a connection * Thu Feb 26 2009 Stephen Soltesz - Monitor-1.0-15 - fixed bug that prevented penalties from escalating and PIs from getting - emails. * Fri Feb 20 2009 Stephen Soltesz - Monitor-1.0-14 - updated printbadnodes.py to include diff_time() - changed eamils to use literal addresses not tech-* and pi-* aliases - updates to automation script to prevent false errors. * Tue Nov 04 2008 Stephen Soltesz - Monitor-1.0-13 - Fixed for email change in unified_model.py tweaks in others. * Wed Oct 29 2008 Stephen Soltesz - Monitor-1.0-12 - Improvements in web pages, and default installation options, and RT queue - setup. - Send direct emails rather than using tech- & pi- aliases * Tue Oct 21 2008 Stephen Soltesz - Monitor-1.0-11 - send direct email, not to tech-* and pi-* aliases. * Tue Oct 14 2008 Stephen Soltesz - Monitor-1.0-10 - an update to the latest tag. looks like I actually needed to update the tags - file more than this. * Thu Sep 25 2008 Stephen Soltesz - Monitor-1.0-9 - includes all removals of 'monitorconfig' * Wed Sep 24 2008 Stephen Soltesz - Monitor-1.0-8 - These are all changes in the latest Monitor code. I will branch this version - next, before making additional large changes. * Mon Sep 01 2008 Thierry Parmentelat - Monitor-1.0-7 - Checkpointing current version for 4.2-rc21 - many many changes * Mon Aug 11 2008 Stephen Soltesz - Monitor-1.0-6 - This is a major tag of every thing. probably needs a very different release - number. * Fri Jul 18 2008 Stephen Soltesz - Monitor-1.0-5 - Incremental improvements * Mon May 19 2008 Stephen Soltesz - Monitor-1.0-4 - tagging everything for OneLab tech-transfer. - * Fri May 09 2008 Stephen Soltesz - Monitor-1.0-3 - * Mon May 05 2008 Stephen Soltesz - Monitor-1.0-2 - * Wed Apr 23 2008 Stephen Soltesz - Monitor-1.0-1 - This should be ready for 4.2rc2 - * Mon Apr 07 2008 Stephen Soltesz - monitor-1.0-0 - initial addition.