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