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