diff --git a/.gitignore b/.gitignore index c28c032..14ae142 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/netpbm-10.57.03.tar.xz +/netpbm-10.57.04.tar.xz diff --git a/netpbm-security-scripts.patch b/netpbm-security-scripts.patch index 557914b..831be82 100644 --- a/netpbm-security-scripts.patch +++ b/netpbm-security-scripts.patch @@ -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 diff --git a/netpbm.spec b/netpbm.spec index 0523ed2..d652dfa 100644 --- a/netpbm.spec +++ b/netpbm.spec @@ -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 10.57.04-1 +- update to 10.57.04 +- fixes ppmquantall + * Fri Mar 02 2012 Jindrich Novy 10.57.03-1 - update to 10.57.03 diff --git a/sources b/sources index c092846..67749dd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3cd69f8dc1c4e52b052d2452826a7b6d netpbm-10.57.03.tar.xz +39f34d2d493f98ec695526c6194999a5 netpbm-10.57.04.tar.xz