Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package w3m for openSUSE:Factory checked in at 2026-04-04 19:04:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/w3m (Old) and /work/SRC/openSUSE:Factory/.w3m.new.21863 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "w3m" Sat Apr 4 19:04:27 2026 rev:50 rq:1343990 version:0.5.6 Changes: -------- --- /work/SRC/openSUSE:Factory/w3m/w3m.changes 2025-04-03 18:43:55.522085512 +0200 +++ /work/SRC/openSUSE:Factory/.w3m.new.21863/w3m.changes 2026-04-04 19:05:23.724150895 +0200 @@ -1,0 +2,25 @@ +Tue Mar 24 22:51:35 UTC 2026 - Dirk Müller <[email protected]> + +- update to version 0.5.6: + * new features + - Add commands to scroll current line to top/bottom + - Add command to change directory (CD) + - Add vim-like smartcase option for search + - Recognize aria-label for buttons + - Use gettext everywhere for better localization + - Add gopher support + - Add session store and restore (experimental) + * bug fixes + - Fix version number in some places + - Fix key press handling when inserting text + - Fix display of images in kitty terminal + - Security fixes for buffer overflows and underruns + - Fix slow backward search in long lines + * Other changes: + - version 0.5.6 includes fixes for CVE-2023-38252 and + CVE-2023-38253 (bsc#1213324 and bsc#1213323) +- Drop 0001-Fix-OOB-access-due-to-multiple-backspaces.patch and + 0001-Update-German-message-catalogue.patch (upstream) +- Add po-install.patch: ensure MKDIR_P is set correctly. + +------------------------------------------------------------------- Old: ---- 0001-Fix-OOB-access-due-to-multiple-backspaces.patch 0001-Update-German-message-catalogue.patch w3m-v0.5.3+git20230121.tar.bz2 New: ---- po-install.patch v0.5.6.tar.gz ----------(Old B)---------- Old: CVE-2023-38253 (bsc#1213324 and bsc#1213323) - Drop 0001-Fix-OOB-access-due-to-multiple-backspaces.patch and 0001-Update-German-message-catalogue.patch (upstream) Old:- Drop 0001-Fix-OOB-access-due-to-multiple-backspaces.patch and 0001-Update-German-message-catalogue.patch (upstream) - Add po-install.patch: ensure MKDIR_P is set correctly. ----------(Old E)---------- ----------(New B)---------- New: 0001-Update-German-message-catalogue.patch (upstream) - Add po-install.patch: ensure MKDIR_P is set correctly. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ w3m.spec ++++++ --- /var/tmp/diff_new_pack.Or5sW2/_old 2026-04-04 19:05:24.424179597 +0200 +++ /var/tmp/diff_new_pack.Or5sW2/_new 2026-04-04 19:05:24.428179761 +0200 @@ -1,7 +1,7 @@ # # spec file for package w3m # -# Copyright (c) 2023 SUSE LLC +# 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,79 +17,62 @@ Name: w3m -URL: http://w3m.sourceforge.net/ -Version: 0.5.3+git20230121 +Version: 0.5.6 Release: 0 Summary: A text-based WWW browser License: ISC Group: Productivity/Networking/Web/Browsers - -Source0: https://salsa.debian.org/debian/w3m/-/archive/v%{version}/w3m-v%{version}.tar.bz2 -Patch0: 0001-Update-German-message-catalogue.patch -Patch1: 0001-Fix-OOB-access-due-to-multiple-backspaces.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-build +URL: https://git.sr.ht/~rkta/w3m +Source0: https://git.sr.ht/~rkta/w3m/archive/v%{version}.tar.gz +Patch: po-install.patch +BuildRequires: compface BuildRequires: gc-devel BuildRequires: gcc-c++ +BuildRequires: gettext-devel BuildRequires: gpm -BuildRequires: imlib2-devel BuildRequires: ncurses-devel BuildRequires: openssl-devel BuildRequires: pkgconfig -Provides: w3m_ssl = %version +Provides: w3m_ssl = %{version} Provides: web_browser -Obsoletes: w3m_ssl < %version +Obsoletes: w3m_ssl < %{version} %package inline-image Summary: An inline image extension for w3m Group: Productivity/Networking/Web/Browsers +BuildRequires: imlib2-devel Requires: imlib2-loaders Requires: w3m -Provides: w3m:/usr/%_lib/w3m/w3mimgdisplay +Provides: w3m:%{_libdir}/w3m/w3mimgdisplay %description -W3m is a pager and text-based WWW browser. It has a number of useful -features: +W3m is a pager and text-based WWW browser. It has a number of useful features: * w3m can render tables - * w3m can render frames (it converts the frames into a table) - * SSL support - * w3m can easily display documents from standard input - * w3m can handle cookies - * w3m is small - * w3m has mouse support -If w3m-inline-image is installed it can display graphics inside -terminals, even on the console on some platforms. +If w3m-inline-image is installed it can display graphics inside terminals, even +on the console on some platforms. %description inline-image Inline image extension for w3m, the text-based WWW browser. -When this package is installed w3m can display images inline in an X -terminal (if it runs in a graphical X Window System environment). +When this package is installed w3m can display images inline in an X terminal +(if it runs in a graphical X Window System environment). %prep -%setup -q -n w3m-v%{version} -find -name CVS -exec rm -Rf "{}" "+" -%autopatch -p1 +%autosetup -p1 -n w3m-v%{version} %build -export CFLAGS="$RPM_OPT_FLAGS -DUSE_BUFINFO -DOPENSSL_NO_SSL_INTERN -D_GNU_SOURCE $(getconf LFS_CFLAGS) -fno-strict-aliasing `ncursesw6-config --cflags` -fPIE -std=gnu11" +export CFLAGS="%{optflags} -DUSE_BUFINFO -DOPENSSL_NO_SSL_INTERN -D_GNU_SOURCE $(getconf LFS_CFLAGS) -fno-strict-aliasing `ncursesw6-config --cflags` -fPIE -std=gnu11" export CXXFLAGS="$CFLAGS" export LDFLAGS="`ncursesw6-config --libs` -pie" -./configure --bindir=/usr/bin \ - --with-termlib=ncursesw \ - --mandir=%_mandir \ - --libdir=%_libdir \ - --libexecdir=%_libdir \ - --prefix=/usr \ - --sysconfdir=/etc \ +%configure --with-termlib=ncursesw \ --enable-ipv6 \ --enable-alarm \ --enable-ansi-color \ @@ -97,7 +80,7 @@ --enable-external-uri-loader \ --enable-gopher \ --enable-history \ - --enable-image=x11,fb \ + --with-imagelib=imlib2 \ --enable-keymap=lynx \ --enable-m17n \ --enable-mouse \ @@ -106,28 +89,28 @@ --enable-sslverify \ --enable-unicode \ --disable-w3mmailer -make %{?_smp_mflags} +%make_build %install -make install install-helpfile DESTDIR=$RPM_BUILD_ROOT -install -m 755 Bonus/*.cgi $RPM_BUILD_ROOT/usr/%_lib/w3m/cgi-bin +make install install-helpfile DESTDIR=%{buildroot} +install -d -m 0755 %{buildroot}%{_libdir}/w3m/cgi-bin +install -m 755 Bonus/*.cgi %{buildroot}%{_libdir}/w3m/cgi-bin %find_lang %{name} %files -f %{name}.lang -%defattr(-,root,root) -/usr/bin/w3m -/usr/bin/w3mman +%{_bindir}/w3m +%{_bindir}/w3mman %doc doc/* %doc ChangeLog -%_mandir/de/man1/w3m* -%_libdir/w3m -%exclude %_libdir/w3m/w3mimgdisplay -%lang(ja)%doc %_mandir/ja -%doc %_mandir/man*/* -%_datadir/%name +%{_mandir}/de/man1/w3m* +%{_libdir}/w3m +%{_libexecdir}/w3m +%exclude %{_libexecdir}/w3m/w3mimgdisplay +%lang(ja)%{_mandir}/ja +%{_mandir}/man*/* +%{_datadir}/%{name} %files inline-image -%defattr(-,root,root) -%dir %_libdir/w3m -/usr/%_lib/w3m/w3mimgdisplay +%dir %{_libexecdir}/w3m +%{_libexecdir}/w3m/w3mimgdisplay ++++++ po-install.patch ++++++ Index: w3m-v0.5.6/po/Makefile.in.in =================================================================== --- w3m-v0.5.6.orig/po/Makefile.in.in +++ w3m-v0.5.6/po/Makefile.in.in @@ -41,8 +41,8 @@ INSTALL_DATA = @INSTALL_DATA@ # versions, $(mkinstalldirs) and $(install_sh) are unused. mkinstalldirs = $(SHELL) @install_sh@ -d install_sh = $(SHELL) @install_sh@ -MKDIR_P = @MKDIR_P@ -mkdir_p = @mkdir_p@ +MKDIR_P = mkdir -p -- +mkdir_p = mkdir -p -- # When building gettext-tools, we prefer to use the built programs # rather than installed programs. However, we can't do that when we
