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


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