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