1 |
# $Id: e-smith-base.spec,v 1.58 2020/11/11 20:47:31 jpp Exp $ |
# $Id: e-smith-base.spec,v 1.59 2020/11/12 02:58:44 jpp Exp $ |
2 |
|
|
3 |
Summary: e-smith server and gateway - base module |
Summary: e-smith server and gateway - base module |
4 |
%define name e-smith-base |
%define name e-smith-base |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 5.8.0 |
%define version 5.8.0 |
7 |
%define release 50 |
%define release 51 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
48 |
Patch35: e-smith-base-5.8.0-bz11090-networking.service.patch |
Patch35: e-smith-base-5.8.0-bz11090-networking.service.patch |
49 |
Patch36: e-smith-base-5.8.0-bz11091-wan.service.patch |
Patch36: e-smith-base-5.8.0-bz11091-wan.service.patch |
50 |
Patch37: e-smith-base-5.8.0-bz11094-raidmonitor.service.patch |
Patch37: e-smith-base-5.8.0-bz11094-raidmonitor.service.patch |
51 |
|
Patch38: e-smith-base-5.8.0-bz11174-preset.patch |
52 |
|
|
53 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
54 |
Requires: pwauth |
Requires: pwauth |
99 |
e-smith server and gateway software - base module. |
e-smith server and gateway software - base module. |
100 |
|
|
101 |
%changelog |
%changelog |
102 |
|
* Sat Nov 14 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-51.sme |
103 |
|
- add template for /etc/systemd/system-preset/49koozali.preset [SME: 11174] |
104 |
|
this will help systemd integration in enabling and disabling services |
105 |
|
remove wan link |
106 |
|
|
107 |
* Wed Nov 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-50.sme |
* Wed Nov 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-50.sme |
108 |
- move raidmonitor to systemd [SME: 11094] |
- move raidmonitor to systemd [SME: 11094] |
109 |
|
|
2032 |
%patch36 -p1 |
%patch36 -p1 |
2033 |
rm -rf root/var/service/raidmonitor root/service/raidmonitor |
rm -rf root/var/service/raidmonitor root/service/raidmonitor |
2034 |
%patch37 -p1 |
%patch37 -p1 |
2035 |
|
%patch38 -p1 |
2036 |
|
rm -f root/etc/rc.d/init.d/supervise/wan |
2037 |
|
mkdir -p root/etc/systemd/system-preset |
2038 |
|
|
2039 |
%pre |
%pre |
2040 |
/sbin/e-smith/create-system-user smelastsys 2999 \ |
/sbin/e-smith/create-system-user smelastsys 2999 \ |