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

Annotation of /rpms/e-smith-portforwarding/sme10/e-smith-portforwarding.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Thu May 12 21:11:19 2016 UTC (8 years, 6 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-portforwarding-2_6_0-2_el7_sme
Changes since 1.1: +5 -2 lines
* Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-2.sme
- Rebuild for [SME: 9393]

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

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