/[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.15 - (show annotations) (download)
Tue Mar 9 19:02:49 2010 UTC (14 years, 3 months ago) by snetram
Branch: MAIN
CVS Tags: e-smith-portforwarding-2_2_0-5_el5_sme
Changes since 1.14: +7 -2 lines
* Tue Mar 9 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-5.sme
- Rework 91adjustPortForward template fragment [SME: 2379]

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

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