/[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.16 - (show annotations) (download)
Thu Mar 11 16:06:25 2010 UTC (14 years, 3 months ago) by snetram
Branch: MAIN
CVS Tags: e-smith-portforwarding-2_2_0-6_el5_sme
Changes since 1.15: +7 -2 lines
* Thu Mar 11 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-6.sme
- Fix missing space cuasing errors parsing the iptables rules [SME: 2379]

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

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