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

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

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


Revision 1.3 - (hide annotations) (download)
Wed Jan 20 15:45:26 2021 UTC (3 years, 10 months ago) by brianr
Branch: MAIN
Changes since 1.2: +8 -4 lines
* Thu Jan 14 2021 Brian Read <brianr@bjsystems.co.uk> 0.2-2.sme
- Initial Import to SME10 [SME: 11324]
- Update-Createlinks-for-systemd.patch

1 brianr 1.3 # $Id: smeserver-bridge-interface.spec,v 1.2 2021/01/14 20:20:40 brianr Exp $
2 brianr 1.1 # Authority: vip-ire
3     # Name: Daniel Berteaud
4    
5     %define version 0.2
6 brianr 1.2 %define release 2
7 brianr 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.xz
17    
18     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
19     URL: http://www.firewall-services.com/
20    
21     BuildRequires: e-smith-devtools
22    
23     Requires: bridge-utils
24     Requires: openvpn
25     Buildarch: noarch
26     Conflicts: smeserver-openvpn-bridge.fws
27     Conflicts: smeserver-openvpn-bridge-fws
28     AutoReqProv: no
29    
30 brianr 1.3 Patch0:smeserver-bridge-interface-0.2-Update-Createlinks-for-systemd.patch
31    
32 brianr 1.1 %description
33     This package allows you to replace the internal interface with a bridge
34     interface (and the original internal interface enslaved to it).
35     It's usefull for OpenVPN in bridge mode but can also be used for virtual host
36     configuration
37    
38     %changelog
39 brianr 1.2 * Thu Jan 14 2021 Brian Read <brianr@bjsystems.co.uk> 0.2-2.sme
40     - Initial Import to SME10 [SME: 11324]
41 brianr 1.3 - Update-Createlinks-for-systemd.patch
42 brianr 1.2
43 brianr 1.1 * Mon Nov 11 2013 Daniel B. <daniel@firewall-services.com> - 0.2-1.sme
44     - Rebuild for SME9
45    
46     * Tue Jun 19 2012 Daniel B. <daniel@firewall-services.com> - 0.1-6.sme
47     - Wait after physical interface config
48     (fix a random bug in serveronly mode)
49     - Ensure the bridge takes the MAC address of the physical interface
50     - Optionally set the bridge interface in promiscuous mode
51    
52     * Tue Apr 19 2011 Daniel B. <daniel@firewall-services.com> - 0.1-5.sme
53     - Fix ifcfg templates expension on SME8 [SME: 6092]
54    
55     * Fri May 29 2009 Daniel B. <daniel@firewall-services.com> [0.1-4]
56     - Enhance init script to display what it's doing (starting/stoping etc...)
57     - Cleanup in spec file
58    
59     * Fri Jan 16 2009 Daniel B. <daniel@firewall-services.com> [0.1-3]
60     - Set default status to enabled
61    
62     * Mon Jan 12 2009 Daniel B. <daniel@firewall-services.com> [0.1-2]
63     - possibility to set multiple tap interfaces separated with commas
64    
65     * Fri Dec 12 2008 Daniel B. <daniel@firewall-services.com> [0.1-1]
66     - Set the Name of InternalInterface to br0 when starting
67     - Do not set the Name of InternalInterface to br0 if service is disabled
68     (during databases initialization)
69    
70     * Tue Dec 02 2008 Daniel B. <daniel@firewall-services.com> [0.1-0]
71     - initial release
72    
73     %prep
74    
75     %setup -q -n %{name}-%{version}
76 brianr 1.3 %patch0 -p1
77 brianr 1.1
78     %build
79     # Build symlinks
80     perl createlinks
81    
82     %install
83     rm -rf $RPM_BUILD_ROOT
84     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
85     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
86     > %{name}-%{version}-%{release}-filelist
87    
88     %clean
89     rm -rf $RPM_BUILD_ROOT
90    
91     %files -f %{name}-%{version}-%{release}-filelist
92     %defattr(-,root,root)
93    
94    
95     %post
96    
97     %preun
98 brianr 1.3 #if [ $1 = 0 ] ; then
99     # /etc/rc.d/init.d/bridge stop >& /dev/null || :
100     #fi
101 brianr 1.1
102     true
103    

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