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