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

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

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


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

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