1 |
# $Id: e-smith-proftpd.spec,v 1.2 2016/06/17 14:39:29 unnilennium Exp $ |
# $Id: e-smith-proftpd.spec,v 1.7 2020/12/04 03:34:39 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 3 |
%define release 8 |
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 |
|
|
18 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
20 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
24 |
AutoReqProv: no |
AutoReqProv: no |
25 |
|
|
26 |
%changelog |
%changelog |
27 |
|
* Thu Dec 10 2020 Michel Begue <mab974@gmail.com> 2.6.0-8.sme |
28 |
|
- add Requires=runit.service [SME: 11245] |
29 |
|
|
30 |
|
* Thu Dec 03 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-7.sme |
31 |
|
- execute systemd-reload before service adjust in events [SME: 11228] |
32 |
|
- remove S95reset-unsavedflag [SME: 11229] |
33 |
|
|
34 |
|
* Wed Nov 25 2020 Michel Begue <mab974@gmail.com> 2.6.0-6.sme |
35 |
|
- Remove ftp from 'init.d/supervise' [SME: 11106] [SME: 11150] |
36 |
|
|
37 |
|
* Wed Nov 25 2020 Michel Begue <mab974@gmail.com> 2.6.0-5.sme |
38 |
|
- Move ftp service to systemd [SME: 11106] |
39 |
|
- Create e-smith-proftpd-update event [SME: 11150] |
40 |
|
|
41 |
|
* Wed Aug 03 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme |
42 |
|
- fix typos [SME: 6804] |
43 |
|
- set default as required |
44 |
|
- NB: client must be set as active connection, not passive |
45 |
|
|
46 |
* Fri Jun 17 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
* Fri Jun 17 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
47 |
- updated patch for certificate chain |
- updated patch for certificate chain |
48 |
- Thanks to Daniel Berteaud |
- Thanks to Daniel Berteaud |
566 |
%prep |
%prep |
567 |
%setup |
%setup |
568 |
%patch0 -p1 |
%patch0 -p1 |
569 |
|
%patch1 -p1 |
570 |
|
%patch2 -p1 |
571 |
|
%patch3 -p1 |
572 |
|
|
573 |
# Remove the empty template-begin and the directory |
# Remove the empty template-begin and the directory |
574 |
rm -rf root/etc/e-smith/templates/etc/pam.d/proftpd/ |
rm -rf root/etc/e-smith/templates/etc/pam.d/proftpd/ |