1 |
# $Id: smeserver-sendmail-wrapper.spec,v 1.5 2020/04/08 00:50:50 jpp Exp $ |
# $Id: smeserver-sendmail-wrapper.spec,v 1.3 2021/11/07 02:59:36 jpp Exp $ |
2 |
# Authority: unnilennium |
# Authority: unnilennium |
3 |
# Name: Jean-Philippe Pialasse |
# Name: Jean-Philippe Pialasse |
4 |
|
|
5 |
Summary: smeserver-sendmail-wrapper |
Summary: smeserver-sendmail-wrapper |
6 |
%define name smeserver-sendmail-wrapper |
%define name smeserver-sendmail-wrapper |
7 |
%define version 0.1 |
%define version 0.1 |
8 |
%define release 4 |
%define release 6 |
9 |
Name: %{name} |
Name: %{name} |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
16 |
Patch1: smeserver-sendmail-wrapper-0.1-domainName.patch |
Patch1: smeserver-sendmail-wrapper-0.1-domainName.patch |
17 |
Patch2: smeserver-sendmail-wrapper-0.1-fixlogrotate.patch |
Patch2: smeserver-sendmail-wrapper-0.1-fixlogrotate.patch |
18 |
Patch3: smeserver-sendmail-wrapper-0.1-bz10737-php73.patch |
Patch3: smeserver-sendmail-wrapper-0.1-bz10737-php73.patch |
19 |
|
Patch4: smeserver-sendmail-wrapper-0.1-bz11739-sme10.patch |
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
BuildArch: noarch |
BuildArch: noarch |
22 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
32 |
%patch1 -p1 |
%patch1 -p1 |
33 |
%patch2 -p1 |
%patch2 -p1 |
34 |
%patch3 -p1 |
%patch3 -p1 |
|
|
|
35 |
mkdir -p root/var/log/sendmail |
mkdir -p root/var/log/sendmail |
36 |
|
|
37 |
|
rm -rf root/etc/e-smith/templates/opt |
38 |
|
%patch4 -p1 |
39 |
|
|
40 |
%build |
%build |
41 |
#/usr/bin/perl createlinks |
/usr/bin/perl createlinks |
42 |
|
|
43 |
%install |
%install |
44 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
58 |
touch /etc/hosts.deny_ssh |
touch /etc/hosts.deny_ssh |
59 |
|
|
60 |
%changelog |
%changelog |
61 |
|
* Wed Feb 28 2024 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-6.sme |
62 |
|
- fix missing su for logrotate [SME: 12495] |
63 |
|
|
64 |
|
* Sat Nov 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-5.sme |
65 |
|
- import to SME10 [SME: 11739] |
66 |
|
|
67 |
* Tue Apr 07 2020 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-4.sme |
* Tue Apr 07 2020 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-4.sme |
68 |
- add php73 support [SME: 10737] |
- add php73 support [SME: 10737] |
69 |
fix typo for php72 |
fix typo for php72 |