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

Annotation 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.13 - (hide annotations) (download)
Thu Jun 3 14:02:36 2010 UTC (14 years ago) by slords
Branch: MAIN
CVS Tags: e-smith-portforwarding-2_0_0-3_el4_sme, HEAD
Changes since 1.12: +13 -3 lines
* Thu Mar 11 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-3.sme
- Enable port forwards to localhost if mode is serveronly [SME: 5849]

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

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