1 |
# $Id: smeserver-fetchmail.spec,v 1.14 2022/11/11 16:01:08 jpp Exp $ |
2 |
# Authority: unnilennium |
3 |
# Name: Jean-Philippe Pialasse |
4 |
|
5 |
Summary: sme module to generate fetchmail poll |
6 |
%define name smeserver-fetchmail |
7 |
Name: %{name} |
8 |
%define version 1.6 |
9 |
%define release 27 |
10 |
%define smepanel FetchMails |
11 |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
13 |
License: GPL |
14 |
Group: Networking/Daemons |
15 |
Source: %{name}-%{version}.tar.gz |
16 |
Patch0: smeserver-fetchmail-1.6-stop_bounce_loop.patch |
17 |
Patch1: smeserver-fetchmail-1.6-update_iptables_rules.patch |
18 |
Patch2: smeserver-fetchmail-1.6-update_event_handling.patch |
19 |
Patch3: smeserver-fetchmail-1.6-add_sslfingerprint.patch |
20 |
Patch4: smeserver-fetchmail-1.6-locale-2017-12-02.patch |
21 |
Patch5: smeserver-fetchmail-1.6-bz10538-force_spamcheck.patch |
22 |
Patch6: smeserver-fetchmail-1.6-locale-2018-12-14.patch |
23 |
Patch7: smeserver-fetchmail-1.6-locale-2019-12-07.patch |
24 |
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 |
Patch17: smeserver-fetchmail-1.6-locale-2024-09-05.patch |
34 |
|
35 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
36 |
BuildArchitectures: noarch |
37 |
Requires: smeserver-release >= 10.0 |
38 |
Requires: e-smith-email >= 5.6.0-18 |
39 |
Requires: e-smith-formmagick >= 1.4.0-12 |
40 |
# for spamcheck on SME9; on SME10 0.96-19 and 2.6.0-32 |
41 |
Requires: qpsmtpd >= 0.96-11 |
42 |
Requires: smeserver-qpsmtpd >= 2.4.0-39 |
43 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
44 |
Obsoletes: sme-fetchmail |
45 |
Obsoletes: smeserver-fetchmail-utf8 |
46 |
AutoReqProv: no |
47 |
|
48 |
%changelog |
49 |
* Thu Sep 05 2024 Terry Fage <terry@fage.id.au> 1.6-27.sme |
50 |
- Apply locale 2024-09-05.patch |
51 |
|
52 |
* Fri Nov 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.6-26.sme |
53 |
- Apply locale 2022-11-11 patch |
54 |
|
55 |
* Thu Jul 28 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.6-24.sme |
56 |
- fix fetchmail restart downloading all emails after reboot [SME: 11979] |
57 |
thanks to Stefano Zamboni for debuging and original fix. |
58 |
|
59 |
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.6-23.sme |
60 |
- apply locale patch 2022-07-22 |
61 |
|
62 |
* Wed Nov 17 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.6-22.sme |
63 |
- fix panel [SME: 11058] |
64 |
removed SMTP proxy and blocking option and redirect to Proxy panel |
65 |
TODO: module cleanup and cleanup of unused properties |
66 |
|
67 |
* Thu Oct 21 2021 Terry Fage <terry@fage.id.au> 1.6-21.sme |
68 |
- fix template 60fetchmail force spamcheck [SME: 10289] |
69 |
|
70 |
* Tue Oct 12 2021 Terry Fage <terry@fage.id.au> 1.6-20.sme |
71 |
- fix template 60fetchmail force spamcheck [SME: 10538] |
72 |
|
73 |
* Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 1.6-19.sme |
74 |
- apply locale 2021-08-22 patch |
75 |
|
76 |
* Fri Mar 26 2021 Brian Read <brianr@bjsystems.co.uk> 1.6-18.sme |
77 |
- Add Update event to createlinks [SME: 11058] |
78 |
|
79 |
* Fri Mar 26 2021 BogusDateBot |
80 |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
81 |
by assuming the date is correct and changing the weekday. |
82 |
Fri Sep 24 2015 --> Fri Sep 18 2015 or Thu Sep 24 2015 or Fri Sep 25 2015 or .... |
83 |
|
84 |
* Sun Dec 27 2020 Brian Read <brianr@bjsystems.co.uk> 1.6-17.sme |
85 |
- Switch-smptd-to-qpsmtpd-in-panel-perl [SME: 11058] |
86 |
|
87 |
* Tue Oct 27 2020 Brian Read <brianr@bjsystems.co.uk> 1.6-16.sme |
88 |
- Initial import to SME10 tree [SME: 11058] |
89 |
|
90 |
* Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 1.6-15.sme |
91 |
- apply locale 2019-12-07 patch |
92 |
|
93 |
* Fri Dec 14 2018 John Crisp <jcrsip@safeandsoundit.co.uk> 1.6.14.sme |
94 |
- apply locale 2018-12-14 patch |
95 |
|
96 |
* Sun Mar 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.6-13.sme |
97 |
- Add Update event to createlinks no spamcheck anymore for fetchmail [SME: 10290] |
98 |
|
99 |
* Sat Dec 02 2017 SME Translation Server <translations@contribs.org> 1.6-12.sme |
100 |
- apply locale 2017-12-02 patch |
101 |
|
102 |
* Fri May 26 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.6-11.sme |
103 |
- added option field for sslfingerprint compatibility [SME: 8287] |
104 |
|
105 |
* Wed Jan 13 2016 Daniel Berteaud <daniel@firewall-services.com> 1.6-10.sme |
106 |
- Update event handling (remove broken symlinks) [SME: 9185] |
107 |
|
108 |
* Fri Jan 8 2016 Daniel Berteaud <daniel@firewall-services.com> 1.6-9.sme |
109 |
- Update iptables rules to prevent warning when starting masq [SME: 9180] |
110 |
|
111 |
* Thu Sep 24 2015 Daniel Berteaud <daniel@firewall-services.com> 1.6-8.sme |
112 |
Fri Sep 24 2015 --> Fri Sep 18 2015 or Thu Sep 24 2015 or Fri Sep 25 2015 or .... |
113 |
- Fix bounce looping each time mails are fetch in case of |
114 |
permanent delivery failure [SME: 9074] |
115 |
|
116 |
* Sat Aug 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-7.sme |
117 |
- Initial release to contribs9 |
118 |
|
119 |
* Fri Feb 06 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-6.sme |
120 |
- Corrected a typo in the detection of smtpd port in the template 90fetchmail |
121 |
|
122 |
* Mon Jan 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-4.sme |
123 |
- Add settings if smtpd TCPPort set to a non default value [sme: 8797] |
124 |
- code done by ecureuil <gentil_ecureuil@hotmail.com> |
125 |
|
126 |
* Sun Nov 2 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-3.sme |
127 |
- Recovery of large attachments with fetchmail [SME:8630] |
128 |
|
129 |
* Sun Oct 5 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-2.sme |
130 |
- bug of .gitignore in /etc/e-smith/web/panels/manager/cgi-bin |
131 |
|
132 |
* Sat Jun 21 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-1.sme |
133 |
- Initial release to sme9 |
134 |
|
135 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.4-2.sme |
136 |
- apply locale 2013-07-14 patch |
137 |
|
138 |
* Sun Jun 3 2012 JP PIALASSE tests@pialasse.com 1.4-1.sme |
139 |
- Initial version |
140 |
|
141 |
%description |
142 |
sme server enhancement to make fetchmail more useable |
143 |
|
144 |
%prep |
145 |
%setup |
146 |
%patch0 -p1 |
147 |
%patch1 -p1 |
148 |
%patch2 -p1 |
149 |
%patch3 -p1 |
150 |
%patch4 -p1 |
151 |
%patch5 -p1 |
152 |
%patch6 -p1 |
153 |
%patch7 -p1 |
154 |
%patch8 -p1 |
155 |
%patch9 -p1 |
156 |
%patch10 -p1 |
157 |
%patch11 -p1 |
158 |
%patch12 -p1 |
159 |
%patch13 -p1 |
160 |
%patch14 -p1 |
161 |
mkdir -p root/var/lib/fetchmail |
162 |
%patch15 -p1 |
163 |
%patch16 -p1 |
164 |
%patch17 -p1 |
165 |
|
166 |
%build |
167 |
perl createlinks |
168 |
echo "%{version}-%{release}" >root/etc/e-smith/db/configuration/defaults/%{smepanel}/version |
169 |
|
170 |
%install |
171 |
rm -rf $RPM_BUILD_ROOT |
172 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
173 |
rm -f %{name}-%{version}-filelist |
174 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
175 |
--dir /var/lib/fetchmail 'attr(0750,qmailr,qmail)' \ |
176 |
> %{name}-%{version}-filelist |
177 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
178 |
|
179 |
%clean |
180 |
rm -rf $RPM_BUILD_ROOT |
181 |
|
182 |
%files -f %{name}-%{version}-filelist |
183 |
%defattr(-,root,root) |