From f51dbccc774f45a6ce171ed10bc367e3927e59d1c72f7993a51fa8c2f3c3b9f2 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 26 Jan 2020 09:22:43 +0000 Subject: [PATCH] Add note about service name change OBS-URL: https://build.opensuse.org/package/show/network:vpn/strongswan?expand=0&rev=115 --- strongswan.changes | 10 ++++++++++ strongswan.spec | 10 +++++----- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/strongswan.changes b/strongswan.changes index ade9623..476e2b0 100644 --- a/strongswan.changes +++ b/strongswan.changes @@ -1,7 +1,17 @@ +------------------------------------------------------------------- +Sun Jan 26 08:54:01 UTC 2020 - Jan Engelhardt + +- Replace %__-type macro indirections. Update homepage URL to https. + ------------------------------------------------------------------- Mon Jan 6 22:06:58 UTC 2020 - Bjørn Lie - Update to version 5.8.2: + * The systemd service units have changed their name. + "strongswan" is now "strongswan-starter", and + "strongswan-swanctl" is now "strongswan". + After installation, you need to `systemctl disable` the old + name and `systemctl enable`+start the new one. * Fix CVE-2018-17540, CVE-2018-16151 and CVE-2018-16152. * boo#1109845 and boo#1107874. - Please check included NEWS file for info on what other changes diff --git a/strongswan.spec b/strongswan.spec index 47844dd..d4a0ca6 100644 --- a/strongswan.spec +++ b/strongswan.spec @@ -64,8 +64,7 @@ Release: 0 Summary: IPsec-based VPN solution License: GPL-2.0-or-later Group: Productivity/Networking/Security -URL: http://www.strongswan.org/ -Requires: strongswan-ipsec = %{version} +URL: https://www.strongswan.org/ Source0: http://download.strongswan.org/strongswan-%{upstream_version}.tar.bz2 Source1: http://download.strongswan.org/strongswan-%{upstream_version}.tar.bz2.sig Source2: %{name}.init.in @@ -129,6 +128,7 @@ BuildRequires: automake BuildRequires: fipscheck %endif BuildRequires: libtool +Requires: strongswan-ipsec = %{version} %description StrongSwan is an IPsec-based VPN solution for Linux. @@ -162,9 +162,9 @@ StrongSwan is an IPsec-based VPN solution for Linux. This package triggers the installation of both, IKEv1 and IKEv2 daemons. %package doc -BuildArch: noarch Summary: Documentation for strongSwan Group: Documentation/Man +BuildArch: noarch %description doc StrongSwan is an IPsec-based VPN solution for Linux. @@ -448,7 +448,7 @@ install -c -m644 TODO NEWS README COPYING LICENSE \ install -c -m644 %{_sourcedir}/README.SUSE \ %{buildroot}/%{strongswan_docdir}/ %if %{with systemd} -%{__install} -d -m 0755 %{buildroot}%{_tmpfilesdir} +install -d -m 0755 %{buildroot}%{_tmpfilesdir} echo 'd %{_rundir}/%{name} 0770 root root' > %{buildroot}%{_tmpfilesdir}/%{name}.conf %endif %if %{with fipscheck} @@ -483,7 +483,7 @@ install -c -m644 %{_sourcedir}/fips-enforce.conf \ %post libs0 /sbin/ldconfig %{?tmpfiles_create:%tmpfiles_create %{_tmpfilesdir}/%{name}.conf} -%{!?tmpfiles_create:test -d %{_rundir}/%{name} || %{__mkdir_p} %{_rundir}/%{name}} +%{!?tmpfiles_create:test -d %{_rundir}/%{name} || mkdir -p %{_rundir}/%{name}} %postun libs0 -p /sbin/ldconfig