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 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 WireGuard is an extremely simple yet fast and modern VPN that utilizes
16 state-of-the-art cryptography. It aims to be faster, simpler, leaner,
17 and more useful than IPSec, while avoiding the massive headache. It
18 intends to be considerably more performant than OpenVPN. WireGuard is
19 designed as a general purpose VPN for running on embedded interfaces
20 and super computers alike, fit for many different circumstances.
22 This package contains user space tools. You need to also install
23 kernel module from kernel-*-misc-wireguard package.
32 rm -rf $RPM_BUILD_ROOT
34 %{make} -C src install \
35 PREFIX=$RPM_BUILD_ROOT%{_prefix} \
36 SYSCONFDIR=$RPM_BUILD_ROOT%{_sysconfdir} \
37 SYSTEMDUNITDIR=$RPM_BUILD_ROOT%{systemdunitdir} \
41 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
48 %doc contrib README.md
49 %attr(755,root,root) %{_bindir}/wg
50 %attr(755,root,root) %{_bindir}/wg-quick
51 %dir %{_sysconfdir}/wireguard
52 %{systemdunitdir}/wg-quick@.service
53 %{_mandir}/man8/wg-quick.8*