From e669a3d08fdcbaa6803a19ee5ee627e09b2090b3 Mon Sep 17 00:00:00 2001 From: hummypkg Date: Wed, 19 Sep 2012 20:44:04 +0000 Subject: [PATCH] update channelicons, add size check git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1122 2a923420-c742-0410-a762-8d5b09965624 --- CONTROL/control | 4 ++-- var/mongoose/lib/bin/auto | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CONTROL/control b/CONTROL/control index 56305e2..7ea0dd0 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -1,9 +1,9 @@ Package: webif Priority: optional Section: web -Version: 0.9.13-4 +Version: 0.9.13-5 Architecture: mipsel Maintainer: af123@hummypkg.org.uk -Depends: webif-channelicons(>=1.0.2),mongoose(>=3.0-7),jim(>=0.73-1),jim-oo,jim-sqlite3(>=0.73),jim-cgi(>=0.5),service-control(>=1.2),busybox(>=1.19.3-1),lsof,epg(>=1.0.9),hmt(>=1.1.6),ssmtp,anacron,trm,openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2),stripts(>=1.1.2) +Depends: webif-channelicons(>=1.0.3),mongoose(>=3.0-7),jim(>=0.73-1),jim-oo,jim-sqlite3(>=0.73),jim-cgi(>=0.5),service-control(>=1.2),busybox(>=1.19.3-1),lsof,epg(>=1.0.9),hmt(>=1.1.6),ssmtp,anacron,trm,openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2),stripts(>=1.1.2) Suggests: ffmpeg Description: An evolving web interface for the Humax. diff --git a/var/mongoose/lib/bin/auto b/var/mongoose/lib/bin/auto index 4720698..daef743 100755 --- a/var/mongoose/lib/bin/auto +++ b/var/mongoose/lib/bin/auto @@ -137,6 +137,11 @@ proc do_decrypt {ts} { puts " DLNA: $url" exec wget -O "$tmp/$bfile" $url + if {[file size $file] != [file size "$tmp/$bfile"]} { + puts " File size mismatch." + return + } + # Move the encrypted file out of the way. file rename $file "$rfile.encrypted" # Move the decrypted copy into place.