From 2dd6f99b9da02c2463e8072e9e0810259dbd0a4b Mon Sep 17 00:00:00 2001 From: Stephen L Johnson Date: Mon, 25 Sep 2000 20:51:22 +0000 Subject: [PATCH] added wap-spong into install routine --- build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build b/build index 38fdfac..fd76756 100755 --- a/build +++ b/build @@ -40,7 +40,7 @@ $ITMPDIR = "$IPREFIX/tmp"; # update $SPONGTMP var in spong.conf also spong-ack spong-cleanup spong-status); @lib = qw( Ack AckList History HistoryList Host HostList Info Service ServiceList ); -@cgibin = qw( www-spong www-spong-ack ); +@cgibin = qw( www-spong www-spong-ack wap-spong); # Make sure that we are running build in the directory where things are # unpacked. This is kind of a lame check, but good enough for now... @@ -158,6 +158,7 @@ sub install { ssystem( "mkdir -p $ICGIDIR" ) if ! -d $ICGIDIR; ssystem( "cp ./cgi-bin/www-spong $ICGIDIR/www-spong" ); ssystem( "cp ./cgi-bin/www-spong-ack $ICGIDIR/www-spong-ack" ); + ssystem( "cp ./cgi-bin/wap-spong $ICGIDIR/wap-spong" ); ssystem( "chmod u=rx,go=r $ICGIDIR/*spong*" ); # Let's be conservative ssystem( "chown $WEBUSER $ICGIDIR/*spong*" ); @@ -205,6 +206,7 @@ sub upgrade { ssystem( "mkdir -p $ICGIDIR" ) if ! -d $ICGIDIR; ssystem( "cp ./cgi-bin/www-spong $ICGIDIR/www-spong" ); ssystem( "cp ./cgi-bin/www-spong-ack $ICGIDIR/www-spong-ack" ); + ssystem( "cp ./cgi-bin/wap-spong $ICGIDIR/wap-spong" ); ssystem( "chmod ugo+rwx,go-w $ICGIDIR/*spong*" ); ssystem( "chown $WEBUSER $ICGIDIR/*spong*" ); } -- 2.30.2