/[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.9 - (show annotations) (download)
Mon Apr 28 19:15:11 2008 UTC (16 years, 1 month ago) by snetram
Branch: MAIN
CVS Tags: e-smith-portforwarding-1_2_0-9_el5_sme
Changes since 1.8: +2 -2 lines
Add updated e-smith-formmagick requirement

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

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