rpms/netpbm/F-13 netpbm-cmuwtopbm.patch, NONE, 1.1 netpbm-pamtojpeg2k.patch, NONE, 1.1 .cvsignore, 1.66, 1.67 netpbm-docfix.patch, 1.1, 1.2 netpbm.spec, 1.158, 1.159 sources, 1.71, 1.72

Jindrich Novy jnovy at fedoraproject.org
Mon May 3 17:44:20 UTC 2010


Author: jnovy

Update of /cvs/pkgs/rpms/netpbm/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv2885

Modified Files:
	.cvsignore netpbm-docfix.patch netpbm.spec sources 
Added Files:
	netpbm-cmuwtopbm.patch netpbm-pamtojpeg2k.patch 
Log Message:
* Mon May  3 2010 Jindrich Novy <jnovy at redhat.com> 10.47.12-1
- update to 10.47.12
- fix CVE-2007-2721 (#501451)
- fix cmuwtopbm so that magic bytes test actually works
- fix pamtojpeg2k (don't close stdout twice)
- fix documentation for pamperspective and pbmtoepson
- add missing man pages


netpbm-cmuwtopbm.patch:
 cmuwmtopbm.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE netpbm-cmuwtopbm.patch ---
diff -up netpbm-10.47.12/converter/pbm/cmuwmtopbm.c.cmuwtopbmfix netpbm-10.47.12/converter/pbm/cmuwmtopbm.c
--- netpbm-10.47.12/converter/pbm/cmuwmtopbm.c.cmuwtopbmfix	2010-04-27 15:47:14.000000000 +0200
+++ netpbm-10.47.12/converter/pbm/cmuwmtopbm.c	2010-05-03 15:17:06.081277896 +0200
@@ -18,7 +18,7 @@
    This program does not check the pad bits at the end of each row.
 */
 
-
+#include <stdint.h>
 #include "pbm.h"
 #include "cmuwm.h"
 
@@ -33,7 +33,7 @@ readCmuwmHeader(FILE *         const ifP
     const char * const initReadError =
         "CMU window manager header EOF / read error";
 
-    long l;
+    uint32_t l;
     short s;
     int rc;
 

netpbm-pamtojpeg2k.patch:
 pamtojpeg2k.c |    2 --
 1 file changed, 2 deletions(-)

--- NEW FILE netpbm-pamtojpeg2k.patch ---
diff -up netpbm-10.47.12/converter/other/jpeg2000/pamtojpeg2k.c.pamtojpeg2kfix netpbm-10.47.12/converter/other/jpeg2000/pamtojpeg2k.c
--- netpbm-10.47.12/converter/other/jpeg2000/pamtojpeg2k.c.pamtojpeg2kfix	2010-04-27 15:47:10.000000000 +0200
+++ netpbm-10.47.12/converter/other/jpeg2000/pamtojpeg2k.c	2010-05-03 15:37:49.934269588 +0200
@@ -518,7 +518,5 @@ main(int argc, char **argv)
 
     pm_close(ifP);
 
-    pm_close(stdout);
-    
     return 0;
 }


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/netpbm/F-13/.cvsignore,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -p -r1.66 -r1.67
--- .cvsignore	1 Apr 2010 18:57:31 -0000	1.66
+++ .cvsignore	3 May 2010 17:44:14 -0000	1.67
@@ -1 +1 @@
-netpbm-10.47.10.tar.xz
+netpbm-10.47.12.tar.xz

netpbm-docfix.patch:
 netpbm-10.35.58/converter/pbm/pbmtoepson.c    |    2 +-
 netpbm-10.35.58/userguide/cameratopam.html    |   10 +++++-----
 netpbm-10.35.58/userguide/fiascotopnm.html    |   12 ++++--------
 netpbm-10.47.12/userguide/pamperspective.html |    2 +-
 netpbm-10.47.12/userguide/pbmtoepson.html     |    4 ++--
 5 files changed, 13 insertions(+), 17 deletions(-)

Index: netpbm-docfix.patch
===================================================================
RCS file: /cvs/pkgs/rpms/netpbm/F-13/netpbm-docfix.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- netpbm-docfix.patch	25 Jan 2010 08:42:36 -0000	1.1
+++ netpbm-docfix.patch	3 May 2010 17:44:15 -0000	1.2
@@ -89,3 +89,36 @@ diff -up netpbm-10.35.58/userguide/fiasc
  
  </DL>
  
+diff -up netpbm-10.47.12/userguide/pamperspective.html.docfix netpbm-10.47.12/userguide/pamperspective.html
+--- netpbm-10.47.12/userguide/pamperspective.html.docfix        2010-04-27 15:48:09.000000000 +0200
++++ netpbm-10.47.12/userguide/pamperspective.html       2010-05-03 14:16:26.064266675 +0200
+@@ -220,7 +220,7 @@ default rectangle as the &quot;frame.&qu
+ a rectangle the axes of which are parallel to those of the frame.
+ 
+ <p>The frame options are additive.  All the parts of the image
+-specified by either margin options, <b>--include_frame</b>, or
++specified by either margin options, <b>--frame_include</b>, or
+ <b>--include</b> (or their defaults) are in the visible part.  The
+ visible part is the smallest possible rectangle that contains the
+ parts specified those three ways.
+diff -up netpbm-10.47.12/userguide/pbmtoepson.html.docfix netpbm-10.47.12/userguide/pbmtoepson.html
+--- netpbm-10.47.12/userguide/pbmtoepson.html.docfix    2010-04-27 15:48:09.000000000 +0200
++++ netpbm-10.47.12/userguide/pbmtoepson.html   2010-05-03 14:34:03.571141020 +0200
+@@ -18,7 +18,7 @@ pbmtoepson - convert a PBM image into Ep
+ [<b>-dpi=</b><i>n</i>]
+ [<b>-protocol=</b>{<b>escp9</b>|<B>escp</B>}]
+ [<b>-adjacent</b>]
+-[<b>-nonadjacent</b>]
++[<b>-noadjacent</b>]
+ 
+ [<I>pbmfile</I>]
+ 
+@@ -74,7 +74,7 @@ print density for you consistent with yo
+ <p>This option was new in Netpbm 10.23 (July 2004).     
+ 
+ <dt><b>-adjacent</b>
+-<dt><b>-nonadjacent</b>
++<dt><b>-noadjacent</b>
+ 
+ <dd>These options determine whether the output uses &quot;adjacent dot
+ printing&quot; or not, whatever that is.


Index: netpbm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/netpbm/F-13/netpbm.spec,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -p -r1.158 -r1.159
--- netpbm.spec	27 Apr 2010 14:39:05 -0000	1.158
+++ netpbm.spec	3 May 2010 17:44:16 -0000	1.159
@@ -1,7 +1,7 @@
 Summary: A library for handling different graphics file formats
 Name: netpbm
-Version: 10.47.10
-Release: 2%{?dist}
+Version: 10.47.12
+Release: 1%{?dist}
 # See copyright_summary for details
 License: BSD and GPLv2 and IJG and MIT and Public Domain
 Group: System Environment/Libraries
@@ -106,6 +106,8 @@ netpbm-doc.  You'll also need to install
 %patch20 -p1 -b .noppmtompeg
 
 sed -i 's/STRIPFLAG = -s/STRIPFLAG =/g' config.mk.in
+rm -rf converter/other/jpeg2000/libjasper/
+sed -i -e 's/^SUBDIRS = libjasper/SUBDIRS =/' converter/other/jpeg2000/Makefile
 
 %build
 ./configure <<EOF
@@ -146,7 +148,8 @@ make \
 	X11LIB=%{_libdir}/libX11.so \
 	XML2LIBS="NONE" \
 	JASPERLIB="" \
-	JASPERDEPLIBS="-ljasper"
+	JASPERDEPLIBS="-ljasper" \
+	JASPERHDR_DIR="/usr/include/jasper"
 
 # prepare man files
 cd userguide
@@ -181,11 +184,11 @@ mv userguide/man $RPM_BUILD_ROOT%{_mandi
 sed -i 's/\xa0//' $RPM_BUILD_ROOT%{_mandir}/man1/pgmminkowski.1
 
 # Don't ship man pages for non-existent binaries and bogus ones
-for i in hpcdtoppm ppmsvgalib vidtoppm picttoppm \
+for i in hpcdtoppm \
+	 ppmsvgalib vidtoppm picttoppm \
 	 directory error extendedopacity \
 	 pam pbm pgm pnm ppm index libnetpbm_dir \
-	 liberror pambackground pamfixtrunc \
-	 pamtogif pamtooctaveimg pamundice ppmtotga; do
+	 liberror ppmtotga; do
 	rm -f $RPM_BUILD_ROOT%{_mandir}/man1/${i}.1
 done
 rm -f $RPM_BUILD_ROOT%{_mandir}/man5/extendedopacity.5
@@ -244,6 +247,14 @@ rm -rf $RPM_BUILD_ROOT
 %doc userguide/*
 
 %changelog
+* Mon May  3 2010 Jindrich Novy <jnovy at redhat.com> 10.47.12-1
+- update to 10.47.12
+- fix CVE-2007-2721 (#501451)
+- fix cmuwtopbm so that magic bytes test actually works
+- fix pamtojpeg2k (don't close stdout twice)
+- fix documentation for pamperspective and pbmtoepson
+- add missing man pages
+
 * Tue Apr 27 2010 Tom "spot" Callaway <tcallawa at redhat.com> 10.47.10-2
 - remove ppmtompeg, due to legal issues
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/netpbm/F-13/sources,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -p -r1.71 -r1.72
--- sources	27 Apr 2010 14:39:05 -0000	1.71
+++ sources	3 May 2010 17:44:16 -0000	1.72
@@ -1 +1 @@
-bbabb3754c328191f94c05d6172f85b7  netpbm-10.47.10.tar.xz
+a143fec68d2e720e944e427563d0c684  netpbm-10.47.12.tar.xz



More information about the scm-commits mailing list