packages: jbig2dec/jbig2dec-shared.patch, jbig2dec/jbig2dec.spec - updated ...

qboosh qboosh at pld-linux.org
Sat Sep 11 12:40:09 CEST 2010


Author: qboosh                       Date: Sat Sep 11 10:40:09 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 0.11 (fixes CVE-2009-0196)
- shared library is supported upstream now; shared patch just reduces its linking

---- Files affected:
packages/jbig2dec:
   jbig2dec-shared.patch (1.1 -> 1.2) , jbig2dec.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: packages/jbig2dec/jbig2dec-shared.patch
diff -u packages/jbig2dec/jbig2dec-shared.patch:1.1 packages/jbig2dec/jbig2dec-shared.patch:1.2
--- packages/jbig2dec/jbig2dec-shared.patch:1.1	Sun Aug 27 00:29:55 2006
+++ packages/jbig2dec/jbig2dec-shared.patch	Sat Sep 11 12:40:04 2010
@@ -1,50 +1,5 @@
---- jbig2dec-0.9/Makefile.am.orig	2005-05-24 05:49:47.000000000 +0200
-+++ jbig2dec-0.9/Makefile.am	2006-08-27 00:18:23.211079500 +0200
-@@ -4,10 +4,10 @@
- # require automake 1.7
- AUTOMAKE_OPTIONS = foreign 1.7 dist-bzip2 dist-zip -Wall
- 
--lib_LIBRARIES = libjbig2dec.a
-+lib_LTLIBRARIES = libjbig2dec.la
- include_HEADERS = jbig2.h
- 
--libjbig2dec_a_SOURCES = jbig2.c \
-+libjbig2dec_la_SOURCES = jbig2.c \
- 	jbig2_arith.c jbig2_arith_int.c jbig2_arith_iaid.c jbig2_huffman.c \
- 	jbig2_segment.c jbig2_page.c \
- 	jbig2_symbol_dict.c jbig2_text.c \
-@@ -26,7 +26,7 @@
- jbig2dec_SOURCES = jbig2dec.c sha1.c sha1.h \
- 	jbig2.h jbig2_image.h getopt.h \
- 	os_types.h config_types.h config_win32.h
--jbig2dec_LDADD = libjbig2dec.a @LIBOBJS@
-+jbig2dec_LDADD = libjbig2dec.la @LIBOBJS@ $(PNG_LIBS)
- 
- EXTRA_DIST = test_jbig2dec.py msvc.mak LICENSE CHANGES
- 
-@@ -39,9 +39,9 @@
- 
- test_arith_SOURCES = jbig2_arith.c
- test_arith_CFLAGS = -DTEST
--test_arith_LDADD = libjbig2dec.a
-+test_arith_LDADD = libjbig2dec.la
- 
- test_huffman_SOURCES = jbig2_huffman.c
- test_huffman_CFLAGS = -DTEST
--test_huffman_LDADD = libjbig2dec.a
-+test_huffman_LDADD = libjbig2dec.la
- 
 --- jbig2dec-0.9/configure.ac.orig	2006-07-27 01:57:39.000000000 +0200
 +++ jbig2dec-0.9/configure.ac	2006-08-27 00:28:46.842054000 +0200
-@@ -11,7 +11,7 @@
- 
- # Checks for programs.
- AC_PROG_CC
--AC_PROG_RANLIB
-+AC_PROG_LIBTOOL
- 
- # platform specific compiler flags
- if test "x$GCC" = xyes; then
 @@ -34,11 +34,12 @@
      LDFLAGS="$LDFLAGS -L$ac_cv_want_libpng/lib"
    fi

================================================================
Index: packages/jbig2dec/jbig2dec.spec
diff -u packages/jbig2dec/jbig2dec.spec:1.7 packages/jbig2dec/jbig2dec.spec:1.8
--- packages/jbig2dec/jbig2dec.spec:1.7	Thu Jan 28 18:32:03 2010
+++ packages/jbig2dec/jbig2dec.spec	Sat Sep 11 12:40:04 2010
@@ -2,18 +2,20 @@
 Summary:	Decoder implementation of the JBIG2 image compression format
 Summary(pl.UTF-8):	Implementacja dekodera formatu kompresji obrazu JBIG2
 Name:		jbig2dec
-Version:	0.9
-Release:	3
+Version:	0.11
+Release:	1
 License:	GPL with clause allowing linking to AFPL Ghostscript
 Group:		Applications
-Source0:	http://dl.sourceforge.net/jbig2dec/%{name}-%{version}.tar.gz
-# Source0-md5:	e4bff86825ccde304c19bd7ec122fda4
+Source0:	http://dl.sourceforge.net/jbig2dec/%{name}-%{version}.tar.xz
+# Source0-md5:	4cc8ab6fb7ebe6f24460ec5ce30d84d9
 Patch0:		%{name}-shared.patch
 URL:		http://jbig2dec.sourceforge.net/
 BuildRequires:	autoconf >= 2.53
 BuildRequires:	automake >= 1:1.7
 BuildRequires:	libpng-devel
 BuildRequires:	libtool
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
 BuildRequires:	zlib-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -120,6 +122,7 @@
 %attr(755,root,root) %{_bindir}/jbig2dec
 %attr(755,root,root) %{_libdir}/libjbig2dec.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libjbig2dec.so.0
+%{_mandir}/man1/jbig2dec.1*
 
 %files devel
 %defattr(644,root,root,755)
@@ -137,6 +140,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2010/09/11 10:40:04  qboosh
+- updated to 0.11 (fixes CVE-2009-0196)
+- shared library is supported upstream now; shared patch just reduces its linking
+
 Revision 1.7  2010/01/28 17:32:03  megabajt
 - ghost soname symlink
 - release 3
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/jbig2dec/jbig2dec-shared.patch?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/jbig2dec/jbig2dec.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list