]> git.pld-linux.org Git - packages/wireguard-tools.git/blame - wireguard-tools.spec
- updated description
[packages/wireguard-tools.git] / wireguard-tools.spec
CommitLineData
b3b7b091
JR
1Summary: WireGuard is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography
2Name: wireguard-tools
3Version: 1.0.20200319
4Release: 1
5License: GPL v2
6Group: Networking/Daemons
7Source0: https://git.zx2c4.com/wireguard-tools/snapshot/%{name}-%{version}.tar.xz
8# Source0-md5: 36cd9411f56bc5dcaac29bbab6fd9c67
9URL: https://www.wireguard.com/
10BuildRequires: libmnl-devel
11BuildRequires: rpmbuild(macros) >= 1.701
64c304f2 12Obsoletes: WireGuard < 1.0.20200319-1
b3b7b091
JR
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16WireGuard is an extremely simple yet fast and modern VPN that utilizes
17state-of-the-art cryptography. It aims to be faster, simpler, leaner,
18and more useful than IPSec, while avoiding the massive headache. It
19intends to be considerably more performant than OpenVPN. WireGuard is
20designed as a general purpose VPN for running on embedded interfaces
21and super computers alike, fit for many different circumstances.
22
64c304f2
JR
23This package contains user space tools. Kernel module is included in
24Linux 5.6+. You need to also install kernel module from
25kernel-*-misc-wireguard package for kernel < 5.6.
b3b7b091
JR
26
27%prep
28%setup -q
29
30%build
31%{make} -C src V=1
32
33%install
34rm -rf $RPM_BUILD_ROOT
35
36%{make} -C src install \
37 PREFIX=$RPM_BUILD_ROOT%{_prefix} \
38 SYSCONFDIR=$RPM_BUILD_ROOT%{_sysconfdir} \
39 SYSTEMDUNITDIR=$RPM_BUILD_ROOT%{systemdunitdir} \
40 WITH_SYSTEMDUNITS=yes
41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%postun
46%systemd_reload
47
48%files
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*
56%{_mandir}/man8/wg.8*
This page took 0.083582 seconds and 4 git commands to generate.