1 |
# $Id: smeserver-bridge-interface.spec,v 1.1 2013/11/11 17:21:01 vip-ire Exp $ |
# $Id: smeserver-bridge-interface.spec,v 1.2 2021/01/14 20:20:40 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 1 |
%define release 2 |
7 |
%define name smeserver-bridge-interface |
%define name smeserver-bridge-interface |
8 |
|
|
9 |
|
|
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 |
|
|
32 |
%description |
%description |
33 |
This package allows you to replace the internal interface with a bridge |
This package allows you to replace the internal interface with a bridge |
34 |
interface (and the original internal interface enslaved to it). |
interface (and the original internal interface enslaved to it). |
36 |
configuration |
configuration |
37 |
|
|
38 |
%changelog |
%changelog |
39 |
|
* Thu Jan 14 2021 Brian Read <brianr@bjsystems.co.uk> 0.2-2.sme |
40 |
|
- Initial Import to SME10 [SME: 11324] |
41 |
|
- Update-Createlinks-for-systemd.patch |
42 |
|
|
43 |
* 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 |
44 |
- Rebuild for SME9 |
- Rebuild for SME9 |
45 |
|
|
73 |
%prep |
%prep |
74 |
|
|
75 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
76 |
|
%patch0 -p1 |
77 |
|
|
78 |
%build |
%build |
79 |
# Build symlinks |
# Build symlinks |
95 |
%post |
%post |
96 |
|
|
97 |
%preun |
%preun |
98 |
if [ $1 = 0 ] ; then |
#if [ $1 = 0 ] ; then |
99 |
/etc/rc.d/init.d/bridge stop >& /dev/null || : |
# /etc/rc.d/init.d/bridge stop >& /dev/null || : |
100 |
fi |
#fi |
101 |
|
|
102 |
true |
true |
103 |
|
|