ALT repositories
Last updated at Fri, 24 Jul 2020 16:33:50 +0000 | SRPMs: 18242
en ru
SRPMs in branches
hide window
  • 1.0.20200623-alt1.267198.0.M80P.1
Group :: System/Kernel and hardware
Source RPM: kernel-modules-wireguard-un-def
Raw spec file

%define module_name wireguard
%define module_version 1.0.20200623
%define module_release alt1

%define flavour un-def
%define karch %ix86 x86_64 aarch64 ppc64le
BuildRequires(pre):
kernel-headers-modules-un-def
%setup_kernel_module %flavour

%define module_dir /lib/modules/%kversion-%flavour-%krelease/%module_name

Summary: Wireguard is a fast, modern, secure VPN tunnel module for Linux kernel
Name: kernel-modules-%module_name-%flavour
Version: %module_version
Release: %module_release.%kcode.%kbuildrelease
License: GPLv2
Group: System/Kernel and hardware
Packager: Kernel Maintainer Team <kernel@packages.altlinux.org>

ExclusiveOS: Linux
URL: https://www.wireguard.com/
BuildRequires(pre):
rpm-build-kernel
BuildRequires: kernel-headers-modules-%flavour = %kepoch%kversion-%krelease
BuildRequires: kernel-source-%module_name = %module_version

Provides: kernel-modules-%module_name-%kversion-%flavour-%krelease = %EVR
Conflicts: kernel-modules-%module_name-%kversion-%flavour-%krelease < %EVR
Conflicts: kernel-modules-%module_name-%kversion-%flavour-%krelease > %EVR

PreReq: coreutils
PreReq: kernel-image-%flavour = %kepoch%kversion-%krelease
ExclusiveArch: %karch

%description
WireGuard kernel module.
WireGuard is an extremely simple yet fast and modern VPN that utilizes
state-of-the-art cryptography. 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. Initially released for the Linux kernel, it
plans to be cross-platform and widely deployable. It is currently under heavy
development, but already it might be regarded as the most secure, easiest to
use, and simplest VPN solution in the industry.

WireGuard was merged into the Linux kernel for 5.6. This package contains a
backport of WireGuard for kernels 3.10 to 5.5, as an out of tree module.

%prep
rm -rf kernel-source-%module_name-%module_version
tar -jxf %kernel_src/kernel-source-%module_name-%module_version.tar.bz2
%setup -D -T -n kernel-source-%module_name-%module_version/src

%build
%make_build -C %_usrsrc/linux-%kversion-%flavour M=`pwd` modules

%install
install -d %buildroot%module_dir
install wireguard.ko %buildroot%module_dir

%files
%defattr(644,root,root,755)
%module_dir

%changelog
* %(date "+%%a %%b %%d %%Y") %{?package_signer:%package_signer}%{!?package_signer:%packager} %version-%release
- Build for kernel-image-%flavour-%kversion-%krelease.

* Fri Jun 26 2020 Nikolai Kostrigin <nickel at altlinux.org> 1.0.20200623-alt1
- New version 1.0.20200623

* Sat Jun 13 2020 Nikolai Kostrigin <nickel at altlinux.org> 1.0.20200611-alt1
- New version 1.0.20200611

* Fri May 22 2020 Nikolai Kostrigin <nickel at altlinux.org> 1.0.20200520-alt1
- New version 1.0.20200520

* Thu May 07 2020 Nikolai Kostrigin <nickel at altlinux.org> 1.0.20200506-alt1
- New version 1.0.20200506

* Thu Apr 30 2020 Nikolai Kostrigin <nickel at altlinux.org> 1.0.20200429-alt1
- New version 1.0.20200429

* Mon Apr 27 2020 Nikolai Kostrigin <nickel at altlinux.org> 1.0.20200426-alt1
- New version 1.0.20200426

* Tue Apr 14 2020 Nikolai Kostrigin <nickel at altlinux.org> 1.0.20200413-alt1
- New version 1.0.20200413

* Mon Apr 06 2020 Nikolai Kostrigin <nickel at altlinux.org> 1.0.20200401-alt1
- New version 1.0.20200401

* Tue Mar 31 2020 Nikolai Kostrigin <nickel at altlinux.org> 1.0.20200330-alt1
- New version 1.0.20200330
+ source code is in sync with kernel 5.6 released on 2020.03.29

* Fri Mar 27 2020 Nikolai Kostrigin <nickel at altlinux.org> 0.0.20200318-alt1
- New version 0.0.20200318

* Thu Mar 12 2020 Nikolai Kostrigin <nickel at altlinux.org> 0.0.20200215-alt1
- New version 0.0.20200215
+ provides backport of WireGuard for kernels 3.10 to 5.5
+ spec: switch to strict dependencies

* Mon Dec 23 2019 Nikolai Kostrigin <nickel at altlinux.org> 0.0.20191219-alt1
- New version 0.0.20191219

* Thu Dec 12 2019 Nikolai Kostrigin <nickel at altlinux.org> 0.0.20191212-alt1
- New version 0.0.20191212

* Sun Dec 08 2019 Nikolai Kostrigin <nickel at altlinux.org> 0.0.20191206-alt1
- New version 0.0.20191206

* Thu Dec 05 2019 Nikolai Kostrigin <nickel at altlinux.org> 0.0.20191205-alt1
- New version 0.0.20191205

* Thu Nov 28 2019 Nikolai Kostrigin <nickel at altlinux.org> 0.0.20191127-alt1
- New version 0.0.20191127

* Sun Oct 13 2019 Nikolai Kostrigin <nickel at altlinux.org> 0.0.20191012-alt1
- New version 0.0.20191012

* Mon Sep 30 2019 Nikolai Kostrigin <nickel at altlinux.org> 0.0.20190913-alt1
- New version 0.0.20190913

* Fri Sep 06 2019 Nikolai Kostrigin <nickel at altlinux.org> 0.0.20190905-alt1
- New version 0.0.20190905
- Fix build with upcoming kernel 5.3

* Thu Jul 04 2019 Nikolai Kostrigin <nickel at altlinux.org> 0.0.20190702-alt1
- New version 0.0.20190702

* Sun Jun 02 2019 Nikolai Kostrigin <nickel at altlinux.org> 0.0.20190601-alt1
- New version 0.0.20190601
- Add missing previous changelog item

* Sat May 04 2019 Anton V. Boyarshinov <boyarsh at altlinux.org> 0.0.20190406-alt2
- build fixed

* Tue Apr 23 2019 Nikolai Kostrigin <nickel at altlinux.org> 0.0.20190406-alt1
- New version 0.0.20190406

* Mon Mar 04 2019 Nikolai Kostrigin <nickel at altlinux.org> 0.0.20190227-alt1
- New version 0.0.20190227

* Wed Dec 31 2018 Nikolai Kostrigin <nickel at altlinux.org> 0.0.20181218-alt1
- New version 0.0.20181218

* Wed Sep 12 2018 Nikolai Kostrigin <nickel at altlinux.org> 0.0.20180910-alt1
- New version 0.0.20180910

* Wed Jul 04 2018 Nikolai Kostrigin <nickel at altlinux.org> 0.0.20180625-alt1
- New version 0.0.20180625

* Fri Jun 15 2018 Anton V. Boyarshinov <boyarsh at altlinux.org> 0.0.20180625-alt1.k
- Add karch specsubst

* Tue Apr 17 2018 Nikolai Kostrigin <nickel at altlinux.org> 0.0.20180413-alt1
- Initial build

 
The Geyser project is based on code from Prometheus2.0, which had been made available under the MIT License.