1 |
%define name smeserver-libreswan |
%define name smeserver-libreswan |
2 |
%define version 0.5 |
%define version 0.5 |
3 |
%define release 34 |
%define release 37 |
4 |
Summary: Plugin to enable IPSEC connections |
Summary: Plugin to enable IPSEC connections |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
27 |
Patch16: smeserver-libreswan-fix-xl2tpd-status-check.patch |
Patch16: smeserver-libreswan-fix-xl2tpd-status-check.patch |
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 |
31 |
|
Patch20: smeserver-libreswan-update-createlinks-update-reauth.patch |
32 |
|
Patch21: smeserver-libreswan-fix-init-link.patch |
33 |
|
|
34 |
|
|
35 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
36 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
43 |
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") |
44 |
|
|
45 |
%changelog |
%changelog |
46 |
|
* Tue Feb 11 2025 John Crisp <jcrisp@safreqandsoundit.co.uk> 0.5-37.sme |
47 |
|
- Fix broken url |
48 |
|
|
49 |
|
* Wed May 24 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-36.sme |
50 |
|
- Change ipsec.conf log setting |
51 |
|
- Create /var/log/pluto/pluto.log |
52 |
|
- Add reauth 'yes' as an added option |
53 |
|
- Update createlinks |
54 |
|
|
55 |
|
* Mon Mar 01 2021 Brian Read <brianr@bjsystems.co.uk> 0.5-35.sme |
56 |
|
- Initial Import in SME10 tree [SME: 11405] |
57 |
|
- Update for systemd |
58 |
|
|
59 |
* Mon Feb 17 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-34.sme |
* Mon Feb 17 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-34.sme |
60 |
- auto insert leftsourceip and subnet from internal interface |
- auto insert leftsourceip and subnet from internal interface |
61 |
- Force right to have a value |
- Force right to have a value |
62 |
|
|
63 |
* 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 |
64 |
- update keyingtries |
- update keyingtries |
65 |
- update virtual-private |
- update virtual-private |
66 |
|
|
249 |
%patch16 -p1 |
%patch16 -p1 |
250 |
%patch17 -p1 |
%patch17 -p1 |
251 |
%patch18 -p1 |
%patch18 -p1 |
252 |
|
%patch19 -p1 |
253 |
|
%patch20 -p1 |
254 |
|
%patch21 -p1 |
255 |
|
|
256 |
%build |
%build |
257 |
perl createlinks |
perl createlinks |
276 |
%post |
%post |
277 |
|
|
278 |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
279 |
/sbin/e-smith/expand-template /etc/inittab |
#/sbin/e-smith/expand-template /etc/inittab |
280 |
/sbin/init q |
#/sbin/init q |
281 |
|
|
282 |
|
if [[ ! -d /var/log/pluto ]] |
283 |
|
then |
284 |
|
mkdir /var/log/pluto |
285 |
|
fi |
286 |
|
|
287 |
echo "see https://wiki.contribs.org/Libreswan" |
echo "see https://wiki.contribs.org/Libreswan" |
288 |
|
|
289 |
%postun |
%postun |
290 |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
291 |
/sbin/e-smith/expand-template /etc/inittab |
#/sbin/e-smith/expand-template /etc/inittab |
292 |
/sbin/init q |
#/sbin/init q |