/[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.11 - (show annotations) (download)
Thu Feb 4 17:07:02 2010 UTC (14 years, 4 months ago) by filippocarletti
Branch: MAIN
CVS Tags: e-smith-portforwarding-2_0_0-2_el4_sme
Changes since 1.10: +9 -2 lines
* Thu Feb 4 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.0.0-2.sme
- Enable port forwards to localhost if mode is serveronly [SME: 1003]

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

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