1 |
# $Id: e-smith-base.spec,v 1.127 2021/12/20 14:11:53 jpp Exp $ |
# $Id: e-smith-base.spec,v 1.128 2021/12/20 14:55:17 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.1 |
%define version 5.8.1 |
7 |
%define release 6 |
%define release 7 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
16 |
#keeping this one for SME11 |
#keeping this one for SME11 |
17 |
# Patch: e-smith-base-5.8.1-bz11772-ellipticcert.patch |
# Patch: e-smith-base-5.8.1-bz11772-ellipticcert.patch |
18 |
Patch3: e-smith-base-5.8.1-bz11795-persistent-journald.patch |
Patch3: e-smith-base-5.8.1-bz11795-persistent-journald.patch |
19 |
|
Patch4: e-smith-base-5.8.1-bz946-bz10484-bz11813-logs.patch |
20 |
|
|
21 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
Requires: pwauth |
Requires: pwauth |
80 |
%patch1 -p1 |
%patch1 -p1 |
81 |
%patch2 -p1 |
%patch2 -p1 |
82 |
%patch3 -p1 |
%patch3 -p1 |
83 |
|
%patch4 -p1 |
84 |
|
|
85 |
%build |
%build |
86 |
|
|
110 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
111 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
112 |
--file /sbin/e-smith/systemd/mdmonitor-pre 'attr(0554,root,root)' \ |
--file /sbin/e-smith/systemd/mdmonitor-pre 'attr(0554,root,root)' \ |
113 |
|
--file /sbin/e-smith/systemd/rsyslog-pre 'attr(0554,root,root)' \ |
114 |
--file /etc/cron.daily/conf-mod_ssl 'attr(0544,root,root)' \ |
--file /etc/cron.daily/conf-mod_ssl 'attr(0544,root,root)' \ |
115 |
--dir /var/log/dhcpd 'attr(2750,smelog,smelog)' \ |
--dir /var/log/dhcpd 'attr(2750,smelog,smelog)' \ |
116 |
--dir /etc/e-smith/pam 'attr(0700,root,root)' \ |
--dir /etc/e-smith/pam 'attr(0700,root,root)' \ |
187 |
|
|
188 |
|
|
189 |
%changelog |
%changelog |
190 |
|
* Thu Feb 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.8.1-7.sme |
191 |
|
- make rsyslog listen journald which listen /dev/log [SME: 11813] |
192 |
|
template for /etc/systemd/journald.conf |
193 |
|
- properly configure /etc/logrotate.conf [SME: 10484] |
194 |
|
template for /etc/logrotate.conf |
195 |
|
- drop e-smith logrotate actions creating dangling links [SME: 946] |
196 |
|
|
197 |
* Mon Dec 20 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.8.1-6.sme |
* Mon Dec 20 2021 Jean-Philippe Pialasse <tests@pialasse.com> 5.8.1-6.sme |
198 |
- make journald log permanent by creating /var/log/journal [SME: 11795] |
- make journald log permanent by creating /var/log/journal [SME: 11795] |
199 |
|
|