1 |
# $Id: smeserver-fetchmail.spec,v 1.2 2020/10/29 16:49:36 brianr Exp $ |
# $Id: smeserver-fetchmail.spec,v 1.13 2022/11/11 15:50:39 jpp Exp $ |
2 |
# Authority: unnilennium |
# Authority: unnilennium |
3 |
# Name: Jean-Philippe Pialasse |
# Name: Jean-Philippe Pialasse |
4 |
|
|
6 |
%define name smeserver-fetchmail |
%define name smeserver-fetchmail |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 1.6 |
%define version 1.6 |
9 |
%define release 17 |
%define release 26 |
10 |
%define smepanel FetchMails |
%define smepanel FetchMails |
11 |
Version: %{version} |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
22 |
Patch6: smeserver-fetchmail-1.6-locale-2018-12-14.patch |
Patch6: smeserver-fetchmail-1.6-locale-2018-12-14.patch |
23 |
Patch7: smeserver-fetchmail-1.6-locale-2019-12-07.patch |
Patch7: smeserver-fetchmail-1.6-locale-2019-12-07.patch |
24 |
Patch8: smeserver-fetchmail-1.6-Switch-smptd-to-qpsmtpd-in-panel-perl.patch |
Patch8: smeserver-fetchmail-1.6-Switch-smptd-to-qpsmtpd-in-panel-perl.patch |
25 |
|
Patch9: smeserver-fetchmail-1.6-Add-Update-event-to-createlinks.patch |
26 |
|
Patch10: smeserver-fetchmail-1.6-locale-2021-08-22.patch |
27 |
|
Patch11: smeserver-fetchmail-1.6-bz10538-force_spamcheck_fix.patch |
28 |
|
Patch12: smeserver-fetchmail-1.6-bz10289-force_spamcheck_revert.patch |
29 |
|
Patch13: smeserver-fetchmail-1.6-bz11058-fixpanel.patch |
30 |
|
Patch14: smeserver-fetchmail-1.6-locale-2022-07-22.patch |
31 |
|
Patch15: smeserver-fetchmail-1.6-bz11979-ids.patch |
32 |
|
Patch16: smeserver-fetchmail-1.6-locale-2022-11-11.patch |
33 |
|
|
34 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
35 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
36 |
Requires: smeserver-release >= 9.0 |
Requires: smeserver-release >= 10.0 |
37 |
Requires: e-smith-email >= 4.16.0-18 |
Requires: e-smith-email >= 5.6.0-18 |
38 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
39 |
# for spamcheck on SME9; on SME10 0.96-19 and 2.6.0-32 |
# for spamcheck on SME9; on SME10 0.96-19 and 2.6.0-32 |
40 |
Requires: qpsmtpd >= 0.96-11 |
Requires: qpsmtpd >= 0.96-11 |
45 |
AutoReqProv: no |
AutoReqProv: no |
46 |
|
|
47 |
%changelog |
%changelog |
48 |
|
* Fri Nov 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.6-26.sme |
49 |
|
- Apply locale 2022-11-11 patch |
50 |
|
|
51 |
|
* Thu Jul 28 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.6-24.sme |
52 |
|
- fix fetchmail restart downloading all emails after reboot [SME: 11979] |
53 |
|
thanks to Stefano Zamboni for debuging and original fix. |
54 |
|
|
55 |
|
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.6-23.sme |
56 |
|
- apply locale patch 2022-07-22 |
57 |
|
|
58 |
|
* Wed Nov 17 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.6-22.sme |
59 |
|
- fix panel [SME: 11058] |
60 |
|
removed SMTP proxy and blocking option and redirect to Proxy panel |
61 |
|
TODO: module cleanup and cleanup of unused properties |
62 |
|
|
63 |
|
* Thu Oct 21 2021 Terry Fage <terry@fage.id.au> 1.6-21.sme |
64 |
|
- fix template 60fetchmail force spamcheck [SME: 10289] |
65 |
|
|
66 |
|
* Tue Oct 12 2021 Terry Fage <terry@fage.id.au> 1.6-20.sme |
67 |
|
- fix template 60fetchmail force spamcheck [SME: 10538] |
68 |
|
|
69 |
|
* Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 1.6-19.sme |
70 |
|
- apply locale 2021-08-22 patch |
71 |
|
|
72 |
|
* Fri Mar 26 2021 Brian Read <brianr@bjsystems.co.uk> 1.6-18.sme |
73 |
|
- Add Update event to createlinks [SME: 11058] |
74 |
|
|
75 |
|
* Fri Mar 26 2021 BogusDateBot |
76 |
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
77 |
|
by assuming the date is correct and changing the weekday. |
78 |
|
Fri Sep 24 2015 --> Fri Sep 18 2015 or Thu Sep 24 2015 or Fri Sep 25 2015 or .... |
79 |
|
|
80 |
* Sun Dec 27 2020 Brian Read <brianr@bjsystems.co.uk> 1.6-17.sme |
* Sun Dec 27 2020 Brian Read <brianr@bjsystems.co.uk> 1.6-17.sme |
81 |
- Switch-smptd-to-qpsmtpd-in-panel-perl [SME: 11058] |
- Switch-smptd-to-qpsmtpd-in-panel-perl [SME: 11058] |
82 |
|
|
90 |
- apply locale 2018-12-14 patch |
- apply locale 2018-12-14 patch |
91 |
|
|
92 |
* Sun Mar 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.6-13.sme |
* Sun Mar 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.6-13.sme |
93 |
- fix no spamcheck anymore for fetchmail [SME: 10290] |
- Add Update event to createlinks no spamcheck anymore for fetchmail [SME: 10290] |
94 |
|
|
95 |
* Sat Dec 02 2017 SME Translation Server <translations@contribs.org> 1.6-12.sme |
* Sat Dec 02 2017 SME Translation Server <translations@contribs.org> 1.6-12.sme |
96 |
- apply locale 2017-12-02 patch |
- apply locale 2017-12-02 patch |
104 |
* Fri Jan 8 2016 Daniel Berteaud <daniel@firewall-services.com> 1.6-9.sme |
* Fri Jan 8 2016 Daniel Berteaud <daniel@firewall-services.com> 1.6-9.sme |
105 |
- Update iptables rules to prevent warning when starting masq [SME: 9180] |
- Update iptables rules to prevent warning when starting masq [SME: 9180] |
106 |
|
|
107 |
* Fri Sep 24 2015 Daniel Berteaud <daniel@firewall-services.com> 1.6-8.sme |
* Thu Sep 24 2015 Daniel Berteaud <daniel@firewall-services.com> 1.6-8.sme |
108 |
|
Fri Sep 24 2015 --> Fri Sep 18 2015 or Thu Sep 24 2015 or Fri Sep 25 2015 or .... |
109 |
- Fix bounce looping each time mails are fetch in case of |
- Fix bounce looping each time mails are fetch in case of |
110 |
permanent delivery failure [SME: 9074] |
permanent delivery failure [SME: 9074] |
111 |
|
|
148 |
%patch6 -p1 |
%patch6 -p1 |
149 |
%patch7 -p1 |
%patch7 -p1 |
150 |
%patch8 -p1 |
%patch8 -p1 |
151 |
|
%patch9 -p1 |
152 |
|
%patch10 -p1 |
153 |
|
%patch11 -p1 |
154 |
|
%patch12 -p1 |
155 |
|
%patch13 -p1 |
156 |
|
%patch14 -p1 |
157 |
|
mkdir -p root/var/lib/fetchmail |
158 |
|
%patch15 -p1 |
159 |
|
%patch16 -p1 |
160 |
|
|
161 |
%build |
%build |
162 |
perl createlinks |
perl createlinks |
166 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
167 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
168 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
169 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
170 |
|
--dir /var/lib/fetchmail 'attr(0750,qmailr,qmail)' \ |
171 |
|
> %{name}-%{version}-filelist |
172 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
173 |
|
|
174 |
%clean |
%clean |