1 |
Name: smeserver-wireguard |
2 |
Version: 1.0 |
3 |
Release: 1%{?dist} |
4 |
Summary: wireguard SME Server configuration package |
5 |
|
6 |
Group: VPN |
7 |
License: GPL |
8 |
URL: https://wiki.koozali.org/Wireguard |
9 |
Source0: smeserver-wireguard-1.0.tgz |
10 |
|
11 |
BuildRequires: e-smith-devtools |
12 |
Requires: wireguard-tools |
13 |
Requires: kmod-wireguard |
14 |
Requires: smeserver-release >= 10 |
15 |
Requires: qrencode |
16 |
Requires: perl-Net-Netmask |
17 |
|
18 |
|
19 |
%description |
20 |
WireGuard is a novel VPN that runs inside the Linux Kernel and uses |
21 |
state-of-the-art cryptography (the "Noise" protocol). It aims to be |
22 |
faster, simpler, leaner, and more useful than IPSec, while avoiding |
23 |
the massive headache. It intends to be considerably more performant |
24 |
than OpenVPN. WireGuard is designed as a general purpose VPN for |
25 |
running on embedded interfaces and super computers alike, fit for |
26 |
many different circumstances. It runs over UDP. |
27 |
This package provides the wg binary for controlling WireGuard. |
28 |
|
29 |
%prep |
30 |
%setup -q |
31 |
|
32 |
%build |
33 |
perl createlink |
34 |
|
35 |
|
36 |
%install |
37 |
rm -rf %{buildroot} |
38 |
(cd root; find . -depth -print | cpio -dump %{buildroot}) |
39 |
/sbin/e-smith/genfilelist %{buildroot} \ |
40 |
--ignoredir "/etc/wireguard" \ |
41 |
> %{name}-%{version}-filelist |
42 |
|
43 |
cat %{name}-%{version}-filelist |
44 |
|
45 |
%files -f %{name}-%{version}-filelist |
46 |
%defattr(-,root,root) |
47 |
#%doc COPYING |
48 |
|
49 |
|
50 |
|
51 |
|
52 |
|
53 |
%changelog |
54 |
|