/[smecontribs]/rpms/smeserver-wireguard/contribs10/smeserver-wireguard.spec
ViewVC logotype

Contents of /rpms/smeserver-wireguard/contribs10/smeserver-wireguard.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.25 - (show annotations) (download)
Fri Mar 1 14:43:56 2024 UTC (8 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-wireguard-1_0-19_el7_sme
Changes since 1.24: +12 -1 lines
* Fri Mar 01 2024 Brian Read <brianr@koozali.org> 1.0-19.sme
- Edit SM2 Menu entry to conform to new arrangements [SME: 12493]

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed