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

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

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


Revision 1.3 - (show annotations) (download)
Wed Jan 6 20:31:11 2021 UTC (3 years, 10 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-portforwarding-2_6_0-3_el7_sme, HEAD
Changes since 1.2: +8 -2 lines
* Wed Jan 06 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme
- add update event [SME: 11148]

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

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