Package: aegis-web Version: 4.24-3 Filename: pool/main/a/aegis/aegis-web_4.24-3_i386.deb Found error in /usr/lib/cgi-bin/aegis.cgi: $ grep -A5 -B5 /tmp/ /usr/lib/cgi-bin/aegis.cgi if test "$file" = "aedist" then test -z "$project" && exit 1 test -z "$change" && change="--baseline" $bindir/aedist --send $project $change -ndh -naa \ -o /tmp/aegis.$$.ae > /tmp/aegis.$$ 2>&1 status=$? if test $status -ne 0 then echo 'Content-Type: text/html' echo '' -- echo '
' echo $bindir/aedist --send $project $change echo '
' echo "terminated with exit status $status." echo 'The following text was produced
'
		sed 's|<|\<|g' < /tmp/aegis.$$
		echo '
' echo '
' echo 'This page was generated' date echo '' rm /tmp/aegis.$$* exit 1 fi cat /tmp/aegis.$$.ae rm /tmp/aegis.$$* exit 0 fi if test "$file" = "aepatch" then test -z "$project" && exit 1 test -z "$change" && change="--baseline" $bindir/aepatch --send $project $change -naa \ -o /tmp/aegis.$$.ae > /tmp/aegis.$$ 2>&1 status=$? if test $status -ne 0 then echo 'Content-Type: text/html' echo '' -- echo '
' echo $bindir/aepatch --send $project $change echo '
' echo "terminated with exit status $status." echo 'The following text was produced
'
	       	sed 's|<|\<|g' < /tmp/aegis.$$
	       	echo '
' echo '
' echo 'This page was generated' date echo '' rm /tmp/aegis.$$* exit 1 fi cat /tmp/aegis.$$.ae rm /tmp/aegis.$$* exit 0 fi if test "$file" = "aetar" then test -z "$project" && exit 1 test -z "$change" && change="--baseline" $bindir/aetar --send $project $change \ -o /tmp/aegis.$$.ae > /tmp/aegis.$$ 2>&1 status=$? if test $status -ne 0 then echo 'Content-Type: text/html' echo '' -- echo '
' echo $bindir/aetar --send $project $change echo '
' echo "terminated with exit status $status." echo 'The following text was produced
'
	       	sed 's|<|\<|g' < /tmp/aegis.$$
	       	echo '
' echo '
' echo 'This page was generated' date echo '' rm /tmp/aegis.$$* exit 1 fi echo 'Content-Type: application/x-tar-gz' echo 'Content-Transfer-Encoding: 8bit' echo '' cat /tmp/aegis.$$.ae rm /tmp/aegis.$$* exit 0 fi if test "$file" = "diff" -- test -z "$extra" && exit 1 File=$extra; cmdcmd="$bindir/aereport -f $datadir/en/html/file_diff.rpt $delta1 \ $delta2 $File /tmp/aegis.$$.1 /tmp/aegis.$$.2 $project $change -unf" # the script will work out where to get the file from cmd="`$cmdcmd 2> /tmp/aegis.$$.log`"; status=$? if test $status -ne 0 then echo 'Content-Type: text/html' -- echo '
' echo $cmdcmd ; echo '
' echo "terminated with exit status $status." echo 'The following text was produced
'
	       	sed 's|<|\<|g' < /tmp/aegis.$$.log
	       	echo '
' echo '
' echo 'This page was generated' date echo '' rm -f /tmp/aegis.$$.* exit 1 fi rm -f /tmp/aegis.$$.* eval "$cmd 2> /tmp/aegis.$$.log" > /tmp/aegis.$$.out status=$? if test $status -ne 0 then echo 'Content-Type: text/html' echo '' -- echo '
' echo $cmd echo '
' echo "terminated with exit status $status." echo 'The following text was produced
'
	       	sed 's|<|\<|g' < /tmp/aegis.$$.log
	       	echo '
' echo '
' echo 'This page was generated' date echo '' rm -f /tmp/aegis.$$.* exit 1 fi rm /tmp/aegis.$$.log echo 'Content-Type: text/html' echo '' echo '' echo "Project \"$Project\"," -- echo '<br>' echo "Differences in file $File" | sed 's/</</' echo "<br>Delta $delta1, Delta $delta2" echo '</h1>' echo '<pre>' sed 's|<|\<|g' < /tmp/aegis.$$.out echo '</pre>' echo '<hr>' echo 'This page was generated' date echo '</body></html>' rm -f /tmp/aegis.$$.* exit 0 fi if test "$file" = "pre" then -- File="$extra" if test -z "$change" then $bindir/aegis -cp -ind $project -baserel $File $Delta \ -o /tmp/aegis.$$ 2> /tmp/aegis.$$.log status=$? if test $status -ne 0 then echo 'Content-Type: text/html' echo '' -- echo '<blockquote><tt>' echo $bindir/aegis -cp -ind -baserel "$Delta" $project $extra echo '</tt></blockquote>' echo "terminated with exit status $status." echo 'The following text was produced <blockquote><pre>' sed 's|<|\<|g' < /tmp/aegis.$$.log echo '</pre></blockquote>' echo '<hr>' echo 'This page was generated' date echo '</body></html>' rm -f /tmp/aegis.$$ /tmp/aegis.$$.log exit 1 fi rm -f /tmp/aegis.$$.log else # the script will work out where to get the file from cmd="`$bindir/aereport -f $datadir/en/html/cp_command.rpt $File \ /tmp/aegis.$$ -unf $project $change 2> /tmp/aegis.$$.log`" status=$? if test $status -ne 0 then echo 'Content-Type: text/html' -- echo '<html><head><title>Error

' echo 'Error

The command' echo '
' echo $bindir/aereport -f \ $datadir/en/html/cp_command.rpt $File \ /tmp/aegis.$$ -unf $project $change echo '
' echo "terminated with exit status $status." echo 'The following text was produced
'
		    sed 's|<|\<|g' < /tmp/aegis.$$.log
		    echo '
' echo '
' echo 'This page was generated' date echo '' rm /tmp/aegis.$$.log exit 1 fi rm /tmp/aegis.$$.log eval "$cmd 2> /tmp/aegis.$$.log" status=$? if test $status -ne 0 then echo 'Content-Type: text/html' echo '' -- echo '
' echo $cmd | sed 's|<|\<|g' echo '
' echo "terminated with exit status $status." echo 'The following text was produced
'
		    sed 's|<|\<|g' < /tmp/aegis.$$.log
		    echo '
' echo '
' echo 'This page was generated' date echo '' rm -f /tmp/aegis.$$.log /tmp/aegis.$$ exit 1 fi rm /tmp/aegis.$$.log fi echo 'Content-Type: text/html' echo '' echo '' -- echo "Project \"$Project\"," test ! -z "$Change" && echo "Change $Change," echo "<br>File <i>$x</i>" echo '</h1>' echo '<pre>' sed 's|<|\<|g' < /tmp/aegis.$$ echo '</pre>' echo '<hr>' echo 'This page was generated' date echo '</body></html>' rm /tmp/aegis.$$ exit 0 fi $bindir/aereport --file $datadir/$lang/html/$file.rpt \ $project $change $extra --page-width=1000 --unformatted \ > /tmp/aegis.$$ 2>&1 status=$? if test $status -ne 0 then echo 'Content-Type: text/html' -- echo $bindir/aereport --file $datadir/$lang/html/$file.rpt \ $project $change $extra --page-width=1000 --unformatted echo '</tt></blockquote>' echo "terminated with exit status $status." echo 'The following text was produced <blockquote><pre>' sed 's|<|\<|g' < /tmp/aegis.$$ echo '</pre></blockquote>' echo '<hr>' echo 'This page was generated' date echo '</body></html>' else cat /tmp/aegis.$$ fi rm /tmp/aegis.$$ exit 0