Package: file
Version: 1:5.19-2
Severity: minor
Tags: upstream patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

file(1)'s man page does not mention -d to print debugging information.
The attached patch fixes this.

Sebastian

- -- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages file depends on:
ii  libc6      2.19-11
ii  libmagic1  1:5.19-2
ii  zlib1g     1:1.2.8.dfsg-2

file recommends no packages.

file suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBVDUVhfhx3EthBlqjAQhPlA//ds/JA6fHTsM3W1eJqX30alF/AuAlk36h
ZMMSZYzsyw1J/vzva0k3CmrxTvqOygWBmGob5CxOok6QgAzMchoAmFjKHIhRlkMb
drsZKCcEZnVvPr270tVc1UJLemc9pa5PSAYdvqP3Y5IRkl7udBySX5csrJUGmbAQ
Y2Ngonz8nWyGiKn+kMYXecm8ZemOl1duT9+Oop9pGLAPgJCQ2C9ZHhQtn4Zjjzlc
Bl1yGEQ8RUcLtizrfZ3VFEiwF1prIDrJ28uzYGKhbVnvC+Cjn4xTm5dmX3yh7xig
Jk2+9jbob7hrUlcyoZl4des1Mt+H7NlR0I1rENzAbrYOkW3Wncb9m5VTgJpPBExK
MJuk5LIx5zbBWyeqG90WKKQjUz4IVmrirK7mUj8ICCszlzzCgLZ0VamI9G4Dv+9G
LVjgNB/soA34z3anfvqNFb9Icb1iScIb67/UkiEMxmtb+Rn36tSAR4eb80seNLGS
/ijde1WU4F9CK7e1SsaM9xGyNBi/T9Ar3zS6M8sAF8+WTfYQF/+JdZ5MYCa0wyqP
VEI5aF0/++/Z4aCaMXnnSQ0WC4NLMccfwzll7p7HCLmjtaQ30XQthB2qTpw36LKi
K2DclaPl3Qb/vtCdFcgbLhfZnZ70CvAsERZKFB8ruc9YtFjVlaD+F3hRYsOihxEY
2C/G0q3JJmQ=
=NnH5
-----END PGP SIGNATURE-----
diff -ruN file-5.19.old/debian/patches/0013-document-file-d.patch file-5.19/debian/patches/0013-document-file-d.patch
--- file-5.19.old/debian/patches/0013-document-file-d.patch	1970-01-01 01:00:00.000000000 +0100
+++ file-5.19/debian/patches/0013-document-file-d.patch	2014-10-08 12:40:27.538075456 +0200
@@ -0,0 +1,15 @@
+Description: Document file's -d flag in man page
+Author: Sebastian Schmidt <y...@yath.de>
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/doc/file.man
++++ b/doc/file.man
+@@ -180,6 +180,8 @@
+ This is usually used in conjunction with the
+ .Fl m
+ flag to debug a new magic file before installing it.
++.It Fl d
++Print magic debugging information to stderr.
+ .It Fl E
+ On filesystem errors (file not found etc), instead of handling the error
+ as regular output as POSIX mandates and keep going, issue an error message
diff -ruN file-5.19.old/debian/patches/series file-5.19/debian/patches/series
--- file-5.19.old/debian/patches/series	2014-10-08 12:40:05.350076152 +0200
+++ file-5.19/debian/patches/series	2014-10-08 12:40:27.538075456 +0200
@@ -10,3 +10,4 @@
 0011-btrfs.patch
 0012-lxt.patch
 cherry-pick.FILE5_19-18-g0641e56.CVE-2014-3587.patch
+0013-document-file-d.patch

Reply via email to