[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#780248: unblock: file/1:5.22+15-2



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock file 1:5.22+15-2

The actual change (full debdiff attached) is a one-liner and fixes bug
#780095 where certain jpeg files are no longer detected as such, the
output "DOS/MBR boot sector" is completely bogus. This bug is also a
regression compared to the wheezy version of file.

A check against a huge collection of test files - something I do
before every upload, including security fixes - showed no other
changes.

And just in case: The regression is rather old (upstream commit
FILE5_11-63-g51ceb2b, October 2012) but just hadn't been noticed
before. In other words, this was *not* introduced by the recent
unblock of file 1:5.22+15-1.

Kind regards,

    Christoph
diff -Nru file-5.22+15/debian/changelog file-5.22+15/debian/changelog
--- file-5.22+15/debian/changelog	2015-01-09 08:01:00.000000000 +0100
+++ file-5.22+15/debian/changelog	2015-03-10 22:13:50.000000000 +0100
@@ -1,3 +1,9 @@
+file (1:5.22+15-2) unstable; urgency=medium
+
+  * Restore detection of some jpeg files. Closes: #780095
+
+ -- Christoph Biedl <debian.axhn@manchmal.in-ulm.de>  Tue, 10 Mar 2015 20:41:54 +0100
+
 file (1:5.22+15-1) unstable; urgency=high
 
   * Use upstream commit FILE5_22-11-ge452600 to include yet another
diff -Nru file-5.22+15/debian/patches/0013-jpeg.c5d7f4d.patch file-5.22+15/debian/patches/0013-jpeg.c5d7f4d.patch
--- file-5.22+15/debian/patches/0013-jpeg.c5d7f4d.patch	1970-01-01 01:00:00.000000000 +0100
+++ file-5.22+15/debian/patches/0013-jpeg.c5d7f4d.patch	2015-03-10 20:56:19.000000000 +0100
@@ -0,0 +1,17 @@
+Subject: bump jpeg to beat DOS/MBR
+Upstream-Author: Christos Zoulas <christos@zoulas.com>
+Date: Fri Feb 6 17:08:31 2015 +0000
+Origin: FILE5_22-27-gc5d7f4d
+Last-Update: 2015-03-10
+
+--- a/magic/Magdir/jpeg
++++ b/magic/Magdir/jpeg
+@@ -12,7 +12,7 @@
+ 0	beshort		0xffd8		JPEG image data
+ !:mime	image/jpeg
+ !:apple	8BIMJPEG
+-!:strength +2
++!:strength *3
+ >6	string		JFIF		\b, JFIF standard
+ # The following added by Erik Rossen <rossen@freesurf.ch> 1999-09-06
+ # in a vain attempt to add image size reporting for JFIF.  Note that these
diff -Nru file-5.22+15/debian/patches/series file-5.22+15/debian/patches/series
--- file-5.22+15/debian/patches/series	2014-12-21 23:19:33.000000000 +0100
+++ file-5.22+15/debian/patches/series	2015-03-10 20:56:19.000000000 +0100
@@ -9,3 +9,4 @@
 0010-mdadm.patch
 0011-btrfs.patch
 0012-lxt.patch
+0013-jpeg.c5d7f4d.patch

Attachment: signature.asc
Description: Digital signature


Reply to: