X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Monitor.spec;h=af4111f76e5028e82304d984d8008c5af0b2cc71;hb=5eaf5af551633be27f4d4223f5d34c6b122dfd11;hp=ce120ffcc4153f948fe8ec06c57982d08a01481a;hpb=40588e1f900ba82db3ca69c5cc375805028f2430;p=monitor.git diff --git a/Monitor.spec b/Monitor.spec index ce120ff..af4111f 100644 --- a/Monitor.spec +++ b/Monitor.spec @@ -6,7 +6,7 @@ %define name monitor %define version 3.0 -%define taglevel 12 +%define taglevel 14 %define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}} %global python_sitearch %( python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)" ) @@ -53,7 +53,10 @@ Group: Applications/System Requires: python Requires: python-setuptools-devel +Requires: python-peak-util-extremes +Requires: TurboGears +Requires: compat-libstdc++-296 Requires: openssh-clients Requires: perl-libwww-perl Requires: perl-IO-Socket-SSL @@ -62,8 +65,7 @@ Requires: nmap Requires: rt3 Requires: plewww-plekit -#Requires: python-sqlalchemy -#Requires: python-elixir + #Requires: zabbix-client #Requires: zabbix-gui #Requires: zabbix-server @@ -209,16 +211,19 @@ rm -rf $RPM_BUILD_ROOT /%{_initrddir}/monitor-runlevelagent %post server-deps -easy_install --build-directory /var/tmp -UZ Elixir -easy_install --build-directory /var/tmp -UZ ElementTree -# TODO: something is bad wrong with this approach. -#easy_install --build-directory /var/tmp -UZ http://pypi.python.org/packages/2.5/E/Extremes/Extremes-1.1-py2.5.egg -#easy_install --build-directory /var/tmp -UZ "Paste==1.5.1" -#easy_install --build-directory /var/tmp -UZ "PasteDeploy==1.3.1" - -easy_install --build-directory /var/tmp -UZ http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-0.5.3.tar.gz -easy_install --build-directory /var/tmp -UZ http://files.turbogears.org/eggs/TurboGears-1.0.7-py2.5.egg - +#easy_install --build-directory /var/tmp -UZ Elixir +#easy_install --build-directory /var/tmp -UZ ElementTree +## TODO: something is bad wrong with this approach. +##easy_install --build-directory /var/tmp -UZ http://pypi.python.org/packages/2.5/E/Extremes/Extremes-1.1-py2.5.egg +#easy_install --build-directory /var/tmp -UZ http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-0.5.3.tar.gz +#easy_install --build-directory /var/tmp -UZ http://files.turbogears.org/eggs/TurboGears-1.0.7-py2.5.egg + +# crazy openssl libs for racadm binary +ln -s /lib/libssl.so.0.9.8b /usr/lib/libssl.so.2 + +if grep 'pam_loginuid.so' /etc/pam.d/crond ; then + sed -i -e 's/^session required pam_loginuid.so/#session required pam_loginuid.so/g' /etc/pam.d/crond +fi # NOTE: add the default xml stuff if it's not already in the default xml config. if ! grep '' /etc/planetlab/default_config.xml ; then sed -i 's|| \n Monitor Service Configuration\n Monitor\n \n \n Enabled\n true\n Enable on this machine.\n \n \n \n \n \n \n \n \n Hostname\n pl-virtual-06.cs.princeton.edu\n The fully qualified hostname.\n \n \n IP Address\n \n The IP address of the monitor server.\n \n \n \n |' /etc/planetlab/default_config.xml @@ -252,6 +257,16 @@ chkconfig --add monitor-runlevelagent chkconfig monitor-runlevelagent on %changelog +* Fri Jun 12 2009 Stephen Soltesz - Monitor-3.0-14 +- update web +- update policy +- added statistics dir + +* Mon Jun 08 2009 Stephen Soltesz - Monitor-3.0-13 +- remove plccache from controllers, all lookups from db. +- reformat emailTxt messags +- updated bootstates in bootman.py + * Tue Jun 02 2009 Stephen Soltesz - Monitor-3.0-12 - tag of latest changes. - need to test end to end.