/[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.7 - (show annotations) (download)
Wed Feb 13 22:51:45 2008 UTC (16 years, 3 months ago) by bytegw
Branch: MAIN
CVS Tags: e-smith-portforwarding-1_2_0-8_el5_sme
Changes since 1.6: +7 -1 lines
Updates

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

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