1 |
jpp |
1.7 |
%define release 4 |
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 |
jpp |
1.1 |
|
15 |
|
|
BuildRequires: e-smith-devtools |
16 |
|
|
Requires: wireguard-tools |
17 |
|
|
Requires: kmod-wireguard |
18 |
|
|
Requires: smeserver-release >= 10 |
19 |
|
|
Requires: qrencode |
20 |
|
|
Requires: perl-Net-Netmask |
21 |
|
|
|
22 |
|
|
|
23 |
|
|
%description |
24 |
|
|
WireGuard is a novel VPN that runs inside the Linux Kernel and uses |
25 |
|
|
state-of-the-art cryptography (the "Noise" protocol). It aims to be |
26 |
|
|
faster, simpler, leaner, and more useful than IPSec, while avoiding |
27 |
|
|
the massive headache. It intends to be considerably more performant |
28 |
|
|
than OpenVPN. WireGuard is designed as a general purpose VPN for |
29 |
|
|
running on embedded interfaces and super computers alike, fit for |
30 |
|
|
many different circumstances. It runs over UDP. |
31 |
jpp |
1.3 |
This package provides the Koozali SME SERVER configuration for controlling WireGuard. |
32 |
jpp |
1.1 |
|
33 |
|
|
%prep |
34 |
|
|
%setup -q |
35 |
jpp |
1.4 |
%patch0 -p1 |
36 |
jpp |
1.1 |
|
37 |
|
|
%build |
38 |
|
|
perl createlink |
39 |
|
|
|
40 |
|
|
|
41 |
|
|
%install |
42 |
|
|
rm -rf %{buildroot} |
43 |
|
|
(cd root; find . -depth -print | cpio -dump %{buildroot}) |
44 |
|
|
/sbin/e-smith/genfilelist %{buildroot} \ |
45 |
|
|
--ignoredir "/etc/wireguard" \ |
46 |
|
|
> %{name}-%{version}-filelist |
47 |
|
|
|
48 |
|
|
cat %{name}-%{version}-filelist |
49 |
|
|
|
50 |
|
|
%files -f %{name}-%{version}-filelist |
51 |
|
|
%defattr(-,root,root) |
52 |
|
|
#%doc COPYING |
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
%changelog |
59 |
jpp |
1.7 |
* Wed Oct 27 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-4.sme |
60 |
jpp |
1.4 |
- fix wrong ip [SME: 11721] |
61 |
jpp |
1.5 |
- updated templates fragments |
62 |
jpp |
1.7 |
- fix panel link ; fix private/public key creation |
63 |
jpp |
1.4 |
|
64 |
jpp |
1.2 |
* Tue Oct 26 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-1.sme |
65 |
|
|
- first release for Koozali SME Server |
66 |
|
|
|
67 |
jpp |
1.1 |
|