1 |
%define release 5 |
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 |
|
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 |
Requires: e-smith-base >= 5.8.1-2 |
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 |
This package provides the Koozali SME SERVER configuration for controlling WireGuard. |
32 |
|
33 |
%prep |
34 |
%setup -q |
35 |
%patch0 -p1 |
36 |
|
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 |
* Wed Oct 27 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-5.sme |
60 |
- fix wrong ip [SME: 11721] |
61 |
- updated templates fragments |
62 |
- fix panel link ; fix private/public key creation; fix preset path |
63 |
- requires e-smith-base >= 5.8.1-2 |
64 |
|
65 |
* Tue Oct 26 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-1.sme |
66 |
- first release for Koozali SME Server |
67 |
|
68 |
|