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