Update with security fixes and packaging improvements #1

Manually merged
anag_factory merged 8 commits from witekbedyk/cheat:factory into leap-16.0 2025-12-18 01:05:46 +01:00
Contributor
No description provided.
witekbedyk added 8 commits 2025-12-16 13:49:37 +01:00
Update go-git to 5.13
  Update vendor tarball and add cheat-CVE-2025-21613.patch

OBS-URL: https://build.opensuse.org/package/show/utilities/cheat?expand=0&rev=9
OBS-URL: https://build.opensuse.org/package/show/utilities/cheat?expand=0&rev=10
* Service go_modules replace dependencies with CVEs
  * Replace github.com/cloudflare/circl=github.com/cloudflare/circl@v1.6.1
    Fix GO-2025-3754 GHSA-2x5j-vhc8-9cwm
  * Replace golang.org/x/net=golang.org/x/net@v0.36.0
    Fixes GO-2025-3503 CVE-2025-22870
  * Replace golang.org/x/crypto=golang.org/x/crypto@v0.35.0
    Fixes GO-2023-2402 CVE-2023-48795 GHSA-45x7-px36-x8w8
    Fixes GO-2025-3487 CVE-2025-22869
  * Replace github.com/go-git/go-git/v5=github.com/go-git/go-git/v5@v5.13.0
    Fixes GO-2025-3367 CVE-2025-21614 GHSA-r9px-m959-cxf4
    Fixes GO-2025-3368 CVE-2025-21613 GHSA-v725-9546-7q7m
  * Service tar_scm set mode manual from disabled
  * Service tar_scm create archive from git so we can exclude
    vendor directory upstream committed to git. Committed vendor
    directory contents have build issues even after go mod tidy.
  * Service tar_scm exclude dir vendor
  * Service set_version set mode manual from disabled
  * Service set_version remove param basename not needed

OBS-URL: https://build.opensuse.org/package/show/utilities/cheat?expand=0&rev=11
* Drop Requires: golang-packaging. The recommended Go toolchain
    dependency expression is BuildRequires: golang(API) >= 1.x or
    optionally the metapackage BuildRequires: go
  * Use BuildRequires: golang(API) >= 1.19 matching go.mod
  * Build PIE with pattern that may become recommended procedure:
    %%ifnarch ppc64 GOFLAGS="-buildmode=pie" %%endif go build
    A go toolchain buildmode default config would be preferable
    but none exist at this time.
  * Drop mod=vendor, go1.14+ will detect vendor dir and auto-enable
  * Remove go build -o output binary location and name. Default
    binary has the same name as package of func main() and is
    placed in the top level of the build directory.
  * Add basic %check to execute binary --help

OBS-URL: https://build.opensuse.org/package/show/utilities/cheat?expand=0&rev=12
OBS-URL: https://build.opensuse.org/request/show/1300995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cheat?expand=0&rev=4
* Replace golang.org/x/crypto=golang.org/x/crypto@v0.45.0
    Fixes CVE-2025-47913 (bsc#1253593),
          CVE-2025-58181 (bsc#1253922),
          CVE-2025-47914 (bsc#1254051)

OBS-URL: https://build.opensuse.org/package/show/utilities/cheat?expand=0&rev=14
OBS-URL: https://build.opensuse.org/package/show/utilities/cheat?expand=0&rev=15
OBS-URL: https://build.opensuse.org/request/show/1320299
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cheat?expand=0&rev=5
autogits_workflow_pr_bot requested review from legaldb 2025-12-16 13:49:45 +01:00
autogits_workflow_pr_bot requested review from maintenance-release-review 2025-12-16 13:49:45 +01:00
autogits_workflow_pr_bot requested review from opensuse-review 2025-12-16 13:49:45 +01:00
First-time contributor

Review by maintenance-release-review represents a group of reviewers: abergmann, amattiazzo, bfilho, cmatos, crazybyte, emanuelecappello, gsonnu, maintenance-robot, mauriziogalli, mbozicevic, mimi_vx, mschnitzer, msmeissn, pluskalm, rfrohl, slemke .

Do not use standard review interface to review on behalf of the group.
To accept the review on behalf of the group, create the following comment: @maintenance-release-review: approve.
To request changes on behalf of the group, create the following comment: @maintenance-release-review: decline followed with lines justifying the decision.
Future edits of the comments are ignored, a new comment is required to change the review state.

Review by maintenance-release-review represents a group of reviewers: abergmann, amattiazzo, bfilho, cmatos, crazybyte, emanuelecappello, gsonnu, maintenance-robot, mauriziogalli, mbozicevic, mimi_vx, mschnitzer, msmeissn, pluskalm, rfrohl, slemke . Do **not** use standard review interface to review on behalf of the group. To accept the review on behalf of the group, create the following comment: `@maintenance-release-review: approve`. To request changes on behalf of the group, create the following comment: `@maintenance-release-review: decline` followed with lines justifying the decision. Future edits of the comments are ignored, a new comment is required to change the review state.

Review by opensuse-review represents a group of reviewers: alarrosa, anag, atartamo, bigironman, darix, dimstar, dmach, eroca, jdsn, jengelh, mcalabkova, mstrigl, nkrapp, oertel, RBrownSUSE, simotek, smithfarm .

Do not use standard review interface to review on behalf of the group.
To accept the review on behalf of the group, create the following comment: @opensuse-review: approve.
To request changes on behalf of the group, create the following comment: @opensuse-review: decline followed with lines justifying the decision.
Future edits of the comments are ignored, a new comment is required to change the review state.

Review by opensuse-review represents a group of reviewers: alarrosa, anag, atartamo, bigironman, darix, dimstar, dmach, eroca, jdsn, jengelh, mcalabkova, mstrigl, nkrapp, oertel, RBrownSUSE, simotek, smithfarm . Do **not** use standard review interface to review on behalf of the group. To accept the review on behalf of the group, create the following comment: `@opensuse-review: approve`. To request changes on behalf of the group, create the following comment: `@opensuse-review: decline` followed with lines justifying the decision. Future edits of the comments are ignored, a new comment is required to change the review state.
Member

Legal review in progress.

Legal review [in progress](https://legaldb.suse.de/reviews/details/494042).
1.3 KiB
First-time contributor

@maintenance-release-review: approve
merge ok

@maintenance-release-review: approve merge ok
maintenance-release-review approved these changes 2025-12-17 10:28:43 +01:00
First-time contributor

rfrohl approved a review on behalf of maintenance-release-review

rfrohl approved a review on behalf of maintenance-release-review
First-time contributor

@opensuse-review : approve

LGTM

@opensuse-review : approve LGTM
First-time contributor

merge ok

merge ok
opensuse-review approved these changes 2025-12-17 17:32:35 +01:00
opensuse-review left a comment
Member

oertel approved a review on behalf of opensuse-review

oertel approved a review on behalf of opensuse-review
Member

Legal reviewed by dec16180 as acceptable_by_lawyer:

Reviewed ok
Legal reviewed by *dec16180* as [acceptable_by_lawyer](https://legaldb.suse.de/reviews/details/494042): ``` Reviewed ok ```
1.3 KiB
legaldb approved these changes 2025-12-17 18:53:07 +01:00
anag_factory manually merged commit e8f7ed9227 into leap-16.0 2025-12-18 01:05:46 +01:00
Sign in to join this conversation.