Debian Patches
Status for golang-github-open-policy-agent-opa/1.4.2+ds1-3
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| 0001-Disable-tests-requiring-unavailable-go-mockdns.patch | Disable tests requiring unavailable go-mockdns The package github.com/foxcpp/go-mockdns is not packaged in Debian. Tag v1/topdown/net_test.go with 'ignore' build tag to disable TestNetLookupIPAddr during Debian builds. |
Reinhard Tartler <siretart@tauware.de> | not-needed | 2026-10-21 | ||
| 0002-deps-bump-github.com-gobwas-glob-to-v1.0.0.patch | deps: bump github.com/gobwas/glob to v1.0.0 v1.0.0 replaced the `glob.Glob` interface with a concrete `*glob.Pattern`, and since it kept the same module path any consumer that upgrades the module transitively can no longer build OPA. Backport divergence notes: - Exclude go.mod and go.sum modifications as Debian manages dependencies independently. - Exclude build/generate-extended-cases which was pruned from source. - Exclude TestManifestNumericRegoVersionForFileDeterministic which depends on later upstream refactoring. |
Sebastian Spaink <sebastianspaink@gmail.com> | not-needed | upstream | backport, https://github.com/open-policy-agent/opa/commit/022de55261c311ec342c683ab3528dd391b56ce6 | 2026-09-01 |
| 0003-Disable-tests-accessing-internet.patch | Disable tests accessing internet Skip TestHookOnConfigDiscovery and TestActivateV1Bundles in v1/sdk/opa_test.go as they require background network downloads / discovery services and timeout in offline Debian build environments. |
Reinhard Tartler <siretart@tauware.de> | not-needed | 2026-10-21 | ||
| 0004-Skip-tests-requiring-excluded-testdata.patch | Skip tests requiring excluded testdata - Skip tests in v1/ast, v1/server/identifier, and v1/topdown that depend on testdata directories and cert fixtures stripped from the Debian package. - Tag v1/ast/fuzz_test.go with 'ignore' build tag to avoid package init panic on missing test cases. |
Reinhard Tartler <siretart@tauware.de> | not-needed | 2026-10-21 | ||
| 0005-Fix-tests-for-Go-1.27-and-jsonv2-compatibility.patch | Fix tests for Go 1.27 and jsonv2 compatibility Backport upstream fixes from PR #8947: - In v1/ast/term_test.go: Relax exact error message check in TestInterfaceToValueStructs to allow pointer type formatting in Go 1.27. - In v1/keys/keys_test.go: Relax JSON unmarshal error prefix check in TestParseKeysConfig for json.RawMessage / jsontext.Value differences. - In v1/server/handlers/compress_test.go: Relax exact byte length check for gzip compression differences across toolchains while continuing to verify roundtrip decompression. |
Reinhard Tartler <siretart@tauware.de> | not-needed | upstream | backport, https://github.com/open-policy-agent/opa/commit/db035b09fc8b4b7f1b37558c4fde033209e17cc8 | 2026-10-21 |
All known versions for source package 'golang-github-open-policy-agent-opa'
- 1.4.2+ds1-3 (sid)
- 1.4.2+ds1-2 (forky)
