1 Summary: WireGuard is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography
6 Group: Networking/Daemons
7 Source0: https://git.zx2c4.com/wireguard-tools/snapshot/%{name}-%{version}.tar.xz
8 # Source0-md5: 36cd9411f56bc5dcaac29bbab6fd9c67
9 URL: https://www.wireguard.com/
10 BuildRequires: libmnl-devel
11 BuildRequires: rpmbuild(macros) >= 1.701
12 Obsoletes: WireGuard < 1.0.20200319-1
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 WireGuard is an extremely simple yet fast and modern VPN that utilizes
17 state-of-the-art cryptography. It aims to be faster, simpler, leaner,
18 and more useful than IPSec, while avoiding the massive headache. It
19 intends to be considerably more performant than OpenVPN. WireGuard is
20 designed as a general purpose VPN for running on embedded interfaces
21 and super computers alike, fit for many different circumstances.
23 This package contains user space tools. Kernel module is included in
24 Linux 5.6+. You need to also install kernel module from
25 kernel-*-misc-wireguard package for kernel < 5.6.
34 rm -rf $RPM_BUILD_ROOT
36 %{make} -C src install \
37 PREFIX=$RPM_BUILD_ROOT%{_prefix} \
38 SYSCONFDIR=$RPM_BUILD_ROOT%{_sysconfdir} \
39 SYSTEMDUNITDIR=$RPM_BUILD_ROOT%{systemdunitdir} \
43 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
50 %doc contrib README.md
51 %attr(755,root,root) %{_bindir}/wg
52 %attr(755,root,root) %{_bindir}/wg-quick
53 %dir %{_sysconfdir}/wireguard
54 %{systemdunitdir}/wg-quick@.service
55 %{_mandir}/man8/wg-quick.8*