1 |
%define name smeserver-libreswan |
%define name smeserver-libreswan |
2 |
%define version 0.5 |
%define version 0.5 |
3 |
%define release 35 |
%define release 36 |
4 |
Summary: Plugin to enable IPSEC connections |
Summary: Plugin to enable IPSEC connections |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
28 |
Patch17: smeserver-libreswan-createlinks.patch |
Patch17: smeserver-libreswan-createlinks.patch |
29 |
Patch18: smeserver-libreswan-modify-leftrightsubnet.patch |
Patch18: smeserver-libreswan-modify-leftrightsubnet.patch |
30 |
Patch19: smeserver-libreswan-0.5-Update-for-systemd.patch |
Patch19: smeserver-libreswan-0.5-Update-for-systemd.patch |
31 |
|
Patch20: smeserver-libreswan-update-createlinks-update-reauth.patch |
32 |
|
|
33 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
34 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
41 |
Libreswan is a free software implementation of the most widely supported and standardised VPN protocol based on ("IPsec") and the Internet Key Exchange ("IKE") |
Libreswan is a free software implementation of the most widely supported and standardised VPN protocol based on ("IPsec") and the Internet Key Exchange ("IKE") |
42 |
|
|
43 |
%changelog |
%changelog |
44 |
|
* Wed May 24 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-36.sme |
45 |
|
- Change ipsec.conf log setting |
46 |
|
- Create /var/log/pluto/pluto.log |
47 |
|
- Add reauth 'yes' as an added option |
48 |
|
- Update createlinks |
49 |
|
|
50 |
* Mon Mar 01 2021 Brian Read <brianr@bjsystems.co.uk> 0.5-35.sme |
* Mon Mar 01 2021 Brian Read <brianr@bjsystems.co.uk> 0.5-35.sme |
51 |
- Initial Import in SME10 tree [SME: 11405] |
- Initial Import in SME10 tree [SME: 11405] |
52 |
- Update for systemd |
- Update for systemd |
55 |
- auto insert leftsourceip and subnet from internal interface |
- auto insert leftsourceip and subnet from internal interface |
56 |
- Force right to have a value |
- Force right to have a value |
57 |
|
|
58 |
* Tue Feb 14 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-33.sme |
* Fri Feb 14 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-33.sme |
59 |
- update keyingtries |
- update keyingtries |
60 |
- update virtual-private |
- update virtual-private |
61 |
|
|
245 |
%patch17 -p1 |
%patch17 -p1 |
246 |
%patch18 -p1 |
%patch18 -p1 |
247 |
%patch19 -p1 |
%patch19 -p1 |
248 |
|
%patch20 -p1 |
249 |
|
|
250 |
%build |
%build |
251 |
perl createlinks |
perl createlinks |
270 |
%post |
%post |
271 |
|
|
272 |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
273 |
/sbin/e-smith/expand-template /etc/inittab |
#/sbin/e-smith/expand-template /etc/inittab |
274 |
/sbin/init q |
#/sbin/init q |
275 |
|
|
276 |
|
if [[ ! -d /var/log/pluto ]] |
277 |
|
then |
278 |
|
mkdir /var/log/pluto |
279 |
|
fi |
280 |
|
|
281 |
echo "see https://wiki.contribs.org/Libreswan" |
echo "see https://wiki.contribs.org/Libreswan" |
282 |
|
|
283 |
%postun |
%postun |
284 |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
285 |
/sbin/e-smith/expand-template /etc/inittab |
#/sbin/e-smith/expand-template /etc/inittab |
286 |
/sbin/init q |
#/sbin/init q |