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

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

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


Revision 1.1 - (show annotations) (download)
Wed Feb 6 21:35:42 2013 UTC (11 years, 3 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-portforwarding-2_4_0-1_el6_sme, HEAD
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme
- Roll new stream for sme9

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

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