Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ccze for openSUSE:Leap:16.0 checked 
in at 2025-06-13 22:35:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:16.0/ccze (Old)
 and      /work/SRC/openSUSE:Leap:16.0/.ccze.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ccze"

Fri Jun 13 22:35:25 2025 rev:2 rq:1278533 version:0.2.1.2

Changes:
--------
--- /work/SRC/openSUSE:Leap:16.0/ccze/ccze.changes      2025-03-19 
11:40:42.542560511 +0100
+++ /work/SRC/openSUSE:Leap:16.0/.ccze.new.19631/ccze.changes   2025-06-13 
22:35:27.123856363 +0200
@@ -1,0 +2,19 @@
+Fri Mar 21 08:46:17 UTC 2025 - Ana Guerrero <ana.guerr...@suse.com>
+
+- GitHub repository have been removed:
+  * switch to upstream's archived repository as homepage.
+  * do not download tarball from GitHub
+- Add directly patches from Debian that aren't applid already,
+  they include PCRE2 porting:
+  * fix_passing_LDFLAGS_for_ccze-cssdump.patch
+  * fix_capitalization_typo.patch
+  * fix-national-encoding.patch
+  * cross.patch
+  * pcre2.patch
+  * memory-leak.patch
+  * uninitialised-value.patch
+- Switch to PCRE2
+- Only run updated tests
+- Spec cleanup
+
+-------------------------------------------------------------------

Old:
----
  ccze_0.2.1-3.debian.tar.xz

New:
----
  cross.patch
  fix-national-encoding.patch
  fix_capitalization_typo.patch
  fix_passing_LDFLAGS_for_ccze-cssdump.patch
  memory-leak.patch
  pcre2.patch
  uninitialised-value.patch

BETA DEBUG BEGIN:
  New:  * fix-national-encoding.patch
  * cross.patch
  * pcre2.patch
  New:  * fix_capitalization_typo.patch
  * fix-national-encoding.patch
  * cross.patch
  New:  * fix_passing_LDFLAGS_for_ccze-cssdump.patch
  * fix_capitalization_typo.patch
  * fix-national-encoding.patch
  New:  they include PCRE2 porting:
  * fix_passing_LDFLAGS_for_ccze-cssdump.patch
  * fix_capitalization_typo.patch
  New:  * pcre2.patch
  * memory-leak.patch
  * uninitialised-value.patch
  New:  * cross.patch
  * pcre2.patch
  * memory-leak.patch
  New:  * memory-leak.patch
  * uninitialised-value.patch
- Switch to PCRE2
BETA DEBUG END:

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

Other differences:
------------------
++++++ ccze.spec ++++++
--- /var/tmp/diff_new_pack.SIHzvz/_old  2025-06-13 22:35:28.819926804 +0200
+++ /var/tmp/diff_new_pack.SIHzvz/_new  2025-06-13 22:35:28.827927137 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ccze
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2025 SUSE LLC
 # Copyright (c) 2016 Sebastian Wagner <sebix+novell....@sebix.at>
 #
 # All modifications and additions to the file contributed by third parties
@@ -13,7 +13,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -21,21 +21,25 @@
 Version:        0.2.1.2
 Release:        0
 Summary:        A log colorizer
-License:        GPL-2.0+
-Group:          Applications/Other
-Url:            https://github.com/madhouse/ccze/
-Source:         https://github.com/madhouse/ccze/archive/ccze-0.2.1-2.tar.gz
-Source1:        
http://http.debian.net/debian/pool/main/c/ccze/ccze_0.2.1-3.debian.tar.xz
+License:        GPL-2.0-or-later
+URL:            https://git.madhouse-project.org/archive/ccze
+Source:         ccze-0.2.1-2.tar.gz
 Patch0:         license-fsf.diff
+Patch1:         fix_capitalization_typo.patch
+Patch2:         fix_passing_LDFLAGS_for_ccze-cssdump.patch
+Patch3:         fix-national-encoding.patch
+Patch4:         cross.patch
+Patch5:         pcre2.patch
+Patch6:         memory-leak.patch
+Patch7:         uninitialised-value.patch
 BuildRequires:  autoconf
 BuildRequires:  ncurses-devel >= 5.0
-BuildRequires:  pcre-devel >= 3.1
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  pcre2-devel
 
 %package devel
-Summary:        Development files for %name
+Summary:        Development files for %{name}
 Group:          Development/Libraries/C and C++
-Requires:       %name
+Requires:       %{name}
 
 %description
 CCZE is a modular log colorizer, with plugins for apm,
@@ -44,27 +48,16 @@
 
 %description devel
 This package contains libraries and header files for developing
-applications that use %name.
-
+applications that use %{name}.
 
 %prep
-%setup -q -n %name-%name-0.2.1-2
-%setup -D -T -b 1 -q -n %name-%name-0.2.1-2
-%patch -P 0 -p1
-patch -p1 
debian/patches/288834_FTBFS_unrecognized_command_line_option_-Wmulticharacter.patch
-patch -p1 debian/patches/doc___ccze.1.in.patch
-patch -p1 debian/patches/fix_capitalization_typo.patch
-patch -p1 debian/patches/fix_passing_LDFLAGS_for_ccze-cssdump.patch
-patch -p1 debian/patches/src___ccze.c.patch
-patch -p1 debian/patches/src___ccze-wordcolor.c_positive-numbers.patch
-patch -p1 debian/patches/src___ccze-wordcolor.c_virus+clean.patch
-patch -p1 debian/patches/src___mod_syslog.c.patch
+%autosetup -p1 -n %{name}-%{name}-0.2.1-2
 
 %build
 autoheader
 autoconf
 %configure --with-builtins=all
-make
+%make_build
 
 %install
 %make_install
@@ -72,18 +65,18 @@
 src/ccze-dump > %{buildroot}/%{_sysconfdir}/cczerc
 
 %check
-make check
+make check TESTS="version.test bug-wnum.test bug-procmailsubj2.test \
+                  bug-sysrepeat.test bug-httpd.test bug-dpkg.test"
 
 %files
-%defattr(-,root,root)
 %license COPYING
 %doc NEWS THANKS FAQ ChangeLog ChangeLog-0.1 README
 %config(noreplace) %{_sysconfdir}/cczerc
 %{_bindir}/ccze
 %{_bindir}/ccze-cssdump
-%{_mandir}/man1/ccze.1*
-%{_mandir}/man1/ccze-cssdump.1*
-%{_mandir}/man7/ccze-plugin.7*
+%{_mandir}/man1/ccze.1%{?ext_man}
+%{_mandir}/man1/ccze-cssdump.1%{?ext_man}
+%{_mandir}/man7/ccze-plugin.7%{?ext_man}
 
 %files devel
 %{_includedir}/ccze.h

++++++ _service ++++++
--- /var/tmp/diff_new_pack.SIHzvz/_old  2025-06-13 22:35:29.191942255 +0200
+++ /var/tmp/diff_new_pack.SIHzvz/_new  2025-06-13 22:35:29.227943750 +0200
@@ -9,16 +9,5 @@
     <param name="verifier">sha256</param>
     <param 
name="checksum">d698e7ead8351a89538abbe6e762bf5a4576b3b083cc19ed039b68eab7dbaaaa</param>
   </service>
-  <service name="download_url" mode="disabled">
-    <param name="protocol">http</param>
-    <param name="host">http.debian.net</param>
-    <param 
name="path">/debian/pool/main/c/ccze/ccze_0.2.1-3.debian.tar.xz</param>
-  </service>
-  <service mode="localonly" name="verify_file">
-    <param name="file">ccze_0.2.1-3.debian.tar.xz</param>
-    <param name="verifier">sha256</param>
-    <param 
name="checksum">9bce13754ff6aeab118f202e8e916df314ac662c31cd7acc0737c7a793970de0</param>
-  </service>
 </services>
-(No newline at EOF)
 

++++++ cross.patch ++++++
From: Helmut Grohne <hel...@subdivi.de>
Subject: avoid spoiling AC_PROG_CC with the build architecture compiler
Bug-Debian: https://bugs.debian.org/900024
Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900024#5

Index: ccze-0.2.1/configure.ac
===================================================================
--- ccze-0.2.1.orig/configure.ac
+++ ccze-0.2.1/configure.ac
@@ -36,7 +36,6 @@
 dnl **********************
 dnl * Programs
 dnl **********************
-AC_CHECK_TOOL(CC, cc)
 AC_PROG_CC
 
 WFLAGS=""

++++++ fix-national-encoding.patch ++++++
Description: Convert national encoding to UTF-8
Author: Axel Beckert <a...@debian.org>

--- a/THANKS
+++ b/THANKS
@@ -12,4 +12,4 @@
 Morten Brix Pedersen
 Thomas Graf
 Zoltan Lengyel (War_New)
-Zsolt Czigl�czki (ciga)
+Zsolt Czigléczki (ciga)

++++++ fix_capitalization_typo.patch ++++++
Description: Fix typo in preprocessor directive
 Might fix some crashes, too.
Bug-Debian: https://bugs.debian.org/823334
Author: Steven Willis <onlyn...@gmail.com>

--- a/src/ccze-compat.c
+++ b/src/ccze-compat.c
@@ -275,7 +275,7 @@
                char **valuep)
 {
   int i = getsubopt (optionp, tokens, valuep);
-#if HAVE_SUBOPTARg
+#if HAVE_SUBOPTARG
   if (!*valuep && suboptarg)
     *valuep = strdup (suboptarg);
 #endif

++++++ fix_passing_LDFLAGS_for_ccze-cssdump.patch ++++++
Description: Fix passing of LDFLAGS for ccze-cssdump
Author: Axel Beckert <a...@debian.org>

--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -75,7 +75,7 @@
 ${PROGRAM}: ${OBJECTS} ${PLUGIN_SOBJS}
        ${CC} -rdynamic ${ALL_CFLAGS} -o $@ $^ ${ALL_LDFLAGS}
 ccze-dump ccze-cssdump: %: %.o ccze-compat.o ccze-color.c
-       ${CC} ${ALL_CFLAGS} -o $@ $@.o ccze-compat.o
+       ${CC} ${ALL_CFLAGS} ${ALL_LDFLAGS} -o $@ $@.o ccze-compat.o
 ccze-builtins.c: Makefile
        echo '#include <ccze.h>' >$@
        echo '#include "ccze-private.h"' >>$@

++++++ memory-leak.patch ++++++
Description: Fix a memory leak.
Author: Yavor Doganov <ya...@gnu.org>
Forwarded: no
Last-Update: 2023-12-06
---

--- ccze.orig/src/ccze.c
+++ ccze/src/ccze.c
@@ -731,6 +731,9 @@
 
       if (ccze_config.mode == CCZE_MODE_CURSES)
        refresh ();
+
+      free (subject);
+      subject = NULL;
     }
 
   if (ccze_config.mode == CCZE_MODE_CURSES)

++++++ pcre2.patch ++++++
++++ 2878 lines (skipped)

++++++ uninitialised-value.patch ++++++
Description: Fix a possibly uninitialised value.
Author: Yavor Doganov <ya...@gnu.org>
Forwarded: no
Last-Update: 2023-12-06
---

--- ccze.orig/src/ccze-color.c
+++ ccze/src/ccze-color.c
@@ -459,9 +459,11 @@
   size_t len;
   struct stat stb;
 
-  stat (fn, &stb);
-  if (!S_ISREG (stb.st_mode))
-    return;
+  if ((stat (fn, &stb)) == 0)
+    {
+      if (!S_ISREG (stb.st_mode))
+        return;
+    }
   
   fp = fopen (fn, "r");
   if (!fp)

Reply via email to