--- openexr-1.6.1.orig/debian/exrmaketiled.1 +++ openexr-1.6.1/debian/exrmaketiled.1 @@ -0,0 +1,73 @@ +\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH EXRMAKETILED 1 "March 31, 2004" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +exrmaketiled \- for generating tiled and rip/mipmapped images. +.SH SYNOPSIS +.B exrmaketiled +.RI "[options] infile outfile" +.SH DESCRIPTION +This manual page documents briefly the +.B exrmaketiled +command. +This manual page was written for the Debian distribution because the original +program does not have a manual page. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. + +\fBexrmaketiled\fP reads an OpenEXR image from infile, produces a tiled version +of the image, and saves the result in outfile. + +.SH OPTIONS +.TP +.B \-o +produces a ONE_LEVEL image (default) +.TP +.B \-m +produces a MIPMAP_LEVELS multiresolution image +.TP +.B \-r +produces a RIPMAP_LEVELS multiresolution image +.TP +.B \-f c +when a MIPMAP_LEVELS or RIPMAP_LEVELS image is produced, image channel c will +be resampled without low\-pass filtering. This option can be specified +multiple times to disable low\-pass filtering for mutiple channels. +.TP +.B \-t x y +sets the tile size in the output image to x by y pixels (default is 64 by 64) +.TP +.B \-d +sets level size rounding to ROUND_DOWN (default) +.TP +.B \-u +sets level size rounding to ROUND_UP +.TP +.B \-z x +sets the data compression method to x (none/rle/zip/piz/pxr24, default is zip) +.TP +.B \-v +verbose mode +.TP +.B \-h +prints these options + +.SH AUTHOR +This manual page was written by Andrew Lau , +for the Debian GNU/Linux system (but may be used by others). --- openexr-1.6.1.orig/debian/openexr.postinst +++ openexr-1.6.1/debian/openexr.postinst @@ -0,0 +1,19 @@ +#!/bin/sh +# $Id$ +# vim:ts=4:sw=4:expandtab: + +set -e + +if [ "$1" = "configure" ] +then + # Convert empty directory into a symlink + if [ ! -L /usr/share/doc/openexr ] + then + rm -rf /usr/share/doc/openexr + ln -s /usr/share/doc/libopenexr6 /usr/share/doc/openexr + fi +fi + +#DEBHELPER# + +exit 0 --- openexr-1.6.1.orig/debian/exrmakepreview.1 +++ openexr-1.6.1/debian/exrmakepreview.1 @@ -0,0 +1,56 @@ +\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH EXRMAKEPREVIEW 1 "March 31, 2004" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +exrmakepreview \- for creating preview images for OpenEXR files. +.SH SYNOPSIS +.B exrmakepreview +.RI "[options] infile outfile" +.SH DESCRIPTION +This manual page documents briefly the +.B exrmakepreview +command. +This manual page was written for the Debian distribution because the original +program does not have a manual page. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. + +\fBexrmakepreview\fP reads an OpenEXR image from infile, generates a preview +image, adds it to the image's header, and saves the result in outfile. Note +that the infile and outfile must not refer to the same file (i.e. the program +cannot edit an image file "in place"). + +.SH OPTIONS +.TP +.B \-w x +sets the width of the preview image to x pixels (default is 100) +.TP +.B \-e s +adjusts the preview image's exposure by s f-stops (default is 0). Positive +values make the image brighter, negative values make it darker. +.TP +.B \-v +verbose mode +.TP +.B \-h +prints these options + +.SH AUTHOR +This manual page was written by Andrew Lau , +for the Debian GNU/Linux system (but may be used by others). --- openexr-1.6.1.orig/debian/changelog +++ openexr-1.6.1/debian/changelog @@ -0,0 +1,244 @@ +openexr (1.6.1-4.1) unstable; urgency=high + + * Non-maintainer upload by the Security Team. + * Fixed CVE-2009-1720: Integer overflows in Imf::PreviewImage::PreviewImage + and integer overflows in compressor constructors + * Fixed CVE-2009-1721: uninitialized pointers in Imf::hufUncompress + * Patch stolen from stable-security, thanks to Cyril Brulebois + (Closes: #550424) + + -- Giuseppe Iuculano Wed, 21 Oct 2009 23:54:35 +0200 + +openexr (1.6.1-4) unstable; urgency=low + + * Adopt the package within pkg-phototools (Closes: #494877): + - Thanks to Adeodato Simó et al. for having taken care of it until + now! + - Set Maintainer to the group. + - Set Uploaders to myself. + - Update Vcs-{Git,Browser}. + - Remove XS-X-Collab-Maint field, no longer relevant. Patches are + still welcome, though! + * Switch to debhelper 7: + - Bump debian/compat to 7. + - Version the B-D on debhelper: >= 7.0.50 to allow the use of + overrides. + - Specify some overrides to tweak as needed for the build: + - dh_auto_configure: pass the --with-openexr flag to configure + script. + - dh_auto_test: don't run “check” on arm and ia64 for now, and + bypass dh_auto_test due to bad target detection. + - dh_compress: no longer compress .h/.cpp examples. + - dh_link: needed since libopenexr-dev's and openexr's /us/s/d + directories are symlinks to libopenexr6's one. + - dh_makeshlibs: keep on using -V. + - dh_installdeb: add a call to dh_buildinfo to keep on storing the + versions of packages installed during the build. + - Specify some targets: + - build and clean to handle patching/unpatching and + updating/cleaning config.{guess,sub}. + * Now compress PDF documentation. Any sane PDF viewer should be able to + handle decompression. + * Remove .gitignore file. + * Add ${misc:Depends} to all binaries. + * Bump Standards-Version from 3.7.3 to 3.8.1 (no changes needed). + + -- Cyril Brulebois Sat, 11 Apr 2009 22:00:04 +0200 + +openexr (1.6.1-3) unstable; urgency=medium + + * Disable (hopefully temporarily) the test suite on arm and ia64. + + -- Adeodato Simó Mon, 24 Mar 2008 23:00:21 +0100 + +openexr (1.6.1-2) unstable; urgency=low + + * Upload to unstable. + + * Fix FTBFS with gcc 4.3, thanks Cyril Brulebois for the patch (closes: + #441573). Add quilt to Build-Depends. + + * Update Standards-Version to 3.7.3 (no changes needed). + + * Swap Maintainer and Uploaders in debian/control. + + * Move packaging to a git repository under collab-maint. Add a + X-Collab-Maint header. + + -- Adeodato Simó Sun, 16 Mar 2008 15:16:05 +0100 + +openexr (1.6.1-1) experimental; urgency=low + + * New upstream release. (Closes: #405783, #437494) + + New soname: rename package to libopenexr6, and drop old conflicts and + replaces. + + Build-depend on libilmbase-dev (Imath, Half et al. are now there). Make + libopenexr-dev depend on it as well, and drop bits from description that + allude to these other libraries. + + * The exrdisplay binary is no longer shipped by upstream in the openexr + tarball (it has moved to openexr_viewers): do not install it, nor its + manpage, drop build-dependencies on libfltk1.1-dev and OpenGL stuff, and + README.Debian as well, since they all were only needed for this program. + + * Adding myself as an uploader; add VCS-Bzr header. + + * Do some housekeeping: + + update debian/watch. + + bump debian/compat to 5. + + use ${binary:Version} instead of ${Source-Version}. + + bump Standards-Version to 3.7.2 (no changes needed). + + use a Homepage header, instead of the pseudo-header. + + * Run tests after building. + + * Drop all patches, unnecessary. + + -- Adeodato Simó Fri, 02 Nov 2007 22:20:53 +0100 + +openexr (1.2.2-4.4) unstable; urgency=low + + * Non-maintainer upload. + * Rename libopenexr2c2a to libopenexr2ldbl for the long double transition. + (Closes: #430286) + + -- Adeodato Simó Mon, 23 Jul 2007 16:34:02 +0200 + +openexr (1.2.2-4.3) unstable; urgency=medium + + * Non-maintainer upload. + * Fix build system not to create libraries with undefined symbols. Added + patch 01-libadd_to_prevent_undef_syms to properly define libImath_la_LIBADD + and libIlmImf_la_LIBADD in Makefile.am. (Closes: #370193) + + -- Adeodato Simó Sat, 10 Jun 2006 13:36:15 +0200 + +openexr (1.2.2-4.2) unstable; urgency=high + + * Non-maintainer upload. + * Add zlib1g-dev as build-dep (Closes: #356014). + + -- Luk Claes Mon, 27 Mar 2006 21:12:22 +0200 + +openexr (1.2.2-4.1) unstable; urgency=low + + * Non-maintainer upload. + + * libstdc++ allocator transition: rename libopenexr2c2 to libopenexr2c2a. + (Closes: #339241) + + + debian/control: rename package, make it replace and conflict + libopenexr2c2, update libopenexr-dev dependency. + + + debian/*: s/libopenexr2c2/libopenexr2c2a/g + + + mv debian/libopenexr2c2{,a}.install + + -- Adeodato Simó Sat, 26 Nov 2005 01:31:40 +0100 + +openexr (1.2.2-4) unstable; urgency=medium + + * FTBFS fix: Remove usage "ld --as-needed". + (closes: #323973) + + -- Andrew Lau Sat, 20 Aug 2005 00:52:05 +1000 + +openexr (1.2.2-3) unstable; urgency=medium + + * C++ transition + - Rename libopenexr2 to libopenexr2c2. + (closes: #317520) + - Patch to build with g++-4.0 + + [debian/patches/00_g++-4.0_compile.patch] + Thanks: Daniel Schepler + (closes: #316198) + * [debian/control]: + - Switch depend on XFree86's xlibmesa-glu-dev to X.Org's libglu1-xorg-dev. + - Debian Standards-Version: 3.6.2 + * [debian/rules]: + - Record compile-time dependency versions using dh_buildinfo. + - Fix documentation symlinks. + + -- Andrew Lau Sun, 17 Jul 2005 00:57:57 +1000 + +openexr (1.2.2-2) unstable; urgency=low + + * Documentation fixes + - Remove stale doc-base entries. + (closes: #303226) + + -- Andrew Lau Mon, 9 May 2005 01:16:15 +1000 + +openexr (1.2.2-1) unstable; urgency=medium + + * New upstream release. + * [debian/rules]: + - Deflate dependencies via ld's --as-needed option. + + -- Andrew Lau Sun, 13 Mar 2005 15:47:49 +1100 + +openexr (1.2.1-3) unstable; urgency=low + + * Documentation fixes + - Removed non-Linux README files. + (closes: #267856) + - Registered API and overview with doc-base. + + -- Andrew Lau Thu, 20 Jan 2005 02:53:59 +1100 + +openexr (1.2.1-2) unstable; urgency=medium + + * Correct libopenexr-dev's dependency on libopenexr0 to libopenexr2. + + -- Andrew Lau Tue, 17 Aug 2004 14:32:17 +1000 + +openexr (1.2.1-1) unstable; urgency=low + + * New upstream (stable) release. + - SONAME bumped up to 2. libopenexr2 now replaces/conflicts with + libopenexr0. + + -- Andrew Lau Sat, 14 Aug 2004 02:46:58 +1000 + +openexr (1.1.1-1) unstable; urgency=low + + * New upstream release. + - Builds on 64-bit architectures. + (closes: #239732) + - Note that this is a development release and the tiled file format has + changed. See the ReleaseNotes file for more details. + + -- Andrew Lau Wed, 31 Mar 2004 12:17:48 +1000 + +openexr (1.1.0-1) unstable; urgency=low + + * New upstream release. + + -- Andrew Lau Wed, 11 Feb 2004 00:58:58 +1100 + +openexr (1.0.7-1) unstable; urgency=low + + * New upstream release. + + -- Andrew Lau Tue, 20 Jan 2004 00:44:12 +1100 + +openexr (1.0.6-1) unstable; urgency=low + + * New upstream release. + * Switch from Debhelper to Common Debian Build System. + + -- Andrew Lau Wed, 8 Oct 2003 02:04:38 +1000 + +openexr (1.0.5-2) unstable; urgency=low + + * Fixed FTBFS by replacing instances of FL/*.h with FL/*.H in acinclude.m4, + aclocal.m4 and configure. + (closes: #196708) + + -- Andrew Lau Sun, 22 Jun 2003 00:37:27 +1000 + +openexr (1.0.5-1) unstable; urgency=low + + * Initial Release (closes: #178317). + + -- Andrew Lau Thu, 22 May 2003 11:12:24 +1000 --- openexr-1.6.1.orig/debian/openexr.links +++ openexr-1.6.1/debian/openexr.links @@ -0,0 +1 @@ +usr/share/doc/libopenexr6 usr/share/doc/openexr --- openexr-1.6.1.orig/debian/exrstdattr.1 +++ openexr-1.6.1/debian/exrstdattr.1 @@ -0,0 +1,100 @@ +\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH EXRSTDATTR 1 "March 31, 2004" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +exrstdattr \- a utility for modifying OpenEXR standard attributes. +.SH SYNOPSIS +.B exrstdattr +.RI "[options] infile outfile" +.SH DESCRIPTION +This manual page documents briefly the +.B exrstdattr +command. +This manual page was written for the Debian distribution because the original +program does not have a manual page. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. + +\fBexrstdattr\fP reads an OpenEXR image from infile, sets the values of one or +more standard attributes in the image's header, and saves the result in +outfile. Note that infile and outfile must not refer to the same file (i.e. the +program cannot edit an image file "in place"). + +.SH OPTIONS +Options for setting attribute values include: +.TP +.B \-chromaticities f f f f f f f f +CIE xy chromaticities for the red, green and blue primaries, and for the white +point (8 floats) +.TP +.B \-whiteLuminance f +white luminance, in candelas per square meter (float, >= 0.0) +.TP +.B \-xDensity f +horizontal output density, in pixels per inch (float, >= 0.0) +.TP +.B \-owner s +name of the owner of the image (string) +.TP +.B \-comments s +additional information about the image (string) +.TP +.B \-capDate s +date when the image was created or captured, in local time (string, formatted +as YYYY:MM:DD hh:mm:ss) +.TP +.B \-utcOffset f +offset of local time at capDate from UTC, in seconds (float, UTC == local time ++ x) +.TP +.B \-longitude f, \-latitude f, \-altitude f +location where the image was recorded, in degrees east of Greenwich and north +of the equator, and in meters above sea level (float) +.TP +.B \-focus f +the camera's focus distance, in meters (float, > 0, or "infinity") +.TP +.B \-expTime f +exposure time, in seconds (float, >= 0) +.TP +.B \-aperture f +lens apterture, in f\-stops (float, >= 0) +.TP +.B \-isoSpeed f +effective speed of the film or image sensor that was used to record the image +(float, >= 0) +.TP +.B \-envmap s +indicates that the image is an environment map (string, LATLONG or CUBE) +.TP +.B \-pixelAspectRatio f +width divided by height of a pixel (float, >= 0) +.TP +.B \-screenWindowWidth f +width of the screen window (float, >= 0) +.TP +.B \-screenWindowCenter f f +center of the screen window (2 floats) +.TP +.B \-h +prints these options + +.SH AUTHOR +This manual page was written by Andrew Lau , +for the Debian GNU/Linux system (but may be used by others). --- openexr-1.6.1.orig/debian/libopenexr-dev.install +++ openexr-1.6.1/debian/libopenexr-dev.install @@ -0,0 +1,10 @@ +usr/include/OpenEXR/* +usr/lib/*.a +usr/lib/*.la +usr/lib/*.so +usr/lib/pkgconfig/* +usr/share/aclocal/* + +# The libopenexr-dev package contains libopenexr6's examples: +../../IlmImfExamples/*.cpp usr/share/doc/libopenexr6/examples +../../IlmImfExamples/*.h usr/share/doc/libopenexr6/examples --- openexr-1.6.1.orig/debian/exrenvmap.1 +++ openexr-1.6.1/debian/exrenvmap.1 @@ -0,0 +1,88 @@ +\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH EXRENVMAP 1 "March 31, 2004" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +exrenvmap \- for creating OpenEXR environment maps. +.SH SYNOPSIS +.B exrenvmap +.RI "[options] infile outfile" +.SH DESCRIPTION +This manual page documents briefly the +.B exrenvmap +command. +This manual page was written for the Debian distribution because the original +program does not have a manual page. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. + +\fBexrenvmap\fP converts OpenEXR latitude\-longitude environment maps +into cube\-face environment maps or vice versa. + +.SH OPTIONS +.TP +.B \-o +produces a ONE_LEVEL output file (default) +.TP +.B \-m +produces a MIPMAP_LEVELS output file +.TP +.B \-c +the output file will be a cube\-face environment map (default) +.TP +.B \-l +the output file will be a latitude\-longitude environment map +.TP +.B \-w x +sets the width of the output image to x pixels (default is 256). The height of +the output image will be x*6 pixels for a cube\-face map, or x/2 pixels for a +latitude\-longitude map. +.TP +.B \-f r n +sets the antialiasing filter radius to r (default is 1.0) and the sampling rate +to n by n (default is 5 by 5). Increasing r makes the output image blurrier; +decreasing r makes the image sharper but may cause aliasing. Increasing n +improves antialiasing, but generating the output image takes longer. +.TP +.B \-t x y +sets the output file's tile size to x by y pixels (default is 64 by 64) +.TP +.B \-p t b +if the input image is a latitude\-longitude map, pad the image at the top and +bottom with t*h and b*h extra scan lines, where h is the height of the input +image. This is useful for images from 360\-degree panoramic scans that cover +less than 180 degrees vertically. +.TP +.B \-d +sets level size rounding to ROUND_DOWN (default) +.TP +.B \-u +sets level size rounding to ROUND_UP +.TP +.B \-z x +sets the data compression method to x (none/rle/zip/piz/pxr24, default is zip) +.TP +.B \-v +verbose mode +.TP +.B \-h +prints these options + +.SH AUTHOR +This manual page was written by Andrew Lau , +for the Debian GNU/Linux system (but may be used by others). --- openexr-1.6.1.orig/debian/control +++ openexr-1.6.1/debian/control @@ -0,0 +1,90 @@ +Source: openexr +Section: graphics +Priority: optional +Maintainer: Debian PhotoTools Maintainers +Uploaders: Cyril Brulebois +Build-Depends: autotools-dev, debhelper (>= 7.0.50), dh-buildinfo, quilt, libilmbase-dev, zlib1g-dev +Standards-Version: 3.8.1 +Homepage: http://www.openexr.com +Vcs-Git: git://git.debian.org/git/pkg-phototools/openexr.git +Vcs-Browser: http://git.debian.org/?p=pkg-phototools/openexr.git + +Package: openexr +Section: graphics +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: exrtools +Description: viewer and docs for the OpenEXR image format + OpenEXR is a high dynamic-range (HDR) image file format developed by + Industrial Light & Magic for use in computer imaging applications. + . + OpenEXR's features include: + * Higher dynamic range and colour precision than existing 8- and + 10-bit image file formats. + * Support for the "half" 16-bit floating-point pixel format. + * Multiple lossless image compression algorithms. Some of the + included codecs can achieve 2:1 lossless compression ratios on + images with film grain. + * Extensibility. New compression codecs and image types can easily + be added by extending the C++ classes included in the OpenEXR + software distribution. New image attributes (strings, vectors, + integers, etc.) can be added to OpenEXR image headers without + affecting backward compatibility with existing OpenEXR + applications. + . + This package contains documentation for the format and the following tools: + * exrheader, a utility for dumping header information. + * exrstdattr, a utility for modifying OpenEXR standard attributes. + * exrmaketiled, for generating tiled and rip/mipmapped images. + * exrenvmap, for creating OpenEXR environment maps. + * exrmakepreview, for creating preview images for OpenEXR files. + +Package: libopenexr-dev +Section: libdevel +Architecture: any +Depends: libopenexr6 (= ${binary:Version}), libilmbase-dev, ${shlibs:Depends}, ${misc:Depends} +Description: development files for the OpenEXR image library + OpenEXR is a high dynamic-range (HDR) image file format developed by + Industrial Light & Magic for use in computer imaging applications. + . + OpenEXR's features include: + * Higher dynamic range and colour precision than existing 8- and + 10-bit image file formats. + * Support for the "half" 16-bit floating-point pixel format. + * Multiple lossless image compression algorithms. Some of the + included codecs can achieve 2:1 lossless compression ratios on + images with film grain. + * Extensibility. New compression codecs and image types can easily + be added by extending the C++ classes included in the OpenEXR + software distribution. New image attributes (strings, vectors, + integers, etc.) can be added to OpenEXR image headers without + affecting backward compatibility with existing OpenEXR + applications. + . + This package contains the header files required if you wish to + compile/develop applications that use OpenEXR libraries. + +Package: libopenexr6 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: runtime files for the OpenEXR image library + OpenEXR is a high dynamic-range (HDR) image file format developed by + Industrial Light & Magic for use in computer imaging applications. + . + OpenEXR's features include: + * Higher dynamic range and colour precision than existing 8- and + 10-bit image file formats. + * Support for the "half" 16-bit floating-point pixel format. + * Multiple lossless image compression algorithms. Some of the + included codecs can achieve 2:1 lossless compression ratios on + images with film grain. + * Extensibility. New compression codecs and image types can easily + be added by extending the C++ classes included in the OpenEXR + software distribution. New image attributes (strings, vectors, + integers, etc.) can be added to OpenEXR image headers without + affecting backward compatibility with existing OpenEXR + applications. + . + This package contains the following shared library: + * IlmImf - a library that reads and writes OpenEXR images. --- openexr-1.6.1.orig/debian/copyright +++ openexr-1.6.1/debian/copyright @@ -0,0 +1,49 @@ +This package was first Debianized by Andrew Lau + on Thu May 22 11:17:01 EST 2003 + +It was downloaded from: + + +Upstream Authors: + Florian Kainz + Rod Bogart + Drew Hess + Paul Schneider + Bill Anderson + + The full list of contributors can be found in the AUTHORS file + +Mailing List: + + +Copyright (c) 2002, Industrial Light & Magic, a division of Lucas +Digital Ltd. LLC + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +* Neither the name of Industrial Light & Magic nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --- openexr-1.6.1.orig/debian/libopenexr-dev.dirs +++ openexr-1.6.1/debian/libopenexr-dev.dirs @@ -0,0 +1 @@ +usr/share/doc/libopenexr6/examples --- openexr-1.6.1.orig/debian/libopenexr6.install +++ openexr-1.6.1/debian/libopenexr6.install @@ -0,0 +1 @@ +usr/lib/*.so.* --- openexr-1.6.1.orig/debian/openexr.manpages +++ openexr-1.6.1/debian/openexr.manpages @@ -0,0 +1 @@ +debian/exr*.1 --- openexr-1.6.1.orig/debian/libopenexr6.docs +++ openexr-1.6.1/debian/libopenexr6.docs @@ -0,0 +1,3 @@ +AUTHORS +NEWS +README --- openexr-1.6.1.orig/debian/rules +++ openexr-1.6.1/debian/rules @@ -0,0 +1,74 @@ +#!/usr/bin/make -f +# +# © 2009 Cyril Brulebois + + +##### INCLUDE +# + +include /usr/share/quilt/quilt.make + + +##### VARIABLES +# + +DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) +NO_MAKE_CHECK_ARCHS := arm ia64 + + +##### OVERRIDES +# + +# Need to pass an extra flag: +override_dh_auto_configure: + dh_auto_configure -- --with-openexr-prefix=/usr + +# Need to disable the test suite on some architectures (additionally, +# use 'make check' rather than 'make test'): +override_dh_auto_test: +ifeq (,$(filter $(DEB_BUILD_ARCH),$(NO_MAKE_CHECK_ARCHS))) +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) + $(MAKE) check +endif +endif + +# No need to compress .h/.cpp files: +override_dh_compress: + dh_compress -X.h -X.cpp + +# Need to remove the directories, since they're getting replaced with +# symlinks: +override_dh_link: + rm -rf debian/libopenexr-dev/usr/share/doc/libopenexr-dev + rm -rf debian/openexr/usr/share/doc/openexr + dh_link + +# Need to pass an extra parameter: +override_dh_makeshlibs: + dh_makeshlibs -V + +# Need to remember package versions: +override_dh_installdeb: + dh_buildinfo -plibopenexr6 + dh_installdeb + + +##### TARGETS +# + +# Need to patch: +build: $(QUILT_STAMPFN) build-stamp +build-stamp: + cp /usr/share/misc/config.guess . + cp /usr/share/misc/config.sub . + dh build + touch $@ + +# Need to unpatch: +clean: unpatch + dh $@ + rm -f config.guess config.sub + +# Everything else: +%: + dh $@ --- openexr-1.6.1.orig/debian/openexr.install +++ openexr-1.6.1/debian/openexr.install @@ -0,0 +1,8 @@ +usr/bin/exrenvmap +usr/bin/exrheader +usr/bin/exrmakepreview +usr/bin/exrmaketiled +usr/bin/exrstdattr + +# The openexr package contains libopenexr6's documentation: +../../doc/*.pdf usr/share/doc/libopenexr6/pdf --- openexr-1.6.1.orig/debian/watch +++ openexr-1.6.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://savannah.nongnu.org/download/openexr/openexr-([0-9].*).tar.gz --- openexr-1.6.1.orig/debian/libopenexr-dev.postinst +++ openexr-1.6.1/debian/libopenexr-dev.postinst @@ -0,0 +1,19 @@ +#!/bin/sh +# $Id$ +# vim:ts=4:sw=4:expandtab: + +set -e + +if [ "$1" = "configure" ] +then + # Convert empty directory into a symlink + if [ ! -L /usr/share/doc/libopenexr-dev ] + then + rm -rf /usr/share/doc/libopenexr-dev + ln -s /usr/share/doc/libopenexr6 /usr/share/doc/libopenexr-dev + fi +fi + +#DEBHELPER# + +exit 0 --- openexr-1.6.1.orig/debian/compat +++ openexr-1.6.1/debian/compat @@ -0,0 +1 @@ +7 --- openexr-1.6.1.orig/debian/libopenexr-dev.links +++ openexr-1.6.1/debian/libopenexr-dev.links @@ -0,0 +1 @@ +usr/share/doc/libopenexr6 usr/share/doc/libopenexr-dev --- openexr-1.6.1.orig/debian/exrheader.1 +++ openexr-1.6.1/debian/exrheader.1 @@ -0,0 +1,39 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH EXRHEADER 1 "May 22, 2003" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +exrheader \- utility to print an OpenEXR image file's header +.SH SYNOPSIS +.B exrheader +.RI imagefile +.SH DESCRIPTION +This manual page documents briefly the +.B exrheader +command. +This manual page was written for the Debian distribution because the original +program does not have a manual page. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBexrheader\fP is a program to print an OpenEXR image file's header including +its Compression, LineOrder, PixelType, ChannelList and Info attributes. +.SH OPTIONS +This program has no command-line options. +.SH AUTHOR +This manual page was written by Andrew Lau , +for the Debian project (but may be used by others). --- openexr-1.6.1.orig/debian/disabled/README +++ openexr-1.6.1/debian/disabled/README @@ -0,0 +1,7 @@ +Until now, doc-base files weren't considered because some CDBS variables +were disabling dh_installdocs. + +Now that cdbs is no longer used, dh_installdoc tries to consider those +files but given the underscore and the uppercase characters, things are +going bad. That will be checked later, and those files will be put back +in place once a proper solution is found. --- openexr-1.6.1.orig/debian/disabled/openexr.doc-base.IlmImf +++ openexr-1.6.1/debian/disabled/openexr.doc-base.IlmImf @@ -0,0 +1,9 @@ +Document: openexr-IlmImf +Title: Reading and Writing OpenEXR Image Files with the IlmImf Library +Author: Lucas Digital Ltd. LLC. +Abstract: This document shows how to write C++ code that reads and writes + OpenEXR image files. +Section: Programming + +Format: PDF +Files: /usr/share/doc/libopenexr6/pdf/ReadingAndWritingImageFiles.pdf.gz --- openexr-1.6.1.orig/debian/disabled/openexr.doc-base.tech_intro +++ openexr-1.6.1/debian/disabled/openexr.doc-base.tech_intro @@ -0,0 +1,9 @@ +Document: openexr-tech_intro +Title: Technical Introduction to OpenEXR +Author: Lucas Digital Ltd. LLC. +Abstract: This document presents a brief overview of OpenEXR and explains + concepts that are specific to this format. +Section: Graphics + +Format: PDF +Files: /usr/share/doc/libopenexr6/pdf/TechnicalIntroduction.pdf.gz --- openexr-1.6.1.orig/debian/patches/CVE-2009-1720-1.diff +++ openexr-1.6.1/debian/patches/CVE-2009-1720-1.diff @@ -0,0 +1,22 @@ +Fix integer overflow in Imf::PreviewImage::PreviewImage, CVE-2009-1720 [1/2]. +--- a/IlmImf/ImfPreviewImage.cpp ++++ b/IlmImf/ImfPreviewImage.cpp +@@ -40,6 +40,7 @@ + //----------------------------------------------------------------------------- + + #include ++#include + #include "Iex.h" + + namespace Imf { +@@ -51,6 +52,10 @@ PreviewImage::PreviewImage (unsigned int + { + _width = width; + _height = height; ++ ++ if ((_height && (_width > UINT_MAX / _height)) || (_width * _height > UINT_MAX / sizeof(PreviewRgba))) ++ throw Iex::ArgExc ("Invalid height and width."); ++ + _pixels = new PreviewRgba [_width * _height]; + + if (pixels) --- openexr-1.6.1.orig/debian/patches/series +++ openexr-1.6.1/debian/patches/series @@ -0,0 +1,4 @@ +fix_gcc4.3_ftbfs.diff +CVE-2009-1720-1.diff +CVE-2009-1720-2.diff +CVE-2009-1721.diff --- openexr-1.6.1.orig/debian/patches/CVE-2009-1721.diff +++ openexr-1.6.1/debian/patches/CVE-2009-1721.diff @@ -0,0 +1,12 @@ +Fix freeing uninitialized pointers in Imf::hufUncompress, CVE-2009-1721. +--- a/IlmImf/ImfAutoArray.h ++++ b/IlmImf/ImfAutoArray.h +@@ -57,7 +57,7 @@ namespace Imf { + { + public: + +- AutoArray (): _data (new T [size]) {} ++ AutoArray (): _data (new T [size]) {memset(_data, 0, size * sizeof(T));} + ~AutoArray () {delete [] _data;} + + operator T * () {return _data;} --- openexr-1.6.1.orig/debian/patches/fix_gcc4.3_ftbfs.diff +++ openexr-1.6.1/debian/patches/fix_gcc4.3_ftbfs.diff @@ -0,0 +1,22 @@ +--- a/exrenvmap/main.cpp ++++ b/exrenvmap/main.cpp +@@ -46,6 +46,8 @@ + #include + #include + ++#include ++ + using namespace Imf; + using namespace std; + +--- a/exrmaketiled/main.cpp ++++ b/exrmaketiled/main.cpp +@@ -47,6 +47,8 @@ + #include + #include + ++#include ++ + using namespace Imf; + using namespace std; + --- openexr-1.6.1.orig/debian/patches/CVE-2009-1720-2.diff +++ openexr-1.6.1/debian/patches/CVE-2009-1720-2.diff @@ -0,0 +1,81 @@ +Fix integer overflows in compressor constructors, CVE-2009-1720 [2/2]. +--- a/IlmImf/ImfPizCompressor.cpp ++++ b/IlmImf/ImfPizCompressor.cpp +@@ -53,6 +53,7 @@ + #include + #include + #include ++#include + + namespace Imf { + +@@ -181,6 +182,9 @@ PizCompressor::PizCompressor + _channels (hdr.channels()), + _channelData (0) + { ++ if ((unsigned) maxScanLineSize > (INT_MAX - 65536 - 8192) / (unsigned) numScanLines) ++ throw InputExc ("Error: maxScanLineSize * numScanLines would overflow."); ++ + _tmpBuffer = new unsigned short [maxScanLineSize * numScanLines / 2]; + _outBuffer = new char [maxScanLineSize * numScanLines + 65536 + 8192]; + +--- a/IlmImf/ImfPxr24Compressor.cpp ++++ b/IlmImf/ImfPxr24Compressor.cpp +@@ -73,6 +73,7 @@ + #include + #include + #include ++#include + + using namespace std; + using namespace Imath; +@@ -187,6 +188,9 @@ Pxr24Compressor::Pxr24Compressor (const + { + int maxInBytes = maxScanLineSize * numScanLines; + ++ if ((unsigned) maxScanLineSize > INT_MAX / (unsigned) numScanLines) ++ throw Iex::InputExc ("Error: maxScanLineSize * numScanLines would overflow."); ++ + _tmpBuffer = new unsigned char [maxInBytes]; + _outBuffer = new char [int (ceil (maxInBytes * 1.01)) + 100]; + +--- a/IlmImf/ImfRleCompressor.cpp ++++ b/IlmImf/ImfRleCompressor.cpp +@@ -41,6 +41,7 @@ + //----------------------------------------------------------------------------- + + #include ++#include + #include "Iex.h" + + namespace Imf { +@@ -164,6 +165,9 @@ RleCompressor::RleCompressor (const Head + _tmpBuffer (0), + _outBuffer (0) + { ++ if ((unsigned) maxScanLineSize > INT_MAX / 3) ++ throw Iex::InputExc ("Error: maxScanLineSize * 3 would overflow"); ++ + _tmpBuffer = new char [maxScanLineSize]; + _outBuffer = new char [maxScanLineSize * 3 / 2]; + } +--- a/IlmImf/ImfZipCompressor.cpp ++++ b/IlmImf/ImfZipCompressor.cpp +@@ -43,6 +43,7 @@ + #include + #include "Iex.h" + #include ++#include + + namespace Imf { + +@@ -58,6 +59,9 @@ ZipCompressor::ZipCompressor + _tmpBuffer (0), + _outBuffer (0) + { ++ if ((unsigned) maxScanLineSize > INT_MAX / (unsigned) numScanLines) ++ throw Iex::InputExc ("Error: maxScanLineSize * numScanLines would overflow."); ++ + _tmpBuffer = + new char [maxScanLineSize * numScanLines]; +