Hello community, here is the log from the commit of package wireguard for openSUSE:Factory checked in at 2020-01-21 21:00:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/wireguard (Old) and /work/SRC/openSUSE:Factory/.wireguard.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wireguard" Tue Jan 21 21:00:35 2020 rev:6 rq:765938 version:0.0.20200105 Changes: -------- --- /work/SRC/openSUSE:Factory/wireguard/wireguard.changes 2019-12-21 12:30:17.743332260 +0100 +++ /work/SRC/openSUSE:Factory/.wireguard.new.26092/wireguard.changes 2020-01-21 21:01:00.616866992 +0100 @@ -1,0 +2,16 @@ +Mon Jan 20 21:11:23 UTC 2020 - Martin Hauke <[email protected]> + +- Update to version 0.0.20200105 + * socket: mark skbs as not on list when receiving via gro + +------------------------------------------------------------------- +Mon Jan 20 21:06:05 UTC 2020 - Martin Hauke <[email protected]> + +- Drop not longer needed patches: + * wireguard-remove-depmod.diff + * wireguard-fix-systemd-service.patch +- Mention wireguard-kmp-preamble in the sepc-file as source +- Package split since upstream reorganized code repositories. + * wireguard-tools is now developed in a separate package + +------------------------------------------------------------------- Old: ---- WireGuard-0.0.20191219.tar.asc WireGuard-0.0.20191219.tar.xz wireguard-fix-systemd-service.patch wireguard-remove-depmod.diff wireguard.target New: ---- wireguard-linux-compat-0.0.20200105.tar.asc wireguard-linux-compat-0.0.20200105.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wireguard.spec ++++++ --- /var/tmp/diff_new_pack.LRGTSt/_old 2020-01-21 21:01:03.124868161 +0100 +++ /var/tmp/diff_new_pack.LRGTSt/_new 2020-01-21 21:01:03.128868163 +0100 @@ -1,8 +1,8 @@ # # spec file for package wireguard # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. -# Copyright (c) 2017, Martin Hauke <[email protected]> +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017-2020, Martin Hauke <[email protected]> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,30 +18,20 @@ Name: wireguard -Version: 0.0.20191219 +Version: 0.0.20200105 Release: 0 Summary: Fast, modern, secure kernel VPN tunnel License: GPL-2.0-only Group: Productivity/Networking/Security URL: https://www.wireguard.com/ -Source: https://git.zx2c4.com/WireGuard/snapshot/WireGuard-%{version}.tar.xz -Source98: https://git.zx2c4.com/WireGuard/snapshot/WireGuard-%{version}.tar.asc -Source99: https://www.zx2c4.com/keys/AB9942E6D4A4CFC3412620A749FC7012A5DE03AE.asc#/WireGuard.keyring -Source1: wireguard.target +Source: https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-%{version}.tar.xz +Source1: https://git.zx2c4.com/wireguard-linux-compat/snapshot/wireguard-linux-compat-%{version}.tar.asc Source2: wireguard-kmp-preamble -Patch0: wireguard-remove-depmod.diff -Patch1: wireguard-fix-systemd-service.patch +Source99: https://www.zx2c4.com/keys/AB9942E6D4A4CFC3412620A749FC7012A5DE03AE.asc#/WireGuard.keyring Patch2: wireguard-fix-leap151.patch BuildRequires: %{kernel_module_package_buildreqs} -BuildRequires: bash-completion -BuildRequires: libmnl-devel -BuildRequires: pkgconfig # disable flavors xen,desktop,pae,pv %kernel_module_package -p wireguard-kmp-preamble -%systemd_requires -%if 0%{?suse_version} >= 1330 -BuildRequires: libelf-devel -%endif %description WireGuard is a novel VPN that runs inside the Linux Kernel and uses @@ -52,34 +42,12 @@ running on embedded interfaces and super computers alike, fit for many different circumstances. It runs over UDP. -%package tools -Summary: Fast, modern, secure kernel VPN tunnel -Group: Productivity/Networking/Security - -%description tools -WireGuard is a novel VPN that runs inside the Linux Kernel and uses -state-of-the-art cryptography (the "Noise" protocol). It aims to be -faster, simpler, leaner, and more useful than IPSec, while avoiding -the massive headache. It intends to be considerably more performant -than OpenVPN. WireGuard is designed as a general purpose VPN for -running on embedded interfaces and super computers alike, fit for -many different circumstances. It runs over UDP. - -This package contains command-line tools to interact with the -WireGuard kernel module. Currently, it provides only a single tool: - -wg: set and retrieve configuration of WireGuard interfaces - %prep -%setup -q -n WireGuard-%{version} -%patch0 -p1 -%patch1 -p1 +%setup -q -n wireguard-linux-compat-%{version} %if 0%{?sle_version} == 150100 %patch2 -p1 %endif -## HACK: Fixing wg-quick's DNS= directive with a hatchet -contrib/examples/dns-hatchet/apply.sh -## + cd src set -- * mkdir source @@ -88,10 +56,6 @@ %build cd src -# tools -cp -r source obj/tools -make V=1 -C obj/tools/tools %{?_smp_mflags} -# kernel modules for flavor in %{flavors_to_build}; do cp -r source obj/$flavor make V=1 -C %{kernel_source $flavor} modules M=$PWD/obj/$flavor %{?_smp_mflags} @@ -99,44 +63,13 @@ %install cd src -# tools -%{make_install} -C obj/tools/tools \ - WITH_BASHCOMPLETION=yes \ - WITH_WGQUICK=yes \ - WITH_SYSTEMDUNITS=yes -# kernel modules export INSTALL_MOD_PATH=%{buildroot} for flavor in %{flavors_to_build}; do make V=1 -C %{kernel_source $flavor} modules_install M=$PWD/obj/$flavor done -install -Dm 0644 %{S:1} %{buildroot}%{_unitdir}/%{name}.target - -install -d %{buildroot}/%{_sysconfdir}/wireguard/ - -%pre tools -%service_add_pre wireguard.target [email protected] - -%post tools -%service_add_post wireguard.target [email protected] - -%preun tools -%service_del_preun wireguard.target [email protected] - -%postun tools -%service_del_postun wireguard.target [email protected] - -%files tools +%files %license COPYING %doc README.md -%{_sysconfdir}/wireguard/ -%{_bindir}/wg -%{_bindir}/wg-quick -%{_mandir}/man8/wg.8%{?ext_man} -%{_mandir}/man8/wg-quick.8%{?ext_man} -%{_datadir}/bash-completion/completions/wg -%{_datadir}/bash-completion/completions/wg-quick -%{_unitdir}/[email protected] -%{_unitdir}/%{name}.target %changelog
