1 |
Summary: IPSEC support for SME Server |
2 |
%define name smeserver-ipsec |
3 |
Name: %{name} |
4 |
%define version 0.0.1 |
5 |
%define release 02 |
6 |
Version: %{version} |
7 |
Release: %{release} |
8 |
Copyright: Freely distributable |
9 |
Group: Networking/Daemons |
10 |
Source: %{name}-%{version}.tar.gz |
11 |
Patch0: smeserver-ipsec-0.0.1-relocatemastemplates.patch |
12 |
BuildRoot: /var/tmp/e-smith-buildroot |
13 |
BuildArchitectures: noarch |
14 |
Requires: e-smith-release >= 7 |
15 |
Requires: ipsec-tools |
16 |
AutoReqProv: no |
17 |
Obsoletes: dmc-mitel-freeswan |
18 |
Obsoletes: devinfo-freeswan |
19 |
|
20 |
%changelog |
21 |
* Wed Jan 4 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-02 |
22 |
- Moved masq templates into templates from templates-custom |
23 |
|
24 |
* Wed Jan 4 2006 Gordon Rowell <gordonr@gormand.com.au> 0.0.1-01 |
25 |
- Package renamed to smeserver-ipsec (from devinfo-freeswan) |
26 |
|
27 |
* Fri May 2 2003 Peter Schubert <psc@s-a-c-o.de> |
28 |
- added template for /etc/sysctl.conf |
29 |
- to set rp_filter to 0 as default |
30 |
- added Funktion to change the PublicID of the Server |
31 |
|
32 |
* Sat Apr 12 2003 Shad L. Lords <slords@mail.com> |
33 |
- 1.99-6sme56 |
34 |
- fixed bug in ipsec-install script. Thanks to Randy Brown. |
35 |
|
36 |
* Fri Apr 11 2003 Shad L. Lords <slords@mail.com> |
37 |
- 1.99-5sme56 |
38 |
- added ipsec devices as trusted local networks |
39 |
|
40 |
* Fri Apr 11 2003 Shad L. Lords <slords@mail.com> |
41 |
- 1.99-4sme56 |
42 |
- fixed many routing problems between networks |
43 |
- added dependancy on e-smith-packetfilter |
44 |
|
45 |
* Fri Apr 11 2003 Shad L. Lords <slords@mail.com> |
46 |
- 1.99-3sme56 |
47 |
- updated info mailed to admin |
48 |
|
49 |
* Fri Apr 11 2003 Shad L. Lords <slords@mail.com> |
50 |
- 1.99-2sme56 |
51 |
- fixed bug in web panel |
52 |
|
53 |
* Fri Apr 11 2003 Shad L. Lords <slords@mail.com> |
54 |
- 1.99-1sme56 |
55 |
- bumped to v1.99 |
56 |
- many fixes in _updown script |
57 |
- cleanup of /etc/ipsec.conf script |
58 |
- cleanup web interface a little more |
59 |
- added id tag to ipsec db entry |
60 |
|
61 |
* Thu Apr 10 2003 Shad L. Lords <slords@mail.com> |
62 |
- 1.98b-3sme56 |
63 |
- fixed masq template for external interface |
64 |
|
65 |
* Thu Apr 10 2003 Shad L. Lords <slords@mail.com> |
66 |
- 1.98b-2sme56 |
67 |
- fixed remoteHost and remoteID in ipsec.conv script |
68 |
|
69 |
* Thu Apr 10 2003 Shad L. Lords <slords@mail.com> |
70 |
- 1.98b-1sme56 |
71 |
- changed configuration to no longer need nexthop information (now user %defaultroute) |
72 |
- changed connection to allow hostnames |
73 |
- changed description to be identification ID |
74 |
- changed masq external interface to be ! internal |
75 |
- added networking information to admin email |
76 |
- code cleanup |
77 |
|
78 |
* Sat Feb 14 2003 Peter Schubert <psc@s-a-c-o.de> |
79 |
- some fixes in the _updown script |
80 |
- thanks to Steve Bush (steve_at_bushinc.com> for the tests and fixes |
81 |
|
82 |
* Thu Feb 04 2003 Peter Schubert <psc@s-a-c-o.de> |
83 |
- another "cosmetic" fix in post section of the SPEC |
84 |
|
85 |
* Mon Feb 03 2003 Peter Schubert <psc@s-a-c-o.de> |
86 |
- remove expand-template masq in post section |
87 |
|
88 |
* Mon Feb 03 2003 Peter Schubert <psc@s-a-c-o.de> |
89 |
- updated for freeswan 1.98 and iptables |
90 |
- [1.98-1sme56] |
91 |
|
92 |
* Sun Oct 20 2002 Darrell May <dmay@netsourced.com> |
93 |
- panel updates |
94 |
- [1.97-3sme55] |
95 |
|
96 |
* Sun Oct 20 2002 Darrell May <dmay@netsourced.com> |
97 |
- added mail-ipsec-key action |
98 |
- added WINS server config to panel |
99 |
- [1.97-2sme55] |
100 |
|
101 |
* Sat Oct 19 2002 Darrell May <dmay@netsourced.com> |
102 |
- updated for freeswan 1.97-07 and SME 5.5 |
103 |
- [1.97-1sme55] |
104 |
|
105 |
* Sun Dec 23 2001 Darrell May <dmay@netsourced.com> |
106 |
- changed ipsec InitscriptOrder from 47 to 99 |
107 |
- 0.4-12 |
108 |
|
109 |
* Fri Nov 9 2001 Darrell May <dmay@netsourced.com> |
110 |
- release to 0.4-11 |
111 |
- added compress=yes to /etc/e-smith/templates/etc/ipsec.conf/20Default |
112 |
|
113 |
* Wed Nov 7 2001 Darrell May <dmay@netsourced.com> |
114 |
- release 0.4-10 |
115 |
- removed /usr/lib/ipsec/_updown script for ipchains |
116 |
- added /usr/lib/ipsec/_updown_1.8 and _updown_1.91 scripts for ipchains |
117 |
|
118 |
* Thu Nov 1 2001 Darrell May <dmay@netsourced.com> |
119 |
- release 0.4-9 |
120 |
- updated /usr/lib/ipsec/_updown script for ipchains |
121 |
- editing to virtualprivatedomain function |
122 |
|
123 |
* Sat Oct 20 2001 Darrell May <dmay@netsourced.com> |
124 |
- release 0.4-8 |
125 |
- updated for Mitel SME Server V5 |
126 |
- name changed to dmc-mitel-freeswan |
127 |
|
128 |
* Wed Apr 4 2001 Andy Worthington <andy@rockcity.com> |
129 |
- added another masq template fragment (45AllowIPSEC) |
130 |
- fixed @name in ipsec.conf template |
131 |
|
132 |
* Thu Mar 15 2001 Andy Worthington <andy@rockcity.com> |
133 |
- add post script back |
134 |
- fixed permissions in filelist |
135 |
- fix rsasig entries in ipsec.conf templates |
136 |
- fix spelling of vpn link in manager/cgi-bin |
137 |
- fix perms on vpn web page |
138 |
|
139 |
* Wed Mar 14 2001 Andy Worthington <andy@rockcity.com> |
140 |
- change order of actions in ipsec-install |
141 |
- fix masq template fragment |
142 |
|
143 |
* Fri Mar 09 2001 Andy Worthington <andy@rockcity.com> |
144 |
- remove post script |
145 |
- change masq template fragment to templates-custom dir |
146 |
|
147 |
* Fri Mar 09 2001 Andy Worthington <andy@rockcity.com> |
148 |
- small fix in conf-ipsec-secrets and 10RSAKey |
149 |
- changed order of actions in ipsec-install and added |
150 |
conf-masq and restart-masq |
151 |
|
152 |
* Thu Mar 08 2001 Andy Worthington <andy@rockcity.com> |
153 |
- added file to disable source address verification in masq |
154 |
so KLIPS will function correctly |
155 |
|
156 |
* Tue Mar 06 2001 Andy Worthington <andy@rockcity.com> |
157 |
- updated to version 0.4 |
158 |
- added to post event signal |
159 |
|
160 |
* Wed Feb 28 2001 Andy Worthington <andy@rockcity.com> |
161 |
- updated to version 0.3 |
162 |
|
163 |
* Fri Feb 23 2001 Andy Worthington <andy@rockcity.com> |
164 |
- updated to version 0.2 |
165 |
|
166 |
* Wed Feb 21 2001 Andy Worthington <andy@rockcity.com> |
167 |
- initial release |
168 |
|
169 |
%description |
170 |
Mitel SME Server enhancement to configure ipsec connections |
171 |
through the web manager |
172 |
|
173 |
%prep |
174 |
%setup |
175 |
%patch0 -p1 |
176 |
|
177 |
%build |
178 |
perl createlinks |
179 |
|
180 |
%install |
181 |
rm -rf $RPM_BUILD_ROOT |
182 |
|
183 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
184 |
rm -f e-smith-%{version}-filelist |
185 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
186 |
%files -f %{name}-%{version}-filelist |
187 |
|
188 |
%defattr(-,root,root) |
189 |
|
190 |
%clean |
191 |
rm -rf $RPM_BUILD_ROOT |
192 |
|
193 |
%pre |
194 |
|
195 |
%preun |
196 |
|
197 |
%post |
198 |
if [ -f /etc/ipsec.conf ] |
199 |
then |
200 |
cp -f --backup=t /etc/ipsec.conf /etc/ipsec.conf.prerpm > /dev/null 2> /dev/null |
201 |
fi |
202 |
if [ -f /etc/ipsec.secrets ] |
203 |
then |
204 |
cp -f --backup=t /etc/ipsec.secrets /etc/ipsec.secrets.prerpm > /dev/null 2> /dev/null |
205 |
fi |
206 |
if [ -f /usr/local/lib/ipsec/_updown ] |
207 |
then |
208 |
cp -f --backup=t /usr/local/lib/ipsec/_updown /usr/local/lib/ipsec/_updown.prerpm > /dev/null 2> /dev/null |
209 |
fi |
210 |
/bin/cp /usr/local/lib/ipsec/_updown_1.99 /usr/local/lib/ipsec/_updown |
211 |
/sbin/e-smith/expand-template /etc/rc.d/init.d/masq |
212 |
/sbin/e-smith/expand-template /etc/sysctl.conf |
213 |
|
214 |
%postun |