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

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

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

Revision 1.2 by brianr, Thu Jan 14 20:20:40 2021 UTC Revision 1.8 by jpp, Tue Mar 23 17:19:55 2021 UTC
# Line 1  Line 1 
1  # $Id: smeserver-bridge-interface.spec,v 1.1 2021/01/14 20:08:15 brianr Exp $  # $Id: smeserver-bridge-interface.spec,v 1.7 2021/01/28 07:20:28 brianr Exp $
2  # Authority: vip-ire  # Authority: vip-ire
3  # Name: Daniel Berteaud  # Name: Daniel Berteaud
4    
5  %define version 0.2  %define version 0.2
6  %define release 2  %define release 7
7  %define name smeserver-bridge-interface  %define name smeserver-bridge-interface
8    
9    
# Line 27  Conflicts:     smeserver-openvpn-bridge.fws Line 27  Conflicts:     smeserver-openvpn-bridge.fws
27  Conflicts:      smeserver-openvpn-bridge-fws  Conflicts:      smeserver-openvpn-bridge-fws
28  AutoReqProv:    no  AutoReqProv:    no
29    
30    Patch0:smeserver-bridge-interface-0.2-Update-Createlinks-for-systemd.patch
31    Patch1:smeserver-bridge-interface-0.2-Move-exec-to-sbin-e-smith-and-add-service-file.patch
32    Patch2:smeserver-bridge-interface-0.2-Add-Restart-to-service-file.patch
33    Patch3:smeserver-bridge-interface-0.2-Change-After-in-Service-file-to-network-service-from-target.patch
34    Patch4: smeserver-bridge-interface-0.2-makeitcompatible.patch
35    
36  %description  %description
37  This package allows you to replace the internal interface with a bridge  This package allows you to replace the internal interface with a bridge
38  interface (and the original internal interface enslaved to it).  interface (and the original internal interface enslaved to it).
# Line 34  It's usefull for OpenVPN in bridge mode Line 40  It's usefull for OpenVPN in bridge mode
40  configuration  configuration
41    
42  %changelog  %changelog
43    * Tue Mar 23 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.2-7.sme
44    - make bridge interface up on install [SME: 11485]
45    - modify support for dhcp with bridge
46    
47    * Thu Jan 28 2021 Brian Read <brianr@bjsystems.co.uk> 0.2-6.sme
48    - Change-After-in-Service-file-to-network-service-from-target [SME: 11324]
49    
50    * Sun Jan 24 2021 Brian Read <brianr@bjsystems.co.uk> 0.2-5.sme
51    - Add-Restart-to-service-file.patch [SME: 11324 ]
52    
53    * Sat Jan 23 2021 Brian Read <brianr@bjsystems.co.uk> 0.2-4.sme
54    - Move exec to  /sbin/e-smith/systemd/bridge-run, add service file [SME: 11324]
55    
56  * Thu Jan 14 2021 Brian Read <brianr@bjsystems.co.uk> 0.2-2.sme  * Thu Jan 14 2021 Brian Read <brianr@bjsystems.co.uk> 0.2-2.sme
57  - Initial Import to SME10 [SME: 11324]  - Initial Import to SME10 [SME: 11324]
58    - Update-Createlinks-for-systemd.patch
59    
60  * Mon Nov 11 2013 Daniel B. <daniel@firewall-services.com> - 0.2-1.sme  * Mon Nov 11 2013 Daniel B. <daniel@firewall-services.com> - 0.2-1.sme
61  - Rebuild for SME9  - Rebuild for SME9
# Line 70  configuration Line 90  configuration
90  %prep  %prep
91    
92  %setup -q -n %{name}-%{version}  %setup -q -n %{name}-%{version}
93    %patch0 -p1
94    %patch1 -p1
95    %patch2 -p1
96    %patch3 -p1
97    %patch4 -p1
98    
99  %build  %build
100  # Build symlinks  # Build symlinks
# Line 81  rm -rf $RPM_BUILD_ROOT Line 106  rm -rf $RPM_BUILD_ROOT
106  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
107           > %{name}-%{version}-%{release}-filelist           > %{name}-%{version}-%{release}-filelist
108    
109    chmod +x %{buildroot}/sbin/e-smith/systemd/bridge-run
110    
111    
112  %clean  %clean
113  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
114    
# Line 91  rm -rf $RPM_BUILD_ROOT Line 119  rm -rf $RPM_BUILD_ROOT
119  %post  %post
120    
121  %preun  %preun
122  if [ $1 = 0 ] ; then  #if [ $1 = 0 ] ; then
123    /etc/rc.d/init.d/bridge stop >& /dev/null || :  #  /etc/rc.d/init.d/bridge stop >& /dev/null || :
124  fi  #fi
125    
126  true  true
127    


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