1 |
# $Id: smeserver-openvpn-s2s.spec,v 1.9 2017/12/02 06:28:56 cvsuser Exp $ |
# $Id: smeserver-openvpn-s2s.spec,v 1.2 2021/02/05 12:17:48 brianr Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# Name: Daniel Berteaud |
4 |
|
|
6 |
%define name smeserver-openvpn-s2s |
%define name smeserver-openvpn-s2s |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 0.2 |
%define version 0.2 |
9 |
%define release 8 |
%define release 10 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
18 |
Patch2: smeserver-openvpn-s2s-0.2-locale-2015-07-01.patch |
Patch2: smeserver-openvpn-s2s-0.2-locale-2015-07-01.patch |
19 |
Patch3: smeserver-openvpn-s2s-0.2-fix_daemon_id_validation.patch |
Patch3: smeserver-openvpn-s2s-0.2-fix_daemon_id_validation.patch |
20 |
Patch4: smeserver-openvpn-s2s-0.2-locale-2017-12-02.patch |
Patch4: smeserver-openvpn-s2s-0.2-locale-2017-12-02.patch |
21 |
|
Patch5: smeserver-openvpn-s2s-0.2-Alter-for-systemd-startup.patch |
22 |
|
Patch6: smeserver-openvpn-s2s-0.2-sme10.patch |
23 |
|
|
24 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
25 |
|
|
34 |
to run openvpn in client or server mode for site to site tunnels |
to run openvpn in client or server mode for site to site tunnels |
35 |
|
|
36 |
%changelog |
%changelog |
37 |
|
* Tue Mar 30 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.2-10.sme |
38 |
|
- enforce better cipher with settings [SME: 11498] |
39 |
|
- enforce better HMAC with setting [SME: 11498] |
40 |
|
- enforce TLS 1.2 or better with setting [SME: 11498] |
41 |
|
- enforce strong TLS ciphers with setting [SME: 11498] |
42 |
|
- better list of vpn connections [SME: 11337] |
43 |
|
- allow soft reload of individual connection [SME: 11337] |
44 |
|
- fix incorect permission on private keys [SME: 11337] |
45 |
|
|
46 |
|
* Thu Feb 04 2021 Brian Read <brianr@bjsystems.co.uk> 0.2-9.sme |
47 |
|
- Initial import to SME10 [SME: 11337] |
48 |
|
- Alter-for-systemd-startup |
49 |
|
|
50 |
* Sat Dec 02 2017 SME Translation Server <translations@contribs.org> 0.2-8.sme |
* Sat Dec 02 2017 SME Translation Server <translations@contribs.org> 0.2-8.sme |
51 |
- apply locale 2017-12-02 patch |
- apply locale 2017-12-02 patch |
52 |
|
|
153 |
%patch2 -p1 |
%patch2 -p1 |
154 |
%patch3 -p1 |
%patch3 -p1 |
155 |
%patch4 -p1 |
%patch4 -p1 |
156 |
|
%patch5 -p1 |
157 |
|
%patch6 -p1 |
158 |
|
|
159 |
%build |
%build |
160 |
perl createlinks |
perl createlinks |
169 |
%install |
%install |
170 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
171 |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
(cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
172 |
|
/bin/chmod +x $RPM_BUILD_ROOT/usr/sbin/systemd/openvpn-s2s |
173 |
/bin/rm -f %{name}-%{version}-filelist |
/bin/rm -f %{name}-%{version}-filelist |
174 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
175 |
--dir /etc/openvpn/s2s/pub 'attr(0755,root,root)' \ |
--dir /etc/openvpn/s2s/pub 'attr(0755,root,root)' \ |
182 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
183 |
%defattr(-,root,root) |
%defattr(-,root,root) |
184 |
|
|
185 |
|
|
186 |
%clean |
%clean |
187 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
188 |
|
|