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