Commit Graph

42 Commits

Author SHA1 Message Date
Jan Tojnar
1459b34afa
netpbm: fix wrappers 2020-03-03 22:30:52 +01:00
Jan Tojnar
7566c09a0c
netpbm: Remove "CVE" patch
The CVE was patched upstream long ago.

http://cve.circl.lu/cve/CVE-2005-2471

-dPARANOIDSAFER seems not to be supported any more.

https://phabricator.wikimedia.org/T136402#2338482
https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=79a06b45e784e6839b2b2129cd2620ea606254e1
2020-03-01 16:14:38 +01:00
Jan Tojnar
43ea7f1c0a
netpbm: Hardcode rgb.txt path
We did that in the past with rgbpaths.patch in the past but it was eventually removed. This fixes the regression.
2020-03-01 15:40:29 +01:00
Jan Tojnar
44f69611ad
netpbm: re-enable parallel building
It was disabled in abd3c246a4 but it no longer seems to fail.
2020-03-01 15:27:41 +01:00
Jan Tojnar
256f7172ac
netpbm: more clean ups
* Append to config.mk instead of substituting
* Remove unused path substitution (rgbpaths.patch was deleted in f6c28984f2)
* -lz in LDFLAGS does not seem to be necessary
* Touching the file (introduced in 4dd9507b83) does not seem to be necessary.
2020-03-01 15:27:35 +01:00
Jan Tojnar
9555834399
netpbm: split into multiple outputs 2020-03-01 15:13:03 +01:00
Jan Tojnar
90180905a2
netpbm: Fix tiff support
The build script check whether JPEGLIB and ZLIB are not set to NONE.
We did not set the latter as pkg-config handles zlib requirement
for libpng dependency and the comment in config.mk only talks about
zlib being needed for libpng.

Since libtiff only needs libz for static linking, we turn TIFFLIB_NEEDS_ZLIB
off instead of pointlessly setting ZLIB value.

Closes: https://github.com/NixOS/nixpkgs/issues/75156
2020-03-01 15:13:03 +01:00
Jan Tojnar
aa1aefd06a
netpbm: 10.82.01 → 10.89.1
https://sourceforge.net/p/netpbm/code/3735/tree//advanced/doc/HISTORY
2020-03-01 15:13:03 +01:00
Jan Tojnar
6b4d057b66
netpbm: add pre/post phase hooks 2020-03-01 15:13:02 +01:00
Jan Tojnar
8ea075bcb9
netpbm: Clean up
* Format with nixpkgs-fmt
* Move build tools to nativeBuildInputs
* Clarify license
2020-03-01 15:13:02 +01:00
Jan Tojnar
b19ce7cfe9
netpbm: add updateScript 2020-03-01 15:13:02 +01:00
Andreas Rammhold
8e08f7515a
netpbm: fix typo on substituteInPlace parameters
It seems like originally `-dSAFER` should have been replaced with
`-dPARANOIDSAFER` instead of `-DSAFER` (capital D vs lower case d).

This was pointed out in #75153. This might now finally (properly?) fix
CVE-2005-2471.
2020-02-22 14:28:32 +01:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Jan Malakhovski
67a5c0da41 tree-wide: fix all revs of fetchsvn 2018-11-08 05:29:47 +00:00
Armijn Hemel
eb0e26101e netpbm: update to 10.82.01 2018-06-22 20:31:54 +02:00
Frederik Rietdijk
7e3d181160 netpbm: fetch over https 2018-03-13 14:26:18 +01:00
Graham Christensen
f308722a00
netpbm: 10.70.00 -> 10.77.02 for numerous fixes
more: https://sourceforge.net/p/netpbm/code/2883/tree/advanced/doc/HISTORY
2017-02-17 22:17:34 -05:00
Jeremy Shaw
e243ec43f3 netbpm: tell config.mk where to find JPEGLIB and JPEGHDR_DIR or jpegtopnm and friends will not be built. 2016-12-28 13:48:50 -05:00
Paul Liu
1b6e2b9a19 Fix netpbm installation for OS X (#21194)
* Update meta.platform to linux ++ darwin for netpbm
2016-12-16 09:30:50 +00:00
Robin Gloster
2d382f3d98 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-05-30 19:39:34 +00:00
Tuomas Tynkkynen
ad1a47061e treewide: Make explicit that 'dev' output of libtiff is used 2016-05-19 10:00:46 +02:00
Robin Gloster
d020caa5b2 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-04-18 13:49:22 +00:00
Vladimír Čunát
ab15a62c68 Merge branch 'master' into closure-size
Beware that stdenv doesn't build. It seems something more will be needed
than just resolution of merge conflicts.
2016-04-01 10:06:01 +02:00
Robin Gloster
f60c9df0ba Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-03-28 15:16:29 +00:00
Eelco Dolstra
abd3c246a4 netpbm: Disable parallel building
Looks like the "partlist" file is constructed in an unsound way.

http://hydra.nixos.org/build/32430147
2016-02-28 12:59:17 +01:00
Robin Gloster
8f7ffe9ba3 netpbm: 10.66.00 -> 10.70.00 2016-01-30 16:36:57 +00:00
Robin Gloster
acb408646e remove local pic flags, now set by hardened stdenv 2016-01-30 16:36:57 +00:00
Tuomas Tynkkynen
3916cf476b treewide: Mass replace 'libtiff}/lib' to refer the 'out' output 2016-01-24 10:03:36 +02:00
Eelco Dolstra
08732891e1 netpbm: Update to 10.66.00
Also, borrow a tarball from Gentoo so we don't have to use
fetchsvn. And don't depend on libX11 by default.
2014-09-25 00:07:23 +02:00
Vladimír Čunát
15a5894ab3 netpbm: fix CVE-2005-2471 2013-12-25 11:11:59 +01:00
Vladimír Čunát
c744a7e106 netpbm: fix build 2013-12-25 11:11:59 +01:00
Eelco Dolstra
4dd9507b83 netpbm: Fix a truly random build failure
Since "src" is a fetchsvn directory, the source is copied with "cp
--no-preserve=timestamps" (see commit
6d928ab684).  So some source files might
get a slightly different timestamp.  Here, if lib/standard.ppmdfont
gets a newer timestamp than the generated file lib/standardppmdfont.c,
Make will try to rebuild the latter.  But that fails because the
ppmdcfont program doesn't exist (yet).

Probably stdenv should ensure that every file has the same timestamp.
2013-07-23 11:17:26 +02:00
Domen Kozar
b139a69f7c netpbm: set platforms 2013-07-19 20:48:56 +02:00
Domen Kozar
aeef361b0d netpbm: add tiff support 2013-07-19 19:42:34 +02:00
Vladimír Čunát
56b4a71c21 netpbm: update and attempt to fix i686 build 2013-03-09 14:59:39 +01:00
Yury G. Kudryashov
bf2579b4a3 Latest netpbm (builds with libpng-1.5)
svn path=/nixpkgs/trunk/; revision=32521
2012-02-23 20:24:00 +00:00
Michael Raskin
f6c28984f2 Update netpbm
svn path=/nixpkgs/trunk/; revision=20956
2010-04-06 13:24:46 +00:00
Rob Vermaas
13417770a3 applying patches provided by griswold
svn path=/nixpkgs/trunk/; revision=19707
2010-01-27 12:12:35 +00:00
Rob Vermaas
cec84b8a63 fixes for netpbm, provided by griswold
svn path=/nixpkgs/trunk/; revision=19413
2010-01-13 21:16:12 +00:00
Rob Vermaas
2a4ea1b6d5 fixed missing zlib rpath in netpbm, provided by griswold
svn path=/nixpkgs/trunk/; revision=19411
2010-01-13 21:14:10 +00:00
Lluís Batlle i Rossell
67763e7c16 Fixing netpbm for x86_64 (and adding a hash for fetchsvn)
svn path=/nixpkgs/trunk/; revision=15049
2009-04-15 08:24:37 +00:00
Lluís Batlle i Rossell
17abbe36d4 Adding remind and netpbm (maybe without all possible programs).
I agree the netpbm installation script is quite ugly, but I left a comment there.

svn path=/nixpkgs/trunk/; revision=14253
2009-02-25 22:44:08 +00:00