/[smeserver]/rpms/e-smith-portforwarding/sme8/e-smith-portforwarding.spec
ViewVC logotype

Contents of /rpms/e-smith-portforwarding/sme8/e-smith-portforwarding.spec

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


Revision 1.17 - (show annotations) (download)
Sat May 29 14:25:34 2010 UTC (13 years, 11 months ago) by wellsi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.16: +3 -2 lines
Add reference to Bug 771 which was also fixed in -3

1 # $Id: e-smith-portforwarding.spec,v 1.16 2010/03/11 16:06:25 snetram Exp $
2
3 Summary: portforwarding panel for SME Server
4 %define name e-smith-portforwarding
5 Name: %{name}
6 %define version 2.2.0
7 %define release 6
8 Version: %{version}
9 Release: %{release}%{?dist}
10 License: GPL
11 Group: Networking/Daemons
12 Source: %{name}-%{version}.tar.gz
13 Patch1: e-smith-portforwarding-2.2.0-AllowHosts.patch
14 Patch2: e-smith-portforwarding-2.2.0-AllowHosts.patch2
15 Patch3: e-smith-portforwarding-2.2.0-fwd2local_serveronly.patch
16 Patch4: e-smith-portforwarding-2.2.0-filter-source-address.patch
17 Patch5: e-smith-portforwarding-2.2.0-filter-source-address2.patch
18 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
19 BuildArchitectures: noarch
20 Requires: e-smith-base
21 Requires: e-smith-packetfilter >= 1.13.0-13
22 Requires: e-smith-lib >= 1.15.1-19
23 Requires: e-smith-formmagick >= 1.4.0-12
24 BuildRequires: e-smith-devtools >= 1.13.1-03
25 Obsoletes: e-smith-ipportfw dmc-mitel-portforwarding
26 AutoReqProv: no
27
28 %description
29 Adds a Port Forwarding panel to the SME server-manager.
30
31 %changelog
32 * Thu Mar 11 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-6.sme
33 - Fix missing space cuasing errors parsing the iptables rules [SME: 2379]
34
35 * Tue Mar 9 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-5.sme
36 - Rework 91adjustPortForward template fragment [SME: 2379]
37
38 * Tue Dec 15 2009 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-4.sme
39 - Enable port forwards to localhost if mode is serveronly [SME: 1003]
40
41 * Tue Oct 20 2009 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-3.sme
42 - Adjust xml entry in locale [SME: 771]
43
44 * Mon Oct 19 2009 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-2.sme
45 - Add option to limit port forwards from source ip [SME: 2379]
46 - Add Text Description For Each Port Forwarding [SME: 771]
47
48 * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
49 - Roll new stream to separate sme7/sme8 trees [SME: 4633]
50
51 * Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-9
52 - Add common <base> tags to e-smith-formmagick's general [SME: 4282]
53
54 * Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.2.0-8
55 - Remove <base> tags now in general [SME: 3913]
56
57 * Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.2.0-7
58 - Remove duplicate <base> entries [SME: 3888]
59
60 * Thu Nov 08 2007 Gavin Weight<gweight@mail.com> 1.2.0-6
61 - Remove/Fix portforwarding.pm.orig file. [SME: 3526]
62
63 * Tue Oct 16 2007 Charlie Brady <charlie_brady@mitel.com> 1.2.0-5
64 - Use $OUTERNET for target of localhost port forwards, not externalIP
65 pulled from db at template expansion time. [SME: 2760]
66
67 * Wed Jun 26 2007 Shad L. Lords <slords@mail.com> 1.2.0-4
68 - Ensure portforwarding dbs exists [SME: 54]
69
70 * Tue Jun 26 2007 Shad L. Lords <slords@mail.com> 1.2.0-3
71 - Migrate portforwarding to own databases [SME: 54]
72
73 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
74 - Clean up spec so package can be built by koji/plague
75
76 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
77 - Update to new release naming. No functional changes.
78 - Make Packager generic
79
80 * Thu Mar 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-01
81 - Roll stable stream version. [SME: 1016]
82
83 * Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-02
84 - Bump release number only
85
86 * Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com>
87 - [1.1.2-01]
88 - Remove L10Ns from base packages [SF: 1309520]
89
90 * Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com>
91 - [1.1.1-01]
92 - New dev stream before relocating L10Ns
93
94 * Fri Sep 30 2005 Gordon Rowell <gordonr@e-smith.com>
95 - [1.1.0-13]
96 - Added Italian L10N - Thanks Filippo Carletti [SF: 1309266]
97
98 * Mon Sep 26 2005 Gordon Rowell <gordonr@e-smith.com>
99 - [1.1.0-12]
100 - Added German L10N - Thanks Dietmar Berteld [SF: 1293325]
101
102 * Thu Jul 14 2005 Charlie Brady <charlieb@e-smith.com>
103 - [1.1.0-11]
104 - Fix an expression precedence problem with UDP portforwarding. [SF: 1237913]
105
106 * Fri Jul 8 2005 Charlie Brady <charlieb@e-smith.com>
107 - [1.1.0-10]
108 - Fix UDP portforwarding. [SF: 1234630]
109
110 * Sat Mar 19 2005 Charlie Brady <charlieb@e-smith.com>
111 - [1.1.0-09]
112 - Fix typo in createlinks.
113
114 * Fri Mar 18 2005 Charlie Brady <charlieb@e-smith.com>
115 - [1.1.0-08]
116 - Add fr and es localisations for new text.
117
118 * Thu Mar 17 2005 Charlie Brady <charlieb@e-smith.com>
119 - [1.1.0-07]
120 - Display text to indicate that portforwarding isn't available in
121 serveronly mode.
122 - Create new portforwarding-update event, as remoteaccess-update
123 is rather heavyweight. use generic_template_expand and
124 adjust-services. [MN00064130, MN00065576]
125 - Fix some run-time probs with Gordon's contributed patch.
126
127 * Wed Mar 16 2005 Charlie Brady <charlieb@e-smith.com>
128 - [1.1.0-06]
129 - Patch provided by Gordon to allow portforwarding to "localhost".
130
131 * Wed May 5 2004 Michael Soulier <msoulier@e-smith.com>
132 - [1.1.0-05]
133 - Now detecting serveronly mode, and disabling the ability to add
134 portforwarding rules while in that state. [msoulier MN00025609]
135
136 * Wed Dec 3 2003 Michael Soulier <msoulier@e-smith.com>
137 - [1.1.0-04]
138 - Added French and Spanish translations of new lexicon. [msoulier 10203]
139
140 * Wed Dec 3 2003 Michael Soulier <msoulier@e-smith.com>
141 - [1.1.0-03]
142 - Refactored 91adjustPortForward to remove duplicate code. [msoulier 10203]
143 - Added code to properly handle portforwarding to the external interface.
144 Forwarding to localhost or the private interface is now explicitly blocked.
145 [msoulier 10203]
146
147 * Mon Oct 20 2003 Michael Soulier <msoulier@e-smith.com>
148 - [1.1.0-02]
149 - Added better validation on the sort port to prevent conflicting rules.
150 [msoulier 9262]
151
152 * Fri Oct 17 2003 Michael Soulier <msoulier@e-smith.com>
153 - [1.1.0-01]
154 - forcing to dev stream - 1.1.0
155
156 * Fri Oct 17 2003 Michael Soulier <msoulier@e-smith.com>
157 - [0.2.0-03]
158 - Fixed summaries so that the styling is now 6.0. [msoulier 9306]
159
160 * Thu Aug 28 2003 Charlie Brady <charlieb@e-smith.com>
161 - [0.2.0-02]
162 - Fix typo in masq fragment which prevented forwarding of UDP.
163 [charlieb 9859]
164
165 * Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com>
166 - [0.2.0-01]
167 - Changing version to stable stream number - 0.2.0
168
169 * Tue Jun 24 2003 Gordon Rowell <gordonr@e-smith.com>
170 - [0.1.1-20]
171 - Wording update on main page [gordonr 9101]
172
173 * Fri Jun 20 2003 Michael Soulier <msoulier@e-smith.com>
174 - [0.1.1-19]
175 - Revert to previous version. [msoulier 8803]
176
177 * Wed Jun 11 2003 Charlie Brady <charlieb@e-smith.com>
178 - [0.1.1-18]
179 - Redo (simplify) some of the code in the portforwarding panel, and make
180 destination port explicit if not specified. [charlieb 8803]
181
182 * Tue May 6 2003 Lijie Deng <lijied@e-smith.com>
183 - [0.1.1-17]
184 - Add Spanish lexicon for portfowarding [lijied 3793]
185
186 * Tue Apr 8 2003 Lijie Deng <lijied@e-smith.com>
187 - [0.1.1-16]
188 - Removed colons on the label where necessary [lijied 7950]
189
190 * Tue Apr 8 2003 Lijie Deng <lijied@e-smith.com>
191 - [0.1.1-15]
192 - Modified button Apply to Add [lijied 7921]
193
194 * Tue Apr 8 2003 Lijie Deng <lijied@e-smith.com>
195 - [0.1.1-14]
196 - Added French translation for "Misuse of feature...." [lijied 8072]
197
198 * Tue Apr 8 2003 Michael Soulier <msoulier@e-smith.com>
199 - [0.1.1-13]
200 - Fixed lack of buttons on summary page. [msoulier 8089]
201
202 * Mon Apr 7 2003 Michael Soulier <msoulier@e-smith.com>
203 - [0.1.1-12]
204 - Inserting PortForwarding chain as first entry in the PREROUTING chain.
205 [msoulier 8089]
206
207 * Fri Apr 4 2003 Lijie Deng <lijied@e-smith.com>
208 - [0.1.1-11]
209 - Change $q->table to $q->start_table where necessary [lijied 8034]
210
211 * Fri Apr 4 2003 Gordon Rowell <gordonr@e-smith.com>
212 - [0.1.1-10]
213 - Text revision on panel [gordonr 8072]
214
215 * Thu Apr 3 2003 Tony Clayton <apc@e-smith.com>
216 - [0.1.1-09]
217 - Add colons to labels and fix text when table is empty in panel [tonyc 7950]
218
219 * Wed Apr 2 2003 Michael Soulier <msoulier@e-smith.com>
220 - [0.1.1-08]
221 - Added french lexicon for creating a port-forwarding rule. [msoulier 7284]
222
223 * Tue Apr 1 2003 Gordon Rowell <gordonr@e-smith.com>
224 - [0.1.1-07]
225 - Delete stray fr nav bar lexicon entries [gordonr 7926]
226
227 * Tue Apr 1 2003 Gordon Rowell <gordonr@e-smith.com>
228 - [0.1.1-06]
229 - Added french lexicon for security, so it shows up in the right spot
230 on the menu panel. [msoulier 7284]
231
232 * Tue Apr 1 2003 Michael Soulier <msoulier@e-smith.com>
233 - [0.1.1-05]
234 - Added proper styling to the tables. [msoulier 7284]
235 - Added spacing around table elements. [msoulier 7284]
236 - Put a 6.0 look on the buttons on the summary page. [msoulier 7284]
237 - Removed the button-like style from the remove links. [msoulier 7284]
238
239 * Fri Mar 28 2003 Michael Soulier <msoulier@e-smith.com>
240 - [0.1.1-04]
241 - Added proper styles to make links that behave like buttons,
242 look like buttons, for 6.0. [msoulier 7284]
243
244 * Fri Mar 28 2003 Michael Soulier <msoulier@e-smith.com>
245 - [0.1.1-03]
246 - Fixed a couple of typos in the english lexicon. [msoulier 7284]
247 - Included the french lexicon. [msoulier 7284]
248
249 * Tue Mar 25 2003 Michael Soulier <msoulier@e-smith.com>
250 - [0.1.1-02]
251 - Portforwarding still had problems, fixed here. [msoulier 7284]
252
253 * Tue Mar 25 2003 Michael Soulier <msoulier@e-smith.com>
254 - [0.1.1-01]
255 - Modified to work with new e-smith-packetfilter changes for 6.0
256 [msoulier 7284]
257 - Note: This breaks backwards-compatibility with 5.6.
258
259 * Tue Mar 18 2003 Lijie Deng <lijied@e-smith.com>
260 - [0.1.0-33]
261 - Modified port forwarding panel order [lijied 7356]
262
263 * Thu Mar 13 2003 Lijie Deng <lijied@e-smith.com>
264 - [0.1.0-32]
265 - Split en-us lexicon from portwarding panel [lijied 4030]
266
267 * Tue Mar 11 2003 Michael Soulier <msoulier@e-smith.com>
268 - [0.1.0-31]
269 - Finished patching the interface to take an empty dport. [msoulier 5645]
270
271 * Mon Mar 10 2003 Michael Soulier <msoulier@e-smith.com>
272 - [0.1.0-30]
273 - Patched the masq fragments to accept an empty dport. [msoulier 5645]
274 - Patched the interface to accept an empty destination port.
275 [msoulier 5645]
276
277 * Mon Mar 10 2003 Michael Soulier <msoulier@e-smith.com>
278 - [0.1.0-29]
279 - Tweaked the wording in the panel. [msoulier 5645]
280
281 * Mon Mar 10 2003 Michael Soulier <msoulier@e-smith.com>
282 - [0.1.0-28]
283 - Additional tweaks to fix the iptables syntax and adjust the size of the
284 fields in the UI. [msoulier 5645]
285
286 * Mon Mar 10 2003 Michael Soulier <msoulier@e-smith.com>
287 - [0.1.0-27]
288 - Adding support for a port range on source and destination ports.
289 [msoulier 5645]
290
291 * Mon Mar 10 2003 Michael Soulier <msoulier@e-smith.com>
292 - [0.1.0-26]
293 - Updating dependencies. [msoulier 5645]
294
295 * Mon Mar 10 2003 Michael Soulier <msoulier@e-smith.com>
296 - [0.1.0-25]
297 - Fixed bad removal which set all destination ports to the same port.
298 [msoulier 5645]
299
300 * Mon Mar 10 2003 Michael Soulier <msoulier@e-smith.com>
301 - [0.1.0-24]
302 - Updated dependency information to make it use the backported
303 e-smith-packetfilter rpm for the 5.6 updates stream. [msoulier 5645]
304
305 * Thu Mar 6 2003 Lijie Deng <lijied@e-smith.com>
306 - [0.1.0-23]
307 - Modified panel order [lijied 7356]
308
309 * Sun Feb 23 2003 Michael Soulier <msoulier@e-smith.com>
310 - [0.1.0-22]
311 - Backed-out the changes in 0.1.0-21. They're incompatible with
312 e-smith-packetfilter. We'll have to discuss this first. [msoulier 5696]
313
314 * Sun Feb 23 2003 Michael Soulier <msoulier@e-smith.com>
315 - [0.1.0-21]
316 - Permitting port ranges instead of just single ports. [msoulier 5696]
317
318 * Sun Jan 26 2003 Mike Dickson <miked@e-smith.com>
319 - [0.1.0-20]
320 - added ACTION to lexicon, and code to use it [miked 6363]
321
322 * Sun Jan 26 2003 Mike Dickson <miked@e-smith.com>
323 - [0.1.0-19]
324 - backed out previous patch since it applied too many changes at once. I will
325 re-submit in manageable chunks
326
327 * Sat Jan 25 2003 Mike Dickson <miked@e-smith.com>
328 - [0.1.0-18]
329 - added ACTION to lexicon [miked 6363]
330
331 * Wed Dec 18 2002 Michael Soulier <msoulier@e-smith.com>
332 - [0.1.0-17]
333 - Added a feature to remove the "finished" page and cycle back to the start
334 page with a status message instead. [msoulier 5696]
335 - Found and fixed a bug permitting the addition of duplicate rules.
336
337 * Mon Dec 16 2002 Michael Soulier <msoulier@e-smith.com>
338 - [0.1.0-16]
339 - Added a space between the two buttons on the summary panel.
340 [msoulier 5696]
341
342 * Mon Dec 16 2002 Michael Soulier <msoulier@e-smith.com>
343 - [0.1.0-15]
344 - Fixed broken removal due to using the wrong variable set to repopulate the
345 db entry. [msoulier 5696]
346
347 * Fri Dec 6 2002 Michael Soulier <msoulier@e-smith.com>
348 - [0.1.0-14]
349 - Fixed bad variable reference in test cases. [msoulier 5696]
350
351 * Thu Dec 5 2002 Michael Soulier <msoulier@e-smith.com>
352 - [0.1.0-13]
353 - Added some test cases to portforwarding.pm. [msoulier 5696]
354
355 * Fri Nov 29 2002 Michael Soulier <msoulier@e-smith.com>
356 - [0.1.0-12]
357 - Improved the IP address validation. [msoulier 5696]
358
359 * Fri Nov 29 2002 Michael Soulier <msoulier@e-smith.com>
360 - [0.1.0-11]
361 - Made sure all messages are localised, and added better error handling.
362 [msoulier 5696]
363
364 * Thu Nov 28 2002 Michael Soulier <msoulier@e-smith.com>
365 - [0.1.0-10]
366 - Updated to make use of changes to the packetfilter. Fixed the placement of
367 the udp portforwarding rules, and the spelling of "completely".
368 [msoulier 5696]
369
370 * Wed Nov 27 2002 Michael Soulier <msoulier@e-smith.com>
371 - [0.1.0-09]
372 - Localised the summary table labels. [msoulier 5696]
373
374 * Wed Nov 27 2002 Michael Soulier <msoulier@e-smith.com>
375 - [0.1.0-08]
376 - The destination host must be an IP address. Enforcing now.
377 [msoulier 5696]
378
379 * Tue Nov 26 2002 Michael Soulier <msoulier@e-smith.com>
380 - [0.1.0-07]
381 - First working prototype. [msoulier 5696]
382
383 * Mon Nov 25 2002 Michael Soulier <msoulier@e-smith.com>
384 - [0.1.0-06]
385 - Basic functionality present. Still need to add the ability to
386 delete rules, and display current rules. [msoulier 5696]
387
388 * Fri Nov 22 2002 Michael Soulier <msoulier@e-smith.com>
389 - [0.1.0-05]
390 - Starting the FormMagick conversion of the panel. [msoulier 5696]
391
392 * Thu Nov 21 2002 Charlie Brady <charlieb@e-smith.com>
393 - [0.1.0-04]
394 - Use "--list --numeric" to avoid DNS lookup delays. [charlieb 5645]
395
396 * Mon Nov 11 2002 Charlie Brady <charlieb@e-smith.com>
397 - [0.1.0-03]
398 - Fix portforwarding rules to match DB format used by panel code -
399 which is $ip:[$dport], this allows forwarding to a port other than the
400 listen port [charlieb 5645].
401
402 * Mon Nov 11 2002 Charlie Brady <charlieb@e-smith.com>
403 - [0.1.0-02]
404 - Convert to iptables, and conform to "masq adjust" way of doing things.
405 [charlieb 5645]
406
407 * Mon Nov 11 2002 Charlie Brady <charlieb@e-smith.com>
408 - [0.1.0-01]
409 - Rolling to development stream to 0.1.0
410
411 * Mon Nov 11 2002 Charlie Brady <charlieb@e-smith.com>
412 - [0.0.1-6]
413 - Renamed to e-smith-portforwarding.
414 - Imported into CVS as baseline for further development.
415
416 * Sat Sep 21 2002 Darrell May <dmay@netsourced.com>
417 - updated 35SetPortFW to support dynamic external IP
418 - [0.0.1-5]
419 * Tue Jan 01 2002 Darrell May <dmay@netsourced.com>
420 - added Obsoletes: e-smith-ipportfw dmc-mitel-portfowarding
421 - [0.0.1-4]
422 * Tue Jan 01 2002 Darrell May <dmay@netsourced.com>
423 - fixed spelling in rpm name, now to dmc-mitel-portforwarding
424 - merged in e-smith-ipportfw-0.1.1-1.noarch.rpm
425 - [0.0.1-3]
426 * Mon Dec 31 2001 Darrell May <dmay@netsourced.com>
427 - added "Shad L. Lords" <slords@mail.com>, e-smith-iportfw 35SetPortFW
428 - templates-custom fragment supporting dest port addresses
429 - updated portforwarding panel to match
430 - removed first/last portforward panel bug by adding return on Operation Status
431 - [0.0.1-2]
432 * Sun Dec 30 2001 Darrell May <dmay@netsourced.com>
433 - initial release
434 - [0.0.1-1]
435
436 %prep
437 %setup
438 %patch1 -p1
439 %patch2 -p1
440 %patch3 -p1
441 %patch4 -p1
442 %patch5 -p1
443
444 %build
445 perl createlinks
446
447 %install
448 rm -rf $RPM_BUILD_ROOT
449 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
450 rm -f e-smith-%{version}-filelist
451 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
452
453 for proto in tcp udp
454 do
455 mkdir -p $RPM_BUILD_ROOT/home/e-smith/db
456 touch $RPM_BUILD_ROOT/home/e-smith/db/portforward_$proto
457 echo "%config(noreplace) %attr(0640,root,admin) /home/e-smith/db/portforward_$proto" \
458 >> %{name}-%{version}-filelist
459 done
460
461 %clean
462 rm -rf $RPM_BUILD_ROOT
463
464 %files -f %{name}-%{version}-filelist
465
466 %defattr(-,root,root)
467
468 %pre
469
470 %post
471
472 %preun
473
474 %postun

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