1 |
jpp |
1.12 |
%define release 7 |
2 |
jpp |
1.6 |
%define version 1.0 |
3 |
|
|
|
4 |
jpp |
1.1 |
Name: smeserver-wireguard |
5 |
jpp |
1.6 |
Version: %{version} |
6 |
|
|
Release: %{release}%{?dist} |
7 |
jpp |
1.1 |
Summary: wireguard SME Server configuration package |
8 |
|
|
|
9 |
|
|
Group: VPN |
10 |
|
|
License: GPL |
11 |
|
|
URL: https://wiki.koozali.org/Wireguard |
12 |
|
|
Source0: smeserver-wireguard-1.0.tgz |
13 |
jpp |
1.4 |
Patch0: smeserver-wireguard-1.0-bz11721-init.patch |
14 |
jpp |
1.1 |
|
15 |
|
|
BuildRequires: e-smith-devtools |
16 |
|
|
Requires: wireguard-tools |
17 |
|
|
Requires: kmod-wireguard |
18 |
|
|
Requires: smeserver-release >= 10 |
19 |
|
|
Requires: qrencode |
20 |
|
|
Requires: perl-Net-Netmask |
21 |
jpp |
1.9 |
Requires: e-smith-base >= 5.8.1-2 |
22 |
jpp |
1.13 |
Requires: e-smith-lib >= 2.6.0-15 |
23 |
jpp |
1.1 |
|
24 |
|
|
%description |
25 |
|
|
WireGuard is a novel VPN that runs inside the Linux Kernel and uses |
26 |
|
|
state-of-the-art cryptography (the "Noise" protocol). It aims to be |
27 |
|
|
faster, simpler, leaner, and more useful than IPSec, while avoiding |
28 |
|
|
the massive headache. It intends to be considerably more performant |
29 |
|
|
than OpenVPN. WireGuard is designed as a general purpose VPN for |
30 |
|
|
running on embedded interfaces and super computers alike, fit for |
31 |
|
|
many different circumstances. It runs over UDP. |
32 |
jpp |
1.3 |
This package provides the Koozali SME SERVER configuration for controlling WireGuard. |
33 |
jpp |
1.1 |
|
34 |
|
|
%prep |
35 |
|
|
%setup -q |
36 |
jpp |
1.4 |
%patch0 -p1 |
37 |
jpp |
1.1 |
|
38 |
|
|
%build |
39 |
|
|
perl createlink |
40 |
|
|
|
41 |
|
|
|
42 |
|
|
%install |
43 |
|
|
rm -rf %{buildroot} |
44 |
|
|
(cd root; find . -depth -print | cpio -dump %{buildroot}) |
45 |
|
|
/sbin/e-smith/genfilelist %{buildroot} \ |
46 |
|
|
--ignoredir "/etc/wireguard" \ |
47 |
|
|
> %{name}-%{version}-filelist |
48 |
|
|
|
49 |
|
|
cat %{name}-%{version}-filelist |
50 |
|
|
|
51 |
|
|
%files -f %{name}-%{version}-filelist |
52 |
|
|
%defattr(-,root,root) |
53 |
|
|
#%doc COPYING |
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
%changelog |
60 |
jpp |
1.12 |
* Wed Oct 27 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-7.sme |
61 |
jpp |
1.4 |
- fix wrong ip [SME: 11721] |
62 |
jpp |
1.5 |
- updated templates fragments |
63 |
jpp |
1.8 |
- fix panel link ; fix private/public key creation; fix preset path |
64 |
jpp |
1.9 |
- requires e-smith-base >= 5.8.1-2 |
65 |
jpp |
1.4 |
|
66 |
jpp |
1.2 |
* Tue Oct 26 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-1.sme |
67 |
|
|
- first release for Koozali SME Server |
68 |
|
|
|
69 |
jpp |
1.1 |
|