update to 10.57.04

This commit is contained in:
Jindrich Novy 2012-03-12 15:52:37 +01:00
parent caace5a915
commit c98e82f0fe
4 changed files with 7 additions and 21 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/netpbm-10.57.03.tar.xz
/netpbm-10.57.04.tar.xz

View File

@ -356,24 +356,6 @@ diff -up netpbm-10.47.05/editor/ppmfade.security-scripts netpbm-10.47.05/editor/
+system("rm $tmpdir/junk*$$.ppm");
exit(0);
diff -up netpbm-10.47.05/editor/ppmquantall.security-scripts netpbm-10.47.05/editor/ppmquantall
--- netpbm-10.47.05/editor/ppmquantall.security-scripts 2009-12-10 08:34:32.000000000 +0100
+++ netpbm-10.47.05/editor/ppmquantall 2010-03-16 21:28:09.000000000 +0100
@@ -70,12 +70,8 @@ for i in ${files[@]}; do
heights=(${heights[*]} `grep -v '^#' $i | sed '1d; s/.* //; 2q'`)
done
-tempdir="${TMPDIR-/tmp}/ppmquantall.$$"
-mkdir -m 0700 $tempdir || \
- { echo "Could not create temporary file. Exiting."; exit 1;}
-trap 'rm -rf $tempdir' 0 1 3 15
-
-all=$tempdir/pqa.all.$$
+all=$(mktemp -t pqa.all.XXXXXXXXXX) || exit 1
+rm -f $all
pnmcat -topbottom -jleft -white ${files[@]} | pnmquant $newcolors > $all
if [ $? != 0 ]; then
diff -up netpbm-10.47.05/editor/ppmshadow.security-scripts netpbm-10.47.05/editor/ppmshadow
--- netpbm-10.47.05/editor/ppmshadow.security-scripts 2009-12-10 08:34:32.000000000 +0100
+++ netpbm-10.47.05/editor/ppmshadow 2010-03-16 21:28:09.000000000 +0100

View File

@ -1,6 +1,6 @@
Summary: A library for handling different graphics file formats
Name: netpbm
Version: 10.57.03
Version: 10.57.04
Release: 1%{?dist}
# See copyright_summary for details
License: BSD and GPLv2 and IJG and MIT and Public Domain
@ -245,6 +245,10 @@ rm -rf $RPM_BUILD_ROOT
%doc userguide/*
%changelog
* Mon Mar 12 2012 Jindrich Novy <jnovy@redhat.com> 10.57.04-1
- update to 10.57.04
- fixes ppmquantall
* Fri Mar 02 2012 Jindrich Novy <jnovy@redhat.com> 10.57.03-1
- update to 10.57.03

View File

@ -1 +1 @@
3cd69f8dc1c4e52b052d2452826a7b6d netpbm-10.57.03.tar.xz
39f34d2d493f98ec695526c6194999a5 netpbm-10.57.04.tar.xz