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