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