public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ding-Yi Chen <dchen@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/fluxbox] f44: Update to upstream git snapshot 9aeb2a8e (2026-11-04)
Date: Mon, 09 Nov 2026 10:45:29 GMT	[thread overview]
Message-ID: <179422112983.1.7952583054093470985.rpms-fluxbox-5727fa0029a7@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/fluxbox
            Branch : f44
            Commit : 5727fa0029a7dd6ad4887b9a7f340b68ae1fd690
            Author : Ding-Yi Chen <dchen@redhat.com>
            Date   : 2026-11-09T17:43:06+10:00
            Stats  : +53/-25 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/fluxbox/c/5727fa0029a7dd6ad4887b9a7f340b68ae1fd690?branch=f44

            Log:
            Update to upstream git snapshot 9aeb2a8e (2026-11-04)

- Switch source to GitHub master snapshot (commit 9aeb2a8e)
- Drop fluxbox-gcc11.patch (merged upstream)
- Add autoconf/automake BuildRequires for git snapshot build
- Run autoreconf -fi in %%prep (no pre-generated configure in git snapshot)
- Fixes CVE-2026-123784: OS command injection via crafted style background
  values (CWE-78, upstream PR #89)

---
diff --git a/.gitignore b/.gitignore
index fd1e304..fbdae95 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /fluxbox-1.3.5.tar.bz2
 /fluxbox-1.3.6.tar.bz2
 /fluxbox-1.3.7.tar.bz2
+/fluxbox-1.3.7-20261104git9aeb2a8e.tar.gz

diff --git a/fluxbox-gcc11.patch b/fluxbox-gcc11.patch
deleted file mode 100644
index 420da4b..0000000
--- a/fluxbox-gcc11.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/util/fluxbox-remote.cc b/util/fluxbox-remote.cc
-index 59852e6..504015b 100644
---- util/fluxbox-remote.cc
-+++ util/fluxbox-remote.cc
-@@ -73,7 +73,7 @@ int main(int argc, char **argv) {
-     if (strcmp(cmd, "result") == 0) {
-         XTextProperty text_prop;
-         if (XGetTextProperty(disp, root, &text_prop, atom_result) != 0
--            && text_prop.value > 0
-+            && text_prop.value != 0
-             && text_prop.nitems > 0) {
- 
-             printf("%s", text_prop.value);

diff --git a/fluxbox.spec b/fluxbox.spec
index 5f5f0b7..e25b2d3 100644
--- a/fluxbox.spec
+++ b/fluxbox.spec
@@ -1,19 +1,24 @@
+%global commit  9aeb2a8eaba249deaa8c13e8b108dfdfc9c457fa
+%global shortcommit %(c=%{commit}; echo ${c:0:8})
+%global snapdate 20261104
+
 Name:           fluxbox
 Version:        1.3.7
-Release:        30%{?dist}
+Release:        31.%{snapdate}git%{shortcommit}%{?dist}
 
 Summary:        Window Manager based on Blackbox
 
 License:        MIT
 URL:            http://fluxbox.org
 
-Source0:        http://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-%{version}.tar.bz2
+Source0:        https://github.com/%{name}/%{name}/archive/%{commit}/%{name}-%{version}-%{snapdate}git%{shortcommit}.tar.gz
 Source3:        fluxbox-xsessions.desktop
 Source5:        fluxbox-applications.desktop
 
 Patch0:         fluxbox-startfluxbox-pulseaudio.patch
-Patch1:         %{name}-gcc11.patch
 
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  gcc
 BuildRequires:  gcc-c++
 BuildRequires:  imlib2-devel
@@ -76,7 +81,14 @@ Enable vim syntax highlighting support for fluxbox configuration files (menu,
 keys, apps).
 
 %prep
-%autosetup -p0
+%autosetup -p0 -n %{name}-%{version}
+autoreconf -fi
+
+# Convert non-UTF-8 files to UTF-8
+for f in AUTHORS ChangeLog; do
+  iconv -f ISO-8859-1 -t UTF-8 "$f" > "$f.utf8" && \
+  touch -r "$f" "$f.utf8" && mv "$f.utf8" "$f"
+done
 
 %build
 %configure \
@@ -89,6 +101,9 @@ keys, apps).
 
 %make_build LIBTOOL=/usr/bin/libtool
 
+%check
+# Upstream tests require a running X display; not suitable for build environment
+
 %install
 %make_install
 
@@ -107,16 +122,31 @@ touch -r ChangeLog %{buildroot}%{_sysconfdir}/fluxbox-pulseaudio
 
 # vim syntax files
 mkdir -p %{buildroot}%{_datadir}/vim/vimfiles/syntax/
-install -m 0644 -p 3rd/vim/vim/syntax/fluxapps.vim %{buildroot}%{_datadir}/vim/vimfiles/syntax/fluxapps.vim
-install -m 0644 -p 3rd/vim/vim/syntax/fluxkeys.vim %{buildroot}%{_datadir}/vim/vimfiles/syntax/fluxkeys.vim
-install -m 0644 -p 3rd/vim/vim/syntax/fluxmenu.vim %{buildroot}%{_datadir}/vim/vimfiles/syntax/fluxmenu.vim
+install -m 0644 -p 3rd/vim/syntax/fluxapps.vim %{buildroot}%{_datadir}/vim/vimfiles/syntax/fluxapps.vim
+install -m 0644 -p 3rd/vim/syntax/fluxkeys.vim %{buildroot}%{_datadir}/vim/vimfiles/syntax/fluxkeys.vim
+install -m 0644 -p 3rd/vim/syntax/fluxmenu.vim %{buildroot}%{_datadir}/vim/vimfiles/syntax/fluxmenu.vim
 
 %files
-%doc AUTHORS ChangeLog INSTALL NEWS README TODO
+%doc AUTHORS ChangeLog NEWS README TODO
 %license COPYING
-%{_bindir}/*
-%{_mandir}/man1/*
-%{_mandir}/man5/*
+%{_bindir}/fbrun
+%{_bindir}/fbsetbg
+%{_bindir}/fbsetroot
+%{_bindir}/fluxbox
+%{_bindir}/fluxbox-generate_menu
+%{_bindir}/fluxbox-remote
+%{_bindir}/fluxbox-update_configs
+%{_bindir}/startfluxbox
+%{_mandir}/man1/fbrun.1*
+%{_mandir}/man1/fbsetbg.1*
+%{_mandir}/man1/fbsetroot.1*
+%{_mandir}/man1/fluxbox.1*
+%{_mandir}/man1/fluxbox-remote.1*
+%{_mandir}/man1/startfluxbox.1*
+%{_mandir}/man5/fluxbox-apps.5*
+%{_mandir}/man5/fluxbox-keys.5*
+%{_mandir}/man5/fluxbox-menu.5*
+%{_mandir}/man5/fluxbox-style.5*
 %{_datadir}/%{name}
 %{_datadir}/xsessions/fluxbox.desktop
 %{_datadir}/applications/fluxbox.desktop
@@ -128,6 +158,16 @@ install -m 0644 -p 3rd/vim/vim/syntax/fluxmenu.vim %{buildroot}%{_datadir}/vim/v
 %{_datadir}/vim/vimfiles/syntax/flux*.vim
 
 %changelog
+* Mon Nov 09 2026 Ding-Yi Chen <dchen@redhat.com> - 1.3.7-31.20261104git9aeb2a8e
+- Update to upstream git snapshot 9aeb2a8e
+- Fixes CVE-2026-123784: OS command injection via style backgrounds (CWE-78)
+- Drop fluxbox-gcc11.patch (merged upstream)
+- Add autoconf automake BuildRequires for git snapshot
+- Fix vim syntax file paths (upstream moved 3rd/vim/vim/ to 3rd/vim/)
+- Convert AUTHORS and ChangeLog to UTF-8
+- Remove INSTALL from %%doc
+- Expand file globs to explicit file lists
+
 * Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.7-30
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index b97b610..3704113 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (fluxbox-1.3.7.tar.bz2) = c40cc765f5d542210e18dca21b98b97a048c6685b605a68e2c64f4e886329f4e6d3a3a7e76b3ca0ce488242f38d0ee2a4d6dfebc9ce97d37c68f84c3948aac8c
+SHA512 (fluxbox-1.3.7-20261104git9aeb2a8e.tar.gz) = 787392e0290858719f8318b45d72cabdce5dedfe03e7de928cc1b46d57f30d819340927c3a0fe4a19b67de24e895ec5d9ee83179c1f4cceece1816425d714722

                 reply	other threads:[~2026-11-09 10:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179422112983.1.7952583054093470985.rpms-fluxbox-5727fa0029a7@fedoraproject.org \
    --to=dchen@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox