--- rpms/smeserver-wireguard/contribs10/smeserver-wireguard.spec 2021/11/25 10:10:25 1.19 +++ rpms/smeserver-wireguard/contribs10/smeserver-wireguard.spec 2024/09/06 11:12:29 1.26 @@ -1,4 +1,4 @@ -%define release 13 +%define release 20 %define version 1.0 Name: smeserver-wireguard @@ -13,16 +13,25 @@ Source0: smeserver-wireguard-1.0.tgz Patch0: smeserver-wireguard-1.0-bz11721-init.patch Patch1: smeserver-wireguard-1.0-Fix-allowedips-in-quick-conf-contents.patch Patch2: smeserver-wireguard-1.0-bz11771-Delete-previous-network-records-when-server-ip-updated-validate-server-ip.patch +Patch3: smeserver-wireguard-1.0-bz11819_smanager-bz11742_info.patch +Patch4: smeserver-wireguard-1.0-fix_typos.patch +Patch5: smeserver-wireguard-1.0-bz11771-more-network-check.patch +Patch6: smeserver-wireguard-1.0-locale-2022-11-11.patch +Patch7: smeserver-wireguard-1.0-bz12288.patch +Patch8: smeserver-wireguard-1.0-Alter-menu-category-for-new-arrangement.patch +Patch9: smeserver-wireguard-1.0-locale-2024-09-06.patch BuildRequires: e-smith-devtools Requires: wireguard-tools Requires: kmod-wireguard -Requires: smeserver-release >= 10 +Requires: smeserver-release >= 10 Requires: qrencode Requires: perl-Net-Netmask Requires: e-smith-base >= 5.8.1-2 Requires: e-smith-lib >= 2.6.0-15 +AutoReqProv: no + %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 @@ -38,6 +47,13 @@ This package provides the Koozali SME SE %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 +%patch6 -p1 +%patch7 -p1 +%patch8 -p1 +%patch9 -p1 %build perl createlink @@ -56,11 +72,37 @@ cat %{name}-%{version}-filelist %defattr(-,root,root) #%doc COPYING +%post +if (systemctl list-unit-files |grep smanager) then + echo "Smanager restart in spec file" + /sbin/e-smith/signal-event smanager-refresh; +fi +%changelog +* Fri Sep 06 2024 Terry Fage 1.0-20.sme +- apply locale 2024-09-06.patch +* Fri Mar 01 2024 Brian Read 1.0-19.sme +- Edit SM2 Menu entry to conform to new arrangements [SME: 12493] + +* Mon Dec 26 2022 Jean-Philippe Pialasse 1.0-18.sme +- remove masquerade and forward directive on startup [SME: 12288] + +* Fri Nov 11 2022 Jean-Philippe Pialasse 1.0-17.sme +- apply locale 2022-11-11 patch + +* Sun May 29 2022 Jean-Philippe Pialasse 1.0-16.sme +- improve check and tidying for non local network type [SME: 11771] + updated both legacy and new panel + +* Tue Apr 19 2022 Michel Begue 1.0-15.sme +- Fix typos in templates + +* Fri Apr 15 2022 Michel Begue 1.0-14.sme +- Integrate wireguard with smeserver-manager (manager2) [SME: 11819] +- Accept spaces in 'info' attribute [SME: 11742] -%changelog * Thu Nov 25 2021 Brian Read 1.0-13.sme - Delete old networkdb records when server ip updated [SME: 11771] - Validate Server Ip range to be private in SM panel @@ -91,5 +133,3 @@ cat %{name}-%{version}-filelist * Tue Oct 26 2021 Jean-Philippe Pialasse 1.0-1.sme - first release for Koozali SME Server - -