- Disable vici python bindings as it does not build offline yet
- Stop using old pythin macros (rhbz#2378468)
- Remove old trouser support conditional
- Add strongswan-6.0.2-no-isolation.patch
- strongswan-5.6.0-uintptr_t.patch and gcc15 patches no longer needed
GCC 15 defaults to C23, which is stricter in mutiple ways. Some fixes were
already included in 6.0.1, but some were just merged upstream and not yet
released.
The original source tarball has something out of sync, which triggers calls
to aclocal/automake after running configure. Since it was generated with
automake 1.16, it expects that exact version, and fails now in F42+ with 1.17.
Running autoreconf to force a regeneration avoids this.
Patch1 removes CFLAGS -Wno-format which interferes with -Werror=format-security
Add BuildRequire for autoconf and automake, now required for release
Remove obsolete patches
TPM/TSS 1.2 has long since been superseded by TPM/TSS 2.0,
and trousers is more or less dead and replaced by the tpm-tss toolkit
for TPM/TSS 2.0.
Resolves: rhbz#2033299
In case any test hangs, ensure it would release builder.
Increase verbosity to know more about possible failures. Interactive
debugging is not possible on builders.
--enable-python-eggs is required to provide correct version. But
otherwise does different thing than is required for python bindings
package. Rebuild python after installation of main package, because it
changed destination directory used later by install.
Related: rhbz#1419441
Because there are two services, strongswan and strongswan-starter
that use this directory. Otherwise when stopping a service, the
directory is removed from /run and the other service that does
not start anymore.
Also cleanup old patches that are obsolete.
- Resolves: rhbz#2015165 strongswan-5.9.4 is available
- Resolves: rhbz#2015611 CVE-2021-41990 strongswan: gmp plugin: integer overflow via a crafted certificate with an RSASSA-PSS signature
- Resolves: rhbz#2015614 CVE-2021-41991 strongswan: integer overflow when replacing certificates in cache
- Add BuildRequire for tpm2-tss-devel and weak dependency for tpm2-tools