/[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.5 - (hide annotations) (download)
Thu Nov 8 22:31:28 2007 UTC (16 years, 7 months ago) by bytegw
Branch: MAIN
CVS Tags: e-smith-portforwarding-1_2_0-6_el5_sme
Changes since 1.4: +4 -1 lines
Updates

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

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