https://bugzilla.redhat.com/show_bug.cgi?id=2237326
Bug ID: 2237326 Summary: Review Request: golang-github-nats-io-jwt-2 - JWTs for NATS Product: Fedora Version: rawhide Hardware: All OS: Linux Status: NEW Component: Package Review Severity: medium Priority: medium Assignee: nobody@fedoraproject.org Reporter: mark.e.fuller@gmx.de QA Contact: extras-qa@fedoraproject.org CC: package-review@lists.fedoraproject.org Target Milestone: --- Classification: Fedora
Spec URL: https://download.copr.fedorainfracloud.org/results/fuller/nats-server/fedora... SRPM URL: https://download.copr.fedorainfracloud.org/results/fuller/nats-server/fedora... Description: 2 package to supplement existing golang-github-nats-io-jwt (upgrading this package to v2 caused some breakage previously, so both are needed) Fedora Account System Username: fuller
https://bugzilla.redhat.com/show_bug.cgi?id=2237326
Mark E. Fuller mark.e.fuller@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |2233665
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2233665 [Bug 2233665] golang-github-nats-io-jwt-2.5.0 is available
https://bugzilla.redhat.com/show_bug.cgi?id=2237326
Mark E. Fuller mark.e.fuller@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1963443, 1956588, 1933959, | |2163184 Doc Type|--- |If docs needed, set a value
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1933959 [Bug 1933959] golang-github-nats-io-streaming-server-0.25.5 is available https://bugzilla.redhat.com/show_bug.cgi?id=1956588 [Bug 1956588] golang-github-nats-io-1.28.0 is available https://bugzilla.redhat.com/show_bug.cgi?id=1963443 [Bug 1963443] golang-github-nats-io-stan-0.10.4 is available https://bugzilla.redhat.com/show_bug.cgi?id=2163184 [Bug 2163184] CVE-2022-41717 golang-github-nats-io-streaming-server: golang: net/http: An attacker can cause excessive memory growth in a Go server accepting HTTP/2 requests [fedora-all]
https://bugzilla.redhat.com/show_bug.cgi?id=2237326
--- Comment #1 from Mark E. Fuller mark.e.fuller@gmx.de --- Updated: Please use:
Spec URL: https://download.copr.fedorainfracloud.org/results/fuller/nats-server/fedora... SRPM URL: https://download.copr.fedorainfracloud.org/results/fuller/nats-server/fedora...
https://bugzilla.redhat.com/show_bug.cgi?id=2237326
Daniel Milnes daniel@daniel-milnes.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel@daniel-milnes.uk Assignee|nobody@fedoraproject.org |daniel@daniel-milnes.uk Flags| |fedora-review+
--- Comment #2 from Daniel Milnes daniel@daniel-milnes.uk --- Hey Mark,
APPROVED from my side, all looks good. See below for the fedora-review output.
Re: the review swap you mentioned on devel, could you have a look at Bug 2238451 please.
Thanks.
Package Review ==============
Legend: [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated [ ] = Manual review needed
===== MUST items =====
Generic: [x]: Package is licensed with an open-source compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines. [x]: License field in the package spec file matches the actual license. Note: There is no build directory. Running licensecheck on vanilla upstream sources. Licenses found: "*No copyright* Apache License 2.0", "Unknown or generated", "Apache License 2.0". 11 files have unknown license. Detailed output of licensecheck in /tmp/2237326-golang- github-nats-io-jwt-2/licensecheck.txt
Note: Upstream confirmed to be Apache-2.0
[x]: License file installed when any subpackage combination is installed.
Note: Compat package does not include LICENSE, but it depends on -devel which does
[x]: Package does not own files or directories owned by other packages. Note: Dirs in package are owned also by:
<500 line list of BuildRequires here>
[x]: %build honors applicable compiler flags or justifies otherwise. [x]: Package contains no bundled libraries without FPC exception. [x]: Changelog in prescribed format. [x]: Sources contain only permissible code or content. [-]: Package contains desktop file if it is a GUI application. [x]: Development files must be in a -devel package [x]: Package uses nothing in %doc for runtime. [x]: Package consistently uses macros (instead of hard-coded directory names). [x]: Package is named according to the Package Naming Guidelines. [x]: Package does not generate any conflict. [x]: Package obeys FHS, except libexecdir and /usr/target. [-]: If the package is a rename of another package, proper Obsoletes and Provides are present. [x]: Requires correct, justified where necessary. [x]: Spec file is legible and written in American English. [-]: Package contains systemd file(s) if in need. [x]: Useful -debuginfo package or justification otherwise.
Note: This is just a -devel package, so a -debuginfo is not required
[x]: Package is not known to require an ExcludeArch tag. [x]: Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files. Note: Documentation size is 12132 bytes in 6 files. [x]: Package complies to the Packaging Guidelines [x]: Package successfully compiles and builds into binary rpms on at least one supported primary architecture. [x]: Package installs properly. [x]: Rpmlint is run on all rpms the build produces. Note: There are rpmlint messages (see attachment). [x]: If (and only if) the source package includes the text of the license(s) in its own file, then that file, containing the text of the license(s) for the package is included in %license. [x]: The License field must be a valid SPDX expression. [x]: Package requires other packages for directories it uses. [x]: Package must own all directories that it creates. [x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT [x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the beginning of %install. [x]: Macros in Summary, %description expandable at SRPM build time. [x]: Dist tag is present. [x]: Package does not contain duplicates in %files. [x]: Permissions on files are set properly. [x]: Package must not depend on deprecated() packages. [x]: Package use %makeinstall only when make install DESTDIR=... doesn't work. [x]: Package is named using only allowed ASCII characters. [x]: Package does not use a name that already exists. [x]: Package is not relocatable. [x]: Sources used to build the package match the upstream source, as provided in the spec URL. [x]: Spec file name must match the spec package %{name}, in the format %{name}.spec. [x]: File names are valid UTF-8. [x]: Packages must not store files under /srv, /opt or /usr/local
===== SHOULD items =====
Generic: [x]: If the source package does not include license text(s) as a separate file from upstream, the packager SHOULD query upstream to include it. [x]: Final provides and requires are sane (see attachments). [x]: Fully versioned dependency in subpackages if applicable. Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in golang- github-nats-io-jwt-devel , compat-golang-github-nats-io-jwt-2-devel [x]: Package functions as described. [x]: Latest version is packaged. [x]: Package does not include license text files separate from upstream. [-]: Sources are verified with gpgverify first in %prep if upstream publishes signatures. Note: gpgverify is not used. [x]: %check is present and all tests pass. [x]: Packages should try to preserve timestamps of original installed files. [x]: Reviewer should test that the package builds in mock. [x]: Buildroot is not present [x]: Package has no %clean section with rm -rf %{buildroot} (or $RPM_BUILD_ROOT) [x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin. [x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file [x]: Sources can be downloaded from URI in Source: tag [x]: SourceX is a working URL. [x]: Package should compile and build into binary rpms on all supported architectures. [x]: Spec use %global instead of %define unless justified.
===== EXTRA items =====
Generic: [x]: Rpmlint is run on all installed packages. Note: There are rpmlint messages (see attachment). [x]: Large data in /usr/share should live in a noarch subpackage if package is arched. [x]: Spec file according to URL is the same as in SRPM.
Rpmlint ------- Checking: golang-github-nats-io-jwt-2-2.5.0-1.fc40.x86_64.rpm golang-github-nats-io-jwt-devel-2.5.0-1.fc40.noarch.rpm compat-golang-github-nats-io-jwt-2-devel-2.5.0-1.fc40.noarch.rpm golang-github-nats-io-jwt-2-2.5.0-1.fc40.src.rpm ============================================================================================================================== rpmlint session starts ============================================================================================================================== rpmlint: 2.4.0 configuration: /usr/lib/python3.11/site-packages/rpmlint/configdefaults.toml /etc/xdg/rpmlint/fedora-legacy-licenses.toml /etc/xdg/rpmlint/fedora-spdx-licenses.toml /etc/xdg/rpmlint/fedora.toml /etc/xdg/rpmlint/scoring.toml /etc/xdg/rpmlint/users-groups.toml /etc/xdg/rpmlint/warn-on-functions.toml rpmlintrc: [PosixPath('/tmp/tmpljkkkndm')] checks: 31, packages: 4
compat-golang-github-nats-io-jwt-2-devel.noarch: W: obsolete-not-provided golang-github-nats-io-jwt-2-devel compat-golang-github-nats-io-jwt-2-devel.noarch: W: no-documentation golang-github-nats-io-jwt-2.x86_64: E: no-binary golang-github-nats-io-jwt-2.spec: W: no-%build-section golang-github-nats-io-jwt-devel.noarch: W: hidden-file-or-dir /usr/share/gocode/src/github.com/nats-io/jwt/.goipath golang-github-nats-io-jwt-devel.noarch: W: files-duplicate /usr/share/gocode/src/github.com/nats-io/jwt/README.md /usr/share/doc/golang-github-nats-io-jwt-devel/README.md golang-github-nats-io-jwt-devel.noarch: W: files-duplicate /usr/share/gocode/src/github.com/nats-io/jwt/ReleaseNotes.md /usr/share/doc/golang-github-nats-io-jwt-devel/ReleaseNotes.md golang-github-nats-io-jwt-devel.noarch: W: files-duplicate /usr/share/gocode/src/github.com/nats-io/jwt/dependencies.md /usr/share/doc/golang-github-nats-io-jwt-devel/dependencies.md =============================================================================================== 4 packages and 0 specfiles checked; 1 errors, 7 warnings, 1 badness; has taken 0.6 s ===============================================================================================
Rpmlint (installed packages) ---------------------------- ============================ rpmlint session starts ============================ rpmlint: 2.4.0 configuration: /usr/lib/python3.12/site-packages/rpmlint/configdefaults.toml /etc/xdg/rpmlint/fedora-legacy-licenses.toml /etc/xdg/rpmlint/fedora-spdx-licenses.toml /etc/xdg/rpmlint/fedora.toml /etc/xdg/rpmlint/scoring.toml /etc/xdg/rpmlint/users-groups.toml /etc/xdg/rpmlint/warn-on-functions.toml checks: 31, packages: 3
compat-golang-github-nats-io-jwt-2-devel.noarch: W: obsolete-not-provided golang-github-nats-io-jwt-2-devel compat-golang-github-nats-io-jwt-2-devel.noarch: W: no-documentation golang-github-nats-io-jwt-2.x86_64: E: no-binary golang-github-nats-io-jwt-devel.noarch: W: hidden-file-or-dir /usr/share/gocode/src/github.com/nats-io/jwt/.goipath golang-github-nats-io-jwt-devel.noarch: W: files-duplicate /usr/share/gocode/src/github.com/nats-io/jwt/README.md /usr/share/doc/golang-github-nats-io-jwt-devel/README.md golang-github-nats-io-jwt-devel.noarch: W: files-duplicate /usr/share/gocode/src/github.com/nats-io/jwt/ReleaseNotes.md /usr/share/doc/golang-github-nats-io-jwt-devel/ReleaseNotes.md golang-github-nats-io-jwt-devel.noarch: W: files-duplicate /usr/share/gocode/src/github.com/nats-io/jwt/dependencies.md /usr/share/doc/golang-github-nats-io-jwt-devel/dependencies.md 3 packages and 0 specfiles checked; 1 errors, 6 warnings, 1 badness; has taken 0.1 s
Source checksums ---------------- https://github.com/nats-io/jwt/archive/v2.5.0/jwt-2.5.0.tar.gz : CHECKSUM(SHA256) this package : 64015e7428fef3b5b8b06cb8b8968afcb61d9426005a170b956064eddf49a02e CHECKSUM(SHA256) upstream package : 64015e7428fef3b5b8b06cb8b8968afcb61d9426005a170b956064eddf49a02e
Requires -------- golang-github-nats-io-jwt-2 (rpmlib, GLIBC filtered):
golang-github-nats-io-jwt-devel (rpmlib, GLIBC filtered): go-filesystem golang(github.com/nats-io/nkeys)
compat-golang-github-nats-io-jwt-2-devel (rpmlib, GLIBC filtered): go-filesystem golang-ipath(github.com/nats-io/jwt)
Provides -------- golang-github-nats-io-jwt-2: golang-github-nats-io-jwt-2 golang-github-nats-io-jwt-2(x86-64)
golang-github-nats-io-jwt-devel: golang(github.com/nats-io/jwt/v2) golang(github.com/nats-io/jwt/v2/v1compat) golang-github-nats-io-jwt-devel golang-ipath(github.com/nats-io/jwt)
compat-golang-github-nats-io-jwt-2-devel: compat-golang-github-nats-io-jwt-2-devel golang(github.com/nats-io/jwt/v2/jwt/v2) golang(github.com/nats-io/jwt/v2/jwt/v2/v1compat) golang-symlink(github.com/nats-io/jwt/v2/jwt)
Generated by fedora-review 0.10.0 (e79b66b) last change: 2023-07-24 Command line :/usr/bin/fedora-review -b 2237326 Buildroot used: fedora-rawhide-x86_64 Active plugins: Generic, Shell-api Disabled plugins: fonts, Ocaml, Haskell, R, Python, Java, Perl, SugarActivity, PHP, C/C++ Disabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH
https://bugzilla.redhat.com/show_bug.cgi?id=2237326
--- Comment #3 from Fedora Admin user for bugzilla script actions fedora-admin-xmlrpc@fedoraproject.org --- The Pagure repository was created at https://src.fedoraproject.org/rpms/golang-github-nats-io-jwt-2
https://bugzilla.redhat.com/show_bug.cgi?id=2237326
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED
--- Comment #4 from Fedora Update System updates@fedoraproject.org --- FEDORA-2023-ffe505e151 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-ffe505e151
https://bugzilla.redhat.com/show_bug.cgi?id=2237326
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |CLOSED Resolution|--- |ERRATA Last Closed| |2023-09-13 16:49:35
--- Comment #5 from Fedora Update System updates@fedoraproject.org --- FEDORA-2023-ffe505e151 has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
package-review@lists.fedoraproject.org