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

Bug#666765: lintian: Add libav libraries to embedded-library check



Package: lintian
Version: 2.5.6
Severity: wishlist
Tags: patch

Embedded libav libraries should be checked for in the 'embedded-library' check.
Reasons for this are as follow.

 * libav is a heavily used multimedia library. Many multimedia related packages
   (apps, frameworks, etc.) use libav in one form or another.
 * libav sees at least 10 security related fixes each point release.
 * In Debian, it was already expected that no package should use an embedded
   copy of any of the libav libraries.

Attached is a patch that will add the libav libraries into the
'embedded-libraries' lintian check.

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

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

Versions of packages lintian depends on:
ii  binutils                       2.22-6
ii  bzip2                          1.0.6-1
ii  diffstat                       1.55-2
ii  file                           5.11-1
ii  gettext                        0.18.1.1-5
ii  intltool-debian                0.35.0+20060710.1
ii  libapt-pkg-perl                0.1.26
ii  libc-bin                       2.13-27
ii  libclass-accessor-perl         0.34-1
ii  libclone-perl                  0.31-1+b2
ii  libdpkg-perl                   1.16.2
ii  libemail-valid-perl            0.187-2
ii  libipc-run-perl                0.91-1
ii  libparse-debianchangelog-perl  1.2.0-1
ii  libtimedate-perl               1.2000-1
ii  liburi-perl                    1.60-1
ii  locales                        2.13-27
ii  locales-all [locales]          2.13-27
ii  man-db                         2.6.1-2
ii  patchutils                     0.3.2-1.1
ii  perl [libdigest-sha-perl]      5.14.2-9
ii  unzip                          6.0-6

lintian recommends no packages.

Versions of packages lintian suggests:
ii  binutils-multiarch     <none>
ii  dpkg-dev               1.16.2
ii  libhtml-parser-perl    3.69-1+b1
ii  libtext-template-perl  1.45-2
ii  man-db                 2.6.1-2
ii  xz-utils               5.1.1alpha+20110809-3

-- no debconf information
>From 9d3349195b9618aab5f7e1c67e4094400edc5392 Mon Sep 17 00:00:00 2001
From: Andres Mejia <amejia004@gmail.com>
Date: Sat, 31 Mar 2012 16:19:50 -0400
Subject: [PATCH] Add check for embedded libav/ffmpeg libraries. It seems that
 libav/ffmpeg gets at least 10 security fixes every point
 release. A point release seems to be made once every 2
 months. Given this, embedding the libav/ffmpeg libs in an
 app should now be an error.

---
 checks/binaries |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/checks/binaries b/checks/binaries
index 2117659..57f103d 100644
--- a/checks/binaries
+++ b/checks/binaries
@@ -119,6 +119,13 @@ our %EMBEDDED_LIBRARIES = (
         'glee'          => qr'Extension name exceeds 1023 characters.',
         'glew'          => qr'Missing GL version',
         'libtheora'     => qr'Xiph.Org libtheora ',
+        'libavcodec'    => qr'insufficient thread locking around avcodec_open/close\(\)\n',
+        'libavdevice'   => qr'Soundcard does not support 16 bit sample format\n',
+        'libavfilter'   => qr'Buffer video frames, and make them accessible to the filterchain.',
+        'libavformat'   => qr'Format detected only with low score of %d, misdetection possible!\n',
+        'libavutil'     => qr'AVOption type %d of option %s not implemented yet\n',
+        'libpostproc'   => qr'using npp filters 0x%X/0x%X\n',
+        'libswscale'    => qr'Exactly one scaler algorithm must be chosen\n',
 );
 
 our $MULTIARCH_DIRS = Lintian::Data->new('binaries/multiarch-dirs', '\s+');
-- 
1.7.9.5


Reply to: