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

Annotation 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.11 - (hide annotations) (download)
Mon Oct 19 17:42:32 2009 UTC (14 years, 7 months ago) by filippocarletti
Branch: MAIN
CVS Tags: e-smith-portforwarding-2_2_0-2_el5_sme
Changes since 1.10: +7 -2 lines
* Mon Oct 19 2009 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-2.sme
- Add option to limit port forwards from source ip [SME: 2379]

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