1 |
# $Id: e-smith-proftpd.spec,v 1.5 2020/11/28 13:08:23 michel Exp $ |
# $Id: e-smith-proftpd.spec,v 1.10 2021/01/08 21:57:11 jpp Exp $ |
2 |
|
|
3 |
Summary: e-smith specific proftpd configuration files and templates |
Summary: e-smith specific proftpd configuration files and templates |
4 |
%define name e-smith-proftpd |
%define name e-smith-proftpd |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.6.0 |
%define version 2.6.0 |
7 |
%define release 6 |
%define release 10 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
13 |
Patch0: e-smith-proftpd-2.6.0-TLS.patch |
Patch0: e-smith-proftpd-2.6.0-TLS.patch |
14 |
Patch1: e-smith-proftpd-2.6.0-bz11106_11150_systemd_update_event.patch |
Patch1: e-smith-proftpd-2.6.0-bz11106_11150_systemd_update_event.patch |
15 |
Patch2: e-smith-proftpd-2.6.0-bz11106_11150_remove_supervise_ftp.patch |
Patch2: e-smith-proftpd-2.6.0-bz11106_11150_remove_supervise_ftp.patch |
16 |
|
Patch3: e-smith-proftpd-2.6.0-bz11245_runit_required.patch |
17 |
|
Patch4: e-smith-proftpd-2.6.0-bz11106_protect_from_proftpd.patch |
18 |
|
Patch5: e-smith-proftpd-2.6.0-bz11316-testSSLfiles.patch |
19 |
|
|
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
22 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
26 |
AutoReqProv: no |
AutoReqProv: no |
27 |
|
|
28 |
%changelog |
%changelog |
29 |
|
* Fri Jan 08 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-10.sme |
30 |
|
- protect from proftpd.service running in place of ftp.service [SME: 11106] |
31 |
|
- remove system-preset file from usr [SME: 10958] |
32 |
|
- SSL crt and key to self signed if path does not exist [SME: 11316] |
33 |
|
|
34 |
|
* Thu Dec 10 2020 Michel Begue <mab974@gmail.com> 2.6.0-8.sme |
35 |
|
- add Requires=runit.service [SME: 11245] |
36 |
|
|
37 |
|
* Thu Dec 03 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme |
38 |
|
- execute systemd-reload before service adjust in events [SME: 11228] |
39 |
|
- remove S95reset-unsavedflag [SME: 11229] |
40 |
|
|
41 |
* Wed Nov 25 2020 Michel Begue <mab974@gmail.com> 2.6.0-6.sme |
* Wed Nov 25 2020 Michel Begue <mab974@gmail.com> 2.6.0-6.sme |
42 |
- Remove ftp from 'init.d/supervise' [SME: 11106] [SME: 11150] |
- Remove ftp from 'init.d/supervise' [SME: 11106] [SME: 11150] |
43 |
|
|
575 |
%patch0 -p1 |
%patch0 -p1 |
576 |
%patch1 -p1 |
%patch1 -p1 |
577 |
%patch2 -p1 |
%patch2 -p1 |
578 |
|
%patch3 -p1 |
579 |
|
%patch4 -p1 |
580 |
|
%patch5 -p1 |
581 |
|
|
582 |
# Remove the empty template-begin and the directory |
# Remove the empty template-begin and the directory |
583 |
rm -rf root/etc/e-smith/templates/etc/pam.d/proftpd/ |
rm -rf root/etc/e-smith/templates/etc/pam.d/proftpd/ |