1 |
# $Id: e-smith-base.spec,v 1.64 2020/11/17 02:56:01 jpp Exp $ |
# $Id: e-smith-base.spec,v 1.65 2020/11/17 16:57:45 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 53 |
%define release 54 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
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 |
Patch38: e-smith-base-5.8.0-bz11174-preset.patch |
52 |
Patch39: e-smith-base-5.8.0-bz11177-systemd.patch |
Patch39: e-smith-base-5.8.0-bz11177-systemd.patch |
53 |
|
Patch40: e-smith-base-5.8.0-bz2408-bz11100-dhcpd-systemd-and-log.patch |
54 |
|
|
55 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
56 |
Requires: pwauth |
Requires: pwauth |
101 |
e-smith server and gateway software - base module. |
e-smith server and gateway software - base module. |
102 |
|
|
103 |
%changelog |
%changelog |
104 |
|
* Tue Nov 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-54.sme |
105 |
|
- move dhcpd to systemd [SME: 11100] |
106 |
|
- get dhcpd log out of message [SME: 2408] |
107 |
|
also configure logrotate for /var/log/dhcpd/dhcpd.log and /var/log/dhcpd/current |
108 |
|
|
109 |
* Tue Nov 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-53.sme |
* Tue Nov 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-53.sme |
110 |
- reverte previous changes for service2adjust and util.pm [SME: 11177] |
- reverte previous changes for service2adjust and util.pm [SME: 11177] |
111 |
files are owned by e-smith-lib |
files are owned by e-smith-lib |
2053 |
rm -f root/etc/rc.d/init.d/supervise/wan |
rm -f root/etc/rc.d/init.d/supervise/wan |
2054 |
mkdir -p root/etc/systemd/system-preset |
mkdir -p root/etc/systemd/system-preset |
2055 |
%patch39 -p1 |
%patch39 -p1 |
2056 |
|
%patch40 -p1 |
2057 |
|
mkdir -p root/usr/lib/systemd/system/dhcpd.service.d |
2058 |
|
rm root/service/dhcpd |
2059 |
|
rm -rf root/var/service/dhcpd |
2060 |
|
rm root/etc/rc.d/init.d/supervise/dhcpd |
2061 |
|
|
2062 |
%pre |
%pre |
2063 |
/sbin/e-smith/create-system-user smelastsys 2999 \ |
/sbin/e-smith/create-system-user smelastsys 2999 \ |