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

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