commit lcms for openSUSE:Factory

2017-06-26 Thread root
Hello community,

here is the log from the commit of package lcms for openSUSE:Factory checked in 
at 2017-06-26 15:52:53

Comparing /work/SRC/openSUSE:Factory/lcms (Old)
 and  /work/SRC/openSUSE:Factory/.lcms.new (New)


Package is "lcms"

Mon Jun 26 15:52:53 2017 rev:31 rq:505848 version:1.19

Changes:

--- /work/SRC/openSUSE:Factory/lcms/lcms.changes2013-12-13 
13:05:45.0 +0100
+++ /work/SRC/openSUSE:Factory/.lcms.new/lcms.changes   2017-06-26 
15:52:58.897583532 +0200
@@ -1,0 +2,6 @@
+Fri Jun 16 07:02:24 UTC 2017 - o...@aepfle.de
+
+- Run autoreconf due to apply changes to Makefile.am
+- Build with -O1 to avoid make check errors with gcc7 (bnc#1041220)
+
+---



Other differences:
--
++ lcms.spec ++
--- /var/tmp/diff_new_pack.tvgdMW/_old  2017-06-26 15:52:59.529494426 +0200
+++ /var/tmp/diff_new_pack.tvgdMW/_new  2017-06-26 15:52:59.533493862 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lcms
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -32,6 +32,9 @@
 # PATCH-FIX-SECURITY CVE-2013-4276.patch bnc843716 sbra...@suse.cz -- Stack 
overflow fix.
 Patch3: CVE-2013-4276.patch
 
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  libtool
 %if 0%{?fedora_version}   
 BuildRequires:  gcc-c++
 BuildRequires:  libjpeg-devel
@@ -59,8 +62,8 @@
 
 %package -n liblcms1
 Summary:Libraries for the Little CMS Engine
-Group:  System/Libraries
 #workaround for wrong package naming
+Group:  System/Libraries
 Provides:   liblcms0 = %{version}
 Obsoletes:  liblcms0 <= %{version}
 
@@ -105,6 +108,9 @@
 chmod -x COPYING AUTHORS NEWS README doc/*.TXT
 
 %build
+autoreconf -fi
+export CFLAGS='%{optflags} -O1'
+export CXXFLAGS='%{optflags} -O1'
 %configure\
--disable-static\
--with-python




commit lcms for openSUSE:Factory

2013-12-13 Thread h_root
Hello community,

here is the log from the commit of package lcms for openSUSE:Factory checked in 
at 2013-12-13 13:05:44

Comparing /work/SRC/openSUSE:Factory/lcms (Old)
 and  /work/SRC/openSUSE:Factory/.lcms.new (New)


Package is lcms

Changes:

--- /work/SRC/openSUSE:Factory/lcms/lcms.changes2013-10-06 
14:26:35.0 +0200
+++ /work/SRC/openSUSE:Factory/.lcms.new/lcms.changes   2013-12-13 
13:05:45.0 +0100
@@ -1,0 +2,5 @@
+Wed Dec  4 13:40:02 CET 2013 - m...@suse.de
+
+- adapt lcms-endian patch to ppc64le
+
+---



Other differences:
--
++ lcms-endian.patch ++
--- /var/tmp/diff_new_pack.GuXz6q/_old  2013-12-13 13:05:45.0 +0100
+++ /var/tmp/diff_new_pack.GuXz6q/_new  2013-12-13 13:05:45.0 +0100
@@ -1,6 +1,6 @@
 include/lcms.h
-+++ include/lcms.h 2003/10/27 10:31:42
-@@ -60,7 +60,10 @@
+--- ./include/lcms.h.orig  2009-10-30 15:57:45.0 +
 ./include/lcms.h   2013-12-04 12:39:42.741744427 +
+@@ -47,7 +47,10 @@
  
  // Uncomment this one if you are using big endian machines (only meaningful
  // when NON_WINDOWS is used)
@@ -12,3 +12,18 @@
  
  // Uncomment this one if your compiler/machine does support the
  // long long type This will speedup fixed point math. (USE_C only)
+@@ -139,14 +142,6 @@ typedefpthread_rwlock_t  LCMS_RW
+ #   define USE_BIG_ENDIAN  1
+ #endif
+ 
+-#if defined(__sgi__) || defined(__sgi) || defined(__powerpc__) || 
defined(sparc) || defined(__ppc__) || defined(__s390__) || defined(__s390x__)
+-#   define USE_BIG_ENDIAN  1
+-#endif
+-
+-#if TARGET_CPU_PPC
+-#   define USE_BIG_ENDIAN   1
+-#endif
+-
+ #if macintosh
+ # ifndef __LITTLE_ENDIAN__
+ #   define USE_BIG_ENDIAN  1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit lcms for openSUSE:Factory

2013-10-06 Thread h_root
Hello community,

here is the log from the commit of package lcms for openSUSE:Factory checked in 
at 2013-10-06 14:26:34

Comparing /work/SRC/openSUSE:Factory/lcms (Old)
 and  /work/SRC/openSUSE:Factory/.lcms.new (New)


Package is lcms

Changes:

--- /work/SRC/openSUSE:Factory/lcms/lcms.changes2013-04-14 
10:16:54.0 +0200
+++ /work/SRC/openSUSE:Factory/.lcms.new/lcms.changes   2013-10-06 
14:26:35.0 +0200
@@ -1,0 +2,11 @@
+Sat Oct  5 19:37:49 UTC 2013 - crrodrig...@opensuse.org
+
+- add zlib-devel to buildrequires, not implicit anymore. 
+
+---
+Fri Oct  4 18:26:21 CEST 2013 - sbra...@suse.cz
+
+- Stack overflow fix
+  (CVE-2013-4276.patch, bnc#843716, CVE-2013-4276).
+
+---

New:

  CVE-2013-4276.patch



Other differences:
--
++ lcms.spec ++
--- /var/tmp/diff_new_pack.NG0Twg/_old  2013-10-06 14:26:36.0 +0200
+++ /var/tmp/diff_new_pack.NG0Twg/_new  2013-10-06 14:26:36.0 +0200
@@ -29,6 +29,8 @@
 Patch:  lcms-endian.patch
 Patch1: lcms-strict-aliasing.patch
 Patch2: lcms-implicit-declaration.patch
+# PATCH-FIX-SECURITY CVE-2013-4276.patch bnc843716 sbra...@suse.cz -- Stack 
overflow fix.
+Patch3: CVE-2013-4276.patch
 
 %if 0%{?fedora_version}   
 BuildRequires:  gcc-c++
@@ -44,6 +46,7 @@
 BuildRequires:  libtiff-devel
 BuildRequires:  pkg-config
 BuildRequires:  python-devel
+BuildRequires:  zlib-devel
 %endif 
 
 # bug437293
@@ -97,7 +100,7 @@
 %patch
 %patch1
 %patch2
-#%patch3 -p1
+%patch3 -p1
 cp -a README.1ST README
 chmod -x COPYING AUTHORS NEWS README doc/*.TXT
 

++ CVE-2013-4276.patch ++
--- lcms-1.19.dfsg/samples/icctrans.c   2009-10-30 15:57:45.0 +
+++ lcms-1.19.dfsg/samples/icctrans.c   2013-08-06 11:53:14.385266647 +0100
@@ -86,6 +86,8 @@ 
 static LPcmsNAMEDCOLORLIST InputColorant = NULL;
 static LPcmsNAMEDCOLORLIST OutputColorant = NULL;
 
+unsigned int Buffer_size = 4096;
+
 
 // isatty replacement
 
@@ -500,7 +502,7 @@ 
 
 Prefix[0] = 0;
 if (!lTerse)
-sprintf(Prefix, %s=, C);
+snprintf(Prefix, 20, %s=, C);
 
 if (InHexa)
 {
@@ -648,7 +650,9 @@ 
 static
 void GetLine(char* Buffer)
 {
-scanf(%s, Buffer);
+char User_buffer[Buffer_size];
+fgets(User_buffer, (Buffer_size - 1), stdin);
+sscanf(User_buffer,%s, Buffer);
 
 if (toupper(Buffer[0]) == 'Q') { // Quit?
 
@@ -668,7 +672,7 @@ 
 static
 double GetAnswer(const char* Prompt, double Range)
 {
-char Buffer[4096];
+char Buffer[Buffer_size];
 double val = 0.0;
   
 if (Range == 0.0) {  // Range 0 means double value
@@ -738,7 +742,7 @@ 
 static
 WORD GetIndex(void)
 {
-char Buffer[4096], Name[40], Prefix[40], Suffix[40];
+char Buffer[Buffer_size], Name[40], Prefix[40], Suffix[40];
 int index, max;
 
 max = cmsNamedColorCount(hTrans)-1;
--- lcms-1.19.dfsg/tifficc/tiffdiff.c   2009-10-30 15:57:46.0 +
+++ lcms-1.19.dfsg/tifficc/tiffdiff.c   2013-08-06 11:49:06.698951157 +0100
@@ -633,7 +633,7 @@ 
 cmsIT8SetSheetType(hIT8, TIFFDIFF);
 

-sprintf(Buffer, Differences between %s and %s, TiffName1, TiffName2);
+snprintf(Buffer, 256, Differences between %s and %s, TiffName1, 
TiffName2);
   
 cmsIT8SetComment(hIT8, Buffer);
 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit lcms for openSUSE:Factory

2013-04-14 Thread h_root
Hello community,

here is the log from the commit of package lcms for openSUSE:Factory checked in 
at 2013-04-14 10:16:52

Comparing /work/SRC/openSUSE:Factory/lcms (Old)
 and  /work/SRC/openSUSE:Factory/.lcms.new (New)


Package is lcms, Maintainer is sbra...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/lcms/lcms.changes2011-11-22 
17:47:42.0 +0100
+++ /work/SRC/openSUSE:Factory/.lcms.new/lcms.changes   2013-04-14 
10:16:54.0 +0200
@@ -1,0 +2,6 @@
+Thu Apr 11 08:04:04 UTC 2013 - mmeis...@suse.com
+
+- Added url as source.
+  Please see http://en.opensuse.org/SourceUrls
+
+---

Old:

  lcms-1.19.tar.bz2

New:

  lcms-1.19.tar.gz



Other differences:
--
++ lcms.spec ++
--- /var/tmp/diff_new_pack.T3ZA34/_old  2013-04-14 10:16:55.0 +0200
+++ /var/tmp/diff_new_pack.T3ZA34/_new  2013-04-14 10:16:55.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lcms
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,26 +16,34 @@
 #
 
 
-
 Name:   lcms
+Summary:Utilities for the Little CMS Engine
 License:MIT
 Group:  Productivity/Graphics/Other
-Summary:Utilities for the Little CMS Engine
-URL:http://www.littlecms.com/
+Url:http://www.littlecms.com/
 Version:1.19
-Release:1
+Release:0
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-Source0:%{name}-%{version}.tar.bz2
+Source0:
http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz
 Source1:baselibs.conf
 Patch:  lcms-endian.patch
 Patch1: lcms-strict-aliasing.patch
 Patch2: lcms-implicit-declaration.patch
 
 %if 0%{?fedora_version}   
-BuildRequires:  gcc-c++ libjpeg-devel libtiff-devel pkgconfig python-devel 
zlib-devel
+BuildRequires:  gcc-c++
+BuildRequires:  libjpeg-devel
+BuildRequires:  libtiff-devel
+BuildRequires:  pkgconfig
+BuildRequires:  python-devel
+BuildRequires:  zlib-devel
 %endif 
 %if 0%{?suse_version}  
-BuildRequires:  gcc-c++ libjpeg-devel libtiff-devel pkg-config python-devel
+BuildRequires:  gcc-c++
+BuildRequires:  libjpeg-devel
+BuildRequires:  libtiff-devel
+BuildRequires:  pkg-config
+BuildRequires:  python-devel
 %endif 
 
 # bug437293
@@ -58,8 +66,9 @@
 
 %package -n liblcms-devel
 Summary:Include Files and Libraries Mandatory for Development
-Requires:   liblcms1 = %{version} glibc-devel
 Group:  Development/Libraries/C and C++
+Requires:   glibc-devel
+Requires:   liblcms1 = %{version}
 # bug437293
 %ifarch ppc64
 Obsoletes:  liblcms-devel-64bit

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit lcms for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package lcms for openSUSE:Factory checked in 
at 2011-12-06 18:22:21

Comparing /work/SRC/openSUSE:Factory/lcms (Old)
 and  /work/SRC/openSUSE:Factory/.lcms.new (New)


Package is lcms, Maintainer is sbra...@suse.com

Changes:




Other differences:
--
++ lcms.spec ++
--- /var/tmp/diff_new_pack.TK70dG/_old  2011-12-06 18:39:39.0 +0100
+++ /var/tmp/diff_new_pack.TK70dG/_new  2011-12-06 18:39:39.0 +0100
@@ -18,7 +18,7 @@
 
 
 Name:   lcms
-License:MIT License (or similar)
+License:MIT
 Group:  Productivity/Graphics/Other
 Summary:Utilities for the Little CMS Engine
 URL:http://www.littlecms.com/

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org