1 |
# $Id: e-smith-proftpd.spec,v 1.4 2016/08/03 05:08:58 unnilennium Exp $ |
# $Id: e-smith-proftpd.spec,v 1.12 2021/01/14 16:11:55 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 5 |
%define release 12 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
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 |
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 |
|
Patch6: e-smith-proftpd-2.6.0-bz11357-rmConflcits.patch |
20 |
|
|
21 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
23 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
27 |
AutoReqProv: no |
AutoReqProv: no |
28 |
|
|
29 |
%changelog |
%changelog |
30 |
|
* Thu Feb 18 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-12.sme |
31 |
|
- fix circular Conflict with proftpd [SME: 11357] |
32 |
|
|
33 |
|
* Thu Jan 14 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme |
34 |
|
- improve protect from proftpd.service running [SME: 11106] |
35 |
|
|
36 |
|
* Fri Jan 08 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-10.sme |
37 |
|
- protect from proftpd.service running in place of ftp.service [SME: 11106] |
38 |
|
- remove system-preset file from usr [SME: 10958] |
39 |
|
- SSL crt and key to self signed if path does not exist [SME: 11316] |
40 |
|
|
41 |
|
* Thu Dec 10 2020 Michel Begue <mab974@gmail.com> 2.6.0-8.sme |
42 |
|
- add Requires=runit.service [SME: 11245] |
43 |
|
|
44 |
|
* Thu Dec 03 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme |
45 |
|
- execute systemd-reload before service adjust in events [SME: 11228] |
46 |
|
- remove S95reset-unsavedflag [SME: 11229] |
47 |
|
|
48 |
|
* Wed Nov 25 2020 Michel Begue <mab974@gmail.com> 2.6.0-6.sme |
49 |
|
- Remove ftp from 'init.d/supervise' [SME: 11106] [SME: 11150] |
50 |
|
|
51 |
* Wed Nov 25 2020 Michel Begue <mab974@gmail.com> 2.6.0-5.sme |
* Wed Nov 25 2020 Michel Begue <mab974@gmail.com> 2.6.0-5.sme |
52 |
- Move ftp service to systemd [SME: 11106] |
- Move ftp service to systemd [SME: 11106] |
53 |
- Create e-smith-proftpd-update event [SME: 11150] |
- Create e-smith-proftpd-update event [SME: 11150] |
581 |
%setup |
%setup |
582 |
%patch0 -p1 |
%patch0 -p1 |
583 |
%patch1 -p1 |
%patch1 -p1 |
584 |
|
%patch2 -p1 |
585 |
|
%patch3 -p1 |
586 |
|
%patch4 -p1 |
587 |
|
%patch5 -p1 |
588 |
|
%patch6 -p1 |
589 |
|
|
590 |
# Remove the empty template-begin and the directory |
# Remove the empty template-begin and the directory |
591 |
rm -rf root/etc/e-smith/templates/etc/pam.d/proftpd/ |
rm -rf root/etc/e-smith/templates/etc/pam.d/proftpd/ |