%define release 4 %define version 1.0 Name: smeserver-wireguard Version: %{version} Release: %{release}%{?dist} Summary: wireguard SME Server configuration package Group: VPN License: GPL URL: https://wiki.koozali.org/Wireguard Source0: smeserver-wireguard-1.0.tgz Patch0: smeserver-wireguard-1.0-bz11721-init.patch BuildRequires: e-smith-devtools Requires: wireguard-tools Requires: kmod-wireguard Requires: smeserver-release >= 10 Requires: qrencode Requires: perl-Net-Netmask %description WireGuard is a novel VPN that runs inside the Linux Kernel and uses state-of-the-art cryptography (the "Noise" protocol). It aims to be faster, simpler, leaner, and more useful than IPSec, while avoiding the massive headache. It intends to be considerably more performant than OpenVPN. WireGuard is designed as a general purpose VPN for running on embedded interfaces and super computers alike, fit for many different circumstances. It runs over UDP. This package provides the Koozali SME SERVER configuration for controlling WireGuard. %prep %setup -q %patch0 -p1 %build perl createlink %install rm -rf %{buildroot} (cd root; find . -depth -print | cpio -dump %{buildroot}) /sbin/e-smith/genfilelist %{buildroot} \ --ignoredir "/etc/wireguard" \ > %{name}-%{version}-filelist cat %{name}-%{version}-filelist %files -f %{name}-%{version}-filelist %defattr(-,root,root) #%doc COPYING %changelog * Wed Oct 27 2021 Jean-Philippe Pialasse 1.0-4.sme - fix wrong ip [SME: 11721] - updated templates fragments - fix panel link ; fix private/public key creation; fix preset path * Tue Oct 26 2021 Jean-Philippe Pialasse 1.0-1.sme - first release for Koozali SME Server