/[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.1 - (show annotations) (download)
Fri Feb 5 22:00:01 2016 UTC (8 years, 4 months ago) by stephdl
Branch: MAIN
CVS Tags: e-smith-portforwarding-2_6_0-1_el7_sme
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme - Initial release to sme10

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

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