1 |
# $Id: e-smith-proftpd.spec,v 1.3 2016/06/17 15:04:31 unnilennium Exp $ |
# $Id: e-smith-proftpd.spec,v 1.9 2021/01/08 21:44:49 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 4 |
%define release 9 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
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 |
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 |
|
|
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-9.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 |
42 |
|
- Remove ftp from 'init.d/supervise' [SME: 11106] [SME: 11150] |
43 |
|
|
44 |
|
* Wed Nov 25 2020 Michel Begue <mab974@gmail.com> 2.6.0-5.sme |
45 |
|
- Move ftp service to systemd [SME: 11106] |
46 |
|
- Create e-smith-proftpd-update event [SME: 11150] |
47 |
|
|
48 |
* Wed Aug 03 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme |
* Wed Aug 03 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme |
49 |
- fix typos [SME: 6804] |
- fix typos [SME: 6804] |
50 |
- set default as required |
- set default as required |
573 |
%prep |
%prep |
574 |
%setup |
%setup |
575 |
%patch0 -p1 |
%patch0 -p1 |
576 |
|
%patch1 -p1 |
577 |
|
%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/ |