Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package netpbm for openSUSE:Factory checked 
in at 2026-10-20 12:36:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/netpbm (Old)
 and      /work/SRC/openSUSE:Factory/.netpbm.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "netpbm"

Tue Oct 20 12:36:29 2026 rev:88 rq:1386189 version:11.16.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/netpbm/netpbm.changes    2026-06-09 
14:15:47.069374056 +0200
+++ /work/SRC/openSUSE:Factory/.netpbm.new.3698736/netpbm.changes       
2026-10-20 12:36:49.612766519 +0200
@@ -1,0 +2,23 @@
+Sun Oct 18 06:02:30 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to 11.16.1:
+  * 11.16.01: fix jbigtopnm failure on certain multi-image inputs,
+    pnmnorm wrong output with huge images and memory corruption with
+    -wvalue above maxval, and ppmglobe color-name background specs.
+  * 11.16.00: new pamnoise tool; pnmtojbig long options and better
+    errors; ppmtoarbtxt '#' substitution class; more precise
+    pnmhisteq; many robustness fixes (picttoppm, jbigtopnm, sgitopnm,
+    tgatoppm, winicontopam, xpmtoppm, pamtogif, pgmtexture, pjtoppm,
+    thinkjettopbm, lispmtopgm, pbmtomda, mdatopbm, mrftopbm).
+  * 11.15.00: new pbmtobrush tool; makeman is Python 3 only; fixes
+    to pamcut, pbmtopgm, ppmtopict, pnmtoddif and imgtoppm.
+  * 11.14.01: fixes to pamcut, pbmtopgm, ppmtopict and pnmtojbig.
+- Drop makeman-py3.patch (upstream uses Python 3 now) and
+  netpbm-gcc-warnings.patch (upstream silences -Wreturn-type with
+  pragmas now); refresh netpbm-security-code.patch for the new
+  sources (sgitopnm, imgtoppm and mdatopbm hunks fixed upstream).
+- Spec cleanup: drop Group tags, pkgconfig BuildRequires, %make_build.
+- Disable pnmhisteq.test on all arches: upstream broke Test 4
+  in 11.15 (trailing whitespace after line continuations).
+
+-------------------------------------------------------------------

Old:
----
  makeman-py3.patch
  netpbm-11.14.0-documentation.tar.bz2
  netpbm-11.14.0-nohpcdtoppm-noppmtompeg.tar.bz2
  netpbm-gcc-warnings.patch

New:
----
  netpbm-11.16.1-documentation.tar.bz2
  netpbm-11.16.1-nohpcdtoppm-noppmtompeg.tar.bz2

----------(Old B)----------
  Old:  * 11.14.01: fixes to pamcut, pbmtopgm, ppmtopict and pnmtojbig.
- Drop makeman-py3.patch (upstream uses Python 3 now) and
  netpbm-gcc-warnings.patch (upstream silences -Wreturn-type with
  Old:- Drop makeman-py3.patch (upstream uses Python 3 now) and
  netpbm-gcc-warnings.patch (upstream silences -Wreturn-type with
  pragmas now); refresh netpbm-security-code.patch for the new
----------(Old E)----------

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

Other differences:
------------------
++++++ netpbm.spec ++++++
--- /var/tmp/diff_new_pack.iKWC8f/_old  2026-10-20 12:36:50.835817508 +0200
+++ /var/tmp/diff_new_pack.iKWC8f/_new  2026-10-20 12:36:50.837817591 +0200
@@ -20,14 +20,13 @@
 %define asan_build     0
 %define ubsan_build    0
 %define libmaj  11
-%define libmin  114
+%define libmin  116
 %define libver  %{libmaj}.%{libmin}
 Name:           netpbm
-Version:        11.14.0
+Version:        11.16.1
 Release:        0
 Summary:        A Graphics Conversion Package
-License:        BSD-3-Clause AND GPL-2.0-or-later AND IJG AND MIT AND 
SUSE-Public-Domain
-Group:          Productivity/Graphics/Convertors
+License:        BSD-3-Clause AND GPL-2.0-or-later AND IJG AND MIT AND 
LicenseRef-SUSE-Public-Domain
 URL:            http://netpbm.sourceforge.net/
 Source:         netpbm-%{version}-nohpcdtoppm-noppmtompeg.tar.bz2
 Source1:        netpbm-%{version}-documentation.tar.bz2
@@ -38,8 +37,6 @@
 # neccessary for running with ASAN
 Patch2:         %{name}-security-code.patch
 Patch3:         %{name}-security-scripts.patch
-Patch4:         %{name}-gcc-warnings.patch
-Patch5:         makeman-py3.patch
 # bsc#1144255 disable jpeg2k support due to removal of jasper
 Patch8:         netpbm-disable-jasper.patch
 # CVE-2017-5849 [bsc#1022790], CVE-2017-5849 [bsc#1022791]
@@ -47,11 +44,11 @@
 BuildRequires:  flex
 BuildRequires:  libjpeg-devel
 BuildRequires:  libpng-devel
-BuildRequires:  libtiff-devel
-BuildRequires:  libxml2-devel
 BuildRequires:  pkgconfig
 # needed for the makeman
 BuildRequires:  python3-base
+BuildRequires:  pkgconfig(libtiff-4)
+BuildRequires:  pkgconfig(libxml-2.0)
 BuildRequires:  pkgconfig(x11)
 Provides:       pbmplus
 
@@ -69,7 +66,6 @@
 
 %package -n libnetpbm%{libmaj}
 Summary:        Libraries for the NetPBM (NetPortableBitmap) Graphic Formats
-Group:          System/Libraries
 Provides:       libnetpbm = %{version}
 Obsoletes:      libnetpbm < %{version}
 
@@ -80,7 +76,6 @@
 
 %package -n libnetpbm-devel
 Summary:        Header files for the NetPBM libraries
-Group:          Development/Libraries/C and C++
 Requires:       libnetpbm%{libmaj} = %{version}
 
 %description -n libnetpbm-devel
@@ -115,7 +110,7 @@
 export CFLAGS="$CFLAGS -fsanitize=undefined -fno-sanitize-recover=all"
 export LDFLAGS="$LDFLAGS -fsanitize=undefined"
 %endif
-make %{?_smp_mflags} CFLAGS="$CFLAGS"
+%make_build CFLAGS="$CFLAGS"
 rm doc/INSTALL
 # Remove doc and man pages for pamtojpeg2k [bsc#1245164]
 find -type f -name "pamtojpeg2k.[h1]*" -delete -print
@@ -202,7 +197,9 @@
 #0
 #0
 sed -i '/pbmtext-bdf.test/d' test/Test-Order
-# fails for i586
+# fails everywhere since 11.15.00: upstream rewrote Test 4 with
+# trailing whitespace after the line continuations, so the shell
+# runs stray tabs and pnmhisteq reads garbage (was i586-only before)
 #[   89s] == pnmhisteq.test ==
 #[   89s]
 #[   89s] Invalid command-line argument combination(s).
@@ -210,11 +207,9 @@
 #[   89s] -----------------------------------------------------------
 #[   89s] pnmhisteq: bad magic number 0x2320 - not a PPM, PGM, PBM, or PAM file
 #[   89s] pnmhisteq.test: FAILURE
-%ifarch i586
 sed -i '/pnmhisteq.test/d' test/Test-Order
-%endif
 mkdir package-test-{tmp,results}
-make pkgdir=`pwd`/package tmpdir=`pwd`/package-test-tmp 
RESULTDIR=`pwd`/package-test-results check-package
+%make_build pkgdir=`pwd`/package tmpdir=`pwd`/package-test-tmp 
RESULTDIR=`pwd`/package-test-results check-package
 
 %files
 %doc README doc/* netpbm.sourceforge.net/doc

++++++ netpbm-11.14.0-documentation.tar.bz2 -> 
netpbm-11.16.1-documentation.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/netpbm/netpbm-11.14.0-documentation.tar.bz2 
/work/SRC/openSUSE:Factory/.netpbm.new.3698736/netpbm-11.16.1-documentation.tar.bz2
 differ: char 11, line 1

++++++ netpbm-11.14.0-nohpcdtoppm-noppmtompeg.tar.bz2 -> 
netpbm-11.16.1-nohpcdtoppm-noppmtompeg.tar.bz2 ++++++
++++ 12760 lines of diff (skipped)

++++++ netpbm-security-code.patch ++++++
--- /var/tmp/diff_new_pack.iKWC8f/_old  2026-10-20 12:36:51.966864660 +0200
+++ /var/tmp/diff_new_pack.iKWC8f/_new  2026-10-20 12:36:51.978865160 +0200
@@ -66,26 +66,19 @@
      maxval = MIN(PGM_OVERALLMAXVAL, cmdline.convCols * cmdline.convRows);
      pgm_writepgminit(stdout, cols, rows, maxval, 0) ;
  
-Index: netpbm-11.9.3/converter/other/pnmtoddif.c
+Index: netpbm-11.16.1/converter/other/pnmtoddif.c
 ===================================================================
---- netpbm-11.9.3.orig/converter/other/pnmtoddif.c
-+++ netpbm-11.9.3/converter/other/pnmtoddif.c
-@@ -627,6 +627,7 @@ main(int argc, char *argv[]) {
+--- netpbm-11.16.1.orig/converter/other/pnmtoddif.c
++++ netpbm-11.16.1/converter/other/pnmtoddif.c
+@@ -78,6 +78,8 @@
+     img.h_res  = horizontalResolution;
+     img.v_res  = verticalResolution;
+
++    overflow_add(cols, 7);
++    overflow2(cols, 3);
      switch (PNM_FORMAT_TYPE(format)) {
      case PBM_TYPE:
-         ip.bits_per_pixel = 1;
-+        overflow_add(cols, 7);
-         ip.bytes_per_line = (cols + 7) / 8;
-         ip.spectral = 2;
-         ip.components = 1;
-@@ -642,6 +643,7 @@ main(int argc, char *argv[]) {
-         ip.polarity = 2;
-         break;
-     case PPM_TYPE:
-+        overflow2(cols, 3);
-         ip.bytes_per_line = 3 * cols;
-         ip.bits_per_pixel = 24;
-         ip.spectral = 5;
+         img.bits_per_pixel = 1;
 Index: netpbm-11.9.3/converter/other/pnmtojpeg.c
 ===================================================================
 --- netpbm-11.9.3.orig/converter/other/pnmtojpeg.c
@@ -163,26 +156,6 @@
   */
  /*
   * rletopnm - A conversion program to convert from Utah's "rle" image format
-Index: netpbm-11.9.3/converter/other/sgitopnm.c
-===================================================================
---- netpbm-11.9.3.orig/converter/other/sgitopnm.c
-+++ netpbm-11.9.3/converter/other/sgitopnm.c
-@@ -375,10 +375,14 @@ readChannels(FILE *       const ifP,
-         MALLOCARRAY_NOFAIL(image, head->ysize);
-     } else {
-         maxchannel = 3;
-+        overflow2(head->ysize, maxchannel);
-         MALLOCARRAY_NOFAIL(image, head->ysize * maxchannel);
-     }
--    if (table)
-+    if (table) {
-+        overflow2(head->xsize, 2);
-+        overflow_add(head->xsize*2, 2);
-         MALLOCARRAY_NOFAIL(temp, WORSTCOMPR(head->xsize));
-+    }
- 
-     for (channel = 0; channel < maxchannel; ++channel) {
-         unsigned int row;
 Index: netpbm-11.9.3/converter/other/tifftopnm.c
 ===================================================================
 --- netpbm-11.9.3.orig/converter/other/tifftopnm.c
@@ -221,25 +194,6 @@
      *padrightP =
          h11FixedP->bytes_per_line * 8 -
          h11FixedP->pixmap_width * h11FixedP->bits_per_pixel;
-Index: netpbm-11.9.3/converter/pbm/mdatopbm.c
-===================================================================
---- netpbm-11.9.3.orig/converter/pbm/mdatopbm.c
-+++ netpbm-11.9.3/converter/pbm/mdatopbm.c
-@@ -283,10 +283,13 @@ main(int argc, const char **argv) {
-         pm_readlittleshort(ifP, &yy); nInCols = yy;
-     }
- 
-+    overflow2(nOutCols, 8);
-     nOutCols = 8 * nInCols;
-     nOutRows = nInRows;
--    if (bScale)
-+    if (bScale){
-+        overflow2(nOutRows, 2);
-         nOutRows *= 2;
-+    }
- 
-     data = pbm_allocarray(nOutCols, nOutRows);
- 
 Index: netpbm-11.9.3/converter/pbm/mgrtopbm.c
 ===================================================================
 --- netpbm-11.9.3.orig/converter/pbm/mgrtopbm.c
@@ -293,18 +247,22 @@
      packBufferSize = rowBufferSize + (rowBufferSize + 127) / 128 + 1;
      deltaBufferSize = rowBufferSize + rowBufferSize / 8 + 10;
  
-Index: netpbm-11.9.3/converter/pbm/pbmtomda.c
+Index: netpbm-11.16.1/converter/pbm/pbmtomda.c
 ===================================================================
---- netpbm-11.9.3.orig/converter/pbm/pbmtomda.c
-+++ netpbm-11.9.3/converter/pbm/pbmtomda.c
-@@ -204,6 +204,7 @@ main(int argc, const char ** argv) {
+--- netpbm-11.16.1.orig/converter/pbm/pbmtomda.c
++++ netpbm-11.16.1/converter/pbm/pbmtomda.c
+@@ -306,9 +306,10 @@
+     bits = pbm_readpbm(ifP, &cols, &inRowCt);
  
-     nOutRowsUnrounded = cmdline.dscale ? nInRows/2 : nInRows;
+     outRowCtUnrounded = cmdline.dscale ? inRowCt/2 : inRowCt;
  
-+    overflow_add(nOutRowsUnrounded, 3);
-     nOutRows = ((nOutRowsUnrounded + 3) / 4) * 4;
++    overflow_add(outRowCtUnrounded, 3);
+     outRowCt = ROUNDUP(outRowCtUnrounded, 4);
          /* MDA wants rows a multiple of 4 */
-     nOutCols = nInCols / 8;
+ 
+     warnPadding(outRowCtUnrounded, outRowCt);
+     warnTruncating(cols);
+
 Index: netpbm-11.9.3/converter/pbm/pbmtoppa/pbm.c
 ===================================================================
 --- netpbm-11.9.3.orig/converter/pbm/pbmtoppa/pbm.c
@@ -352,15 +310,6 @@
                                  rowCapacity += 100;
                                  REALLOCARRAY(rows, rowCapacity);
                                  if (rows == NULL)
-@@ -232,6 +234,8 @@ yywrap (void)
-     /*
-      * Quite simple since ThinkJet bit arrangement matches PBM
-      */
-+
-+    overflow2(maxRowLength, 8);
-     pbm_writepbminit(stdout, maxRowLength*8, rowCount, 0);
- 
-     packed_bitrow = malloc(maxRowLength);
 Index: netpbm-11.9.3/converter/pgm/lispmtopgm.c
 ===================================================================
 --- netpbm-11.9.3.orig/converter/pgm/lispmtopgm.c
@@ -421,26 +370,6 @@
  
  static void
  multi_adjust(ColorMap *            const cmapP,
-Index: netpbm-11.9.3/converter/ppm/imgtoppm.c
-===================================================================
---- netpbm-11.9.3.orig/converter/ppm/imgtoppm.c
-+++ netpbm-11.9.3/converter/ppm/imgtoppm.c
-@@ -85,6 +85,7 @@ main(int argc, const char ** argv) {
-             len = atoi((char*) buf);
-             if (fread(buf, len, 1, ifP) != 1)
-                 pm_error("bad colormap buf");
-+            overflow2(cmaplen, 3);
-             if (len != cmaplen * 3) {
-                 pm_message(
-                     "cmaplen (%u) and colormap buf length (%u) do not match",
-@@ -105,6 +106,7 @@ main(int argc, const char ** argv) {
-                 pm_error("bad pixel data header");
-             buf[8] = '\0';
-             len = atoi((char*) buf);
-+            overflow2(cols, rows);
-             if (len != cols * rows)
-                 pm_message(
-                     "pixel data length (%u) does not match image size (%u)",
 Index: netpbm-11.9.3/converter/ppm/Makefile
 ===================================================================
 --- netpbm-11.9.3.orig/converter/ppm/Makefile

Reply via email to