Compare commits

..

No commits in common. "c9-beta" and "c8" have entirely different histories.
c9-beta ... c8

2 changed files with 309 additions and 234 deletions

View File

@ -1 +0,0 @@
2d8bac472188907dc04c0f1f9457bf4ae8d9f8d8 SOURCES/kronosnet-1.28.tar.xz

View File

@ -10,7 +10,7 @@
############################################################################### ###############################################################################
############################################################################### ###############################################################################
# set defaults from ./configure invocation # set defaults from ./configure invokation
%bcond_without sctp %bcond_without sctp
%bcond_without nss %bcond_without nss
%bcond_without openssl %bcond_without openssl
@ -19,18 +19,64 @@
%bcond_without lzo2 %bcond_without lzo2
%bcond_without lzma %bcond_without lzma
%bcond_without bzip2 %bcond_without bzip2
%bcond_without zstd %bcond_with zstd
%bcond_with kronosnetd
%bcond_without libnozzle %bcond_without libnozzle
%bcond_without runautogen %bcond_without runautogen
%bcond_with rpmdebuginfo %bcond_with rpmdebuginfo
%bcond_with overriderpmdebuginfo %bcond_with overriderpmdebuginfo
%bcond_without buildman
%bcond_without installtests %bcond_without installtests
# DWZ crashes when making debuginfos. This workaround is from
# https://github.com/docker/docker/issues/22051
# I got this via https://bugzilla.redhat.com/show_bug.cgi?id=1691946
%global _dwz_low_mem_die_limit 0
%if %{with overriderpmdebuginfo} %if %{with overriderpmdebuginfo}
%undefine _enable_debug_packages %undefine _enable_debug_packages
%endif %endif
%if %{with sctp}
%global buildsctp 1
%endif
%if %{with nss}
%global buildcryptonss 1
%endif
%if %{with openssl}
%global buildcryptoopenssl 1
%endif
%if %{with zlib}
%global buildcompresszlib 1
%endif
%if %{with lz4}
%global buildcompresslz4 1
%endif
%if %{with lzo2}
%global buildcompresslzo2 1
%endif
%if %{with lzma}
%global buildcompresslzma 1
%endif
%if %{with bzip2}
%global buildcompressbzip2 1
%endif
%if %{with zstd}
%global buildcompresszstd 1
%endif
%if %{with libnozzle}
%global buildlibnozzle 1
%endif
%if %{with kronosnetd}
%global buildlibnozzle 1
%global buildkronosnetd 1
%endif
%if %{with runautogen}
%global buildautogen 1
%endif
%if %{with installtests}
%global installtestsuite 1
%endif
# main (empty) package # main (empty) package
# http://www.rpm.org/max-rpm/s1-rpm-subpack-spec-file-changes.html # http://www.rpm.org/max-rpm/s1-rpm-subpack-spec-file-changes.html
@ -39,121 +85,113 @@ Summary: Multipoint-to-Multipoint VPN daemon
Version: 1.28 Version: 1.28
Release: 1%{?dist} Release: 1%{?dist}
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
URL: https://kronosnet.org URL: http://www.kronosnet.org
Source0: https://kronosnet.org/releases/%{name}-%{version}.tar.xz Source0: http://www.kronosnet.org/releases/kronosnet-%{version}.tar.xz
#Patch0: 1_24.testfix.patch
# Build dependencies # Build dependencies
BuildRequires: make BuildRequires: gcc
BuildRequires: gcc libqb-devel
# required to build man pages # required to build man pages
%if %{with buildman} BuildRequires: libxml2-devel doxygen
BuildRequires: libxml2-devel doxygen doxygen2man BuildRequires: libqb-devel
%endif %if %{defined buildsctp}
%if %{with sctp}
BuildRequires: lksctp-tools-devel BuildRequires: lksctp-tools-devel
%endif %endif
%if %{with nss} %if %{defined buildcryptonss}
BuildRequires: nss-devel BuildRequires: nss-devel
%endif %endif
%if %{with openssl} %if %{defined buildcryptoopenssl}
BuildRequires: openssl-devel BuildRequires: openssl-devel
%endif %endif
%if %{with zlib} %if %{defined buildcompresszlib}
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
%if %{with lz4} %if %{defined buildcompresslz4}
BuildRequires: lz4-devel BuildRequires: lz4-devel
%endif %endif
%if %{with lzo2} %if %{defined buildcompresslzo2}
BuildRequires: lzo-devel BuildRequires: lzo-devel
%endif %endif
%if %{with lzma} %if %{defined buildcompresslzma}
BuildRequires: xz-devel BuildRequires: xz-devel
%endif %endif
%if %{with bzip2} %if %{defined buildcompressbzip2}
BuildRequires: bzip2-devel BuildRequires: bzip2-devel
%endif %endif
%if %{with zstd} %if %{defined buildcompresszstd}
BuildRequires: libzstd-devel BuildRequires: libzstd-devel
%endif %endif
%if %{with libnozzle} %if %{defined buildkronosnetd}
BuildRequires: systemd
BuildRequires: pam-devel
%endif
%if %{defined buildlibnozzle}
BuildRequires: libnl3-devel BuildRequires: libnl3-devel
%endif %endif
%if %{with runautogen} %if %{defined buildautogen}
BuildRequires: autoconf automake libtool BuildRequires: automake
BuildRequires: libtool
BuildRequires: autoconf
%endif %endif
%prep %prep
%setup -q -n %{name}-%{version} %setup -q -n %{name}-%{version}
#%patch0 -p1 -b .1_24.testfix
%build %build
%if %{with runautogen} %if %{defined buildautogen}
./autogen.sh ./autogen.sh
%endif %endif
%{configure} \ %{configure} \
%if %{with installtests} %if %{defined buildsctp}
--enable-install-tests \
%else
--disable-install-tests \
%endif
%if %{with buildman}
--enable-man \
%else
--disable-man \
%endif
%if %{with sctp}
--enable-libknet-sctp \ --enable-libknet-sctp \
%else %else
--disable-libknet-sctp \ --disable-libknet-sctp \
%endif %endif
%if %{with nss} %if %{defined buildcryptonss}
--enable-crypto-nss \ --enable-crypto-nss \
%else %else
--disable-crypto-nss \ --disable-crypto-nss \
%endif %endif
%if %{with openssl} %if %{defined buildcryptoopenssl}
--enable-crypto-openssl \ --enable-crypto-openssl \
%else %else
--disable-crypto-openssl \ --disable-crypto-openssl \
%endif %endif
%if %{with zlib} %if %{defined buildcompresszlib}
--enable-compress-zlib \ --enable-compress-zlib \
%else %else
--disable-compress-zlib \ --disable-compress-zlib \
%endif %endif
%if %{with lz4} %if %{defined buildcompresslz4}
--enable-compress-lz4 \ --enable-compress-lz4 \
%else %else
--disable-compress-lz4 \ --disable-compress-lz4 \
%endif %endif
%if %{with lzo2} %if %{defined buildcompresslzo2}
--enable-compress-lzo2 \ --enable-compress-lzo2 \
%else %else
--disable-compress-lzo2 \ --disable-compress-lzo2 \
%endif %endif
%if %{with lzma} %if %{defined buildcompresslzma}
--enable-compress-lzma \ --enable-compress-lzma \
%else %else
--disable-compress-lzma \ --disable-compress-lzma \
%endif %endif
%if %{with bzip2} %if %{defined buildcompresszstd}
--enable-compress-bzip2 \
%else
--disable-compress-bzip2 \
%endif
%if %{with zstd}
--enable-compress-zstd \ --enable-compress-zstd \
%else %else
--disable-compress-zstd \ --disable-compress-zstd \
%endif %endif
%if %{with libnozzle} %if %{defined buildkronosnetd}
--enable-kronosnetd \
%endif
%if %{defined buildlibnozzle}
--enable-libnozzle \ --enable-libnozzle \
%endif
%if %{defined installtestsuite}
--enable-install-tests \
%else %else
--disable-libnozzle \ --disable-install-tests \
%endif %endif
--with-initdefaultdir=%{_sysconfdir}/sysconfig/ \ --with-initdefaultdir=%{_sysconfdir}/sysconfig/ \
--with-systemddir=%{_unitdir} --with-systemddir=%{_unitdir}
@ -161,7 +199,6 @@ BuildRequires: autoconf automake libtool
make %{_smp_mflags} make %{_smp_mflags}
%install %install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} make install DESTDIR=%{buildroot}
# tree cleanup # tree cleanup
@ -170,17 +207,67 @@ find %{buildroot} -name "*.a" -exec rm {} \;
# remove libtools leftovers # remove libtools leftovers
find %{buildroot} -name "*.la" -exec rm {} \; find %{buildroot} -name "*.la" -exec rm {} \;
# handle systemd vs init script
# remove init scripts # remove init scripts
rm -rf %{buildroot}/etc/init.d rm -rf %{buildroot}/etc/init.d
# remove docs # remove docs
rm -rf %{buildroot}/usr/share/doc/kronosnet rm -rf %{buildroot}/usr/share/doc/kronosnet
# Disabled because of concern that the testsuite does not play nice with the
# network loopback interface. Upstream has a comprehensive CI/CD system which
# tests different versions of Fedora and should be very safe. In the unlikely
# event of bugs, we should probably avoid DoS´ing the fedora builders by
# generating unwanted traffic.
#%check
# main empty package # main empty package
%description %description
The kronosnet source kronosnet source
%if %{with libnozzle} %if %{defined buildkronosnetd}
## Runtime and subpackages section
%package -n kronosnetd
Summary: Multipoint-to-Multipoint VPN daemon
License: GPLv2+
Requires(post): shadow-utils
Requires: pam, /etc/pam.d/passwd
%{?systemd_requires}
%description -n kronosnetd
The kronosnet daemon is a bridge between kronosnet switching engine
and kernel network tap devices, to create and administer a
distributed LAN over multipoint-to-multipoint VPNs.
The daemon does a poor attempt to provide a configure UI similar
to other known network devices/tools (Cisco, quagga).
Beside looking horrific, it allows runtime changes and
reconfiguration of the kronosnet(s) without daemon reload
or service disruption.
%post -n kronosnetd
%systemd_post kronosnetd.service
getent group kronosnetadm >/dev/null || groupadd --force kronosnetadm
%postun -n kronosnetd
%systemd_postun kronosnetd.service
%preun -n kronosnetd
%systemd_preun kronosnetd.service
%files -n kronosnetd
%license COPYING.* COPYRIGHT
%dir %{_sysconfdir}/kronosnet
%dir %{_sysconfdir}/kronosnet/*
%config(noreplace) %{_sysconfdir}/sysconfig/kronosnetd
%config(noreplace) %{_sysconfdir}/pam.d/kronosnetd
%config(noreplace) %{_sysconfdir}/logrotate.d/kronosnetd
%{_unitdir}/kronosnetd.service
%{_sbindir}/*
%{_mandir}/man8/*
%endif
%if %{defined buildlibnozzle}
%package -n libnozzle1 %package -n libnozzle1
Summary: Simple userland wrapper around kernel tap devices Summary: Simple userland wrapper around kernel tap devices
License: LGPLv2+ License: LGPLv2+
@ -194,12 +281,7 @@ License: LGPLv2+
%license COPYING.* COPYRIGHT %license COPYING.* COPYRIGHT
%{_libdir}/libnozzle.so.* %{_libdir}/libnozzle.so.*
%if 0%{?ldconfig_scriptlets}
%ldconfig_scriptlets -n libnozzle1 %ldconfig_scriptlets -n libnozzle1
%else
%post -n libnozzle1 -p /sbin/ldconfig
%postun -n libnozzle1 -p /sbin/ldconfig
%endif
%package -n libnozzle1-devel %package -n libnozzle1-devel
Summary: Simple userland wrapper around kernel tap devices (developer files) Summary: Simple userland wrapper around kernel tap devices (developer files)
@ -217,31 +299,29 @@ Requires: pkgconfig
%{_libdir}/libnozzle.so %{_libdir}/libnozzle.so
%{_includedir}/libnozzle.h %{_includedir}/libnozzle.h
%{_libdir}/pkgconfig/libnozzle.pc %{_libdir}/pkgconfig/libnozzle.pc
%if %{with buildman}
%{_mandir}/man3/nozzle*.3.gz
%endif
%endif %endif
%package -n libknet1 %package -n libknet1
Summary: Kronosnet core switching implementation Summary: Kronosnet core switching implementation (protocol v1)
License: LGPLv2+ License: LGPLv2+
BuildRequires: libqb-devel
BuildRequires: doxygen
%description -n libknet1 %description -n libknet1
Kronosnet, often referred to as knet, is a network abstraction layer
designed for High Availability use cases, where redundancy, security,
fault tolerance and fast fail-over are the core requirements of your
application.
The whole kronosnet core is implemented in this library. The whole kronosnet core is implemented in this library.
Please refer to the not-yet-existing documentation for further Please refer to https://kronosnet.org/ for further information.
information.
%files -n libknet1 %files -n libknet1
%license COPYING.* COPYRIGHT %license COPYING.* COPYRIGHT
%{_libdir}/libknet.so.* %{_libdir}/libknet.so.*
%dir %{_libdir}/kronosnet %dir %{_libdir}/kronosnet
%if 0%{?ldconfig_scriptlets}
%ldconfig_scriptlets -n libknet1 %ldconfig_scriptlets -n libknet1
%else
%post -n libknet1 -p /sbin/ldconfig
%postun -n libknet1 -p /sbin/ldconfig
%endif
%package -n libknet1-devel %package -n libknet1-devel
Summary: Kronosnet core switching implementation (developer files) Summary: Kronosnet core switching implementation (developer files)
@ -254,322 +334,318 @@ Requires: pkgconfig
Please refer to the not-yet-existing documentation for further Please refer to the not-yet-existing documentation for further
information. information.
# libknet.pc leading to pkgconfig(libknet) automatic virtual provides,
# like other files, is not explicitly versioned in the name like the
# subpackages are -- intention of doing so for subpackage names is
# to ease the cross-checking the compatibility of the remote clients
# interchanging data using this network communication library, as
# the number denotes the protocol version (providing multiple
# protocol versions in parallel is not planned).
%files -n libknet1-devel %files -n libknet1-devel
%license COPYING.* COPYRIGHT
%{_libdir}/libknet.so %{_libdir}/libknet.so
%{_includedir}/libknet.h %{_includedir}/libknet.h
%{_libdir}/pkgconfig/libknet.pc %{_libdir}/pkgconfig/libknet.pc
%if %{with buildman} %{_mandir}/man3/*.3.gz
%{_mandir}/man3/knet*.3.gz
%endif
%if %{with nss} %if %{defined buildcryptonss}
%package -n libknet1-crypto-nss-plugin %package -n libknet1-crypto-nss-plugin
Summary: Provides libknet1 nss support Summary: Libknet1 nss support
License: LGPLv2+ License: LGPLv2+
Requires: libknet1%{_isa} = %{version}-%{release} Requires: libknet1%{_isa} = %{version}-%{release}
%description -n libknet1-crypto-nss-plugin %description -n libknet1-crypto-nss-plugin
Provides NSS crypto support for libknet1. NSS crypto support for libknet1.
%files -n libknet1-crypto-nss-plugin %files -n libknet1-crypto-nss-plugin
%{_libdir}/kronosnet/crypto_nss.so %{_libdir}/kronosnet/crypto_nss.so
%endif %endif
%if %{with openssl} %if %{defined buildcryptoopenssl}
%package -n libknet1-crypto-openssl-plugin %package -n libknet1-crypto-openssl-plugin
Summary: Provides libknet1 openssl support Summary: Libknet1 openssl support
License: LGPLv2+ License: LGPLv2+
Requires: libknet1%{_isa} = %{version}-%{release} Requires: libknet1%{_isa} = %{version}-%{release}
%description -n libknet1-crypto-openssl-plugin %description -n libknet1-crypto-openssl-plugin
Provides OpenSSL crypto support for libknet1. OpenSSL crypto support for libknet1.
%files -n libknet1-crypto-openssl-plugin %files -n libknet1-crypto-openssl-plugin
%{_libdir}/kronosnet/crypto_openssl.so %{_libdir}/kronosnet/crypto_openssl.so
%endif %endif
%if %{with zlib} %if %{defined buildcompresszlib}
%package -n libknet1-compress-zlib-plugin %package -n libknet1-compress-zlib-plugin
Summary: Provides libknet1 zlib support Summary: Libknet1 zlib support
License: LGPLv2+ License: LGPLv2+
Requires: libknet1%{_isa} = %{version}-%{release} Requires: libknet1%{_isa} = %{version}-%{release}
%description -n libknet1-compress-zlib-plugin %description -n libknet1-compress-zlib-plugin
Provides zlib compression support for libknet1. zlib compression support for libknet1.
%files -n libknet1-compress-zlib-plugin %files -n libknet1-compress-zlib-plugin
%{_libdir}/kronosnet/compress_zlib.so %{_libdir}/kronosnet/compress_zlib.so
%endif %endif
%if %{defined buildcompresslz4}
%if %{with lz4}
%package -n libknet1-compress-lz4-plugin %package -n libknet1-compress-lz4-plugin
Summary: Provides libknet1 lz4 and lz4hc support Summary: Libknet1 lz4 and lz4hc support
License: LGPLv2+ License: LGPLv2+
Requires: libknet1%{_isa} = %{version}-%{release} Requires: libknet1%{_isa} = %{version}-%{release}
%description -n libknet1-compress-lz4-plugin %description -n libknet1-compress-lz4-plugin
Provides lz4 and lz4hc compression support for libknet1. lz4 and lz4hc compression support for libknet1.
%files -n libknet1-compress-lz4-plugin %files -n libknet1-compress-lz4-plugin
%{_libdir}/kronosnet/compress_lz4.so %{_libdir}/kronosnet/compress_lz4.so
%{_libdir}/kronosnet/compress_lz4hc.so %{_libdir}/kronosnet/compress_lz4hc.so
%endif %endif
%if %{with lzo2} %if %{defined buildcompresslzo2}
%package -n libknet1-compress-lzo2-plugin %package -n libknet1-compress-lzo2-plugin
Summary: Provides libknet1 lzo2 support Summary: Libknet1 lzo2 support
License: LGPLv2+ License: LGPLv2+
Requires: libknet1%{_isa} = %{version}-%{release} Requires: libknet1%{_isa} = %{version}-%{release}
%description -n libknet1-compress-lzo2-plugin %description -n libknet1-compress-lzo2-plugin
Provides lzo2 compression support for libknet1. lzo2 compression support for libknet1.
%files -n libknet1-compress-lzo2-plugin %files -n libknet1-compress-lzo2-plugin
%{_libdir}/kronosnet/compress_lzo2.so %{_libdir}/kronosnet/compress_lzo2.so
%endif %endif
%if %{with lzma} %if %{defined buildcompresslzma}
%package -n libknet1-compress-lzma-plugin %package -n libknet1-compress-lzma-plugin
Summary: Provides libknet1 lzma support Summary: Libknet1 lzma support
License: LGPLv2+ License: LGPLv2+
Requires: libknet1%{_isa} = %{version}-%{release} Requires: libknet1%{_isa} = %{version}-%{release}
%description -n libknet1-compress-lzma-plugin %description -n libknet1-compress-lzma-plugin
Provides lzma compression support for libknet1. lzma compression support for libknet1.
%files -n libknet1-compress-lzma-plugin %files -n libknet1-compress-lzma-plugin
%{_libdir}/kronosnet/compress_lzma.so %{_libdir}/kronosnet/compress_lzma.so
%endif %endif
%if %{with bzip2} %if %{defined buildcompressbzip2}
%package -n libknet1-compress-bzip2-plugin %package -n libknet1-compress-bzip2-plugin
Summary: Provides libknet1 bzip2 support Summary: Libknet1 bzip2 support
License: LGPLv2+ License: LGPLv2+
Requires: libknet1%{_isa} = %{version}-%{release} Requires: libknet1%{_isa} = %{version}-%{release}
%description -n libknet1-compress-bzip2-plugin %description -n libknet1-compress-bzip2-plugin
Provides bzip2 compression support for libknet1. bzip2 compression support for libknet1.
%files -n libknet1-compress-bzip2-plugin %files -n libknet1-compress-bzip2-plugin
%{_libdir}/kronosnet/compress_bzip2.so %{_libdir}/kronosnet/compress_bzip2.so
%endif %endif
%if %{with zstd} %if %{defined buildcompresszstd}
%package -n libknet1-compress-zstd-plugin %package -n libknet1-compress-zstd-plugin
Summary: Provides libknet1 zstd support Summary: Libknet1 zstd support
License: LGPLv2+ License: LGPLv2+
Requires: libknet1%{_isa} = %{version}-%{release} Requires: libknet1%{_isa} = %{version}-%{release}
%description -n libknet1-compress-zstd-plugin %description -n libknet1-compress-zstd-plugin
Provides zstd compression support for libknet1. zstd compression support for libknet1.
%files -n libknet1-compress-zstd-plugin %files -n libknet1-compress-zstd-plugin
%{_libdir}/kronosnet/compress_zstd.so %{_libdir}/kronosnet/compress_zstd.so
%endif %endif
%package -n libknet1-crypto-plugins-all %package -n libknet1-crypto-plugins-all
Summary: Provides libknet1 crypto plugins meta package Summary: Libknet1 crypto plugins meta package
License: LGPLv2+ License: LGPLv2+
%if %{with nss} %if %{defined buildcryptonss}
Requires: libknet1-crypto-nss-plugin%{_isa} = %{version}-%{release} Requires: libknet1-crypto-nss-plugin%{_isa} = %{version}-%{release}
%endif %endif
%if %{with openssl} %if %{defined buildcryptoopenssl}
Requires: libknet1-crypto-openssl-plugin%{_isa} = %{version}-%{release} Requires: libknet1-crypto-openssl-plugin%{_isa} = %{version}-%{release}
%endif %endif
%description -n libknet1-crypto-plugins-all %description -n libknet1-crypto-plugins-all
Provides meta package to install all of libknet1 crypto plugins meta package to install all of libknet1 crypto plugins
%files -n libknet1-crypto-plugins-all %files -n libknet1-crypto-plugins-all
%package -n libknet1-compress-plugins-all %package -n libknet1-compress-plugins-all
Summary: Provides libknet1 compress plugins meta package Summary: Libknet1 compress plugins meta package
License: LGPLv2+ License: LGPLv2+
%if %{with zlib} %if %{defined buildcompresszlib}
Requires: libknet1-compress-zlib-plugin%{_isa} = %{version}-%{release} Requires: libknet1-compress-zlib-plugin%{_isa} = %{version}-%{release}
%endif %endif
%if %{with lz4} %if %{defined buildcompresslz4}
Requires: libknet1-compress-lz4-plugin%{_isa} = %{version}-%{release} Requires: libknet1-compress-lz4-plugin%{_isa} = %{version}-%{release}
%endif %endif
%if %{with lzo2} %if %{defined buildcompresslzo2}
Requires: libknet1-compress-lzo2-plugin%{_isa} = %{version}-%{release} Requires: libknet1-compress-lzo2-plugin%{_isa} = %{version}-%{release}
%endif %endif
%if %{with lzma} %if %{defined buildcompresslzma}
Requires: libknet1-compress-lzma-plugin%{_isa} = %{version}-%{release} Requires: libknet1-compress-lzma-plugin%{_isa} = %{version}-%{release}
%endif %endif
%if %{with bzip2} %if %{defined buildcompressbzip2}
Requires: libknet1-compress-bzip2-plugin%{_isa} = %{version}-%{release} Requires: libknet1-compress-bzip2-plugin%{_isa} = %{version}-%{release}
%endif %endif
%if %{with zstd} %if %{defined buildcompresszstd}
Requires: libknet1-compress-zstd-plugin%{_isa} = %{version}-%{release} Requires: libknet1-compress-zstd-plugin%{_isa} = %{version}-%{release}
%endif %endif
%description -n libknet1-compress-plugins-all %description -n libknet1-compress-plugins-all
Meta package to install all of libknet1 compress plugins meta package to install all of libknet1 compress plugins
%files -n libknet1-compress-plugins-all %files -n libknet1-compress-plugins-all
%package -n libknet1-plugins-all %package -n libknet1-plugins-all
Summary: Provides libknet1 plugins meta package Summary: Libknet1 plugins meta package
License: LGPLv2+ License: LGPLv2+
Requires: libknet1-compress-plugins-all%{_isa} = %{version}-%{release} Requires: libknet1-compress-plugins-all%{_isa} = %{version}-%{release}
Requires: libknet1-crypto-plugins-all%{_isa} = %{version}-%{release} Requires: libknet1-crypto-plugins-all%{_isa} = %{version}-%{release}
%description -n libknet1-plugins-all %description -n libknet1-plugins-all
Meta package to install all of libknet1 plugins meta package to install all of libknet1 plugins
%files -n libknet1-plugins-all %files -n libknet1-plugins-all
%if %{with installtests} %if %{with installtests}
%package -n kronosnet-tests %package -n kronosnet-tests
Summary: Provides kronosnet test suite Group: System Environment/Libraries
License: GPLv2+ Summary: kronosnet test suite
Requires: libknet1%{_isa} = %{version}-%{release} Requires: libknet1 = %{version}-%{release}
%if %{with libnozzle}
Requires: libnozzle1%{_isa} = %{version}-%{release} Requires: libnozzle1%{_isa} = %{version}-%{release}
%endif
%description -n kronosnet-tests %description -n kronosnet-tests
This package contains all the libknet and libnozzle test suite. this package contains the libknet test suite
%files -n kronosnet-tests %files -n kronosnet-tests
%defattr(-,root,root,-)
%{_libdir}/kronosnet/tests/* %{_libdir}/kronosnet/tests/*
%endif %endif
%if %{with rpmdebuginfo} %if %{with rpmdebuginfo}
# This is left over from upstream.
%debug_package %debug_package
%endif %endif
%changelog %changelog
* Mon Oct 9 2023 Christine Caulfield <ccaulfie@redhat.com> - 1.28-1 * Mon Oct 16 2023 Christine Caulfield <ccaulfie@redhat.com> - 1.28-1
Rebase to 1.28 for startup and performance fixes Rebase to 1.28 for startup fixes
threads: add config check to match min value with pong timeouts Resolves: #RHEL-12275
rx: allow links to be active faster
links: fix ping interval and pong timeout value checking
crypto: Try crypt and decrypt on crypto_init
tx: Remove expensive memsets
log: Add a TRACE log level
Resolves: #RHEL-11787
* Wed Jan 18 2023 Christine Caulfield <ccaulfie@redhat.com> - 1.25-1 * Mon Jan 16 2023 Christine Caulfield <ccaulfie@redhat.com> - 1.25-1
Rebase to 1.25 for PMTUd fixes Rebase to 1.25 for PMTUd fixes
Resolves: rhbz#2161168 Resolves: rhbz#2161172
* Fri Jul 15 2022 Christine Caulfield <ccaulfie@redhat.com> - 1.24-2 * Wed Jul 27 2022 Christine Caulfield <ccaulfie@redhat.com> - 1.24-2
- Fix libnozzle tests failing & covscan warning on api_knet_handle_new test Don't run nozzle_up_down tests, as they don't work in RH CI
Resolves: rhbz#2024090 Resolves: rhbz#2024095
* Fri Jul 15 2022 Christine Caulfield <ccaulfie@redhat.com> - 1.24-1 * Wed Jul 27 2022 Christine Caulfield <ccaulfie@redhat.com> - 1.24-1
- Rebase to 1.24 Rebase to 1.24
Resolves: rhbz#2024090 Resolves: rhbz#2024095
* Wed Oct 06 2021 Christine Caulfield <ccaulfie@redhat.com> - 1.22-3 * Thu Sep 16 2021 Christine Caulfield <ccaulfie@redhat.com> - 1.22-1
- Add back the test suite that got lost in the pull from Fedora Rebase to 1.22
Resolves: rhbz#1999980 Resolves: rhbz#1999976
* Wed Oct 06 2021 Christine Caulfield <ccaulfie@redhat.com> - 1.22-1 * Wed Sep 23 2020 Christine Caulfield <ccaulfie@redhat.com> - 1.18-1
- Rebase to v1.22 Rebase to 1.18
Resolves: rhbz#1999980 Resolves: rhbz#1855301
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.21-4 * Wed May 6 2020 Christine Caulfield <ccaulfie@redhat.com> - 1.16-1
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Rebase to 1.16
Related: rhbz#1991688 Resolves: rhbz#1796503
* Wed Jun 16 2021 Florian Weimer <fweimer@redhat.com> - 1.21-3 * Wed Apr 15 2020 Christine Caulfield <ccaulfie@redhat.com> - 1.15-1
- Rebuilt for RHEL 9 BETA for openssl 3.0 Rebase to 1.15
Related: rhbz#1971065 Resolves: rhbz#1796503
* Thu May 13 2021 Christine Caulfield <ccaulfie@redhat.com> - 1.21-2 * Thu Oct 17 2019 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.10-4
- add -fstack-clash-protection to the build. For the CI Disable fun_pmtud_crypto_test as it can take several hours to run
Resolves: rhbz#1954551 Resolves: rhbz#1736872
* Wed Apr 28 2021 Christine Caulfield <ccaulfie@redhat.com> - 1.21-1 * Wed Oct 16 2019 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.10-3
- Rebase to 1.21 to incorporate fixes for CI complaints & openssl3 PMTUd: Fix MTU calculation when using crypto
Resolves: rhbz#1954551 Resolves: rhbz#1736872
host: Fix defrag buffer reclaim logic that could cause delivery
of corrupted data
ResolveS: rhbz#1761711
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.20-3 * Wed Oct 16 2019 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.10-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 link: Fix memory corruption when too many up/down events are recorded
Resolves: rhbz#1753517
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.20-2 * Wed Jun 12 2019 Christine Caulfield <ccaulfie@redhat.com> - 1.10-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Rebase to 1.10 for ACL support
Resolves: rhbz#1688880
* Mon Oct 19 2020 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.20-1 * Tue May 21 2019 Christine Caulfield <ccaulfie@redhat.com> - 1.9-3
- New upstream release Fix kronosnet-tests dependancies and add workaround for dwz crash
- Fix TX/RX stats collections Resolves: rhbz#1688880
- Minor test suite improvements
- Minor build fixes
* Mon Aug 17 2020 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.19-1 * Tue May 14 2019 Christine Caulfield <ccaulfie@redhat.com> - 1.9-2
- New upstream release add some covscan fixes
- Add native support for openssl 3.0 (drop API COMPAT macros). Resolves: rhbz#1688880
- Code cleanup of public APIs. Lots of lines of code moved around, no
functional changes.
- Removed kronosnetd unsupported code completely
- Removed unused poc-code from the source tree
- Make sure to initialize epoll events structures
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-2 * Tue May 14 2019 Christine Caulfield <ccaulfie@redhat.com> - 1.9-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Rebase to knet 1.9
Resolves: rhbz#1688880
* Tue Jul 14 2020 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.18-1 * Thu Mar 28 2019 Christine Caulfield <ccaulfie@redhat.com> - 1.4-5
- New upstream release link: Check address families on a link always match
- Add ability to change crypto configuration at runtime without Resolves: rhbz#1691419
restarting knet and without packet drop
- Add compatibility support for openssl 3.0
- Add functional testing framework and new test cases
- Minor build fixes
- Fix BuildRequires to use libqb doxygen2man vs internal copy
* Thu Apr 23 2020 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.16-1 * Thu Mar 14 2019 Christine Caulfield <ccaulfie@redhat.com> - 1.4-4
- New upstream release Add Gating tests
- Fix major issues with SCTP transport Resolves: rhbz#1682128
- Fix build with recent gcc
- Minor bug fixes
- Update BuildRequires now that libqb is used unconditionally
* Wed Mar 04 2020 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.15-1 * Fri Dec 14 2018 Christine Caulfield <ccaulfie@redhat.com> - 1.4-3
- New upstream release Don't spin if we get EPERM from sendmsg - iptables can cause this
- Fix major interaction issues between stats gathering and PMTUd Resolves: rhbz#1658301
- Fix UDP socket options that could lead to knet not being properly
functional
- Man pages updates
- Minor bug fixes
* Fri Jan 31 2020 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.14-1 * Fri Oct 19 2018 Christine Caulfield <ccaulfie@redhat.com> - 1.4-2
- New upstream release Don't close the loopback link when all the 'real' nodes are down
- Fixes several major issues with newer kernels Resolves: rhbz1640619
- Fix build with gcc10
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.13-2 * Tue Aug 7 2018 Christine Caulfield <ccaulfie@redhat.com> - 1.4-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Rebase to v1.4
* Wed Oct 16 2019 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.13-1 * Tue May 22 2018 Christine Caulfield <ccaulfie@redhat.com> - 1.3-1
- New upstream release - Rebase to v1.3
- Fixes more memory corruption problems on unstable networks.
* Fri Sep 20 2019 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.12-1 * Tue Apr 10 2018 Christine Caulfield <ccaulfie@redhat.com> - 1.1-9
- New upstream release - Rebase from Fedora
- Fixes memory corruption problem on unstable networks.
* Wed Aug 21 2019 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.11-1 * Fri Mar 09 2018 Madison Kelly <mkelly@alteeve.ca> - 1.1-8
- New upstream release - Changed pkgconfig() to normal package names to help avoid the wrong
- Fixes major issues with PMTUd implementation when used in combination with package being pulled in to satisfy dependencies.
crypto.
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-2 * Wed Mar 07 2018 Madison Kelly <mkelly@alteeve.ca> - 1.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - Moved the comment back above '%%files -n libknet1-devel'.
- Added comment to '%%debug_package'.
* Wed Jun 12 2019 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.10-1 * Wed Mar 07 2018 Madison Kelly <mkelly@alteeve.ca> - 1.1-6
- New upstream release - Added a version requirement to lz4 to deal with koji pulling in the
- fix URL in spec file (rhbz#1708616) wrong package.
* Thu May 09 2019 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.9-1 * Tue Mar 06 2018 Madison Kelly <mkelly@alteeve.ca> - 1.1-5
- New upstream release - Updated ldconfig scriptlet calls.
- Moved the debug_package leading comment.
* Wed May 08 2019 Fabio M. Di Nitto <fdinitto@redhat.com> - 1.8-2 * Sun Mar 04 2018 Madison Kelly <mkelly@alteeve.ca> - 1.1-4
- Fix ldconfig scriptlet (Resolves rhbz#1699074) - Removed leading spaces from descriptions.
- Cleanup .gitignore (Resolves rhbz#1699093) - Added the (commented out) %%check tests.
- Updated the changelog macro references to have two percent signs.
- Dropped the redundant libknet1-devel license files.
- Changed 'GPLv2+ + LGPLv2+' to 'GPLv2+ and LGPLv2+'.
- Updated %%ldconfig_scriptlets call.
- Clarified the kronosnet protocol version in the summary.
* Mon Feb 26 2018 Madison Kelly <mkelly@alteeve.ca> - 1.1-3
- Fixed the changelog to not have the full macro names.
* Sun Feb 25 2018 Madison Kelly <mkelly@alteeve.ca> - 1.1-2
- Moved the 'BuildRequires: systemd' to be conditional with kronostnetd.
* Sun Feb 25 2018 Madison Kelly <mkelly@alteeve.ca> - 1.1-1
- Rerolled for 1.1 upstream release.
- Removed the (no longer needed) gcc8-fixes.patch
- Added the new doxygen and libqb-devel buildrequires for libknetd.
* Wed Apr 03 2019 Madison Kelly <mkelly@alteeve.ca> - 1.8-1
- Updated to upstream release v1.8.