1 |
brianr |
1.18 |
%define release 12 |
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 |
brianr |
1.18 |
Patch1: smeserver-wireguard-1.0-Fix-allowedips-in-quick-conf-contents.patch |
15 |
jpp |
1.1 |
|
16 |
|
|
BuildRequires: e-smith-devtools |
17 |
|
|
Requires: wireguard-tools |
18 |
|
|
Requires: kmod-wireguard |
19 |
|
|
Requires: smeserver-release >= 10 |
20 |
|
|
Requires: qrencode |
21 |
|
|
Requires: perl-Net-Netmask |
22 |
jpp |
1.9 |
Requires: e-smith-base >= 5.8.1-2 |
23 |
jpp |
1.13 |
Requires: e-smith-lib >= 2.6.0-15 |
24 |
jpp |
1.1 |
|
25 |
|
|
%description |
26 |
|
|
WireGuard is a novel VPN that runs inside the Linux Kernel and uses |
27 |
|
|
state-of-the-art cryptography (the "Noise" protocol). It aims to be |
28 |
|
|
faster, simpler, leaner, and more useful than IPSec, while avoiding |
29 |
|
|
the massive headache. It intends to be considerably more performant |
30 |
|
|
than OpenVPN. WireGuard is designed as a general purpose VPN for |
31 |
|
|
running on embedded interfaces and super computers alike, fit for |
32 |
|
|
many different circumstances. It runs over UDP. |
33 |
jpp |
1.3 |
This package provides the Koozali SME SERVER configuration for controlling WireGuard. |
34 |
jpp |
1.1 |
|
35 |
|
|
%prep |
36 |
|
|
%setup -q |
37 |
jpp |
1.4 |
%patch0 -p1 |
38 |
brianr |
1.18 |
%patch1 -p1 |
39 |
jpp |
1.1 |
|
40 |
|
|
%build |
41 |
|
|
perl createlink |
42 |
|
|
|
43 |
|
|
|
44 |
|
|
%install |
45 |
|
|
rm -rf %{buildroot} |
46 |
|
|
(cd root; find . -depth -print | cpio -dump %{buildroot}) |
47 |
|
|
/sbin/e-smith/genfilelist %{buildroot} \ |
48 |
|
|
--ignoredir "/etc/wireguard" \ |
49 |
|
|
> %{name}-%{version}-filelist |
50 |
|
|
|
51 |
|
|
cat %{name}-%{version}-filelist |
52 |
|
|
|
53 |
|
|
%files -f %{name}-%{version}-filelist |
54 |
|
|
%defattr(-,root,root) |
55 |
|
|
#%doc COPYING |
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
%changelog |
62 |
brianr |
1.18 |
* Tue Nov 16 2021 Brian Read <brianr@bjsystems.co.uk> 1.0-12.sme |
63 |
|
|
- Fix-allowedips-in-quick-conf-contents [SME: 11756] |
64 |
|
|
|
65 |
jpp |
1.17 |
* Wed Nov 03 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-11.sme |
66 |
|
|
- fix tainted string from dns query [SME: 11721] |
67 |
|
|
|
68 |
jpp |
1.16 |
* Wed Nov 03 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-10.sme |
69 |
|
|
- fix wrong delete event [SME: 11721] |
70 |
|
|
fix ip not shown if server only |
71 |
|
|
improved config display |
72 |
|
|
|
73 |
jpp |
1.15 |
* Mon Nov 01 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-9.sme |
74 |
|
|
- fix migrate fragment [SME: 11721] |
75 |
|
|
|
76 |
jpp |
1.14 |
* Sun Oct 31 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-8.sme |
77 |
|
|
- set DNS if allowedips 0.0.0.0/0 [SME: 11721] |
78 |
|
|
allowedips displayed as it has been set. |
79 |
|
|
|
80 |
jpp |
1.12 |
* Wed Oct 27 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-7.sme |
81 |
jpp |
1.4 |
- fix wrong ip [SME: 11721] |
82 |
jpp |
1.5 |
- updated templates fragments |
83 |
jpp |
1.8 |
- fix panel link ; fix private/public key creation; fix preset path |
84 |
jpp |
1.9 |
- requires e-smith-base >= 5.8.1-2 |
85 |
jpp |
1.4 |
|
86 |
jpp |
1.2 |
* Tue Oct 26 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-1.sme |
87 |
|
|
- first release for Koozali SME Server |
88 |
|
|
|
89 |
jpp |
1.1 |
|