--- tiff-3.8.2.orig/debian/patches/soname.patch +++ tiff-3.8.2/debian/patches/soname.patch @@ -0,0 +1,36 @@ +--- libtiff/Makefile.am.orig 2005-07-27 15:22:58.000000000 -0400 ++++ libtiff/Makefile.am 2005-12-29 21:01:13.097527248 -0500 +@@ -108,7 +108,7 @@ + libtiff_la_SOURCES = $(SRCS) + libtiff_la_LDFLAGS = \ + -no-undefined \ +- -version-number $(LIBTIFF_VERSION_INFO) ++ -version-number 4:2:1 + if HAVE_RPATH + libtiff_la_LDFLAGS += $(LIBDIR) + endif +@@ -117,7 +117,7 @@ + libtiffxx_la_SOURCES = $(SRCSXX) + libtiffxx_la_LDFLAGS = \ + -no-undefined \ +- -version-number $(LIBTIFF_VERSION_INFO) ++ -version-number 0:0:6 + if HAVE_RPATH + libtiffxx_la_LDFLAGS += $(LIBDIR) + endif +--- libtiff/Makefile.in.orig 2005-12-29 16:49:57.000000000 -0500 ++++ libtiff/Makefile.in 2005-12-29 21:01:13.097527248 -0500 +@@ -347,11 +347,11 @@ + lib_LTLIBRARIES = libtiff.la $(am__append_2) + libtiff_la_SOURCES = $(SRCS) + libtiff_la_LDFLAGS = -no-undefined -version-number \ +- $(LIBTIFF_VERSION_INFO) $(am__append_3) ++ 4:2:1 $(am__append_3) + libtiff_la_LIBADD = $(LIBPORT) + libtiffxx_la_SOURCES = $(SRCSXX) + libtiffxx_la_LDFLAGS = -no-undefined -version-number \ +- $(LIBTIFF_VERSION_INFO) $(am__append_4) ++ 0:0:6 $(am__append_4) + libtiffxx_la_LIBADD = $(LIBTIFF) $(LIBPORT) + libtiffxx_la_DEPENDENCIES = libtiff.la + mkg3states_SOURCES = mkg3states.c tif_fax3.h --- tiff-3.8.2.orig/debian/patches/tiff2pdf-compression.patch +++ tiff-3.8.2/debian/patches/tiff2pdf-compression.patch @@ -0,0 +1,44 @@ +--- tiff-3.8.2/tools/tiff2pdf.c 8 Jun 2006 11:27:11 -0000 1.35 ++++ tiff-3.8.2/tools/tiff2pdf.c 19 Jun 2006 20:12:08 -0000 1.36 +@@ -937,7 +937,7 @@ + + #ifdef JPEG_SUPPORT + if(t2p->pdf_defaultcompression==T2P_COMPRESS_JPEG){ +- if(t2p->pdf_defaultcompressionquality<100 || ++ if(t2p->pdf_defaultcompressionquality>100 || + t2p->pdf_defaultcompressionquality<1){ + t2p->pdf_defaultcompressionquality=0; + } +@@ -945,25 +945,17 @@ + #endif + #ifdef ZIP_SUPPORT + if(t2p->pdf_defaultcompression==T2P_COMPRESS_ZIP){ +- switch (t2p->pdf_defaultcompressionquality){ +- case 1: case 10: case 11: case 12: case 13: case 14: case 15: +- case 101: case 110: case 111: case 112: case 113: case 114: case 115: +- case 201: case 210: case 211: case 212: case 213: case 214: case 215: +- case 301: case 310: case 311: case 312: case 313: case 314: case 315: +- case 401: case 410: case 411: case 412: case 413: case 414: case 415: +- case 501: case 510: case 511: case 512: case 513: case 514: case 515: +- case 601: case 610: case 611: case 612: case 613: case 614: case 615: +- case 701: case 710: case 711: case 712: case 713: case 714: case 715: +- case 801: case 810: case 811: case 812: case 813: case 814: case 815: +- case 901: case 910: case 911: case 912: case 913: case 914: case 915: +- break; +- default: +- t2p->pdf_defaultcompressionquality=0; ++ uint16 m=t2p->pdf_defaultcompressionquality%100; ++ if(t2p->pdf_defaultcompressionquality/100 > 9 || ++ (m>1 && m<10) || m>15){ ++ t2p->pdf_defaultcompressionquality=0; + } + if(t2p->pdf_defaultcompressionquality%100 !=0){ ++ t2p->pdf_defaultcompressionquality/=100; ++ t2p->pdf_defaultcompressionquality*=100; + TIFFError( + TIFF2PDF_MODULE, +- "PNG Group predictor differencing not implemented, assuming compresion quality %u", ++ "PNG Group predictor differencing not implemented, assuming compression quality %u", + t2p->pdf_defaultcompressionquality); + } + t2p->pdf_defaultcompressionquality%=100; --- tiff-3.8.2.orig/debian/patches/tiff2pdf-octal-printf.patch +++ tiff-3.8.2/debian/patches/tiff2pdf-octal-printf.patch @@ -0,0 +1,11 @@ +--- tiff-3.8.2/tools/tiff2pdf.c.orig 2006-03-21 11:42:51.000000000 -0500 ++++ tiff-3.8.2/tools/tiff2pdf.c 2006-06-07 17:54:01.027637232 -0400 +@@ -3668,7 +3668,7 @@ + written += TIFFWriteFile(output, (tdata_t) "(", 1); + for (i=0;i 2) +- strcpy(fname, argv[2]); ++ snprintf(fname, sizeof(fname), "%s", argv[2]); + in = TIFFOpen(argv[1], "r"); + if (in != NULL) { + do { + char path[1024+1]; + newfilename(); +- strcpy(path, fname); +- strcat(path, ".tif"); ++ snprintf(path, sizeof(path), "%s.tif", fname); + out = TIFFOpen(path, TIFFIsBigEndian(in)?"wb":"wl"); + if (out == NULL) + return (-2); --- tiff-3.8.2.orig/debian/libtiff4.doc-base +++ tiff-3.8.2/debian/libtiff4.doc-base @@ -0,0 +1,9 @@ +Document: libtiff4 +Title: TIFF Software +Author: Sam Leffler +Abstract: Support for the Tag Image File Format (TIFF) for storing image data. +Section: Apps/Graphics + +Format: HTML +Index: /usr/share/doc/libtiff4/html/index.html +Files: /usr/share/doc/libtiff4/html/*.html --- tiff-3.8.2.orig/debian/control +++ tiff-3.8.2/debian/control @@ -0,0 +1,62 @@ +Source: tiff +Section: libs +Priority: optional +Maintainer: Jay Berkenbilt +Uploaders: Josip Rodin +Build-Depends: cdbs, debhelper (>= 4.1.0), zlib1g-dev, libjpeg62-dev, libxmu-dev, libglu1-mesa-dev, freeglut3-dev, libxi-dev +Standards-Version: 3.7.2 + +Package: libtiff4 +Architecture: any +Depends: ${shlibs:Depends} +Description: Tag Image File Format (TIFF) library + libtiff is a library providing support for the Tag Image File Format + (TIFF), a widely used format for storing image data. This package + includes the shared library. + +Package: libtiffxx0c2 +Architecture: any +Depends: ${shlibs:Depends} +Conflicts: libtiffxx0 +Replaces: libtiffxx0 +Description: Tag Image File Format (TIFF) library -- C++ interface + libtiff is a library providing support for the Tag Image File Format + (TIFF), a widely used format for storing image data. This package + includes the shared library for the experimental C++ interfaces. + +Package: libtiff4-dev +Section: libdevel +Architecture: any +Depends: libtiff4 (= ${Source-Version}), libtiffxx0c2 (= ${Source-Version}), libc6-dev | libc-dev, zlib1g-dev, libjpeg62-dev +Conflicts: libtiff3g-dev, libtiff3-dev, libtiff-dev +Provides: libtiff-dev +Description: Tag Image File Format library (TIFF), development files + libtiff is a library providing support for the Tag Image File Format + (TIFF), a widely used format for storing image data. This package + includes the development files, static library, and header files. + +Package: libtiff-tools +Section: graphics +Architecture: any +Depends: ${shlibs:Depends} +Suggests: libtiff-opengl +Conflicts: libtiff3 (<< 3.4beta037-1), libtiff3-gif +Replaces: libtiff3-gif +Description: TIFF manipulation and conversion tools + libtiff is a library providing support for the Tag Image File Format + (TIFF), a widely used format for storing image data. This package + includes tools for converting TIFF images to and from other formats + and tools for doing simple manipulations of TIFF images. See also + libtiff-opengl. + +Package: libtiff-opengl +Section: graphics +Architecture: any +Depends: ${shlibs:Depends} +Replaces: libtiff-tools (<< 3.7.0-2) +Description: TIFF manipulation and conversion tools + libtiff is a library providing support for the Tag Image File Format + (TIFF), a widely used format for storing image data. This package + contains libtiff tools that depend upon opengl. It complements the + libtiff-tools package, which contains the libtiff tools that don't + depend upon opengl. --- tiff-3.8.2.orig/debian/libtiff-tools.install +++ tiff-3.8.2/debian/libtiff-tools.install @@ -0,0 +1,2 @@ +debian/tmp/usr/bin +debian/tmp/usr/share/man/man1 --- tiff-3.8.2.orig/debian/libtiff4-dev.install +++ tiff-3.8.2/debian/libtiff4-dev.install @@ -0,0 +1,5 @@ +debian/tmp/usr/lib/lib*.so +debian/tmp/usr/lib/lib*.a +debian/tmp/usr/lib/lib*.la +debian/tmp/usr/include +debian/tmp/usr/share/man/man3 --- tiff-3.8.2.orig/debian/libtiff4.shlibs +++ tiff-3.8.2/debian/libtiff4.shlibs @@ -0,0 +1 @@ +libtiff 4 libtiff4 --- tiff-3.8.2.orig/debian/libtiffxx0c2.shlibs +++ tiff-3.8.2/debian/libtiffxx0c2.shlibs @@ -0,0 +1 @@ +libtiffxx 0 libtiffxx0c2 --- tiff-3.8.2.orig/debian/changelog +++ tiff-3.8.2/debian/changelog @@ -0,0 +1,455 @@ +tiff (3.8.2-5) unstable; urgency=low + + * Fix logic error that caused -q flag to be ignored when doing jpeg + compression with tiff2pdf. (Closes: #373102) + + -- Jay Berkenbilt Mon, 19 Jun 2006 18:55:38 -0400 + +tiff (3.8.2-4) unstable; urgency=high + + * SECURITY UPDATE: Arbitrary command execution with crafted TIF files. + Thanks to Martin Pitt. (Closes: #371064) + * Add debian/patches/tiff2pdf-octal-printf.patch: + - tools/tiff2pdf.c: Fix buffer overflow due to wrong printf for octal + signed char (it printed a signed integer, which overflew the buffer and + was wrong anyway). + - CVE-2006-2193 + + -- Jay Berkenbilt Wed, 7 Jun 2006 17:52:12 -0400 + +tiff (3.8.2-3) unstable; urgency=high + + * SECURITY UPDATE: Arbitrary command execution with crafted long file + names. Thanks to Martin Pitt for forwarding this. + Add debian/patches/tiffsplit-fname-overflow.patch: + - tools/tiffsplit.c: Use snprintf instead of strcpy for copying the + user-specified file name into a statically sized buffer. + CVE-2006-2656. (Closes: #369819) + * Update standards version to 3.7.2. No changes required. + * Moved doc-base information to libtiff4 instead of libtiff4-dev. + + -- Jay Berkenbilt Thu, 1 Jun 2006 21:24:21 -0400 + +tiff (3.8.2-2) unstable; urgency=low + + * Fix build dependencies to get OpenGL utility libraries after new Xorg + packaging. (Closes: #365722) + * Updated standards version to 3.7.0; no changes required to package. + + -- Jay Berkenbilt Tue, 2 May 2006 10:10:45 -0400 + +tiff (3.8.2-1) unstable; urgency=low + + * New upstream release + + -- Jay Berkenbilt Tue, 28 Mar 2006 21:42:33 -0500 + +tiff (3.8.0-3) unstable; urgency=low + + * Switched build dependency from xlibmesa-gl-dev to libgl1-mesa-dev + (incorporating Ubunutu patch) + * Incorporated patch from upstream to fix handling of RGBA tiffs in + tiff2pdf. (Closes: #352849) + + -- Jay Berkenbilt Sun, 26 Feb 2006 13:21:17 -0500 + +tiff (3.8.0-2) unstable; urgency=low + + * Applied fixes from upstream to address a memory access violation + [CVE-2006-0405]. (Closes: #350715, #351223) + + -- Jay Berkenbilt Fri, 3 Feb 2006 21:48:39 -0500 + +tiff (3.8.0-1) unstable; urgency=low + + * New upstream release. (Closes: #349921) + * NOTE: The debian version of 3.8.0 includes a patch to correct a binary + incompatibility in the original 3.8.0 release. This libtiff package + is binary compatible with 3.7.4 and will be binary compatible with the + upcoming 3.8.1 release. + + -- Jay Berkenbilt Fri, 27 Jan 2006 21:38:58 -0500 + +tiff (3.7.4-1) unstable; urgency=low + + * New upstream release + * Fix typos in manual page (Closes: #327921, #327922, #327923, #327924) + + -- Jay Berkenbilt Fri, 7 Oct 2005 10:25:49 -0400 + +tiff (3.7.3-1) unstable; urgency=low + + * New upstream release + * g++ 4.0 transition: libtiffxx0 is now libtiffxx0c2. + + -- Jay Berkenbilt Sat, 9 Jul 2005 12:00:44 -0400 + +tiff (3.7.2-3) unstable; urgency=high + + * Fix for exploitable segmentation fault on files with bad BitsPerSample + values. (Closes: #309739) + [libtiff/tif_dirread.c, CAN-2005-1544] + Thanks to Martin Pitt for the report. + + -- Jay Berkenbilt Thu, 19 May 2005 05:41:28 -0400 + +tiff (3.7.2-2) unstable; urgency=high + + * Fix zero pagesize bug with tiff2ps -a2 and tiff2ps -a3. Thanks to + Patrice Fournier for the patch. (Closes: #303583) + * Note: uploading with urgency=high since this very small fix impacts + tools only (not the library), and we don't want to block tiff's many + reverse dependencies from transitioning to sarge. + + -- Jay Berkenbilt Sun, 10 Apr 2005 10:12:37 -0400 + +tiff (3.7.2-1) unstable; urgency=low + + * New upstream release + + -- Jay Berkenbilt Sat, 19 Mar 2005 14:51:06 -0500 + +tiff (3.7.1-4) unstable; urgency=low + + * Fix from upstream: include a better workaround for tiff files with + invalid strip byte counts. (Closes: #183268) + + -- Jay Berkenbilt Tue, 22 Feb 2005 19:20:14 -0500 + +tiff (3.7.1-3) unstable; urgency=low + + * Disable C++ new experimental interfaces for now; will reappear in a + future version in the separate libtiffxx0 package. + + -- Jay Berkenbilt Sat, 29 Jan 2005 13:32:37 -0500 + +tiff (3.7.1+pre3.7.2-1) experimental; urgency=low + + * New upstream release + * Separate experimental C++ interface into separate libtiffxx library. + + -- Jay Berkenbilt Sat, 29 Jan 2005 13:03:19 -0500 + +tiff (3.7.1-2) unstable; urgency=low + + * Make -dev package depend upon other -dev packages referenced in the + .la file created by libtool. (Closes: #291136) + * tiff2ps: Allow one of -w and -h without the other. (Closes: #244247) + + -- Jay Berkenbilt Wed, 19 Jan 2005 10:45:00 -0500 + +tiff (3.7.1-1) unstable; urgency=low + + * New upstream release + * Correct error in doc-base file (Closes: #285652) + + -- Jay Berkenbilt Wed, 5 Jan 2005 16:54:12 -0500 + +tiff (3.7.0-2) experimental; urgency=low + + * Replace hard-coded libc6-dev dependency with something friendlier to + porters (libc6-dev | libc-dev). (Closes: #179727) + * Fixed upstream: proper netbsdelf*-gnu support in configure. Actually + fixed in 3.7.0-1 but left out of changelog. (Closes: #179728) + * Include opengl support; adds new libtiff-opengl package. (Closes: #219456) + * Fixed upstream: fax2ps now allows access to first page. (Closes: #244251) + + -- Jay Berkenbilt Sat, 11 Dec 2004 09:51:52 -0500 + +tiff (3.7.0-1) experimental; urgency=low + + * New upstream release (Closes: #276996) + * New maintainer (Thanks Joy!) + * Repackage using cdbs and simple-patchsys to fix some errors and + simplify patch management + * Fixed upstream: tiff2pdf ignores -z and -j (Closes: #280682) + * Fixed upstream: Memory leak in TIFFClientOpen (Closes: #256657) + + -- Jay Berkenbilt Fri, 26 Nov 2004 13:50:13 -0500 + +tiff (3.6.1-5) unstable; urgency=high + + * New maintainer (thanks Joy!) + * Applied patch by Dmitry V. Levin to fix a segmentation fault + [tools/tiffdump.c, CAN-2004-1183] + Thanks to Martin Schulze for forwarding the patch. + * Fixed section of -dev package (devel -> libdevel) + + -- Jay Berkenbilt Wed, 5 Jan 2005 16:27:26 -0500 + +tiff (3.6.1-4) unstable; urgency=high + + * Fix heap overflow security bug [CAN-2004-1308]. (Closes: #286815) + + -- Jay Berkenbilt Wed, 22 Dec 2004 10:20:52 -0500 + +tiff (3.6.1-3) unstable; urgency=medium + + * Patches from upstream to fix zero-size tile and integer overflow + problems created by previous security patches, closes: #276783. + * Added Jay Berkenbilt as co-maintainer. Jay thanks Joy for letting him + help and eventually take over maintenance of these packages! + + -- Josip Rodin Mon, 01 Nov 2004 12:28:27 +0100 + +tiff (3.6.1-2) unstable; urgency=low + + * Included security fixes for: + + CAN-2004-0803 + - libtiff/tif_luv.c + - libtiff/tif_next.c + - libtiff/tif_thunder.c + + CAN-2004-0804 (but this one is already applied upstream, it seems) + - libtiff/tif_dirread.c + + CAN-2004-0886 + - libtiff/tif_aux.c + - libtiff/tif_compress.c + - libtiff/tif_dir.c + - libtiff/tif_dirinfo.c + - libtiff/tif_dirread.c + - libtiff/tif_dirwrite.c + - libtiff/tif_extension.c + - libtiff/tif_fax3.c + - libtiff/tiffiop.h + - libtiff/tif_getimage.c + - libtiff/tif_luv.c + - libtiff/tif_pixarlog.c + - libtiff/tif_strip.c + - libtiff/tif_tile.c + - libtiff/tif_write.c + Thanks to Martin Schulze for forwarding the patches. + + -- Josip Rodin Thu, 14 Oct 2004 16:13:11 +0200 + +tiff (3.6.1-1.1) unstable; urgency=medium + + * Non-maintainer upload; thanks to Jay Berkenbilt for + preparing the patches + * Rename shared library and development packages to resolve accidental + upstream ABI change. Closes: #236247 + * Include patch from upstream to fix multistrip g3 fax bug. + Closes: #243405 + * Include LZW support. Closes: #260242, #248490 + * Fix URL in copyright file. Closes: #261357 + * Install missing documentation files. Closes: #261356 + + -- Steve Langasek Sun, 25 Jul 2004 10:28:06 -0400 + +tiff (3.6.1-1) unstable; urgency=low + + * New upstream version, closes: #231977. + * Slightly fixed up the static lib build rules so that the build process + does the normal stuff for the dynamic lib and then does the static with + the same tiffvers.h. + + -- Josip Rodin Mon, 23 Feb 2004 18:23:34 +0100 + +tiff (3.5.7-2) unstable; urgency=high + + * Added back the patch that used -src static/libtiff.a in the install + rule. Wonder how that disappeared... closes: #170914. + * Fake it's a GNU system in order for the configure script to use our + toolchain stuff on the NetBSD port, thanks to Joel Baker, closes: #130636. + + -- Josip Rodin Tue, 10 Dec 2002 17:18:28 +0100 + +tiff (3.5.7-1) unstable; urgency=low + + * New upstream version, closes: #144940. + * A whole new set of patches for the breakage in the build system :) + + -- Josip Rodin Sun, 6 Oct 2002 22:54:08 +0200 + +tiff (3.5.5-6) unstable; urgency=low + + * It appears that the general 64-bit detection code, isn't. + We have to include all of those three conditions, feh. + This really closes: #106706. + + -- Josip Rodin Wed, 8 Aug 2001 23:09:55 +0200 + +tiff (3.5.5-5) unstable; urgency=low + + * Changed two Alpha/Mips-isms into general 64-bit detection code, + patch from John Daily , closes: #106706. + * Patched man/Makefile.in to generate a manual page file for + TIFFClientOpen(3t), as a .so link to TIFFOpen(3t), closes: #99577. + * Used /usr/share/doc in the doc-base file, closes: #74122. + * Changed libtiff3g-dev's section back to devel, since graphics was, + according to elmo, "hysterical raisins". :)) + + -- Josip Rodin Fri, 27 Jul 2001 01:43:04 +0200 + +tiff (3.5.5-4) unstable; urgency=low + + * Updated config.* files, closes: #94696. + * Fixed libtiff3g-dev's section, closes: #85533. + + -- Josip Rodin Wed, 20 Jun 2001 18:29:24 +0200 + +tiff (3.5.5-3) unstable; urgency=low + + * Build shared library on Hurd, too, closes: #72482. + * Upped Standards-Version to 3.5.0. + + -- Josip Rodin Sat, 30 Sep 2000 17:42:13 +0200 + +tiff (3.5.5-2) unstable; urgency=low + + * Make `dynamic shared object' on Linux unconditionally, fixes the problem + with libc.so.6.1 on alpha, thanks Chris C. Chimelis. + + -- Josip Rodin Wed, 13 Sep 2000 21:44:00 +0200 + +tiff (3.5.5-1) unstable; urgency=low + + * New upstream version. + * The upstream build system sucks. There, I said it. Back to work now. :) + * Added a build dependencies on make (>= 3.77) (closes: #67747) and + debhelper. + * Standards-Version: 3.2.1: + + added DEB_BUILD_OPTIONS checks in debian/rules + + -- Josip Rodin Tue, 29 Aug 2000 14:06:02 +0200 + +tiff (3.5.4-5) frozen unstable; urgency=low + + * Fixed 16-bit/32-bit values bug in fax2ps from libtiff-tools, that + also breaks printing from hylafax, using provided oneliner patch + from Bernd Herd (accepted upstream), closes: #49232 and probably #62235. + + -- Josip Rodin Mon, 27 Mar 2000 17:12:10 +0200 + +tiff (3.5.4-4) frozen unstable; urgency=low + + * Weird dpkg-shlibdeps from dpkg 1.6.8-pre has done it again, this time + with libz.so, making the packages depend on zlib1 (instead of zlib1g). + Closes: #56134, #56137, #56140, #56155. + + -- Josip Rodin Tue, 25 Jan 2000 18:05:28 +0100 + +tiff (3.5.4-3) frozen unstable; urgency=low + + * Included libtiff.so file in libtiff3g-dev, dammit :( My eye hurts, + a lot, but this was easy to fix, thank goodness :) (closes: #55814). + This bugfix deserves to get into frozen because the bug cripples + libtiff3g-dev, a lot. + + -- Josip Rodin Fri, 21 Jan 2000 19:02:22 +0100 + +tiff (3.5.4-2) unstable; urgency=low + + * Fixed upstream build system to use ${DESTDIR}, and with that working, + created install: rule in debian/rules and used it. + * Fixed the way rules file gets the version from upstream sources, + and fixed dist/tiff.alpha, it didn't work. + * Removed README file from libtiff3g binary package, useless. + * Fixed configure script not to emit the wrong warning about + zlib/jpeg dirs not specified (they're in /usr/include, stupid :). + + -- Josip Rodin Thu, 30 Dec 1999 01:17:32 +0100 + +tiff (3.5.4-1) unstable; urgency=low + + * New upstream version, closes: #50338. + * Disabled libc5 build, it wouldn't compile. :( + + -- Josip Rodin Fri, 3 Dec 1999 20:49:25 +0100 + +tiff (3.5.2-4) unstable; urgency=low + + * Castrated the rules file, to make it actually work on !(i386 m68k). + Closes: #49316. + + -- Josip Rodin Sat, 6 Nov 1999 13:22:54 +0100 + +tiff (3.5.2-3) unstable; urgency=low + + * Removed sparc from the libtiff3 arches list, as BenC advised. + + -- Josip Rodin Fri, 29 Oct 1999 23:29:23 +0200 + +tiff (3.5.2-2) unstable; urgency=low + + * Changed Architecture: line for libtiff3 from "any" to "i386 m68k sparc" + as it is actually only built on those. Changed description a little bit. + * Minor fixes to the rules file. + + -- Josip Rodin Thu, 28 Oct 1999 14:00:02 +0200 + +tiff (3.5.2-1) unstable; urgency=low + + * New upstream version. + * Renamed source package to just "tiff", like upstream tarball name. + * New maintainer (thanks Guy!). Renewed packaging, with debhelper, + using Joey's nifty multi2 example, with several adjustments. + * Ditched libtiff3-altdev, nobody's using that and nobody should be + using that. Packaging for it still exists, it's just commented out. + * Uses doc-base for -dev docs now. Uncompressed HTML docs, 100kb space + saved is pointless when you can't use any links between documents. + + -- Josip Rodin Tue, 26 Oct 1999 16:20:46 +0200 + +libtiff3 (3.4beta037-8) unstable; urgency=low + + * Argh, same bug in the prerm, closes: #36990, #36850, #36855, + #36866, #36988. + + -- Guy Maor Sat, 1 May 1999 10:12:23 -0700 + +libtiff3 (3.4beta037-7) unstable; urgency=low + + * Don't error when dhelp is not installed, closes: #36879, #36922. + + -- Guy Maor Thu, 29 Apr 1999 19:17:55 -0700 + +libtiff3 (3.4beta037-6) unstable; urgency=low + + * Only build libc5 packages on appropriate archs, closes: #27083, #32007. + * Apply NMU patch, closes: #26413, #26887. + * Add dhelp support, closes: #35154. + * Recompile removes invalid dependency, closes: #30961. + + -- Guy Maor Sat, 24 Apr 1999 15:17:51 -0700 + +libtiff3 (3.4beta037-5.1) frozen unstable; urgency=low + + * NMU to not use install -s to strip static .a libraries. Fixes: #26413 + * Build with recent libjpeg. Fixes: #26887 + * Add Section: and Priority: headers to debian/control. + + -- Ben Gertzfield Mon, 26 Oct 1998 22:44:33 -0800 + +libtiff3 (3.4beta037-5) unstable; urgency=low + + * Explicit link with -lm (and don't need -lc now), fixes: #19167, #22180. + + -- Guy Maor Tue, 11 Aug 1998 22:27:56 -0700 + +libtiff3 (3.4beta037-4) unstable; urgency=low + + * libtiff3-tools conflicts & replaces with libtiff3-gif (13521,15107). + + -- Guy Maor Sun, 11 Jan 1998 13:09:28 -0800 + +libtiff3 (3.4beta037-3) unstable; urgency=low + + * New libjpegg contains shlibs file, so don't need shlibs.local. + * Compile with -D_REENTRANT. + * Add shlibs for libtiff3g (13423). + + -- Guy Maor Sat, 27 Sep 1997 13:17:45 -0500 + +libtiff3 (3.4beta037-2) unstable; urgency=low + + * Add libjpegg6a to shlibs.local to correct for broken dependency. + + -- Guy Maor Fri, 26 Sep 1997 11:23:55 -0500 + +libtiff3 (3.4beta037-1) unstable; urgency=low + + * New upstream version, libc6 compile, policy 2.3.0.0 (5136, 7470, 7627, 8166 + 8312, 9479, 9492, 9531, 11700, 11702). + * Fix check for shared lib support (10805). + + -- Guy Maor Tue, 23 Sep 1997 16:55:56 -0500 --- tiff-3.8.2.orig/debian/rules +++ tiff-3.8.2/debian/rules @@ -0,0 +1,41 @@ +#!/usr/bin/make -f + +# Variables used by cdbs +VERSION := $(shell dpkg-parsechangelog | \ + awk '/Version:/ {print $$2}' | cut -d- -f 1) +DEB_TAR_SRCDIR = tiff-$(VERSION) +DEB_COMPRESS_EXCLUDE = html +export CPPFLAGS = -D_REENTRANT + +# Include cdbs rules files. +include /usr/share/cdbs/1/rules/tarball.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +DEB_CONFIGURE_USER_FLAGS = --with-docdir="\$${prefix}/share/doc/libtiff4" + +# As 0.4.21, cdbs creates but doesn't remove debian/compat. It +# creates it conditionally, so this doesn't have a trivial fix. +clean:: + $(RM) debian/compat *.cdbs-config_list + +# tiffgt is in libtiff-opengl so libtiff-tools doesn't have to have +# all the X and opengl dependencies. +binary-post-install/libtiff-tools:: + $(RM) debian/libtiff-tools/usr/bin/tiffgt + $(RM) debian/libtiff-tools/usr/share/man/man1/tiffgt.1* + +# Install lintian override files +binary-post-install/%:: + if [ -f debian/$*.lintian ]; then \ + mkdir -p debian/$*/usr/share/lintian/overrides && \ + cp -p debian/$*.lintian debian/$*/usr/share/lintian/overrides/$*; \ + fi + +# Point everyone's /usr/share/doc entry to libtiff4's +binary-predeb/%:: + if [ "$*" != "libtiff4" ]; then \ + $(RM) -r debian/$*/usr/share/doc/$*; \ + ln -s libtiff4 debian/$*/usr/share/doc/$*; \ + fi --- tiff-3.8.2.orig/debian/libtiff-opengl.lintian +++ tiff-3.8.2/debian/libtiff-opengl.lintian @@ -0,0 +1,5 @@ +# +# The synopsis line starts with a capital letter because of the TIFF +# acronym, not because it contains a sentence. +# +libtiff-opengl: description-synopsis-starts-with-a-capital-letter --- tiff-3.8.2.orig/debian/libtiff4.lintian +++ tiff-3.8.2/debian/libtiff4.lintian @@ -0,0 +1,5 @@ +# +# The synopsis line starts with a capital letter because of the TIFF +# acronym, not because it contains a sentence. +# +libtiff4: description-synopsis-starts-with-a-capital-letter --- tiff-3.8.2.orig/debian/libtiffxx0c2.lintian +++ tiff-3.8.2/debian/libtiffxx0c2.lintian @@ -0,0 +1,5 @@ +# +# The synopsis line starts with a capital letter because of the TIFF +# acronym, not because it contains a sentence. +# +libtiffxx0c2: description-synopsis-starts-with-a-capital-letter --- tiff-3.8.2.orig/debian/libtiff-opengl.install +++ tiff-3.8.2/debian/libtiff-opengl.install @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/tiffgt +debian/tmp/usr/share/man/man1/tiffgt.1 --- tiff-3.8.2.orig/debian/libtiff4.install +++ tiff-3.8.2/debian/libtiff4.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/libtiff.so.* +debian/tmp/usr/share/doc/libtiff4/html --- tiff-3.8.2.orig/debian/copyright +++ tiff-3.8.2/debian/copyright @@ -0,0 +1,37 @@ +libtiff was originally debianized by Guy Maor and +later maintained by Josip Rodin . Jay +Berkenbilt repackaged it in conjunction with the +3.7.0 release and is now the primary maintainer. + +Original source can be found at: http://www.remotesensing.org/libtiff/ + +Copyright (C) 1988-1997 Sam Leffler +Copyright (C) 1991-1997 Silicon Graphics, Inc. +Portions Copyright (C) 1985-1987, 1990 Regents of the University of California +Portions Copyright (C) 1990, 1991 Digital Equipment Corporation +Portions Copyright (C) 1990 Sun Microsystems, Inc. +Portions Copyright (C) 1990, 1995 Frank D. Cringle +Portions Copyright (C) 1996 BancTec AB +Portions Copyright (C) 1996 Mike Johnson +Portions Copyright (C) 1996 Pixar +Portions Copyright (C) 1997 Greg Ward Larson +Portions Copyright (C) 2000 Frank Warmerdam + +Permission to use, copy, modify, distribute, and sell this software and +its documentation for any purpose is hereby granted without fee, provided +that (i) the above copyright notices and this permission notice appear in +all copies of the software and related documentation, and (ii) the names of +Sam Leffler and Silicon Graphics may not be used in any advertising or +publicity relating to the software without the specific, prior written +permission of Sam Leffler and Silicon Graphics. + +THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, +EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY +WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. + +IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR +ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, +OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, +WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF +LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE +OF THIS SOFTWARE. --- tiff-3.8.2.orig/debian/libtiffxx0c2.install +++ tiff-3.8.2/debian/libtiffxx0c2.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/libtiffxx.so.* --- tiff-3.8.2.orig/debian/libtiff-tools.lintian +++ tiff-3.8.2/debian/libtiff-tools.lintian @@ -0,0 +1,5 @@ +# +# The synopsis line starts with a capital letter because of the TIFF +# acronym, not because it contains a sentence. +# +libtiff-tools: description-synopsis-starts-with-a-capital-letter --- tiff-3.8.2.orig/debian/libtiff4-dev.lintian +++ tiff-3.8.2/debian/libtiff4-dev.lintian @@ -0,0 +1,5 @@ +# +# The synopsis line starts with a capital letter because of the TIFF +# acronym, not because it contains a sentence. +# +libtiff4-dev: description-synopsis-starts-with-a-capital-letter --- tiff-3.8.2.orig/debian/README.Debian +++ tiff-3.8.2/debian/README.Debian @@ -0,0 +1,26 @@ +libtiff for Debian ++----------------+ + +This version of libtiff is installed with a different shared library +soname from the upstream version. This is because an accidental +change to the library's ABI was introduced somewhere between 3.5.7 and +3.6.1. There are no source-level incompatibilities between 3.5.7 and +the current version, so any application that worked with 3.5.7 should +work fine when recompiled with the libtiff4 packages. + +libtiff version 3.7.1 introduced an experimental and minimal C++ +interface. To use it, you must link against -ltiffxx. + +libtiff version 3.8.0 upstream introduced another binary +incompatibility, but it was fixed within a few days of 3.8.0's +release, and the binary incompatible never appeared in any debian +version of the tiff packages. + +Example tiff files are available: + + ftp://ftp.remotesensing.org/pub/libtiff/pics-.tar.gz + +These files may be useful for people testing software to make sure it +can work with a wide variety of tiff files. + + -- Jay Berkenbilt , Tue, 28 Mar 2006 21:39:25 -0500 --- tiff-3.8.2.orig/README.maintainer +++ tiff-3.8.2/README.maintainer @@ -0,0 +1,16 @@ + +The tiff upstream maintainers have a tendency to make mistakes that +introduce binary incompatibility between one version of tiff and +another. In order to verify binary compatibility, it is strongly +recommended to build a new library and install the new library without +installing the new tools. Then test the tools with the test images +provided by upstream. + +Additionally, when checking the sources to look for ABI changes, you +must check both the public header files (tiff.h and tiffio.h) and the +source file libtiff/tif_dirinfo.c which maps tag names to types. +Changes in the tag name to type mapping also result in binary +incompatibility because of the field setting and getting functions +using variable arguments. + + -- Jay Berkenbilt , Tue Mar 28 21:37:40 2006