1 |
brianr |
1.4 |
# $Id: smeserver-fetchmail.spec,v 1.3 2020/12/27 19:53:43 brianr Exp $ |
2 |
brianr |
1.1 |
# 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 |
brianr |
1.4 |
%define release 18 |
10 |
brianr |
1.1 |
%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 |
brianr |
1.3 |
Patch8: smeserver-fetchmail-1.6-Switch-smptd-to-qpsmtpd-in-panel-perl.patch |
25 |
brianr |
1.4 |
Patch9: smeserver-fetchmail-1.6-Add-Update-event-to-createlinks.patch |
26 |
brianr |
1.3 |
|
27 |
brianr |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
28 |
|
|
BuildArchitectures: noarch |
29 |
|
|
Requires: smeserver-release >= 9.0 |
30 |
|
|
Requires: e-smith-email >= 4.16.0-18 |
31 |
|
|
Requires: e-smith-formmagick >= 1.4.0-12 |
32 |
|
|
# for spamcheck on SME9; on SME10 0.96-19 and 2.6.0-32 |
33 |
|
|
Requires: qpsmtpd >= 0.96-11 |
34 |
|
|
Requires: smeserver-qpsmtpd >= 2.4.0-39 |
35 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
36 |
|
|
Obsoletes: sme-fetchmail |
37 |
|
|
Obsoletes: smeserver-fetchmail-utf8 |
38 |
|
|
AutoReqProv: no |
39 |
|
|
|
40 |
|
|
%changelog |
41 |
brianr |
1.4 |
* Fri Mar 26 2021 Brian Read <brianr@bjsystems.co.uk> 1.6-18.sme |
42 |
|
|
- Add Update event to createlinks [SME: 11058] |
43 |
|
|
|
44 |
|
|
* Fri Mar 26 2021 BogusDateBot |
45 |
|
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
46 |
|
|
by assuming the date is correct and changing the weekday. |
47 |
|
|
Fri Sep 24 2015 --> Fri Sep 18 2015 or Thu Sep 24 2015 or Fri Sep 25 2015 or .... |
48 |
|
|
|
49 |
brianr |
1.3 |
* Sun Dec 27 2020 Brian Read <brianr@bjsystems.co.uk> 1.6-17.sme |
50 |
|
|
- Switch-smptd-to-qpsmtpd-in-panel-perl [SME: 11058] |
51 |
|
|
|
52 |
brianr |
1.2 |
* Tue Oct 27 2020 Brian Read <brianr@bjsystems.co.uk> 1.6-16.sme |
53 |
|
|
- Initial import to SME10 tree [SME: 11058] |
54 |
|
|
|
55 |
brianr |
1.1 |
* Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 1.6-15.sme |
56 |
|
|
- apply locale 2019-12-07 patch |
57 |
|
|
|
58 |
|
|
* Fri Dec 14 2018 John Crisp <jcrsip@safeandsoundit.co.uk> 1.6.14.sme |
59 |
|
|
- apply locale 2018-12-14 patch |
60 |
|
|
|
61 |
|
|
* Sun Mar 11 2018 Jean-Philipe Pialasse <tests@pialasse.com> 1.6-13.sme |
62 |
brianr |
1.4 |
- Add Update event to createlinks no spamcheck anymore for fetchmail [SME: 10290] |
63 |
brianr |
1.1 |
|
64 |
|
|
* Sat Dec 02 2017 SME Translation Server <translations@contribs.org> 1.6-12.sme |
65 |
|
|
- apply locale 2017-12-02 patch |
66 |
|
|
|
67 |
|
|
* Fri May 26 2017 Jean-Philipe Pialasse <tests@pialasse.com> 1.6-11.sme |
68 |
|
|
- added option field for sslfingerprint compatibility [SME: 8287] |
69 |
|
|
|
70 |
|
|
* Wed Jan 13 2016 Daniel Berteaud <daniel@firewall-services.com> 1.6-10.sme |
71 |
|
|
- Update event handling (remove broken symlinks) [SME: 9185] |
72 |
|
|
|
73 |
|
|
* Fri Jan 8 2016 Daniel Berteaud <daniel@firewall-services.com> 1.6-9.sme |
74 |
|
|
- Update iptables rules to prevent warning when starting masq [SME: 9180] |
75 |
|
|
|
76 |
brianr |
1.4 |
* Thu Sep 24 2015 Daniel Berteaud <daniel@firewall-services.com> 1.6-8.sme |
77 |
|
|
Fri Sep 24 2015 --> Fri Sep 18 2015 or Thu Sep 24 2015 or Fri Sep 25 2015 or .... |
78 |
brianr |
1.1 |
- Fix bounce looping each time mails are fetch in case of |
79 |
|
|
permanent delivery failure [SME: 9074] |
80 |
|
|
|
81 |
|
|
* Sat Aug 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-7.sme |
82 |
|
|
- Initial release to contribs9 |
83 |
|
|
|
84 |
|
|
* Fri Feb 06 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-6.sme |
85 |
|
|
- Corrected a typo in the detection of smtpd port in the template 90fetchmail |
86 |
|
|
|
87 |
|
|
* Mon Jan 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-4.sme |
88 |
|
|
- Add settings if smtpd TCPPort set to a non default value [sme: 8797] |
89 |
|
|
- code done by ecureuil <gentil_ecureuil@hotmail.com> |
90 |
|
|
|
91 |
|
|
* Sun Nov 2 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-3.sme |
92 |
|
|
- Recovery of large attachments with fetchmail [SME:8630] |
93 |
|
|
|
94 |
|
|
* Sun Oct 5 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-2.sme |
95 |
|
|
- bug of .gitignore in /etc/e-smith/web/panels/manager/cgi-bin |
96 |
|
|
|
97 |
|
|
* Sat Jun 21 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 1.6-1.sme |
98 |
|
|
- Initial release to sme9 |
99 |
|
|
|
100 |
|
|
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.4-2.sme |
101 |
|
|
- apply locale 2013-07-14 patch |
102 |
|
|
|
103 |
|
|
* Sun Jun 3 2012 JP PIALASSE tests@pialasse.com 1.4-1.sme |
104 |
|
|
- Initial version |
105 |
|
|
|
106 |
|
|
%description |
107 |
|
|
sme server enhancement to make fetchmail more useable |
108 |
|
|
|
109 |
|
|
%prep |
110 |
|
|
%setup |
111 |
|
|
%patch0 -p1 |
112 |
|
|
%patch1 -p1 |
113 |
|
|
%patch2 -p1 |
114 |
|
|
%patch3 -p1 |
115 |
|
|
%patch4 -p1 |
116 |
|
|
%patch5 -p1 |
117 |
|
|
%patch6 -p1 |
118 |
|
|
%patch7 -p1 |
119 |
brianr |
1.3 |
%patch8 -p1 |
120 |
brianr |
1.4 |
%patch9 -p1 |
121 |
brianr |
1.1 |
|
122 |
|
|
%build |
123 |
|
|
perl createlinks |
124 |
|
|
echo "%{version}-%{release}" >root/etc/e-smith/db/configuration/defaults/%{smepanel}/version |
125 |
|
|
|
126 |
|
|
%install |
127 |
|
|
rm -rf $RPM_BUILD_ROOT |
128 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
129 |
|
|
rm -f %{name}-%{version}-filelist |
130 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
131 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
132 |
|
|
|
133 |
|
|
%clean |
134 |
|
|
rm -rf $RPM_BUILD_ROOT |
135 |
|
|
|
136 |
|
|
%files -f %{name}-%{version}-filelist |
137 |
|
|
%defattr(-,root,root) |