This update mainly fixes a CVE
Created attachment 232596 [details] update to 2.3.1 Patch file to update to 2.3.1
why do you need gcc?
^Triage: Simplifying title ^Triage: If there is a changelog or release notes URL available for this version, please add it to the URL field. Q/A: Some patches do not follow proper format Q/A: PORTREVISION should be removed Running build testing without USE_GCC... Thanks!
Created attachment 233019 [details] Patch to update to 2.3.1 without USE_GCC This patch removes the need for USE_GCC by applying a patch to properly return a value in a non-void function. In addition, it fixes pkg-plist. ^Triage: Please confirm this change passes QA (portlint, poudriere at least) For details and instructions, see: https://docs.freebsd.org/en/books/porters-handbook/#testing
(In reply to Fernando Apesteguía from comment #4) Can you use upstream patch instead: https://github.com/ScrollZ/ScrollZ/commit/c0dfa140341cf9a848a6e5f926392623d03d2c28
Created attachment 233022 [details] Patch to update to 2.3.1 without USE_GCC and distribution patch Use distribution patch.
(In reply to Mikael Urankar from comment #5) Nice. Thanks for pointing this out.
This update fixes https://nvd.nist.gov/vuln/detail/CVE-2021-29376
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c4a37205059c6f8e365b50ee29e82e15a3e41221 commit c4a37205059c6f8e365b50ee29e82e15a3e41221 Author: Chris Petrik <Christopher.petrik@usm.edu> AuthorDate: 2022-04-07 08:55:18 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2022-04-12 10:05:26 +0000 irc/scrollz: Update to version 2.3.1 ChangeLog: https://www.scrollz.info/download/ChangeLog.2.3.1.txt Use online commit to avoid gcc. PR: 262693 Reported by: Christopher.petrik@usm.edu Approved by: freebsd@bitchx.org (maintainer, timeout > 2 weeks) Reviewed by: mikael@ MFH: 2022Q2 (bugfix release, security) Security: CVE-2021-29376 irc/scrollz/Makefile | 9 ++++++--- irc/scrollz/distinfo | 7 +++++-- irc/scrollz/files/patch-Makefile.in | 14 +++++++------- irc/scrollz/files/patch-a8b05aab (gone) | 16 ---------------- irc/scrollz/files/patch-include-screen.h | 4 ++-- irc/scrollz/files/patch-include-window.h | 4 ++-- irc/scrollz/files/patch-source-Makefile.in | 14 +++++++------- irc/scrollz/files/patch-source-screen.c | 16 ++++++++-------- irc/scrollz/pkg-plist | 1 + 9 files changed, 38 insertions(+), 47 deletions(-)
A commit in branch 2022Q2 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2bd6d7151e1339c6d17db55cf5db020ed5e45243 commit 2bd6d7151e1339c6d17db55cf5db020ed5e45243 Author: Chris Petrik <Christopher.petrik@usm.edu> AuthorDate: 2022-04-07 08:55:18 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2022-04-12 10:17:00 +0000 irc/scrollz: Update to version 2.3.1 ChangeLog: https://www.scrollz.info/download/ChangeLog.2.3.1.txt Use online commit to avoid gcc. PR: 262693 Reported by: Christopher.petrik@usm.edu Approved by: freebsd@bitchx.org (maintainer, timeout > 2 weeks) Reviewed by: mikael@ MFH: 2022Q2 (bugfix release, security) Security: CVE-2021-29376 (cherry picked from commit c4a37205059c6f8e365b50ee29e82e15a3e41221) irc/scrollz/Makefile | 9 ++++++--- irc/scrollz/distinfo | 7 +++++-- irc/scrollz/files/patch-Makefile.in | 14 +++++++------- irc/scrollz/files/patch-a8b05aab (gone) | 16 ---------------- irc/scrollz/files/patch-include-screen.h | 4 ++-- irc/scrollz/files/patch-include-window.h | 4 ++-- irc/scrollz/files/patch-source-Makefile.in | 14 +++++++------- irc/scrollz/files/patch-source-screen.c | 16 ++++++++-------- irc/scrollz/pkg-plist | 1 + 9 files changed, 38 insertions(+), 47 deletions(-)
Committed and merged to 2022Q2