1 |
%define release 13 |
2 |
%define version 1.0 |
3 |
|
4 |
Name: smeserver-wireguard |
5 |
Version: %{version} |
6 |
Release: %{release}%{?dist} |
7 |
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 |
Patch0: smeserver-wireguard-1.0-bz11721-init.patch |
14 |
Patch1: smeserver-wireguard-1.0-Fix-allowedips-in-quick-conf-contents.patch |
15 |
Patch2: smeserver-wireguard-1.0-bz11771-Delete-previous-network-records-when-server-ip-updated-validate-server-ip.patch |
16 |
|
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 |
Requires: e-smith-base >= 5.8.1-2 |
24 |
Requires: e-smith-lib >= 2.6.0-15 |
25 |
|
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 |
This package provides the Koozali SME SERVER configuration for controlling WireGuard. |
35 |
|
36 |
%prep |
37 |
%setup -q |
38 |
%patch0 -p1 |
39 |
%patch1 -p1 |
40 |
%patch2 -p1 |
41 |
|
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 |
* 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 |
* 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 |
* 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 |
* 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 |
* Mon Nov 01 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-9.sme |
80 |
- fix migrate fragment [SME: 11721] |
81 |
|
82 |
* 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 |
* Wed Oct 27 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-7.sme |
87 |
- fix wrong ip [SME: 11721] |
88 |
- updated templates fragments |
89 |
- fix panel link ; fix private/public key creation; fix preset path |
90 |
- requires e-smith-base >= 5.8.1-2 |
91 |
|
92 |
* Tue Oct 26 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-1.sme |
93 |
- first release for Koozali SME Server |
94 |
|
95 |
|