1 |
%define name smeserver-libreswan |
%define name smeserver-libreswan |
2 |
%define version 0.5 |
%define version 0.5 |
3 |
%define release 14 |
%define release 17 |
4 |
Summary: Plugin to enable IPSEC connections |
Summary: Plugin to enable IPSEC connections |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release} |
Release: %{release}%{?dist} |
8 |
License: GNU GPL version 2 |
License: GNU GPL version 2 |
9 |
URL: http://libreswan.org/ |
URL: http://libreswan.org/ |
10 |
Group: SMEserver/addon |
Group: SMEserver/addon |
11 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
12 |
|
Patch1: smeserver-libreswan-fix-masq-templates.patch |
13 |
|
Patch2: smeserver-libreswan-move-logfile.patch |
14 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
15 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
16 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
17 |
Requires: e-smith-release >= 9.0 |
Requires: e-smith-release >= 9.0 |
18 |
Requires: libreswan >= 3.14 |
Requires: libreswan >= 3.16 |
19 |
AutoReqProv: no |
AutoReqProv: no |
20 |
|
|
21 |
%description |
%description |
22 |
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") |
23 |
|
|
24 |
%changelog |
%changelog |
25 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 0.5-14 |
* Tue Mar 22 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-17.sme |
26 |
|
- Move pluto.log to /var/log/pluto |
27 |
|
- bump libreswan requires version to 3.16 |
28 |
|
- regenerate masq template on ipsec-update |
29 |
|
- change wiki location page |
30 |
|
- add sysctl.conf template |
31 |
|
- modify masq templates for ipsec status enabled/disabled |
32 |
|
- only load ipsec.conf rather than *.conf to avoid loading v6neighbor-hole.conf |
33 |
|
|
34 |
|
* Thu Mar 10 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-16.sme |
35 |
|
- Fix masq templates for missing db entries on install |
36 |
|
|
37 |
|
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 0.5-15.sme |
38 |
- first import in SME buildsys |
- first import in SME buildsys |
39 |
|
|
40 |
* Wed Feb 17 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-13 |
* Wed Feb 17 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 0.5-13 |
127 |
|
|
128 |
%prep |
%prep |
129 |
%setup |
%setup |
130 |
|
%patch1 -p1 |
131 |
|
%patch2 -p1 |
132 |
|
|
133 |
%build |
%build |
134 |
perl createlinks |
perl createlinks |
151 |
%pre |
%pre |
152 |
%preun |
%preun |
153 |
%post |
%post |
|
|
|
154 |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
155 |
/sbin/e-smith/expand-template /etc/inittab |
/sbin/e-smith/expand-template /etc/inittab |
156 |
/sbin/init q |
/sbin/init q |
157 |
|
|
158 |
|
|
159 |
echo "see http://wiki.contribs.org/IPSEC" |
echo "see http://wiki.contribs.org/VPN" |
160 |
|
|
161 |
%postun |
%postun |
162 |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |