mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
Clamav Update
Fix in der MPFire CGI git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@970 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -54,7 +54,7 @@
|
|||||||
* cdrtools-2.01
|
* cdrtools-2.01
|
||||||
* centerim-4.22.1
|
* centerim-4.22.1
|
||||||
* cftp-0.12
|
* cftp-0.12
|
||||||
* clamav-0.91.1
|
* clamav-0.91.2
|
||||||
* coreutils-5.96
|
* coreutils-5.96
|
||||||
* cpio-2.6
|
* cpio-2.6
|
||||||
* cups-1.2.12
|
* cups-1.2.12
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ my $errormessage = "";
|
|||||||
if ( $ENV{'QUERY_STRING'} =~ /title/){
|
if ( $ENV{'QUERY_STRING'} =~ /title/){
|
||||||
my $song = `/usr/local/bin/mpfirectrl song 2>/dev/null`;
|
my $song = `/usr/local/bin/mpfirectrl song 2>/dev/null`;
|
||||||
if ( $song eq "" ){$song = "None";}
|
if ( $song eq "" ){$song = "None";}
|
||||||
if ( length($song) > 125 ) {$song = substr($song,0,125)."...";}
|
if ( length($song) > 100 ) {$song = substr($song,0,100)."...";}
|
||||||
&Header::showhttpheaders();
|
&Header::showhttpheaders();
|
||||||
print"<meta http-equiv='refresh' content='30'>";
|
print"<meta http-equiv='refresh' content='30'>";
|
||||||
print <<END
|
print <<END
|
||||||
@@ -52,7 +52,6 @@ END
|
|||||||
;
|
;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
|
||||||
&Header::showhttpheaders();
|
&Header::showhttpheaders();
|
||||||
|
|
||||||
sub refreshpage{&Header::openbox( 'Waiting', 1, "<meta http-equiv='refresh' content='1;' />" );print "<center><img src='/images/clock.gif' alt='' /><br/><font color='red'>$Lang::tr{'pagerefresh'}</font></center>";&Header::closebox();}
|
sub refreshpage{&Header::openbox( 'Waiting', 1, "<meta http-equiv='refresh' content='1;' />" );print "<center><img src='/images/clock.gif' alt='' /><br/><font color='red'>$Lang::tr{'pagerefresh'}</font></center>";&Header::closebox();}
|
||||||
@@ -258,7 +257,7 @@ $stats=~s/\\/<br \/>/g
|
|||||||
print <<END
|
print <<END
|
||||||
|
|
||||||
<table width='95%' cellspacing='0'>
|
<table width='95%' cellspacing='0'>
|
||||||
<iframe height='30' width='100%' src='/cgi-bin/mpfire.cgi?title' scrolling='no' frameborder='no' ></iframe>
|
<iframe height='40' width='100%' src='/cgi-bin/mpfire.cgi?title' scrolling='no' frameborder='no' ></iframe>
|
||||||
END
|
END
|
||||||
;
|
;
|
||||||
my $countsongs=`/usr/local/bin/mpfirectrl stats 2>/dev/null`;
|
my $countsongs=`/usr/local/bin/mpfirectrl stats 2>/dev/null`;
|
||||||
@@ -449,13 +448,13 @@ close(DATEI);
|
|||||||
print <<END
|
print <<END
|
||||||
<table width='95%' cellspacing='0'>
|
<table width='95%' cellspacing='0'>
|
||||||
<tr bgcolor='$color{'color20'}'><td colspan='9' align='left'><b>$Lang::tr{'webradio playlist'}</b></td></tr>
|
<tr bgcolor='$color{'color20'}'><td colspan='9' align='left'><b>$Lang::tr{'webradio playlist'}</b></td></tr>
|
||||||
<tr><td>Stream</td><td colspan='2'></td></tr>
|
<tr><td align='left'>Stream</td><td colspan='2'></td></tr>
|
||||||
END
|
END
|
||||||
;
|
;
|
||||||
foreach (@webradio){
|
foreach (@webradio){
|
||||||
my @stream = split(/\|/,$_);
|
my @stream = split(/\|/,$_);
|
||||||
print <<END
|
print <<END
|
||||||
<tr><td><a href="$stream[2]" target="_blank">$stream[1]</a></td>
|
<tr><td align='left'><a href="$stream[2]" target="_blank">$stream[1]</a></td>
|
||||||
<td align='center'><form method='post' action='$ENV{'SCRIPT_NAME'}'><input type='hidden' name='FILE' value='$stream[0]' /><input type='hidden' name='ACTION' value='playweb' /><input type='image' alt='$Lang::tr{'play'}' title='$Lang::tr{'play'}' src='/images/media-playback-start.png' /></form></td>
|
<td align='center'><form method='post' action='$ENV{'SCRIPT_NAME'}'><input type='hidden' name='FILE' value='$stream[0]' /><input type='hidden' name='ACTION' value='playweb' /><input type='image' alt='$Lang::tr{'play'}' title='$Lang::tr{'play'}' src='/images/media-playback-start.png' /></form></td>
|
||||||
</tr>
|
</tr>
|
||||||
END
|
END
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
include Config
|
include Config
|
||||||
|
|
||||||
VER = 0.91.1
|
VER = 0.91.2
|
||||||
|
|
||||||
THISAPP = clamav-$(VER)
|
THISAPP = clamav-$(VER)
|
||||||
DL_FILE = $(THISAPP).tar.gz
|
DL_FILE = $(THISAPP).tar.gz
|
||||||
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
|
|||||||
|
|
||||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||||
|
|
||||||
$(DL_FILE)_MD5 = 60152bf1e24b3fbdf0473794199e5215
|
$(DL_FILE)_MD5 = 2a7265d17cfa80c32858978f16a3f47b
|
||||||
|
|
||||||
install : $(TARGET)
|
install : $(TARGET)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user