Accepting request 1159112 from home:mnhauke

- Update to version 2.6.11
  * Seed random() at least a bit before using random().
  * Fix two erroneous calls to strlcat().
  * Use execvp() instead of execvpe().
  * Use HTTP/1.1 when communicating over HTTP.
  * khorben/coverity/1355235 TOCTOU.
  * Include systemd unit files in tarballs.
  * Remove obsolete @setcontentsaftertitlepage command.
  * Fix snprintf buffer length.
  * Soften the message when the stanza is not the correct one.
  * Add missing /etc/gai.conf to AppArmor profile.
  * Add missing "Wants" directive in systemd unit file.
  * Restart fwknop-server on failure.
  * Fix compile warnings.

OBS-URL: https://build.opensuse.org/request/show/1159112
OBS-URL: https://build.opensuse.org/package/show/network/fwknop?expand=0&rev=6
This commit is contained in:
Dirk Mueller 2024-03-25 15:29:32 +00:00 committed by Git OBS Bridge
parent 6320ca0e61
commit 6d53cdd57a
6 changed files with 41 additions and 26 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f6c09bec97ed8e474a98ae14f9f53e1bcdda33393f20667b6af3fb6bb894ca77
size 1787914

View File

@ -1,6 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQRNZkSp2gNpBL2iy5DmyeM1DT50EAUCW2jrrQAKCRDmyeM1DT50
EHGMAJ4s18ZMA6tut1o6sw8ZMHRKpuuCYACePh2dDiUqCllN3emXAb0w3qIVGLM=
=GQEE
-----END PGP SIGNATURE-----

3
fwknop-2.6.11.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a4ec7c22dd90dd684f9f7b96d3a901c4131ec8c7a3b9db26d0428513f6774c64
size 1812061

View File

@ -0,0 +1,6 @@
-----BEGIN PGP SIGNATURE-----
iF0EABECAB0WIQRNZkSp2gNpBL2iy5DmyeM1DT50EAUCZcLi1AAKCRDmyeM1DT50
ELrXAKC0MHKBNFPRnkJ4v+YJtvxwYT8X2gCeKx4U9p+fdFLOzPM9+ws/L+Cbu18=
=i/zP
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Mon Mar 18 18:51:09 UTC 2024 - Martin Hauke <mardnh@gmx.de>
- Update to version 2.6.11
* Seed random() at least a bit before using random().
* Fix two erroneous calls to strlcat().
* Use execvp() instead of execvpe().
* Use HTTP/1.1 when communicating over HTTP.
* khorben/coverity/1355235 TOCTOU.
* Include systemd unit files in tarballs.
* Remove obsolete @setcontentsaftertitlepage command.
* Fix snprintf buffer length.
* Soften the message when the stanza is not the correct one.
* Add missing /etc/gai.conf to AppArmor profile.
* Add missing "Wants" directive in systemd unit file.
* Restart fwknop-server on failure.
* Fix compile warnings.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 16 07:15:08 UTC 2021 - Johannes Segitz <jsegitz@suse.com> Thu Sep 16 07:15:08 UTC 2021 - Johannes Segitz <jsegitz@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package fwknop # spec file for package fwknop
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,19 +16,17 @@
# #
%define soname 3 %define sover 3
%define libname libfko%{sover}
%if ! %{defined _fillupdir}
%define _fillupdir %{_localstatedir}/adm/fillup-templates
%endif
Name: fwknop Name: fwknop
Version: 2.6.10 Version: 2.6.11
Release: 0 Release: 0
Summary: The fwknop Client Summary: The fwknop Client
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: Productivity/Networking/Security Group: Productivity/Networking/Security
URL: https://www.cipherdyne.org/fwknop/ URL: https://www.cipherdyne.org/fwknop/
#Git-Clone: https://github.com/mrash/fwknop.git
Source: https://www.cipherdyne.org/fwknop/download/%{name}-%{version}.tar.bz2 Source: https://www.cipherdyne.org/fwknop/download/%{name}-%{version}.tar.bz2
Source1: https://www.cipherdyne.org/fwknop/download/%{name}-%{version}.tar.bz2.asc#/%{name}-%{version}.tar.bz2.sig Source1: https://www.cipherdyne.org/fwknop/download/%{name}-%{version}.tar.bz2.asc#/%{name}-%{version}.tar.bz2.sig
# https://www.cipherdyne.org/signing_key # https://www.cipherdyne.org/signing_key
@ -45,18 +43,18 @@ BuildRequires: systemd-rpm-macros
fwknop stands for the "FireWall KNock OPerator", and implements an authorization fwknop stands for the "FireWall KNock OPerator", and implements an authorization
scheme called Single Packet Authorization (SPA). scheme called Single Packet Authorization (SPA).
%package -n libfko%{soname} %package -n %{libname}
Summary: The Firewall Knock Operator Library Summary: The Firewall Knock Operator Library
Group: System/Libraries Group: System/Libraries
%description -n libfko%{soname} %description -n %{libname}
The Firewall Knock Operator library, libfko, provides the Single Packet The Firewall Knock Operator library, libfko, provides the Single Packet
Authorization implementation and API for the other fwknop components. Authorization implementation and API for the other fwknop components.
%package -n libfko-devel %package -n libfko-devel
Summary: The Development Files for the Firewall Knock Operator Library Summary: The Development Files for the Firewall Knock Operator Library
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libfko%{soname} = %{version} Requires: %{libname} = %{version}
Requires(post): %{install_info_prereq} Requires(post): %{install_info_prereq}
Requires(preun): %{install_info_prereq} Requires(preun): %{install_info_prereq}
@ -80,12 +78,11 @@ scheme called Single Packet Authorization (SPA).
%setup -q %setup -q
%build %build
export CFLAGS="%optflags -fcommon"
%configure --disable-static %configure --disable-static
make %{?_smp_mflags} %make_build
%check %check
make %{?_smp_mflags} check %make_build check
%install %install
%make_install %make_install
@ -105,14 +102,14 @@ find %{buildroot} -type f -name "*.la" -delete -print
%postun -n fwknopd %postun -n fwknopd
%service_del_postun %{name}d.service %service_del_postun %{name}d.service
%post -n libfko%{soname} -p /sbin/ldconfig
%post -n libfko-devel %post -n libfko-devel
%install_info --info-dir=%{_infodir} %{_infodir}/libfko.info.gz %install_info --info-dir=%{_infodir} %{_infodir}/libfko.info.gz
%postun -n libfko%{soname} -p /sbin/ldconfig
%postun -n libfko-devel %postun -n libfko-devel
%install_info_delete --info-dir=%{_infodir} %{_infodir}/libfko.info.gz %install_info_delete --info-dir=%{_infodir} %{_infodir}/libfko.info.gz
%ldconfig_scriptlets -n %{libname}
%files %files
%license COPYING %license COPYING
%doc AUTHORS CREDITS NEWS README %doc AUTHORS CREDITS NEWS README
@ -128,8 +125,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_sbindir}/fwknopd %{_sbindir}/fwknopd
%{_mandir}/man8/fwknopd.8%{?ext_man} %{_mandir}/man8/fwknopd.8%{?ext_man}
%files -n libfko%{soname} %files -n %{libname}
%{_libdir}/libfko.so.%{soname}* %{_libdir}/libfko.so.%{sover}*
%files -n libfko-devel %files -n libfko-devel
%{_includedir}/fko.h %{_includedir}/fko.h