/[smecontribs]/rpms/smeserver-bridge-interface/contribs7/smeserver-bridge-interface.spec
ViewVC logotype

Annotation of /rpms/smeserver-bridge-interface/contribs7/smeserver-bridge-interface.spec

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


Revision 1.5 - (hide annotations) (download)
Tue Jun 19 19:44:49 2012 UTC (12 years, 5 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-bridge-interface-0_1-6_el4_sme, HEAD
Changes since 1.4: +14 -2 lines
* Tue Jun 19 2012 Daniel B. <daniel@firewall-services.com> - 0.1-6.sme
- Wait after physical interface config
  (fix a random bug in serveronly mode)
- Ensure the bridge takes the MAC address of the physical interface
- Optionally set the bridge interface in promiscuous mode

1 vip-ire 1.5 # $Id: smeserver-bridge-interface.spec,v 1.4 2011/04/19 12:00:15 vip-ire Exp $
2 slords 1.1 # Authority: vip-ire
3     # Name: Daniel Berteaud
4    
5     %define version 0.1
6 vip-ire 1.5 %define release 6
7 slords 1.1 %define name smeserver-bridge-interface
8    
9    
10     Summary: Configure a bridge interface
11     Name: %{name}
12     Version: %{version}
13     Release: %{release}%{?dist}
14     License: GPL
15     Group: System/Servers
16     Source: %{name}-%{version}.tar.gz
17    
18 vip-ire 1.3 Patch0: smeserver-bridge-interface-0.1-set_internal_to_br.patch
19     Patch1: smeserver-bridge-interface-0.1-migrate_db_when_disabled.patch
20     Patch2: smeserver-bridge-interface-0.1-init_script.patch
21     Patch3: smeserver-bridge-interface-0.1-status_enabled.patch
22     Patch4: smeserver-bridge-interface-0.1-display_stop_start.patch
23 vip-ire 1.4 Patch5: smeserver-bridge-interface-0.1-disable_bridge_during_console_save.patch
24 vip-ire 1.5 Patch6: smeserver-bridge-interface-0.1-sleep_after_ifconfig_eth.patch
25     Patch7: smeserver-bridge-interface-0.1-br_takes_eth_mac.patch
26     Patch8: smeserver-bridge-interface-0.1-bridge_promisc.patch
27 slords 1.1
28     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
29 vip-ire 1.4 URL: http://www.firewall-services.com/
30 slords 1.1
31     BuildRequires: e-smith-devtools
32    
33     Requires: bridge-utils
34     Requires: openvpn
35     Buildarch: noarch
36     Conflicts: smeserver-openvpn-bridge.fws
37     Conflicts: smeserver-openvpn-bridge-fws
38     AutoReqProv: no
39    
40     %description
41     This package allows you to replace the internal interface with a bridge
42     interface (and the original internal interface enslaved to it).
43     It's usefull for OpenVPN in bridge mode but can also be used for virtual host
44     configuration
45    
46     %changelog
47 vip-ire 1.5 * Tue Jun 19 2012 Daniel B. <daniel@firewall-services.com> - 0.1-6.sme
48     - Wait after physical interface config
49     (fix a random bug in serveronly mode)
50     - Ensure the bridge takes the MAC address of the physical interface
51     - Optionally set the bridge interface in promiscuous mode
52    
53 vip-ire 1.4 * Tue Apr 19 2011 Daniel B. <daniel@firewall-services.com> - 0.1-5.sme
54     - Fix ifcfg templates expension on SME8 [SME: 6092]
55    
56 vip-ire 1.3 * Fri May 29 2009 Daniel B. <daniel@firewall-services.com> [0.1-4]
57     - Enhance init script to display what it's doing (starting/stoping etc...)
58     - Cleanup in spec file
59    
60 slords 1.1 * Fri Jan 16 2009 Daniel B. <daniel@firewall-services.com> [0.1-3]
61     - Set default status to enabled
62    
63     * Mon Jan 12 2009 Daniel B. <daniel@firewall-services.com> [0.1-2]
64     - possibility to set multiple tap interfaces separated with commas
65    
66     * Fri Dec 12 2008 Daniel B. <daniel@firewall-services.com> [0.1-1]
67     - Set the Name of InternalInterface to br0 when starting
68     - Do not set the Name of InternalInterface to br0 if service is disabled
69     (during databases initialization)
70    
71     * Tue Dec 02 2008 Daniel B. <daniel@firewall-services.com> [0.1-0]
72     - initial release
73    
74     %prep
75    
76     %setup -q -n %{name}-%{version}
77     %patch0 -p1
78     %patch1 -p1
79     %patch2 -p1
80     %patch3 -p1
81 vip-ire 1.3 %patch4 -p1
82 vip-ire 1.4 %patch5 -p1
83 vip-ire 1.5 %patch6 -p1
84     %patch7 -p1
85     %patch8 -p1
86 slords 1.1
87     %build
88     # Build symlinks
89     perl createlinks
90    
91     %install
92     rm -rf $RPM_BUILD_ROOT
93     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
94     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
95     > %{name}-%{version}-%{release}-filelist
96    
97     %clean
98     rm -rf $RPM_BUILD_ROOT
99    
100     %files -f %{name}-%{version}-%{release}-filelist
101     %defattr(-,root,root)
102    
103    
104     %post
105    
106     %preun
107     if [ $1 = 0 ] ; then
108     /etc/rc.d/init.d/bridge stop >& /dev/null || :
109     fi
110    
111     true
112    

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