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

[SCM] Debian package checker branch, master, updated. 2.4.2-11-gf4f7153



The following commit has been merged in the master branch:
commit f4f71539870a68429f632afe3f0a6ae7e98da313
Author: Raphael Geissert <atomo64@gmail.com>
Date:   Tue Jul 13 14:31:02 2010 -0500

    Also detect embedded copies of libxml2

diff --git a/checks/binaries b/checks/binaries
index 0bfb7cd..23e5868 100644
--- a/checks/binaries
+++ b/checks/binaries
@@ -74,6 +74,7 @@ our %arch_64bit_equivs = (
 
 our %EMBEDDED_LIBRARIES = (
 	'bzip2'		=> qr'(?m)^This is a bug in bzip2',
+	'libxml2'	=> qr'root and DTD name do not match',
 	'pcre3'		=> qr'this version of PCRE is not compiled with PCRE_UTF8 support',
 	'tiff'		=> qr'No space for PixarLog state block',
 );
diff --git a/debian/changelog b/debian/changelog
index 31cc882..91c63fc 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,7 +5,7 @@ lintian (2.4.3) UNRELEASED; urgency=low
       - embedded-library
 
   * checks/binaries{,.desc}:
-    + [RG] Detect embedded copies of libbz2, pcre3, and tiff.
+    + [RG] Detect embedded copies of libbz2, pcre3, tiff, and libxml2.
     + [RG] Recognise powerpcspe and sh4 ELF objects.
   * checks/files
     + [RG] Detect embedded copies of HTMLPurifier.
diff --git a/t/tests/binaries-embedded-libs/debian/Makefile b/t/tests/binaries-embedded-libs/debian/Makefile
index 8629642..fc28975 100644
--- a/t/tests/binaries-embedded-libs/debian/Makefile
+++ b/t/tests/binaries-embedded-libs/debian/Makefile
@@ -1,4 +1,4 @@
-BINARIES :=  zlib libpng libjpeg libopenjpeg libtiff libpcre3 libbz2
+BINARIES :=  zlib libpng libjpeg libopenjpeg libtiff libpcre3 libbz2 libxml2
 MANPAGES := $(patsubst %,%.1,$(BINARIES))
 
 all: $(BINARIES) $(MANPAGES)
diff --git a/t/tests/binaries-embedded-libs/debian/libxml2.c b/t/tests/binaries-embedded-libs/debian/libxml2.c
new file mode 100644
index 0000000..609602f
--- /dev/null
+++ b/t/tests/binaries-embedded-libs/debian/libxml2.c
@@ -0,0 +1,10 @@
+#include <stdio.h>
+
+static const char root_dtd_mismatch[]
+    = "root and DTD name do not match '%s' and '%s'";
+
+int
+main(void)
+{
+    printf("%s\n", root_dtd_mismatch);
+}
diff --git a/t/tests/binaries-embedded-libs/tags b/t/tests/binaries-embedded-libs/tags
index 2cf9ab0..53b0dbe 100644
--- a/t/tests/binaries-embedded-libs/tags
+++ b/t/tests/binaries-embedded-libs/tags
@@ -4,4 +4,5 @@ E: binaries-embedded-libs: embedded-libpng ./usr/bin/libpng
 E: binaries-embedded-libs: embedded-library ./usr/bin/libbz2: bzip2
 E: binaries-embedded-libs: embedded-library ./usr/bin/libpcre3: pcre3
 E: binaries-embedded-libs: embedded-library ./usr/bin/libtiff: tiff
+E: binaries-embedded-libs: embedded-library ./usr/bin/libxml2: libxml2
 E: binaries-embedded-libs: embedded-zlib ./usr/bin/zlib

-- 
Debian package checker


Reply to: