Commit graph

276 commits

Author SHA1 Message Date
fhajny
eeebcae8ae Simplify default install target. Bump PKGREVISION (symlink changes). 2014-10-23 23:41:32 +00:00
gson
4c9111e086 Configure netpbm with tiff and zlib support so that pamtotiff,
pnmtotiff, pnmtotiffcmyk, and tifftopnm once again get built.
They have been temporarily absent since the update to 10.67.03.
2014-10-09 18:58:18 +00:00
gson
2f287ba315 Revert the shell used to run netpbm commands implemented as shell
scripts from bash to sh, to limit exposure to any still-unfixed or
still-undiscovered bash vulnerabilities.

A quick review of the shell scripts did not turn up any obvious
bashishms.  Hopefully they have all been fixed already, but if not,
I'd still rather have one or two scripts be broken (and volunteer to
fix any breakage reported) than have all of them be vulnerable to bash
bugs.

Approved by agc.
2014-09-29 18:16:41 +00:00
wiz
c64f17444b Add jpeg dependency and enable it.
Adds jpegto* and *tojpeg again, needed e.g. by avr-libc (reported by joerg).
Bump PKGREVISION.
2014-09-19 08:42:47 +00:00
jperkin
8461f05168 Downgrade _XOPEN_SOURCE=600 back to 500 on SunOS, you can't mix and match
due to conflicting C99 requirements, and we don't need XPG6 for strdup().

Fixes build on SunOS.
2014-09-10 10:54:49 +00:00
wiz
a05f31e6e7 Update to 10.67.05:
14.09.08 BJH  Release 10.67.05

              cameratopam: fix buffer overflow.  Always present.  (cameratopam
              was new in Netpbm 10.28 (June 2005)).

              Build: fix universal build failure introduced in 10.67.04.
2014-09-08 21:55:04 +00:00
wiz
f189b5ecd7 Update to 10.67.04, integrating last two pkgsrc patches.
Add a second tarball consisting of the html-to-man converted documenation,
and overwrite dummy man pages with those.

Changes in 10.67.04:

14.09.04 BJH  Release 10.67.04

              pcdovtoppm: Fix crash due to invalid operator == on some
              systems.  Always broken (pcdovtoppm was new sometime between
              Netpbm 9.25 (March 2002) and Netpbm 10.11 (Februrary 2010)).

              Build: fix compile failure due to use of reserved word
              'stdout'.

              Build with 'installosf': Fix crash due to invalid operator ==
              on some systems.

              Build: fix undefined symbols in fiasco converters with
              static libraries.

              Build: provide means of setting the default search path for
              rgb.txt color database via config.mk.
2014-09-08 21:51:25 +00:00
wiz
a6b7945dc8 Update to 10.67.03. This is the current release of the Advanced
branch of netpbm. Lots and lots of changes since our Super Stable
release version.
2014-09-08 21:22:28 +00:00
wiz
20b5f3808e Bump PKGREVISION for two removed patches, just to be on the safe side. 2014-08-25 10:01:43 +00:00
wiz
7a9b0016b9 Remove two patches/chunks for ancient problems.
Update patch status for the ones that are in upstream releases/will be
included soon.
2014-08-25 08:23:22 +00:00
wiz
4acc35825d Update to 10.35.93:
14.06.29 BJH  Release 10.35.93

              pamsharpness: put primary output on Standard Output instead of
              on Standard Error as a Netpbm message.

              jpegtopnm -dumpexif: fix incorrect display of resolution.
              Always broken.  (-dumpexif was new in Netpbm 9.18 September
              2001).

              jpegtopnm -dumpexif: fix truncated make, model, or datetime.
              Always broken.  (-dumpexif was new in Netpbm 9.18 September
              2001).

              jpegtopnm -dumpexif: fix wild pointer with invalid EXIF data.
              Always broken.  (-dumpexif was new in Netpbm 9.18 September
              2001).

              Build: fix dependencies in .deb package so they work with Debian
              6 at least.  Always broken (.deb capability was new in 10.35.92).
2014-08-21 21:01:58 +00:00
wiz
d5cf0124a4 Update to 10.35.92:
14.03.29 BJH  Release 10.35.92

              ppmrelief: fix out-of-bound values in output.  Always broken.
              Thanks Prophet of the Way <afu@wta.att.ne.jp>.

              ppmrelief: fix crash when input image is too small.  Always
              broken.  Thanks Prophet of the Way <afu@wta.att.ne.jp>.

              pgmtexture: fix buffer overflow.  Always broken.  (Program
              was added in primordial Netpbm in 1991).

              pamdeinterlace: fix incorrect output with -takeodd and image has
              only one row.  Always broken (pamdeinterlace was introduced in
              Netpbm 9.21 (January 2001)).  Thanks Prophet of the Way
              <afu@wta.att.ne.jp>.

13.12.24 BJH  Release 10.35.91

              pbmtoepsi: fix handling of all-white image.  Always broken.
              Thanks Prophet of the Way <afu@wta.att.ne.jp>.

              pbmtoepsi: fix excessively long raster line.  Always broken.
              Thanks Prophet of the Way <afu@wta.att.ne.jp>.

              pnmshear: fix incorrect determination of background color.
              Always broken.

              ppmpat: fix crash with -squig with aspect ratio < 1:25 or
              > 25:1. Thanks Prophet of the Way <afu@wta.att.ne.jp>.
              Always broken.

              pamgauss: Fix typo in message.

13.09.26 BJH  Release 10.35.90

              ppmtoxpm: fix bug: ignores inability to open the specified color
              dictionary file (-rgb) and just doesn't use color names.
              Introduced in Netpbm 10.15 (April 2003).

              ppmforge. fix crash when -mesh is 1 or less.  Always broken
              (program was added in Pbmplus (October 1991).  Thanks Prophet of
              the Way <afu@wta.att.ne.jp>.

              ppmforge: fix array bounds violation.  Always broken (program
              was added in Pbmplus (October 1991).  Thanks Prophet of the Way
              <afu@wta.att.ne.jp>.

13.05.03 BJH  Release 10.35.89

              ppmtowinicon: fix bug: sometimes creates image truncated in the
              middle of the AND mask.  Always broken (program was new in
              Netpbm 9.3 (June 2000)).

              pamtilt: fix bug: incorrect output or invalid memory access
              crash.  Always broken (program was new in Neptbm 10.30
              (October 2005)).

13.02.20 BJH  Release 10.35.88

              ppmpat: fix wrong output with -poles.

              Windows build: fix compile error on urt/rle_open_f.c due to
              Unix process management stuff.

              leaftoppm: fix incorrect determination of whether input is
              Interleaf on 64 bit systems.  Always broken.

              cmuwmtopbm: fix incorrect determination of whether input is
              a CMU window manager bitmap on 64 bit systems.  Always broken.

12.12.05 BJH  Release 10.35.87

              pamtotiff: fix bug: XRESOLUTION, YRESOLUTION, and RESOLUTIONUNIT
              not allowed in -tags.  Broken at least since 10.35.00.

              pnmmontage: fix random stuff placed in unoccupied space in the
              output image.  Always broken (program was new in 9.10 (January
              2001).

              pnmpsnr: fix crash when invoked (invalidly) with only one
              argument.  Always broken.

              pampick: fix wild pointer in command line parsing.  Bug has
              always been there.

              pamgauss: Fix bug: erroneously says -maxval is too big.
              Always broken (Pamgauss was added in 10.23 (July 2004).

12.07.23 BJH  Release 10.35.86

              ppmtobmp: fix failure with "internal error" message on all
              uses.  Broken in 10.35.78.

              Build: rename getline() in xpmtoppm.c to avoid collision
              with some libc.  Always broken.

12.06.21 BJH  Release 10.35.85

              configure: work around Perl bug that causes 'configure' to
              falsely conclude Svgalib is installed.

              Build: move -lm to end of -l's.  Broken at least since 10.35.

12.02.14 BJH  Release 10.35.84

              pamscale: fix all black output with resampling.  Always broken.

              pgmtexture: fix integer overflow in difference variance.
              Always broken.

              pgmtexture: fix array bounds violations in various calculations.
              Always broken.

              Build: always put Netpbm header files before external library
              header files in search path.

11.11.25 BJH  Release 10.35.83

              pngtopnm: fix crash with invalid tIME chunk.  Always broken.

11.09.25 BJH  Release 10.35.82

              pnmtopng: fix bug: with -alpha specifying a mask which contains
              no fully transparent area, output PNG is fully opaque.
              Introduced in 10.29.

              pnmquant: work with older Perl that doesn't have 3-argument open.

              pnmtops: fix message: says "from top edge" where it means
              "from bottom edge."

11.07.10 BJH  Release 10.35.81

              pgmtexture: fix wrong sum variance result.  Wrong since the
              beginning.  Thanks Francois P. S. Luus <fpsluus@gmail.com>.
2014-08-21 20:58:23 +00:00
ryoon
5c52d25e56 Fix build under SCO OpenServer 5.0.7/3.2. 2014-07-17 15:52:25 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
ryoon
44178627c3 Fix OpenBSD build 2014-05-16 12:43:52 +00:00
jperkin
9e7a1ba4b9 Set USE_GCC_RUNTIME=yes for packages which build shared libraries but do
not use libtool to do so.  This is required to correctly depend upon a
gcc runtime package (e.g. gcc47-libs) when using USE_PKGSRC_GCC_RUNTIME.
2014-03-13 11:08:49 +00:00
wiz
d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00
wiz
0602d449ce Recursive bump for png-1.6. 2013-02-16 11:17:56 +00:00
adam
f4c3b89da7 Revbump after graphics/jpeg and textproc/icu 2013-01-26 21:36:13 +00:00
asau
08f35c7155 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-06 14:10:39 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
jperkin
ac6dd50509 Remove SunOS patch, the ld(1) options are actively harmful and cause
R_AMD64_32 relocation errors in 64-bit mode.  The default options should
work fine.

Bump PKGREVISION.
2012-07-25 14:42:02 +00:00
sbd
21792a9296 Recursive PKGREVISION bump for libxml2 buildlink addition. 2012-06-14 07:43:06 +00:00
wiz
833922aab2 Revbump for
a) tiff update to 4.0 (shlib major change)
b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk)

Enjoy.
2012-02-06 12:39:49 +00:00
is
b439f3caba Fix build problem on IRIX (missing strdup prototype). Reported in
PR 45766, patch from there.
2012-01-19 20:17:47 +00:00
tron
23d843320e Re-add "MAKE_JOBS_SAFE=no" as the build breaks on an 8 core machine. 2011-04-05 11:43:08 +00:00
adam
edb75fbbeb Changes 10.35.80:
* asciitopgm: fix bug: memory corruption on too-long lines.
* asciitopgm: fix bug: improper handling of blank lines.

Changes 10.35.79:
* configure: don't default to /usr/X11R6/lib/libX11.so just because
  /usr/X11R6 exists.  /usr/X11R6/lib must exist.
* pngtopnm: fix bug: -verbose reports history chunk present when
  it's really a palette.
2011-04-04 09:17:24 +00:00
tron
cd109a3c3a Update "netpbm" package to version 10.35.78. Changes since 10.35.77:
- bmptopnm: Don't crash on invalid zero value of image height in
  the BMP header of a compressed file.  Always broken.
- bmptopnm: don't crash on large invalid value of 'colorsused' in
  the BMP header.
- ilbmtoppm: Don't crash on image that has a transparent color
  index, but no color map.

"pkgsrc" changes:
- Add a lot of patches written by Thomas Klausner and me to make this
  compile with PNG 1.5.
2011-01-15 18:37:46 +00:00
tron
893bd5b8db Fix bug in patch for "pnmtopng" reported by Thomas Klausner in private
e-mail. No package revision bump as the package didn't build before
and still doesn't until "pngtopnm" gets fixed as well.
2011-01-15 08:15:47 +00:00
tron
ffd0a4db26 Get "pnmtopng" to build with new "png" package. "pngtopnm" still fails. 2011-01-14 21:51:58 +00:00
wiz
af3596f984 png shlib name changed for png>=1.5.0, so bump PKGREVISIONs. 2011-01-13 13:36:05 +00:00
adam
fee2f17fac Fix problem finding rgb.txt, PR#43934 2010-11-04 10:57:50 +00:00
adam
dd92c89ea7 Pass LDFLAGS when building progs; required e.g. for -isysroot on MacOSX 2010-10-28 07:09:13 +00:00
tron
1378198155 Update "netpbm" package to version 10.35.77.
Changes since version 10.35.76:
- ppmtompeg: fix crash with free of unallocated memory.
- Build: don't expect snprintf() to exist.
- Build: don't use <strings.h> or bzero().
2010-09-23 09:09:20 +00:00
dholland
988a6a2af5 Arrange conditional PLIST for the "fiasco" converters since they're
disabled on MacOS. From Edgar Fuss in PR 43464.
2010-07-14 02:39:17 +00:00
adam
37f11ea699 Changes 10.35.76:
* Pnmtopng:  -libversion doesn't report level of linked libz.
  It was a modularity violation and caused build failures on
  Mac OS X, because Pnmtopng per se doesn't know about libz --
  it's used by libpng.
* Build: don't fail due to SIGRTMIN, SIGRTMAX being undefined.

Changes 10.35.75:
* palmtopnm: fix for pixel size 16.
* pamscale: fix -reduce.  Introduced in 10.27.
* configure: default to 'none' for Svgalib if it doesn't appear to
  be installed (per 'ldconfig').  Ported from 10.38, released March 2007.

Changes 10.35.74:
* pbmtext: don't crash when font file contains a blank line.
  Fail cleanly.
* ppmtoilbm: fix arithmetic overflow with image dimension
  represented as 16 bit integer.
* pbmpage: fix garbage output.
* pnmhistmap: Fix crash with -width.  Always broken.
* Build: don't fail due to SIGPWR being undefined.
2010-07-13 06:08:23 +00:00
wiz
e8d8834f6a Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
2010-06-13 22:43:46 +00:00
drochner
6ed365fdd1 use SIGPWR only #if defined, fixes build on DragonFly, from Rumko
per PR pkg/43068
2010-03-28 12:36:35 +00:00
tnn
f02a9d99f4 Mixing _XOPEN_SOURCE=500 and _XOPEN_SOURCE=600 in the same package
is asking for trouble. On solaris these options are mutually exclusive
because 600 needs C99 and 500 is not allowed to use C99.

I lowered the requirement to _XOPEN_SOURCE=500 and the build succeeded.

While here I'll note that PR pkg/42897 (netbpm link error on Solaris 10)
should now be fixed by libpng-1.2.41nb1.
2010-03-04 11:01:01 +00:00
drochner
e07ba045f8 update to 10.35.73
changes: many bugfixes, especially:
 xpmtoppm: fix wild pointer with color index > 127.
 which fixes a stack-based buffer overflow (CVE-2009-4274)

pkgsrc change: use a fixed PLIST instead of generating on install,
 helps to detect problems
2010-02-19 18:25:44 +00:00
wiz
91871f449e Second try at jpeg-8 recursive PKGREVISION bump. 2010-01-18 09:58:37 +00:00
dholland
f2e666298f Add upstream patch to fix build with new jpeg. Thanks to obache@ for
tracking it down. Fixes PR 41947.
2009-08-27 09:18:06 +00:00
sno
6f7368d4db bump revision because of graphics/jpeg update 2009-08-26 19:56:37 +00:00
tnn
324280b064 typo in previous 2009-07-21 12:40:54 +00:00
tnn
64a49df70b patch-az: MMX/SSE code is broken with GCC 4.3, disable it. 2009-07-21 12:39:54 +00:00
smb
ec897e292d Change getline() to get_line() 2009-07-18 03:04:41 +00:00
joerg
76039544d1 Remove @dirrm related logic. 2009-06-14 22:57:58 +00:00
abs
f6bc9be62a PKG_DESTDIR_SUPPORT seems to be working fine 2009-06-09 12:12:00 +00:00
hasso
4b49f91786 Make it build on DragonFly master. 2009-04-07 08:09:06 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00