/[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.12 by filippocarletti, Tue Oct 20 16:22:08 2009 UTC
# Line 1  Line 1 
1    # $Id: e-smith-portforwarding.spec,v 1.11 2009/10/19 17:42:32 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 3
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  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
16  BuildArchitectures: noarch  BuildArchitectures: noarch
17  Requires: e-smith-base  Requires: e-smith-base
18  Requires: e-smith-packetfilter >= 1.13.0-13  Requires: e-smith-packetfilter >= 1.13.0-13
19  Requires: e-smith-lib >= 1.15.1-19  Requires: e-smith-lib >= 1.15.1-19
20    Requires: e-smith-formmagick >= 1.4.0-12
21  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
22  Obsoletes: e-smith-ipportfw dmc-mitel-portforwarding  Obsoletes: e-smith-ipportfw dmc-mitel-portforwarding
23  AutoReqProv: no  AutoReqProv: no
# Line 21  AutoReqProv: no Line 26  AutoReqProv: no
26  Adds a Port Forwarding panel to the SME server-manager.  Adds a Port Forwarding panel to the SME server-manager.
27    
28  %changelog  %changelog
29    * Tue Oct 20 2009 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-3.sme
30    - Adjust xml entry in locale [SME: 2379]
31    
32    * Mon Oct 19 2009 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-2.sme
33    - Add option to limit port forwards from source ip [SME: 2379]
34    
35    * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
36    - Roll new stream to separate sme7/sme8 trees [SME: 4633]
37    
38    * Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-9
39    - Add common <base> tags to e-smith-formmagick's general [SME: 4282]
40    
41    * Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.2.0-8
42    - Remove <base> tags now in general [SME: 3913]
43    
44    * Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.2.0-7
45    - Remove duplicate <base> entries [SME: 3888]
46    
47    * Thu Nov 08 2007 Gavin Weight<gweight@mail.com> 1.2.0-6
48    - Remove/Fix portforwarding.pm.orig file. [SME: 3526]
49    
50    * Tue Oct 16 2007 Charlie Brady <charlie_brady@mitel.com> 1.2.0-5
51    - Use $OUTERNET for target of localhost port forwards, not externalIP
52      pulled from db at template expansion time. [SME: 2760]
53    
54    * Wed Jun 26 2007 Shad L. Lords <slords@mail.com> 1.2.0-4
55    - Ensure portforwarding dbs exists [SME: 54]
56    
57    * Tue Jun 26 2007 Shad L. Lords <slords@mail.com> 1.2.0-3
58    - Migrate portforwarding to own databases [SME: 54]
59    
60  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>  * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
61  - Clean up spec so package can be built by koji/plague  - Clean up spec so package can be built by koji/plague
62    
# Line 386  Adds a Port Forwarding panel to the SME Line 422  Adds a Port Forwarding panel to the SME
422    
423  %prep  %prep
424  %setup  %setup
425    %patch1 -p1
426    %patch2 -p1
427    
428  %build  %build
429  perl createlinks  perl createlinks
# Line 396  rm -rf $RPM_BUILD_ROOT Line 434  rm -rf $RPM_BUILD_ROOT
434  rm -f e-smith-%{version}-filelist  rm -f e-smith-%{version}-filelist
435  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
436    
437    for proto in tcp udp
438    do
439        mkdir -p $RPM_BUILD_ROOT/home/e-smith/db
440        touch $RPM_BUILD_ROOT/home/e-smith/db/portforward_$proto
441        echo "%config(noreplace) %attr(0640,root,admin) /home/e-smith/db/portforward_$proto" \
442            >> %{name}-%{version}-filelist
443    done
444    
445  %clean  %clean
446  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
447    


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