1 |
# $Id: smeserver-fetchmail.spec,v 1.21 2009/01/31 07:45:25 snetram Exp $ |
2 |
# Authority: ??? |
3 |
# Name: Pascal Schirrmann |
4 |
|
5 |
Summary: sme module to generate fetchmail poll |
6 |
%define name smeserver-fetchmail |
7 |
Name: %{name} |
8 |
%define version 1.3.6 |
9 |
%define release 15 |
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.3.6-createlnks.patch |
17 |
Patch1: smeserver-fetchmail-1.3.6-duplocale.patch |
18 |
Patch2: smeserver-fetchmail-1.3.6-locale-2008-04-24.patch |
19 |
Patch3: smeserver-fetchmail-1.3.6-locale-2008-04-26.patch |
20 |
Patch4: smeserver-fetchmail-1.3.6-add2general.patch |
21 |
Patch5: smeserver-fetchmail-1.3.6-locale-2008-04-27.patch |
22 |
Patch6: smeserver-fetchmail-1.3.6-locale-2008-07-01.patch |
23 |
Patch7: smeserver-fetchmail-1.3.6-locale-2008-10-14.patch |
24 |
Patch8: smeserver-fetchmail-1.3.6-locale-2008-11-05.patch |
25 |
Patch9: smeserver-fetchmail-1.3.6-locale-2009-01-01.patch |
26 |
Patch10: smeserver-fetchmail-1.3.6-locale-2009-01-31.patch |
27 |
Patch11: smeserver-fetchmail-1.3.6-locale-2009-03-01.patch |
28 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
29 |
BuildArchitectures: noarch |
30 |
Requires: smeserver-release >= 7.3 |
31 |
Requires: e-smith-email >= 4.16.0-18 |
32 |
Requires: e-smith-formmagick >= 1.4.0-12 |
33 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
34 |
Obsoletes: sme-fetchmail |
35 |
Obsoletes: smeserver-fetchmail-utf8 |
36 |
AutoReqProv: no |
37 |
|
38 |
%changelog |
39 |
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-15 |
40 |
- Apply 1 Mar 2009 locale patch [SME: 5018] |
41 |
|
42 |
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-14 |
43 |
- Apply 31 Jan 2009 locale patch [SME: 4951] |
44 |
|
45 |
* Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-13 |
46 |
- Apply 1 Jan 2009 locale patch [SME: 4900] |
47 |
|
48 |
* Wed Nov 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-12 |
49 |
- Apply 5 Nov 2008 locale patch |
50 |
|
51 |
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-11 |
52 |
- Apply 14 Oct 2008 locale patch |
53 |
|
54 |
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-10 |
55 |
- Apply 1 July 2008 locale patch |
56 |
|
57 |
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-9 |
58 |
- Apply 5 May 2008 locale patch |
59 |
|
60 |
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-8 |
61 |
- Add common <base> tags to e-smith-formmagick's general to other locales |
62 |
|
63 |
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-7 |
64 |
- Add common <base> tags to e-smith-formmagick's general |
65 |
|
66 |
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-6 |
67 |
- Added da locale patch |
68 |
|
69 |
* Thu Apr 24 2008 Shad L. Lords <slords@mail.com> 1.3.6-5 |
70 |
- update locale to Apr-24-2008 version (fix fr/de/it translations) |
71 |
|
72 |
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-4 |
73 |
- Added locale patch |
74 |
|
75 |
* Mon Apr 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-3 |
76 |
- Removed %post macro as instructions were irrelevant and caused errors |
77 |
|
78 |
* Mon Apr 21 2008 Shad L. Lords <slords@mail.com> 1.3.6-2.sme |
79 |
- Remove duplicate translation entries |
80 |
|
81 |
* Sun Apr 20 2008 Shad L. Lords <slords@mail.com> 1.3.6-1.sme |
82 |
- Cleanup tar file. Prepare for import to buildsys. |
83 |
|
84 |
* Tue Mar 20 2007 Pascal Schirrmann <schirrms@schirrms.net> |
85 |
- some translations typo create troubles on new installations. |
86 |
- Thanks to Dietmar Berteld, new German Translation |
87 |
[1.3.5-01] |
88 |
* Mon Mar 05 2007 Pascal Schirrmann <schirrms@schirrms.net> |
89 |
- SME 7.1 came with a major change in the incomming mails work: internal mails weren't any more processed by |
90 |
SpamAssassin. But mails coming via fetchmails were seen as local mails ! |
91 |
SME 7.1.1 come with a workaround for that, and this version uses this workaround. |
92 |
Therefore, version 1.3.5 and up are no more comatible with SME 7.1.0 and below |
93 |
Big thanks to Yves for his help |
94 |
- Experimental support for SPOP mail (tested with gmail only) |
95 |
- Better support of the fetchmail postmaster configuration. |
96 |
- Adds the long waited 'timeout' option to limit the wait time in case of a non responding server (1 min default) |
97 |
This is a system wide configuration, and only by the database. |
98 |
[1.3.5-00] |
99 |
* Wed Oct 25 2006 Pascal Schirrmann <schirrms@schirrms.net> |
100 |
- SME7 now supports login name with a dot. But this brokes some parts of smeserver-fetchmail, |
101 |
if case of multi recipients (smeserver-fetchmail use qmail groups, who don't like dot in their filename) |
102 |
[1.3.4-10] |
103 |
* Wed Apr 26 2006 Pascal Schirrmann <schirrms@schirrms.net> |
104 |
- some features were broken in SME 7, due to changes in the actions directory |
105 |
I made my best to create a version working on SME 6 and SME 7 but this is ugly ! |
106 |
- IMAP is now the default choice when creating a new fetch rule, as fetchmail |
107 |
works better with IMAP than POP3. |
108 |
- Thanks to Dietmar Berteld, a german translation |
109 |
[1.3.4-09] |
110 |
* Sat Jan 14 2006 Pascal Schirrmann <schirrms@schirrms.net> |
111 |
- SMEServer is an obsoleted package. Version check now on e-smith-release |
112 |
- New English version, thanks to Dave Dumolo |
113 |
- A Mail server can now be set by its IP address |
114 |
- some changes to hopefully suppress all errors during uninstall/upgrade |
115 |
[1.3.4-08] |
116 |
* Sat Oct 22 2005 Pascal Schirrmann <schirrms@schirrms.net> |
117 |
- bug correction : smeserver-fetchmail didn't work on SME7beta4 |
118 |
and newer : there was a call to a sessiondir sub in the package |
119 |
FormMagick, but this sub is no longer present. |
120 |
As the call was only here for debug purpose, the change was easy ;-) |
121 |
[1.3.4-07] |
122 |
* Fri Aug 19 2005 Pascal Schirrmann <schirrms@schirrms.net> |
123 |
- Rush correction : the use of the smarthost as a destination |
124 |
server for fetchmail was a terrible mistake. |
125 |
now the server use the internal mail server. |
126 |
- also trying to use a more academic patch way for the |
127 |
intermediate releases. |
128 |
[1.3.4-06] |
129 |
* Tue Aug 02 2005 Pascal Schirrmann <schirrms@schirrms.net> |
130 |
- add a test to be compatible with SME 7.0 Alpha |
131 |
- put the destination server as a variable |
132 |
- add the italian translation, many thanks to |
133 |
Antonio Fragola - MrShark - www.mrshark.it |
134 |
[1.3.4-05] |
135 |
* Sat Apr 30 2005 Pascal Schirrmann <schirrms@schirrms.net> |
136 |
- change a record creation mode in fetchmail_temp.db to |
137 |
be compatible with the SME 6.5 validator |
138 |
- change the offending fm% prefix to fm_fm- |
139 |
[1.3.4-04] |
140 |
* Sat Feb 05 2005 Vincent Filali <vincent@e-smith.dyndns.org> |
141 |
- Some changes to be more compatible with anti spam mailrules |
142 |
[1.3.4-03] |
143 |
* Thu Jun 03 2004 Pascal Schirrmann <schirrms@schirrms.net> |
144 |
- Some visuals improvments in the footer update ;-) |
145 |
[1.3.4-02] |
146 |
* Wed Jun 02 2004 Pascal Schirrmann <schirrms@schirrms.net> |
147 |
- add a mail ref in the panels. |
148 |
[1.3.4-01] |
149 |
* Sun May 30 2004 Pascal Schirrmann <schirrms@schirrms.net> |
150 |
- Some ligth internals changes : add of a version field in |
151 |
database, use of const in some perl scrips, separator changes |
152 |
in the user database. |
153 |
- It's now possible to have more than one external e-mail |
154 |
redirection. |
155 |
- possibiliy to block SMTP and NNTP access. |
156 |
[1.3.4-00] |
157 |
* Mon May 10 2004 Pascal Schirrmann <schirrms@schirrms.net> |
158 |
- account and password are stored 'in Hex' to avoid conflicts. |
159 |
- Seems that every characters could be use in external names |
160 |
and password, but the pipe cannit be use : FormMagick |
161 |
doesn't like it ! |
162 |
[1.3.3-02] |
163 |
* Mon May 10 2004 Pascal Schirrmann <schirrms@schirrms.net> |
164 |
- Some small changes in 'special characters' protection in |
165 |
90fetchmail. |
166 |
[1.3.3-01] |
167 |
* Sun May 09 2004 Pascal Schirrmann <schirrms@schirrms.net> |
168 |
- Even simpler, even safer : as the TransOption can |
169 |
conflict with the Ghost Option i removed it |
170 |
[1.3.3-00] |
171 |
* Sun May 09 2004 Pascal Schirrmann <schirrms@schirrms.net> |
172 |
- the use of maillist is a success ;-) so we use now |
173 |
also the maillist for an external mail |
174 |
[1.3.2-01] |
175 |
* Sun May 09 2004 Pascal Schirrmann <schirrms@schirrms.net> |
176 |
- brand new way for MailCopyTo : creation of mail lists |
177 |
(all prefixed by FM% to avoid name clash) and use of theses |
178 |
lists to distribute a mail. |
179 |
[1.3.2-00] |
180 |
* Sat May 08 2004 Pascal Schirrmann <schirrms@schirrms.net> |
181 |
- MailCopyto bahavior change : the option 'fetchall' is no |
182 |
more present |
183 |
(this was a wrong way: see above) |
184 |
[1.3.1-02] |
185 |
* Fri May 07 2004 Pascal Schirrmann <schirrms@schirrms.net> |
186 |
- BugFix: In debug mode, only one ext mailboxe was debuged |
187 |
[1.3.1-01] |
188 |
* Fri May 07 2004 Pascal Schirrmann <schirrms@schirrms.net> |
189 |
- All Fetchmails records in user database now prefixed 'FM-' |
190 |
[1.3.1-00] |
191 |
* Sun May 02 2004 Pascal Schirrmann <schirrms@schirrms.net> |
192 |
- French Lexicon added. |
193 |
[1.3.0-03] |
194 |
* Sun May 02 2004 Pascal Schirrmann <schirrms@schirrms.net> |
195 |
- Some changes in 90fetchmail : now, alls access to the |
196 |
database are done 'new style'. |
197 |
- Finals steps before a french version. |
198 |
[1.3.0-02] |
199 |
* Sat May 01 2004 Pascal Schirrmann <schirrms@schirrms.net> |
200 |
- A little bug in crontab template. |
201 |
- Cosmetics works. |
202 |
[1.3.0-01] |
203 |
* Sat May 01 2004 Pascal Schirrmann <schirrms@schirrms.net> |
204 |
- First 'working' beta release. Need lot of cosmetics works. |
205 |
- Change numbering to a more classical way. |
206 |
[1.3.0-00] |
207 |
* Sat Apr 24 2004 Pascal Schirrmann <schirrms@schirrms.net> |
208 |
- intermediate 'release' should give a beta. |
209 |
[1.3-0] |
210 |
* Sun Mar 21 2004 Pascal Schirrmann <schirrms@schirrms.net> |
211 |
- Start a new release, FormMagick Compliant ;-) |
212 |
- change the name to smeserver-fetchmail |
213 |
[1.2-0] |
214 |
* Mon Mar 15 2004 Pascal Schirrmann <schirrms@schirrms.net> |
215 |
- This is a 'very light' version ! |
216 |
- Moved all templates to templates dir |
217 |
- create an entry fetchmailbis in the database (name to change) |
218 |
- fetchmailbis works even if fetchmail is desactivated |
219 |
- no design change now |
220 |
[1.1-01] |
221 |
* Sun Mar 14 2004 Pascal Schirrmann <schirrms@schirrms.net> |
222 |
- Start a new test release |
223 |
[1.1-0] |
224 |
* Fri Aug 24 2001 Filali-Ansary vincent <filali.v@tiscali.fr> |
225 |
- initial release |
226 |
[1.0-2] |
227 |
|
228 |
%description |
229 |
sme server enhancement to make fetchmail more useable |
230 |
|
231 |
%prep |
232 |
%setup |
233 |
%patch0 -p1 |
234 |
%patch1 -p1 |
235 |
%patch2 -p1 |
236 |
%patch3 -p1 |
237 |
%patch4 -p1 |
238 |
%patch5 -p1 |
239 |
%patch6 -p1 |
240 |
%patch7 -p1 |
241 |
%patch8 -p1 |
242 |
%patch9 -p1 |
243 |
%patch10 -p1 |
244 |
%patch11 -p1 |
245 |
|
246 |
%build |
247 |
perl createlinks |
248 |
echo "%{version}-%{release}" >root/etc/e-smith/db/configuration/defaults/%{smepanel}/version |
249 |
|
250 |
%install |
251 |
rm -rf $RPM_BUILD_ROOT |
252 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
253 |
rm -f %{name}-%{version}-filelist |
254 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
255 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
256 |
|
257 |
%clean |
258 |
rm -rf $RPM_BUILD_ROOT |
259 |
|
260 |
%files -f %{name}-%{version}-filelist |
261 |
%defattr(-,root,root) |