Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libb64 for openSUSE:Factory checked 
in at 2026-06-03 20:27:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libb64 (Old)
 and      /work/SRC/openSUSE:Factory/.libb64.new.1937 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libb64"

Wed Jun  3 20:27:29 2026 rev:4 rq:1356929 version:2.0.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libb64/libb64.changes    2019-09-19 
15:49:58.803303821 +0200
+++ /work/SRC/openSUSE:Factory/.libb64.new.1937/libb64.changes  2026-06-03 
20:29:52.839766618 +0200
@@ -1,0 +2,21 @@
+Wed Jun  3 10:11:40 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to version 2.0.0.1:
+  * Introduce version macros for API/version detection
+  * Use size_t arguments to allow longer base64 strings
+  * Re-introduce configurable line-break functionality
+  * Add encoder flags field and output-buffer length helpers
+  * Change in/out pointers to void*
+  * Integer-overflow and coder-state initialization fixes are
+    now included upstream
+- Switch Source to the upstream GitHub release tarball
+- Bump soversion to 1 (manually maintained soname; ABI changed)
+- Drop patches now included upstream:
+  * initialize-coder-state.diff
+  * integer-overflows.diff
+  * static-chars-per-line.diff
+- Rebase bufsiz-as-buffer-size.diff for the new sources
+- Drop no longer needed unzip BuildRequires
+- Modernize spec file (drop Group tag, use https URL)
+
+-------------------------------------------------------------------

Old:
----
  initialize-coder-state.diff
  integer-overflows.diff
  libb64-1.2.1.zip
  static-chars-per-line.diff

New:
----
  libb64-2.0.0.1.tar.gz

----------(Old B)----------
  Old:- Drop patches now included upstream:
  * initialize-coder-state.diff
  * integer-overflows.diff
  Old:  * initialize-coder-state.diff
  * integer-overflows.diff
  * static-chars-per-line.diff
  Old:  * integer-overflows.diff
  * static-chars-per-line.diff
- Rebase bufsiz-as-buffer-size.diff for the new sources
----------(Old E)----------

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

Other differences:
------------------
++++++ libb64.spec ++++++
--- /var/tmp/diff_new_pack.lWnJMo/_old  2026-06-03 20:29:53.571796934 +0200
+++ /var/tmp/diff_new_pack.lWnJMo/_new  2026-06-03 20:29:53.571796934 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libb64
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,28 +17,25 @@
 
 
 %define shared_lib libb64.so
-%define soversion 0
+%define soversion 1
 %define soname %{shared_lib}.%{soversion}
 %define libname %{name}-%{soversion}
 Name:           libb64
-Version:        1.2.1
+Version:        2.0.0.1
 Release:        0
 Summary:        Base64 Encoding/Decoding Routines
 License:        SUSE-Public-Domain
-Group:          Development/Libraries/C and C++
-URL:            http://libb64.sourceforge.net/
-Source:         
https://downloads.sourceforge.net/project/%{name}/%{name}/%{name}/%{name}-%{version}.zip
-# PATCH-FIX-UPSTREAM do respect cflags and some other bugfixes from debian
+URL:            https://github.com/libb64/libb64
+Source:         
https://github.com/libb64/libb64/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM bufsiz-as-buffer-size.diff -- default the C++ en/decoder 
buffersize to BUFSIZ so the headers are usable standalone
 Patch0:         bufsiz-as-buffer-size.diff
-Patch1:         initialize-coder-state.diff
-Patch2:         integer-overflows.diff
-Patch3:         no-hardcoded-lib-path.diff
-Patch4:         override-cflags.diff
-Patch5:         static-chars-per-line.diff
-# PATCH-FIX-UPSTREAM do not add Werror as it is prone to break
-Patch6:         disable-werror.diff
+# PATCH-FIX-UPSTREAM no-hardcoded-lib-path.diff -- link the base64 tool 
against the library
+Patch1:         no-hardcoded-lib-path.diff
+# PATCH-FIX-UPSTREAM override-cflags.diff -- respect externally supplied CFLAGS
+Patch2:         override-cflags.diff
+# PATCH-FIX-UPSTREAM disable-werror.diff -- do not add -Werror as it is prone 
to break
+Patch3:         disable-werror.diff
 BuildRequires:  gcc-c++
-BuildRequires:  unzip
 
 %description
 libb64 is a library of ANSI C routines for fast encoding/decoding data into and
@@ -47,7 +44,6 @@
 
 %package        -n %{libname}
 Summary:        A library for working with base64 encoding/decoding
-Group:          System/Libraries
 
 %description    -n %{libname}
 libb64 is a library of ANSI C routines for fast encoding/decoding data into and
@@ -56,7 +52,6 @@
 
 %package        devel
 Summary:        A library for working with base64 encoding/decoding
-Group:          Development/Libraries/C and C++
 Requires:       %{libname} = %{version}-%{release}
 
 %description    devel
@@ -75,7 +70,7 @@
 cc -shared -Wl,-soname,%{soname} *.o -o %{soname}
 ln -sf %{soname} %{shared_lib}
 popd
-make -j1
+%make_build -j1 all_src all_base64
 
 %install
 # We need to use different name to avoid conflict with coreutils
@@ -92,16 +87,17 @@
 %postun -n %{libname} -p /sbin/ldconfig
 
 %files
-%doc CHANGELOG README
+%doc CHANGELOG.md README.md
 %{_bindir}/libb64-base64
 
 %files -n %{libname}
-%license LICENSE
+%license LICENSE.md
 %{_libdir}/%{soname}
 
 %files devel
 %{_libdir}/%{shared_lib}
 %dir %{_includedir}/b64
+%{_includedir}/b64/ccommon.h
 %{_includedir}/b64/cdecode.h
 %{_includedir}/b64/cencode.h
 %{_includedir}/b64/decode.h

++++++ bufsiz-as-buffer-size.diff ++++++
--- /var/tmp/diff_new_pack.lWnJMo/_old  2026-06-03 20:29:53.627799254 +0200
+++ /var/tmp/diff_new_pack.lWnJMo/_new  2026-06-03 20:29:53.631799419 +0200
@@ -1,11 +1,12 @@
 Description: use BUFSIZ as buffer size
+ BUFFERSIZE is only defined when compiling base64/ with -DBUFFERSIZE; the
+ installed C++ headers default the en/decoder buffersize to it, so library
+ consumers cannot use the default constructor. Use BUFSIZ from <cstdio>.
 Author: Jakub Wilk <[email protected]>
 Bug: 
http://sourceforge.net/tracker/?func=detail&atid=785907&aid=3591336&group_id=152942
-Forwarded: no
-Last-Update: 2012-11-30
-
---- a/include/b64/decode.h
-+++ b/include/b64/decode.h
+Rebased-for: 2.0.0.1
+--- a/include/b64/decode.h     2026-06-03 12:06:25.564554862 +0200
++++ b/include/b64/decode.h     2026-06-03 12:06:25.572555759 +0200
 @@ -8,6 +8,7 @@
  #ifndef BASE64_DECODE_H
  #define BASE64_DECODE_H
@@ -21,10 +22,10 @@
 -              decoder(int buffersize_in = BUFFERSIZE)
 +              decoder(int buffersize_in = BUFSIZ)
                : _buffersize(buffersize_in)
-               {}
- 
---- a/include/b64/encode.h
-+++ b/include/b64/encode.h
+               {
+                       base64_init_decodestate(&_state);
+--- a/include/b64/encode.h     2026-06-03 12:06:25.576556208 +0200
++++ b/include/b64/encode.h     2026-06-03 12:06:25.588557554 +0200
 @@ -8,6 +8,7 @@
  #ifndef BASE64_ENCODE_H
  #define BASE64_ENCODE_H
@@ -39,7 +40,7 @@
  
 -              encoder(int buffersize_in = BUFFERSIZE)
 +              encoder(int buffersize_in = BUFSIZ)
-               : _buffersize(buffersize_in)
-               {}
- 
+                       : _buffersize(buffersize_in)
+               {
+                       base64_init_encodestate(&_state);
 

Reply via email to