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

Diff of /rpms/e-smith-portforwarding/sme8/e-smith-portforwarding.spec

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

Revision 1.1 by slords, Tue Jun 12 19:21:27 2007 UTC Revision 1.13 by filippocarletti, Tue Dec 15 17:17:20 2009 UTC
# Line 1  Line 1 
1    # $Id: e-smith-portforwarding.spec,v 1.12 2009/10/20 16:22:08 filippocarletti Exp $
2    
3  Summary: portforwarding panel for SME Server  Summary: portforwarding panel for SME Server
4  %define name e-smith-portforwarding  %define name e-smith-portforwarding
5  Name: %{name}  Name: %{name}
6  %define version 1.2.0  %define version 2.2.0
7  %define release 2  %define release 4
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
11  Group: Networking/Daemons  Group: Networking/Daemons
12  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
13    Patch1: e-smith-portforwarding-2.2.0-AllowHosts.patch
14    Patch2: e-smith-portforwarding-2.2.0-AllowHosts.patch2
15    Patch3: e-smith-portforwarding-2.2.0-fwd2local_serveronly.patch
16  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
17  BuildArchitectures: noarch  BuildArchitectures: noarch
18  Requires: e-smith-base  Requires: e-smith-base
19  Requires: e-smith-packetfilter >= 1.13.0-13  Requires: e-smith-packetfilter >= 1.13.0-13
20  Requires: e-smith-lib >= 1.15.1-19  Requires: e-smith-lib >= 1.15.1-19
21    Requires: e-smith-formmagick >= 1.4.0-12
22  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
23  Obsoletes: e-smith-ipportfw dmc-mitel-portforwarding  Obsoletes: e-smith-ipportfw dmc-mitel-portforwarding
24  AutoReqProv: no  AutoReqProv: no
# Line 21  AutoReqProv: no Line 27  AutoReqProv: no
27  Adds a Port Forwarding panel to the SME server-manager.  Adds a Port Forwarding panel to the SME server-manager.
28    
29  %changelog  %changelog
30    * Tue Dec 15 2009 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-4.sme
31    - Enable port forwards to localhost if mode is serveronly [SME: 1003]
32    
33    * Tue Oct 20 2009 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-3.sme
34    - Adjust xml entry in locale [SME: 2379]
35    
36    * Mon Oct 19 2009 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-2.sme
37    - Add option to limit port forwards from source ip [SME: 2379]
38    
39    * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
40    - Roll new stream to separate sme7/sme8 trees [SME: 4633]
41    
42    * Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-9
43    - Add common <base> tags to e-smith-formmagick's general [SME: 4282]
44    
45    * Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.2.0-8
46    - Remove <base> tags now in general [SME: 3913]
47    
48    * Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.2.0-7
49    - Remove duplicate <base> entries [SME: 3888]
50    
51    * Thu Nov 08 2007 Gavin Weight<gweight@mail.com> 1.2.0-6
52    - Remove/Fix portforwarding.pm.orig file. [SME: 3526]
53    
54    * 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    * Wed Jun 26 2007 Shad L. Lords <slords@mail.com> 1.2.0-4
59    - Ensure portforwarding dbs exists [SME: 54]
60    
61    * Tue Jun 26 2007 Shad L. Lords <slords@mail.com> 1.2.0-3
62    - Migrate portforwarding to own databases [SME: 54]
63    
64  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
65  - Clean up spec so package can be built by koji/plague  - Clean up spec so package can be built by koji/plague
66    
# Line 386  Adds a Port Forwarding panel to the SME Line 426  Adds a Port Forwarding panel to the SME
426    
427  %prep  %prep
428  %setup  %setup
429    %patch1 -p1
430    %patch2 -p1
431    %patch3 -p1
432    
433  %build  %build
434  perl createlinks  perl createlinks
# Line 396  rm -rf $RPM_BUILD_ROOT Line 439  rm -rf $RPM_BUILD_ROOT
439  rm -f e-smith-%{version}-filelist  rm -f e-smith-%{version}-filelist
440  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
441    
442    for proto in tcp udp
443    do
444        mkdir -p $RPM_BUILD_ROOT/home/e-smith/db
445        touch $RPM_BUILD_ROOT/home/e-smith/db/portforward_$proto
446        echo "%config(noreplace) %attr(0640,root,admin) /home/e-smith/db/portforward_$proto" \
447            >> %{name}-%{version}-filelist
448    done
449    
450  %clean  %clean
451  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
452    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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