From: Stephen Soltesz Date: Fri, 15 Aug 2008 22:36:56 +0000 (+0000) Subject: require nmap, and add a place holder for the monitorconfig.php file generated X-Git-Tag: Monitor-1.0-7~4 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=88c5daa9935dd996ec143bfc71dc6403c4691d4b;p=monitor.git require nmap, and add a place holder for the monitorconfig.php file generated after monitor.conf is filled in. --- diff --git a/monitor-server.spec b/monitor-server.spec index 2071763..8316ffd 100644 --- a/monitor-server.spec +++ b/monitor-server.spec @@ -32,6 +32,7 @@ Requires: openssh-clients Requires: perl-libwww-perl Requires: MySQL-python Requires: rt3 == 3.4.1 +Requires: nmap Requires: PLCWWW >= 4.2 Requires: bootcd-planetlab-i386 >= 4.2 @@ -78,6 +79,9 @@ for file in __init__.py database.py config.py ; do done install -D -m 755 threadpool.py $RPM_BUILD_ROOT/%{python_sitearch}/threadpool.py +touch $RPM_BUILD_ROOT/var/www/cgi-bin/monitor/monitorconfig.php +chmod 777 $RPM_BUILD_ROOT/var/www/cgi-bin/monitor/monitorconfig.php + install -D -m 755 monitor-default.conf $RPM_BUILD_ROOT/etc/monitor.conf cp $RPM_BUILD_ROOT/usr/share/%{name}/monitorconfig-default.py $RPM_BUILD_ROOT/usr/share/%{name}/monitorconfig.py