Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libcaca for openSUSE:Factory checked 
in at 2022-11-24 12:22:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libcaca (Old)
 and      /work/SRC/openSUSE:Factory/.libcaca.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libcaca"

Thu Nov 24 12:22:02 2022 rev:49 rq:1036244 version:0.99.beta20

Changes:
--------
--- /work/SRC/openSUSE:Factory/libcaca/libcaca.changes  2022-04-30 
00:44:56.634920497 +0200
+++ /work/SRC/openSUSE:Factory/.libcaca.new.1597/libcaca.changes        
2022-11-24 12:22:03.724852530 +0100
@@ -1,0 +2,27 @@
+Mon Nov 14 15:32:39 UTC 2022 - Valentin Lefebvre <valentin.lefeb...@suse.com>
+
+- add patch [libcaca-autoconf-2.69.patch]
+  * Don't force autoconf to be at version 2.71
+
+-------------------------------------------------------------------
+Mon Nov 14 14:07:25 UTC 2022 - Valentin Lefebvre <valentin.lefeb...@suse.com>
+
+- Upgrade to 0.99.beta20
+  * IPv6 support in cacaserver
+  * fixed a bug from 2004 that caused PDF documentation generation to fail
+  * memory allocation functions are now more robust
+  * numerous fixes for memory leaks and invalid memory accesses:
+    * CVE-2021-30498
+    * CVE-2021-30499
+    * CVE-2021-3410
+    * CVE-2018-20546
+    * CVE-2018-20547
+    * CVE-2018-20545
+    * CVE-2018-20548
+    * CVE-2018-20549
+- Dropped upstream fixed patches
+  * libcaca-bsc1182731-prevent-overflow.patch
+  * libcaca-variable-type.patch
+  * Bug1120502-add_cast_to_prevent_overflow.patch 
+
+-------------------------------------------------------------------

Old:
----
  Bug1120502-add_cast_to_prevent_overflow.patch
  libcaca-0.99.beta19.git20171003.tar.gz
  libcaca-bsc1182731-prevent-overflow.patch
  libcaca-variable-type.patch

New:
----
  libcaca-0.99.beta20.tar.gz
  libcaca-autoconf-2.69.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libcaca.spec ++++++
--- /var/tmp/diff_new_pack.NXVJEL/_old  2022-11-24 12:22:04.524857614 +0100
+++ /var/tmp/diff_new_pack.NXVJEL/_new  2022-11-24 12:22:04.528857639 +0100
@@ -16,16 +16,14 @@
 #
 
 
-#
-%define _rev da28e9684ef445ac8d42745644336b8a75c01855
 Name:           libcaca
-Version:        0.99.beta19.git20171003
+Version:        0.99.beta20
 Release:        0
 Summary:        Library for Colour ASCII Art, text mode graphics
 License:        WTFPL
 Group:          Development/Languages/C and C++
 URL:            http://caca.zoy.org
-Source0:        
https://github.com/cacalabs/%{name}/archive/%{_rev}.tar.gz#/%{name}-%{version}.tar.gz
+Source0:        
https://github.com/cacalabs/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
 Source1:        baselibs.conf
 Patch1:         libcaca-0.99-texbuild.patch
 Patch2:         libcaca-X11_test.patch
@@ -34,13 +32,11 @@
 Patch7:         libcaca-0.99.beta16-missing-GLU.patch
 Patch9:         caca-no-build-date.patch
 Patch10:        libcaca-ncurses6.patch
-Patch11:        libcaca-variable-type.patch
-Patch12:        Bug1120502-add_cast_to_prevent_overflow.patch
 Patch13:        Bug1143286_libcaca_configure_ac_chg_for_lto.patch
-Patch14:        libcaca-bsc1182731-prevent-overflow.patch
 Patch99:        bsc1184751-add-space-for-NUL-byte.patch
 # PATCH-FIX-UPSTREAM correctly-handle-zero-width-or-height-images.patch 
bsc#1197028
 Patch100:       bsc1197028-correctly-handle-zero-width-or-height-images.patch
+Patch101:       libcaca-autoconf-2.69.patch
 BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  freeglut-devel
@@ -135,7 +131,7 @@
 drawing, triangle filling and sprite blitting.
 
 %prep
-%setup -q -n %{name}-%{_rev}
+%setup -q
 %patch2
 %patch4
 %patch5
@@ -143,12 +139,10 @@
 %patch9
 %patch1
 %patch10 -p1
-%patch11 -p1
-%patch12 -p1
 %patch13 -p1
-%patch14 -p1
 %patch99 -p1
 %patch100 -p1
+%patch101 -p1
 RUBY="ruby-`echo %{rb_ver} | sed 's|\.[^\.]*$||'`"
 find . -type f -exec sed -i "s|ruby-1.9|$RUBY|" \{\} \;
 pushd python
@@ -189,7 +183,7 @@
 %postun -n libcaca0-plugins -p /sbin/ldconfig
 
 %files -n libcaca0
-%doc AUTHORS ChangeLog NEWS NOTES README THANKS
+%doc AUTHORS NEWS NOTES README THANKS
 %license COPYING
 %{_libdir}/*.so.*
 

++++++ Bug1143286_libcaca_configure_ac_chg_for_lto.patch ++++++
--- /var/tmp/diff_new_pack.NXVJEL/_old  2022-11-24 12:22:04.544857741 +0100
+++ /var/tmp/diff_new_pack.NXVJEL/_new  2022-11-24 12:22:04.548857766 +0100
@@ -12,24 +12,26 @@
  configure.ac |    4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
 
-Index: libcaca-da28e9684ef445ac8d42745644336b8a75c01855/configure.ac
+Index: libcaca-0.99.beta20/configure.ac
 ===================================================================
---- libcaca-da28e9684ef445ac8d42745644336b8a75c01855.orig/configure.ac
-+++ libcaca-da28e9684ef445ac8d42745644336b8a75c01855/configure.ac
-@@ -145,13 +145,13 @@ AC_TRY_COMPILE([#include <windows.h>],[S
+--- libcaca-0.99.beta20.orig/configure.ac
++++ libcaca-0.99.beta20/configure.ac
+@@ -146,7 +146,7 @@ AC_COMPILE_IFELSE(
   [AC_MSG_RESULT(no)])
  
  AC_MSG_CHECKING(for fsin/fcos)
--AC_TRY_COMPILE([],[double x; asm volatile("fsin; fcos":"=t"(x):);],
-+AC_TRY_LINK([],[double x; asm volatile("fsin; fcos":"=t"(x):);],
-  [AC_MSG_RESULT(yes)
-   AC_DEFINE(HAVE_FSIN_FCOS, 1, [Define to 1 if you have the ‘fsin’ and 
‘fcos’ instructions.])],
+-AC_COMPILE_IFELSE(
++AC_LINK_IFELSE(
+  [AC_LANG_PROGRAM(
+    [[]],
+    [[double x; asm volatile("fsin; fcos":"=t"(x):);]])],
+@@ -155,7 +155,7 @@ AC_COMPILE_IFELSE(
   [AC_MSG_RESULT(no)])
  
  AC_MSG_CHECKING(for fldln2/fxch/fyl2x)
--AC_TRY_COMPILE([],[double x; asm volatile("fldln2; fldln2; fxch; 
fyl2x":"=t"(x):);],
-+AC_TRY_LINK([],[double x; asm volatile("fldln2; fldln2; fxch; 
fyl2x":"=t"(x):);],
-  [AC_MSG_RESULT(yes)
-   AC_DEFINE(HAVE_FLDLN2, 1, [Define to 1 if you have the ‘fldln2’ and 
other floating point instructions.])],
-  [AC_MSG_RESULT(no)])
+-AC_COMPILE_IFELSE(
++AC_LINK_IFELSE(
+  [AC_LANG_PROGRAM(
+    [[]],
+    [[double x; asm volatile("fldln2; fldln2; fxch; fyl2x":"=t"(x):);]])],
 

++++++ bsc1184751-add-space-for-NUL-byte.patch ++++++
--- /var/tmp/diff_new_pack.NXVJEL/_old  2022-11-24 12:22:04.572857919 +0100
+++ /var/tmp/diff_new_pack.NXVJEL/_new  2022-11-24 12:22:04.576857944 +0100
@@ -1,18 +1,18 @@
-Index: libcaca-da28e9684ef445ac8d42745644336b8a75c01855/caca/codec/export.c
+Index: libcaca-0.99.beta20/caca/codec/export.c
 ===================================================================
---- libcaca-da28e9684ef445ac8d42745644336b8a75c01855.orig/caca/codec/export.c
-+++ libcaca-da28e9684ef445ac8d42745644336b8a75c01855/caca/codec/export.c
-@@ -944,21 +944,21 @@ static void *export_tga(caca_canvas_t co
+--- libcaca-0.99.beta20.orig/caca/codec/export.c
++++ libcaca-0.99.beta20/caca/codec/export.c
+@@ -969,22 +969,22 @@ static void *export_tga(caca_canvas_t co
      cur = data = malloc(*bytes);
  
      /* ID Length */
--    cur += sprintf(cur, "%c", 0);
+-    cur += write_u8(cur, 0);
 +    *cur++ = 0;
      /* Color Map Type: no colormap */
--    cur += sprintf(cur, "%c", 0);
+-    cur += write_u8(cur, 0);
 +    *cur++ = 0;
      /* Image Type: uncompressed truecolor */
--    cur += sprintf(cur, "%c", 2);
+-    cur += write_u8(cur, 2);
 +    *cur++ = 2;
      /* Color Map Specification: no color map */
      memset(cur, 0, 5); cur += 5;
@@ -22,18 +22,20 @@
 -    cur += sprintf(cur, "%c%c", 0, 0); /* Y Origin */
 -    cur += sprintf(cur, "%c%c", w & 0xff, w >> 8); /* Width */
 -    cur += sprintf(cur, "%c%c", h & 0xff, h >> 8); /* Height */
--    cur += sprintf(cur, "%c", 32); /* Pixel Depth */
--    cur += sprintf(cur, "%c", 40); /* Image Descriptor */
+-    cur += write_u8(cur, 32); /* Pixel Depth */
+-    cur += write_u8(cur, 40); /* Image Descriptor */
+-
 +    *cur++ = 0; *cur++ = 0; /* X Origin */
 +    *cur++ = 0; *cur++ = 0; /* Y Origin */
 +    *cur++ = w & 0xff; *cur++ = w >> 8; /* Width */
 +    *cur++ = h & 0xff; *cur++ = h >> 8; /* Height */
 +    *cur++ = 32; /* Pixel Depth */
 +    *cur++ = 40; /* Image Descriptor */
- 
++    
      /* Image ID: no ID */
      /* Color Map Data: no colormap */
-@@ -995,9 +995,13 @@ static void *export_troff(caca_canvas_t
+ 
+@@ -1020,9 +1020,13 @@ static void *export_troff(caca_canvas_t
       *  + 4 bytes = 33
       * Each line has a \n (1) and maybe 0xc2 0xa0 (2)
       * Header has .nf\n (3)
@@ -44,8 +46,8 @@
       */
      *bytes = 3 + cv->height * 3 + (cv->width * cv->height * 33);
 -    cur = data = malloc(*bytes);
-+    cur = data = malloc(*bytes + 1);  /* Add space for a terminating NUL byte 
*/
++    cur = data = malloc(*bytes + 1); /* Add space for a terminating NUL byte 
*/
  
-     cur += sprintf(cur, ".nf\n");
+     cur += write_string(cur, ".nf\n");
  
 

++++++ libcaca-0.99-texbuild.patch ++++++
--- /var/tmp/diff_new_pack.NXVJEL/_old  2022-11-24 12:22:04.592858045 +0100
+++ /var/tmp/diff_new_pack.NXVJEL/_new  2022-11-24 12:22:04.592858045 +0100
@@ -1,8 +1,8 @@
 Index: doc/doxygen.cfg.in
 ===================================================================
---- doc/doxygen.cfg.in.orig    2010-01-03 04:54:32.000000000 +0200
-+++ doc/doxygen.cfg.in 2010-11-20 07:32:05.000000000 +0200
-@@ -1663,7 +1663,7 @@
+--- doc/doxygen.cfg.in.orig
++++ doc/doxygen.cfg.in
+@@ -1891,7 +1891,7 @@ USE_PDFLATEX           = YES
  # The default value is: NO.
  # This tag requires that the tag GENERATE_LATEX is set to YES.
  

++++++ libcaca-0.99.beta16-missing-GLU.patch ++++++
--- /var/tmp/diff_new_pack.NXVJEL/_old  2022-11-24 12:22:04.604858122 +0100
+++ /var/tmp/diff_new_pack.NXVJEL/_new  2022-11-24 12:22:04.608858147 +0100
@@ -1,8 +1,8 @@
 Index: caca/Makefile.am
 ===================================================================
---- caca/Makefile.am.orig      2012-05-14 11:37:31.929230228 +0200
-+++ caca/Makefile.am   2012-05-14 11:39:48.458807793 +0200
-@@ -55,7 +55,7 @@ libcaca_la_DEPENDENCIES = \
+--- caca/Makefile.am.orig
++++ caca/Makefile.am
+@@ -58,7 +58,7 @@ libcaca_la_DEPENDENCIES = \
        $(NULL)
  libcaca_la_CPPFLAGS = $(AM_CPPFLAGS) @CACA_CFLAGS@ -D__LIBCACA__
  libcaca_la_LDFLAGS = -no-undefined -version-number @LT_VERSION@

++++++ libcaca-0.99.beta19.git20171003.tar.gz -> libcaca-0.99.beta20.tar.gz 
++++++
++++ 108125 lines of diff (skipped)

++++++ libcaca-X11_test.patch ++++++
--- /var/tmp/diff_new_pack.NXVJEL/_old  2022-11-24 12:22:04.832859571 +0100
+++ /var/tmp/diff_new_pack.NXVJEL/_new  2022-11-24 12:22:04.836859596 +0100
@@ -1,8 +1,8 @@
 Index: configure.ac
 ===================================================================
---- configure.ac.orig  2010-02-08 14:34:28.000000000 +0200
-+++ configure.ac       2011-01-29 12:09:24.385753017 +0200
-@@ -213,7 +213,7 @@ if test "${enable_x11}" != "no"; then
+--- configure.ac.orig
++++ configure.ac
+@@ -225,7 +225,7 @@ if test "${enable_x11}" != "no"; then
    AC_CHECK_LIB(X11, XOpenDisplay,
     [ac_cv_my_have_x11="yes"
      if test -n "${x_includes}"; then X_CFLAGS="-I${x_includes}"; fi

++++++ libcaca-autoconf-2.69.patch ++++++
Index: libcaca-0.99.beta20/configure.ac
===================================================================
--- libcaca-0.99.beta20.orig/configure.ac
+++ libcaca-0.99.beta20/configure.ac
@@ -1,6 +1,6 @@
 
 AC_INIT([libcaca],[0.99.beta20])
-AC_PREREQ([2.71])
+AC_PREREQ([2.69])
 AC_CONFIG_AUX_DIR(.auto)
 AC_CANONICAL_TARGET
 AM_INIT_AUTOMAKE([foreign no-define tar-ustar silent-rules subdir-objects])

++++++ libcaca-ncurses6.patch ++++++
--- /var/tmp/diff_new_pack.NXVJEL/_old  2022-11-24 12:22:04.856859724 +0100
+++ /var/tmp/diff_new_pack.NXVJEL/_new  2022-11-24 12:22:04.860859749 +0100
@@ -1,8 +1,8 @@
-Index: libcaca-0.99.beta19/caca/driver/ncurses.c
+Index: libcaca-0.99.beta20/caca/driver/ncurses.c
 ===================================================================
---- libcaca-0.99.beta19.orig/caca/driver/ncurses.c
-+++ libcaca-0.99.beta19/caca/driver/ncurses.c
-@@ -262,11 +262,7 @@ static int ncurses_init_graphics(caca_di
+--- libcaca-0.99.beta20.orig/caca/driver/ncurses.c
++++ libcaca-0.99.beta20/caca/driver/ncurses.c
+@@ -268,11 +268,7 @@ static int ncurses_init_graphics(caca_di
      mouseinterval(-1); /* No click emulation */
  
      /* Set the escape delay to a ridiculously low value */

++++++ libcaca-ruby_vendor_install.patch ++++++
--- /var/tmp/diff_new_pack.NXVJEL/_old  2022-11-24 12:22:04.876859850 +0100
+++ /var/tmp/diff_new_pack.NXVJEL/_new  2022-11-24 12:22:04.880859875 +0100
@@ -2,7 +2,7 @@
 ===================================================================
 --- configure.ac.orig
 +++ configure.ac
-@@ -475,14 +475,17 @@ ac_cv_my_have_ruby_minitest="no"
+@@ -489,14 +489,17 @@ ac_cv_my_have_ruby_minitest="no"
  if test "${enable_ruby}" != "no"; then
    AC_PATH_PROG(RUBY, ruby, no)
    if test "${RUBY}" != "no"; then

Reply via email to