/[smeserver]/smeserver-ipsec/F/smeserver-ipsec.spec
ViewVC logotype

Contents of /smeserver-ipsec/F/smeserver-ipsec.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.9 - (show annotations) (download)
Sun May 6 06:22:49 2007 UTC (17 years, 6 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +5 -2 lines
Error occurred while calculating annotation data.
Sun May  6 00:22:47 2007                                        slords

Koji/plague contribs update
----------------------------------------------------------------------

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed