rsyslog/.github/amazonlinux2023-daily-stable-policy.yml
Rainer Gerhards 0b5901abb4 packaging: enable Amazon Linux GnuTLS profile
Why:
Amazon Linux daily packages must implement the common GnuTLS
feature contract.

Impact:
Amazon Linux 2023 daily builds now produce rsyslog-gnutls and valid
standard and full profiles.

Before/After:
Before, Amazon's gnutls bcond disabled its RPM despite the profile
contract. After, the policy explicitly enables the native bcond.

Technical Overview:
Add a policy-controlled enabled_bconds list and validate its entries.
Transform each required baseline %bcond_with into %bcond_without during
source preparation. This activates the baseline GnuTLS package,
dependency, configure option, and file manifest together.

Closes https://github.com/rsyslog/rsyslog/issues/7466

With the help of AI-Agents: Codex
2026-08-04 12:23:40 +02:00

46 lines
1.6 KiB
YAML

{
"allowed_patch_skips": [
{
"patch": "openssl3-compatibility.patch",
"reason": "Current upstream already contains the OpenSSL 3 compatibility changes carried by the Amazon Linux 2023 source package."
},
{
"patch": "rsyslog-8.2204.0-rhbz2082302-CVE-heap-based-buffer-overflow.patch",
"reason": "Current upstream contains the CVE-2022-24903 fix and later parser development."
}
],
"drop_stale_html_docs": true,
"drop_stale_html_docs_reason": "Amazon Linux 2023 packages HTML documentation from a separate versioned 8.2204.0 tarball. Daily main builds must not relabel those stale files as current documentation.",
"enabled_bconds": [
{
"feature": "gnutls",
"reason": "The daily-stable feature contract requires the GnuTLS network stream driver."
}
],
"supplemental_build_requires": [
{
"package": "autoconf-archive",
"reason": "Current upstream configure.ac uses AX macros that the Amazon Linux 2023 baseline predates."
},
{
"package": "libyaml-devel",
"reason": "Current upstream enables YAML configuration support by default."
},
{
"package": "protobuf-c-compiler",
"reason": "Current upstream enables the impstats push capability within Amazon's existing impstats module build."
},
{
"package": "protobuf-c-devel",
"reason": "Current upstream impstats push support uses protobuf-c."
},
{
"package": "snappy-devel",
"reason": "Current upstream impstats push support uses Snappy compression."
}
],
"supplemental_core_files": [
"%{_libdir}/rsyslog/mmleefparse.so"
]
}