Commit graph

129 commits

Author SHA1 Message Date
wiz
556ad0ac4b Add lfind replacement function. From libtiff CVS. 2005-07-14 14:59:10 +00:00
wiz
7406152919 Update to 3.7.3:
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.
2005-07-14 13:43:28 +00:00
grant
606814554a remove sunpro c++ runtime library hack, as this is handled in the
sunpro-cxx wrapper now.
2005-07-14 00:29:16 +00:00
grant
3ab61075e3 libtiffxx needs to be linked against the C++ runtime libraries libCrun
and libCstd when building with sunpro.

ok'd by jlam@
2005-06-22 02:31:36 +00:00
dillo
f81ae835ad Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a
user settable variable.  Set PKG_SUGGESTED_OPTIONS instead.  Also,
make use of PKG_OPTIONS_LEGACY_VARS.

Reviewed by wiz.
2005-05-31 10:01:36 +00:00
salo
074a2c4935 Security fix:
"A vulnerability in libTIFF was found, it can be potentially exploited by
 malicious people to compromise a vulnerable system."

http://secunia.com/advisories/15320/
http://bugzilla.remotesensing.org/show_bug.cgi?id=843

Bump PKGREVISION, patch from libtiff cvs repository.
2005-05-12 12:53:21 +00:00
toshii
4e3ae3bf13 Fix for NetBSD LP64 arches by checking if _LP64 is defined. These arches
don't define __LP64__.  This is basically same as patch-ab rev. 1.13,
which was probably removed by mistake.
2005-05-07 00:47:29 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
recht
f2fad56402 Pull in libtiff/Makefile.in rev. 1.54 and 1.55 without the rpath changes
from libtiff CVS to fix the build on Darwin.
2005-03-24 17:46:29 +00:00
wiz
66cd1b42a2 Update to 3.7.2.
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.
2005-03-23 01:17:45 +00:00
agc
6a7b384635 Add RMD160 digests 2005-02-24 08:45:01 +00:00
jlam
926758d356 Add patch-ah that is adapted from http://bugzilla.remotesensing.org/
that fixes a bug where docked TIFF icons in WindowMaker have a black
background rather than a transparent background.  Ride the previous
PKGREVISION bump to 3.  This fixes PR pkg/28989.
2005-01-17 08:37:31 +00:00
jlam
e99455329a Link the tiff library, which has no C++ functions, with $(CC) instead
of $(CXX) so that applications needing libtiff don't also need to be
linked against $(CXX).  Bump the PKGREVISION to 3.  This should fix
PR pkg/28961.
2005-01-17 08:04:25 +00:00
jlam
c5ded12681 Fix error in patch to build libtiffcxx.la that tried to create libraries
with no objects.  libtiffcxx.la now correctly builds using tif_stream.lo.
Bump the PKGREVISION to 2.
2005-01-13 15:39:20 +00:00
jlam
5378ac50d3 Create a separate libtiffcxx.so library for use by C++ applications.
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.
2005-01-11 05:29:55 +00:00
jlam
bae594225d --enable-c++ isn't a valid option name because of stupidity on the tiff
configure script.  Remove this from CONFIGURE_ARGS.
2005-01-09 23:03:58 +00:00
jlam
801a9ccd7f Note that this package requires C++. Also, convert to use the
bsd.options.mk framework.  The USE_GIF option is now called "lzw" and
is enabled by default.
2005-01-09 21:34:41 +00:00
reed
3c13c65aca Upgrade tiff to 3.7.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.)
2004-12-28 23:10:09 +00:00
reed
77d31fda4a patch-ag and patch-ao already had security fixes for CESA-2004-006.
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.
2004-12-22 03:57:15 +00:00
jmmv
f0a0c0cc8f Bump revisions of tiff and qt1 after changing the default USE_GIF value
to 'yes'.  (In behalf of jlam@, who can't commit this ATM.)
2004-11-26 15:32:34 +00:00
tron
56b7ac6ed0 Add various bug fixes taken from Debian's unstable distribution which
include fixes for CESA-2004-006. Bump package revision.
2004-10-18 14:37:24 +00:00
tron
5116fcf5e1 Add mirror on "ftp.fu-berlin.de" to master site list. 2004-10-18 10:30:33 +00:00
tron
60f386841e Derive "PKGNAME" from "DISTNAME" instead of defining it manually. 2004-10-18 10:05:11 +00:00
reed
283a185679 Remove second master site because it doesn't return the tarball.
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!
2004-10-16 22:27:40 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
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.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
jschauma
877f034380 When ``relativize''-ing CFLAGS, don't substitute anything that begins
with a '-' as '../-', as this is basically guaranteed to be wrong.

Examples:  -n32 or -64 for IRIX ABI would be substituted as '../-64',
which of course breaks the package.  Other possible CFLAGS would
have the same result.
2004-09-05 16:49:03 +00:00
wiz
f1d962502c Unused. 2004-07-02 22:13:09 +00:00
tv
7cdb6a5a2a Use INSTALL_LIB instead of INSTALL_SCRIPT. 2004-04-27 22:38:51 +00:00
tv
9ac386988e nb2: Obey PKGDIRMODE, and install shlibs as executable. 2004-04-27 20:38:48 +00:00
tv
e0d96890ea Don't put plain comments in make commands. These can result in a nonzero
shell exit code, and thus a failure.

Move comments out of the list of commands.  (Alternately ${DO_NADA} could
have been used.)
2004-04-24 18:24:56 +00:00
jschauma
5edb12a017 don't ``relativize'' -rpath - fixes build on Irix. 2004-04-12 14:41:03 +00:00
wiz
a122440606 regen. 2004-03-22 17:05:17 +00:00
abs
7fd6f3acb3 Add back previous patch to libtiff/tif_fax3.c lost in last commit.
Flagged by wizd :) - many thanks.
Note to self: Running patch on a file twice does tend to make the .orig file
less than useful for comparing to the original state...
2004-03-22 17:03:30 +00:00
abs
b055030838 Update tiff to tiff-3.6.1nb1:
Add a patch to fix fax3 tiff handling. Without this hylafax
	generates completely garbled tiff images unless error correction
	was disabled:  http://bugs.hylafax.org/bugzilla/show_bug.cgi?id=500
2004-03-22 16:48:13 +00:00
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk files outside of the protected
region.  This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.

BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list.  This ordering property is used to check for builtin
packages in the correct order.  The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-18 09:12:08 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
jlam
1b2674fcd7 The BUILDLINK_DEPENDS.<pkg> lines should match between the buildlink3.mk
and any pre-existing buildlink2.mk files.
2004-02-10 20:45:01 +00:00
jlam
a7d877ca6a Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. In
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives
a value only once due to the multiple inclusion protection in the
bulldlink3.mk files.  In the case where a package includes several
buildlink3.mk files that each want a slightly different version of another
dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the
strictest <pkg> dependency to be matched.
2004-01-24 03:26:45 +00:00
jlam
38252eb956 bl3ify 2004-01-05 22:33:45 +00:00
jlam
d279e6f535 Use S/+$// instead of C/\+$// to save a backslash. Very highly
recommended by seb :)
2004-01-05 11:05:44 +00:00
jlam
47bb2aae5f Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk. 2004-01-04 23:34:04 +00:00
jlam
339cd13cb2 Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.
2004-01-03 23:06:43 +00:00
reed
d4d8ee5999 Update to tiff-3.6.1. This is many changes and fixes.
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.
2004-01-03 18:33:24 +00:00
salo
841ce6f5fb Fix manpages installation.
From Ben Collver via PR pkg/23047.
2003-10-03 15:38:46 +00:00
jlam
a203353b33 Make these INSTALL scripts safe for when pkgviews is merged. 2003-08-30 23:01:31 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
wiz
54d0c29e94 Remove -O from default CFLAGS. Requested by Adam Ciarcinski. 2003-05-23 09:26:58 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
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>.
2003-01-28 22:03:00 +00:00