https://bugzilla.redhat.com/show_bug.cgi?id=2537668



--- Comment #9 from Michel Lind <[email protected]> ---
Thanks for the review. New spec and SRPM will be linked shortly (same content
as the build below; the earlier spec URL had drifted from the SRPM, this pair
is uploaded together). Changes since the last SRPM, with the evidence:

1. Versioned bundled() Provides

getdeps now records, for each vendored project, the commit it checked out and
its version relative to the nearest upstream weekly tag (git describe:
<tag>^<distance>.<shortcommit>), or the version from the download URL for
tarballs. The package generates the Provides from that record (folly-rpm-macros
46-3). From the built RPM:

  $ rpm -qp --provides mcrouter-2026.09.21.00^1.d8b07b0-2.fc46.aarch64.rpm |
grep bundled
  bundled(fbthrift) = 2026.09.21.00^57.13f48a4
  bundled(fizz) = 2026.09.21.00^11.efde4a9
  bundled(folly) = 2026.09.21.00^42.4fe489a
  bundled(liboqs) = 0.12.0
  bundled(mvfst) = 2026.09.21.00^16.e44274f
  bundled(wangle) = 2026.09.21.00^10.9a169b5

The same data is installed as %license .../mcrouter/getdeps-vendor.txt, one
"<project> <commit> <version>" line per vendored tree, so the exact upstream
revisions are recoverable from the installed package.

2. License

Your licensecheck run was right on several counts. Going through what it found
in the unpacked sources:

Compiled into the binaries, now in the License tag:
  - mvfst quic/common/third-party/expected.hpp, optional.h: BSL-1.0
  - folly/hash/detail/Crc32cDetail.cpp: Zlib
  - liboqs src/common/sha3/.../brg_endian.h: MIT-CMU
  - liboqs src/common/aes/*.c: public domain (LicenseRef-Fedora-Public-Domain)
  - mcrouter/lib/fbi/queue.h: BSD-3-Clause and/or MIT, both already in the tag

Not compiled or shipped:
  - mcrouter/m4/*.m4 (FSFAP, GPL-3.0-or-later ax_python_devel.m4): autotools
leftovers, deleted in %prep
  - fbthrift thrift/lib/go: Go bindings, deleted in %prep
  - build/fbcode_builder/CMake/FindLMDB.cmake, FindRe2.cmake (GPL-2.0) and the
vendored projects' cmake/CheckAtomic.cmake (NCSA): CMake modules used at
configure time only; kept in the tree (the configures need them) and excluded
from the license scan
  - liboqs tests/ (Unlicense) and the liboqs algorithm families
OQS_MINIMAL_BUILD does not build: excluded from the scan
  - the liboqs "Public Domain or Apache 2.0" Kyber notices are recorded as
(Apache-2.0 OR CC0-1.0), matching Fedora's own liboqs tag

Resulting tag (SourceLicense: MIT for the SRPM):
  MIT AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND
(Apache-2.0 OR CC0-1.0) AND BSL-1.0 AND Zlib AND MIT-CMU AND
LicenseRef-Fedora-Public-Domain

To keep this honest going forward, the build now verifies the tag itself:
go_vendor_license over the license files plus licensecheck (SPDX output) over
every remaining file, and it fails unless the tag covers every identifier
found. That pass takes about five minutes on this tree, so it is gated on the
vendor tarball's sha512 recorded in the spec (a new tarball always gets it;
koji rebuilds of an unchanged tarball run only the license-file scan).

3. rpmlint on the binary RPM

  W: no-manual-page-for-binary mcpiper, mcrouter (upstream ships none)
  W: crypto-policy-non-compliance-openssl /usr/bin/mcrouter
SSL_CTX_set_cipher_list

The cipher-list call is in upstream's TLS setup; I have not changed it in this
iteration and am flagging it here rather than hiding it. The earlier
spelling-error hits on "memcached" are fixed by capitalizing it.

4. Other changes: the wangle OpenSSL 4 patch is dropped (landed upstream as
facebook/wangle#254); the remaining patches are all submitted upstream (folly
OpenSSL 4 #2706, the fbthrift .rodata section fix, the folly F14 fallback fix
that also re-enables ppc64le, mcrouter's gflags/Boost 1.90 fixes, and the
getdeps vendor-manifest change above).


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2537668

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202537668%23c9

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to