diff -Nru libpng-1.2.49/debian/changelog libpng-1.2.49/debian/changelog --- libpng-1.2.49/debian/changelog 2013-10-06 01:40:09.000000000 +0200 +++ libpng-1.2.49/debian/changelog 2013-11-06 16:07:22.000000000 +0100 @@ -1,3 +1,11 @@ +libpng (1.2.49-5ubuntu1) trusty; urgency=low + + * Merge from Debian unstable. Remaining changes: + - Add debian/tests: Simple compile/link/run autopkgtest + (LP: #1248573) + + -- Louis Bouchard Wed, 06 Nov 2013 16:06:30 +0100 + libpng (1.2.49-5) unstable; urgency=low [ Slávek Banko ] @@ -12,6 +20,15 @@ -- Anibal Monsalve Salazar Sun, 06 Oct 2013 10:31:53 +1100 +libpng (1.2.49-4ubuntu1) saucy; urgency=low + + * Merge from Debian unstable. Remaining changes: + - Revert to gzip compression for libpng12-0's data tarball. Packages in + the base system may not use bzip2. + - Add debian/tests: Simple compile/link/run autopkgtest + + -- Jackson Doak Thu, 22 Aug 2013 16:05:43 +1000 + libpng (1.2.49-4) unstable; urgency=low [ Andreas Beckmann ] @@ -36,6 +53,20 @@ -- Anibal Monsalve Salazar Fri, 13 Jul 2012 12:31:39 +1000 +libpng (1.2.49-1ubuntu2) raring; urgency=low + + * Add debian/tests: Simple compile/link/run autopkgtest. (LP: #1073538) + + -- Rafał Cieślak Wed, 31 Oct 2012 16:43:53 +0100 + +libpng (1.2.49-1ubuntu1) quantal; urgency=low + + * Merge from Debian unstable. Remaining changes: + - Revert to gzip compression for libpng12-0's data tarball. Packages in + the base system may not use bzip2. + + -- Marc Deslauriers Thu, 24 May 2012 10:13:23 -0400 + libpng (1.2.49-1) unstable; urgency=high * New upstream version 1.2.49 @@ -86,6 +117,42 @@ -- Nobuhiro Iwamatsu Mon, 09 Jan 2012 21:23:43 +0900 +libpng (1.2.46-3ubuntu4) precise; urgency=low + + * SECURITY UPDATE: denial of service and possible code execution via + memory corruption issue. + - debian/patches/CVE-2011-3048.patch: correctly restore to previous + condition in pngset.c. + - CVE-2011-3048 + + -- Marc Deslauriers Thu, 05 Apr 2012 08:21:56 -0400 + +libpng (1.2.46-3ubuntu3) precise; urgency=low + + * SECURITY UPDATE: denial of service and possible code execution via + incorrect type. + - debian/patches/CVE-2011-3045.patch: use correct type, properly handle + odd chunk lengths, fix off-by-one in pngrutil.c. + - CVE-2011-3045 + + -- Marc Deslauriers Wed, 21 Mar 2012 13:16:18 -0400 + +libpng (1.2.46-3ubuntu2) precise; urgency=low + + * SECURITY UPDATE: fix integer overflow / truncation + - debian/patches/CVE-2011-3026.patch: adjust pngrutil.c to verify size + when allocating memory in png_decompress_chunk() + - CVE-2011-3026 + + -- Jamie Strandboge Wed, 15 Feb 2012 21:10:29 -0600 + +libpng (1.2.46-3ubuntu1) oneiric; urgency=low + + * Revert to gzip compression for libpng12-0's data tarball. Packages in + the base system may not use bzip2. + + -- Colin Watson Wed, 10 Aug 2011 21:25:16 +0100 + libpng (1.2.46-3) unstable; urgency=low * libpng12-0-udeb: Don't use bzip2 compression diff -Nru libpng-1.2.49/debian/control libpng-1.2.49/debian/control --- libpng-1.2.49/debian/control 2013-10-06 01:37:50.000000000 +0200 +++ libpng-1.2.49/debian/control 2013-10-06 05:38:55.000000000 +0200 @@ -1,7 +1,8 @@ Source: libpng Section: libs Priority: optional -Maintainer: Anibal Monsalve Salazar +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Anibal Monsalve Salazar Uploaders: Nobuhiro Iwamatsu Build-Depends: debhelper (>= 8.1.3), libtool, automake, autoconf, zlib1g-dev, mawk Standards-Version: 3.9.4 @@ -29,6 +30,7 @@ Conflicts: libpng2-dev, libpng-dev, libpng12-0-dev, libpng2 (<< 1.0.12-3) Provides: libpng-dev, libpng12-0-dev, libpng3-dev Replaces: libpng3-dev (<= 1.2.5), libpng12-0-dev +XS-Testsuite: autopkgtest Description: PNG library - development libpng is a library implementing an interface for reading and writing PNG (Portable Network Graphics) format files. diff -Nru libpng-1.2.49/debian/rules libpng-1.2.49/debian/rules --- libpng-1.2.49/debian/rules 2013-10-06 01:29:30.000000000 +0200 +++ libpng-1.2.49/debian/rules 2013-10-06 05:38:55.000000000 +0200 @@ -81,7 +81,7 @@ dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a - dh_builddeb -plibpng12-0 -- -Zbzip2 -z9 + dh_builddeb -plibpng12-0 dh_builddeb -plibpng12-dev -- -Zbzip2 -z9 dh_builddeb -plibpng3 -- -Zbzip2 -z9 dh_builddeb -plibpng12-0-udeb diff -Nru libpng-1.2.49/debian/tests/build libpng-1.2.49/debian/tests/build --- libpng-1.2.49/debian/tests/build 1970-01-01 01:00:00.000000000 +0100 +++ libpng-1.2.49/debian/tests/build 2013-08-23 04:26:22.000000000 +0200 @@ -0,0 +1,25 @@ +#!/bin/sh +# autopkgtest check: Builds a small application against libpng, checking +# if it compiles, links and runs successfully. +# Author: Rafał Cieślak + +set -e + +WORKDIR=$(mktemp -d) +trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM +cd $WORKDIR +cat < build_test.c +#include +int main(int argc, char** argv) { + png_structp png_ptr = NULL; + //Just creating a simple wrie struct. + png_ptr = png_create_write_struct (PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); + if(!png_ptr) return 1; + return 0; +} +EOF +gcc -o build_test build_test.c -lpng +echo "build: OK" +[ -x build_test ] +./build_test +echo "run: OK" diff -Nru libpng-1.2.49/debian/tests/control libpng-1.2.49/debian/tests/control --- libpng-1.2.49/debian/tests/control 1970-01-01 01:00:00.000000000 +0100 +++ libpng-1.2.49/debian/tests/control 2013-08-23 04:26:22.000000000 +0200 @@ -0,0 +1,2 @@ +Tests: build +Depends: build-essential, libpng12-dev