were detected and tiffgt was built.
No change to package.
(TODO: do not install the tiffgt manual pages. Maybe install separate
tiffgt package if needed.)
"A vulnerability in LibTIFF can be exploited by malicious people to
cause a DoS (Denial of Service) and potentially compromise a user's
system.
The vulnerability is caused due to a boundary error within tiff2pdf
when handling a TIFF file with a "DocumentName" tag that contains
UTF-8 characters. This can be exploited to cause a stack-based buffer
overflow and may allow arbitrary code execution."
http://secunia.com/advisories/20488/http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2193
Patch from Ubuntu.
developer is officially maintaining the package.
The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list). Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
MAJOR CHANGES:
* Read-only support for custom directories (e.g. EXIF directory).
* Preliminary support for MS MDI format.
----------------------------------------------------------------------------------------
CHANGES IN THE SOFTWARE CONFIGURATION:
* Make the default strip size configurable via the
--with-default-strip-size and STRIP_SIZE_DEFAULT options.
----------------------------------------------------------------------------------------
CHANGES IN LIBTIFF:
* tiffio.h: Added VC_EXTRALEAN definition before including
windows.h, to reduce the compile time.
* tif_jpeg.c: Improve compilation under MinGW.
* {tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c, tif_print.c,
tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and StoNits tags
custom.
* {tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make WhitePoint tag
custom.
* tiffio.h: fixed typo that potentially resulted in redefininition of
USE_WIN32_FILEIO
* {tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC, Photoshop and
ICCProfile tags custom.
* libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling newer
code to get context indicator in error handler and still remain
compatible with older code: Done TIFFError calls everywhere
except in tools.
* tiffinfo.c: Print EXIF directory contents if exist.
* {tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}: Custom
directory read-only support.
* {tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c,
tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite tags
custom.
* tif_dirread.c: One more workaround for broken StripByteCounts tag.
Handle the case when StripByteCounts array filled with completely wrong
values.
* tif_dirinfo.c: Release file descriptor in case of failure in
the TIFFOpenW() function as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=1003
* tif_dirinfo.c: Correctly yse bsearch() and lfind() functions
as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1008
* tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support for MS
MDI format.
http://bugzilla.remotesensing.org/show_bug.cgi?id=1002
* libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory public.
* /tif_dirinfo.c: Make XResolution, YResolution and ResolutionUnit tags
modifiable during write process. As per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=977
* if_dirread.c: Don't try and split single strips into "0" strips in
ChopUpSingleUncompressedStrip. This happens in some degenerate
cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff)
* tif_fax3.c: changed 'at scanline ...' style warning/errors with
incorrect use of tif_row, to 'at line ... of strip/tile ...'
style.
CHANGES IN THE TOOLS:
* tiffcp.c: Added many error reporting messages; fixed integer
overflow as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=789
* tiffcp.c: Return non-zero status when reading fails.
* fax2tiff.c: Properly calculate sizes of temporary arrays as
per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=943
* fax2tiff.c: Added option '-r' to set RowsPerStrip parameter as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=944
* tiffdump.c: Fixed typeshift and typemask arrays initialization problem
as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=946
* bmp2tiff.c: Fixed possible integer overflow error as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=965
* tiffsplit.c: Copy fax related fields over splitted parts as
per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=983
* tiffdump.c: Fixed crash when reading malformed tags.
* tiff2pdf.c: Added missed 'break' statement as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=932
MAJOR CHANGES:
* Fixed important bug in custom tags handling code..
------------------------------------------------
CHANGES IN THE SOFTWARE CONFIGURATION:
* Applied patch from Patrick Welche (all scripts moved in the 'config'
and 'm4' directories).
* SConstruct, libtiff/SConstruct: Added the first very preliminary
support for SCons software building tool (http://www.scons.org/). This
is experimental infrastructure and it will exist along with the
autotools stuff.
* port/lfind.c: Added lfind() replacement module.
------------------------------------------------
CHANGES IN LIBTIFF:
* tif_dir.c: When prefreeing tv->value in TIFFSetFieldV also set it to
NULL to avoid double free when re-setting custom string fields as per:
http://bugzilla.remotesensing.org/show_bug.cgi?id=922
* tif_dir.c: Fixed up support for swapping "double complex" values (128
bits as 2 64 bits doubles). GDAL gcore tests now pass on bigendian
(macosx) system.
* libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to SHORTs
in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples() function,
use TIFFFetchNormalTag() instead as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=831 Remove
TIFFFetchExtraSamples() function, use TIFFFetchNormalTag() instead.
* tif_print.c: Fixed printing of the BYTE and SBYTE arrays.
* tif_write.c: Do not check the PlanarConfiguration field in the
TIFFWriteCheck() function in case of single band images (as per TIFF
spec).
* libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}: Make
FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera,
ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom.
------------------------------------------------
CHANGES IN THE TOOLS:
* tiffcp.c: Fixed WhitePoint tag copying.
------------------------------------------------
CHANGES IN THE CONTRIB AREA:
* tiffdump.c: Added support for TIFF_IFD datatype.
* addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}: Make
overviews working for contiguous images.
Many bugfixes and several new features. The runtime endianness check
has been replaced with the compile time one. Support has been added
for the new predictor type (floating point predictor) defined at the
TIFF Technical Note 3, for custom tags passed by value, and for all
DNG tags.
Package changes:
Put options in options.mk, and retire support for USE_GIF; turn on
the lzw option by default (since USE_GIF was on by default).
C++ library's name changed, to be in sync with tiff distribution's name
for it (libtiffcxx -> libtiffxx).
Changes in 3.7.2:
Maintainance [sic] release. Many bugfixes in the build
environment and compatibility improvements.
It's meant to be used directly in place of libtiff.so, i.e. instead
of linking against -ltiff, you link against -ltiffcxx. It also leaves
libtiff.so as a plain C-linkage library again, as it was in tiff-3.6.x,
and avoids needing to patch tiff-using packages to link using the C++
compiler. Bump the PKGREVISION to 1.
Remove OpenWindows workaround in pkgsrc for this.
Too many changes to include here.
See http://www.remotesensing.org/libtiff/v3.7.1.html
and http://www.remotesensing.org/libtiff/v3.7.0.html
and previous change files for changes information.
tiff-3.7.1 now includes the lzw compression code again.
It also uses autoconf and libtool now.
A new tool is bmp2tiff.
Docs are placed under share/doc/tiff/html instead of share/doc/html/tiff.
Many manpage symlinks are now missing. (This was reported to tiff list.)
But now these are improved in response to
iDEFENSE Security Advisory 12.21.04
www.idefense.com/application/poi/display?id=173&type=vulnerabilities
libtiff STRIPOFFSETS Integer Overflow Vulnerability
December 21, 2004
This fix (in two files) was from that advisory and also seen
in tiff 3.7.1.
PKGREVISION is bumped to 6 and BUILDLINK_RECOMMENDED is adjusted for
this possible security issue. Other packages depending on this are not
bumped.
Add /old/ to end of master site URL.
This was reported by Georg Schwarz on tech-pkg
and also by Ian Harding via PR #27278.
Note that this is insecure version of tiff!
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
The main changes include:
new utility tiff2pdf for converting a TIFF image to a PDF document
new utility raw2tiff for converting raw rasters into TIFF files
new tiff2ps options
new fax2tiff options
bug fixes for LZW, JPEG and OJPEG compression.
more documentation
and upgrade to libtiff.so.3.6
other changes at http://www.libtiff.org/v3.6.0.html
Removed patch-ab because
html/Makefile.in: added missing images per bug 92
Removed patch-ag because
http://bugzilla.remotesensing.org/show_bug.cgi?id=315
Other changes:
HOMEPAGE changed due to libtiff.org has been hijacked
INSTALL.OpenWindows updated (thank you to dieter)
tiff is backward compatible with older version,
but buildlink2.mk version is increased because libtiff
was broken for amd64 support.
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES". This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile. Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
to replace the complexity of the default INSTALL/DEINSTALL scripts with
something simpler when simple is all that's needed. Also replace the
check for OpenWindows with one that's more sensible.
buildlink2.mk files back into the main trunk. This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
* many bug fixes
* added support for 16bit minisblack/miniswhite images in RGBA interface
* integrated experimental OJPEG support
* updated tiffcp utility
* substantial changes to tiff2ps
this package because OpenWindows and CDE programs work with it while
package sources program don't work with the OpenWindows library. The
original library is restored on deinstallation.