1 |
# $Id: e-smith-proftpd.spec,v 1.3 2013/06/07 16:14:33 vip-ire Exp $ |
# $Id: e-smith-proftpd.spec,v 1.8 2020/12/10 14:44:21 michel 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 1 |
%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 |
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 |
|
|
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
21 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
25 |
AutoReqProv: no |
AutoReqProv: no |
26 |
|
|
27 |
%changelog |
%changelog |
28 |
|
* Fri Jan 08 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-9.sme |
29 |
|
- protect from proftpd.service running in place of ftp.service [SME: 11106] |
30 |
|
- remove system-preset file from usr [SME: 10958] |
31 |
|
|
32 |
|
* Thu Dec 10 2020 Michel Begue <mab974@gmail.com> 2.6.0-8.sme |
33 |
|
- add Requires=runit.service [SME: 11245] |
34 |
|
|
35 |
|
* Thu Dec 03 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme |
36 |
|
- execute systemd-reload before service adjust in events [SME: 11228] |
37 |
|
- remove S95reset-unsavedflag [SME: 11229] |
38 |
|
|
39 |
|
* Wed Nov 25 2020 Michel Begue <mab974@gmail.com> 2.6.0-6.sme |
40 |
|
- Remove ftp from 'init.d/supervise' [SME: 11106] [SME: 11150] |
41 |
|
|
42 |
|
* Wed Nov 25 2020 Michel Begue <mab974@gmail.com> 2.6.0-5.sme |
43 |
|
- Move ftp service to systemd [SME: 11106] |
44 |
|
- Create e-smith-proftpd-update event [SME: 11150] |
45 |
|
|
46 |
|
* Wed Aug 03 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme |
47 |
|
- fix typos [SME: 6804] |
48 |
|
- set default as required |
49 |
|
- NB: client must be set as active connection, not passive |
50 |
|
|
51 |
|
* Fri Jun 17 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
52 |
|
- updated patch for certificate chain |
53 |
|
- Thanks to Daniel Berteaud |
54 |
|
|
55 |
|
* Fri Jun 17 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
56 |
|
- Adding TLS support to proftp configuration [SME: 6804] |
57 |
|
- default is enabled but not required, only TLSv1.1 and v1.2 |
58 |
|
|
59 |
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
60 |
- Initial release to sme10 |
- Initial release to sme10 |
61 |
|
|
570 |
|
|
571 |
%prep |
%prep |
572 |
%setup |
%setup |
573 |
|
%patch0 -p1 |
574 |
|
%patch1 -p1 |
575 |
|
%patch2 -p1 |
576 |
|
%patch3 -p1 |
577 |
|
%patch4 -p1 |
578 |
|
|
579 |
# Remove the empty template-begin and the directory |
# Remove the empty template-begin and the directory |
580 |
rm -rf root/etc/e-smith/templates/etc/pam.d/proftpd/ |
rm -rf root/etc/e-smith/templates/etc/pam.d/proftpd/ |