From 88c5daa9935dd996ec143bfc71dc6403c4691d4b Mon Sep 17 00:00:00 2001 From: Stephen Soltesz Date: Fri, 15 Aug 2008 22:36:56 +0000 Subject: [PATCH] require nmap, and add a place holder for the monitorconfig.php file generated after monitor.conf is filled in. --- monitor-server.spec | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.47.0