/[smeserver]/rpms/smeserver-spamassassin/sme8/smeserver-spamassassin.spec
ViewVC logotype

Contents of /rpms/smeserver-spamassassin/sme8/smeserver-spamassassin.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.8 - (show annotations) (download)
Thu Nov 27 09:10:25 2008 UTC (15 years, 6 months ago) by filippocarletti
Branch: MAIN
CVS Tags: smeserver-spamassassin-2_2_0-2_el5_sme
Changes since 1.7: +7 -2 lines
* Tue Nov 25 2008 Giacomo Sanchietti <giacomo@nethesis.it> 2.2.0-2sme
- Fix invalid service name in sa-update [SME: 3304]

1 # $Id: smeserver-spamassassin.spec,v 1.7 2008/10/07 14:57:14 slords Exp $
2
3 Summary: SME Server - spamassassin anti-spam module
4 %define name smeserver-spamassassin
5 Name: %{name}
6 %define version 2.2.0
7 %define release 2
8 Version: %{version}
9 Release: %{release}%{?dist}
10 License: GPL
11 Group: Networking/Daemons
12 Source: %{name}-%{version}.tar.gz
13 Patch1: smeserver-spamassassin-2.2.0-ServiceNameFix.patch
14 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
15 Requires: e-smith-email >= 4.13.0-38
16 Requires: headermatch
17 Requires: spamassassin >= 3.1.0
18 Requires: perl(Crypt::OpenSSL::Bignum)
19 Requires: perl(IO::Socket::INET6)
20 Requires: perl(IP::Country)
21 Requires: perl(Net::DNS) >= 0.34-1
22 Requires: perl(Net::Ident)
23 Requires: perl(Compress::Zlib)
24 Requires: perl(Mail::DKIM)
25 Requires: ucspi-tcp daemontools
26 Requires: e-smith-lib >= 1.13.1-90
27 Requires: e-smith-base >= 4.13.16
28 Requires: e-smith-qmail >= 1.9.0-09sme02
29 Requires: razor-agents >= 2.61-1
30 Requires: DCC
31 Requires: pyzor
32 Requires: FuzzyOcr
33 Obsoletes: e-smith-spamassassin
34 Provides: e-smith-spamassassin
35 BuildArchitectures: noarch
36 BuildRequires: e-smith-devtools >= 1.11.0-12
37 AutoReqProv: no
38
39 %description
40 SME Server - spamassassin anti-spam module
41
42 %changelog
43 * Tue Nov 25 2008 Giacomo Sanchietti <giacomo@nethesis.it> 2.2.0-2sme
44 - Fix invalid service name in sa-update [SME: 3304]
45
46 * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
47 - Roll new stream to separate sme7/sme8 trees [SME: 4633]
48
49 * Sat Mar 9 2008 chris burnat <devlist@burnat.com> 1.4.0-18
50 - Edit and rename deprecated template fragment [SME: 3857]
51
52 * Tue Dec 25 2007 Shad L. Lords <slords@mail.com> 1.4.0-17
53 - Import all spamassassin keys correctly [SME: 3206]
54
55 * Sat Sep 8 2007 Shad L. Lords <slords@mail.com> 1.4.0-16
56 - Import spamassassin keys correctly [SME: 3206]
57
58 * Thu Sep 6 2007 Shad L. Lords <slords@mail.com> 1.4.0-15
59 - Import spamassassin keys if sa_update is found [SME: 3206]
60 - Restart spamassassin if update successful [SME: 3351]
61
62 * Sun Jun 24 2007 Shad L. Lords <slords@mail.com> 1.4.0-14
63 - Fix log (lint) noise [SME: 3100]
64
65 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
66 - Clean up spec so package can be built by koji/plague
67
68 * Sun Feb 18 2007 Shad L. Lords <slords@mail.com> 1.4.0-13
69 - Add FuzzyOcr to spamassassin to detect graphic spam [SME: 1985]
70
71 * Fri Feb 16 2007 Shad L. Lords <slords@mail.com> 1.4.0-12
72 - Change runsvctrl to sv to support runit v1.7.x [SME: 2486]
73
74 * Wed Jan 24 2007 Shad L. Lords <slords@mail.com> 1.4.0-11
75 - Add requires for new spamassassin modules
76
77 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
78 - Update to new release naming. No functional changes.
79 - Make Packager generic
80
81 * Fri Nov 10 2006 Gordon Rowell <gordonr@gormand.com.au> 1.4.0-09
82 - Only match X-Spam-Status in headers, via headermatch [SME: 1924]
83
84 * Thu Jul 13 2006 Gordon Rowell <gordonr@gormand.com.au> 1.4.0-08
85 - Anchor X-Spam-Status check to start of line [SME: 1712]
86
87 * Wed Jun 14 2006 Gordon Rowell <gordonr@gormand.com.au> 1.4.0-07
88 - Missing space in last change [SME: 1571]
89
90 * Wed Jun 14 2006 Gordon Rowell <gordonr@gormand.com.au> 1.4.0-06
91 - Add check for spamassassin{UseAutoWhitelist}, defaulting to 0 (off)
92 [SME: 1571]
93
94 * Fri Jun 9 2006 Shad L. Lords <slords@mail.com> 1.4.0-05
95 - Add path/perm for auto_whitelist [SME: 1571]
96
97 * Fri Jun 9 2006 Gordon Rowell <gordonr@gormand.com.au> 1.4.0-04
98 - Adjust perl dependencies to perl module rather than RPM [SME: 1548]
99
100 * Fri Jun 9 2006 Gordon Rowell <gordonr@gormand.com.au> 1.4.0-03
101 - Correct previous changelog and rebuild [SME: 1548]
102
103 * Wed Jun 7 2006 Shad L. Lords <slords@mail.com> 1.4.0-02
104 - Update config for spamassassin 3.10+ [SME: 1548]
105
106 * Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.4.0-01
107 - Roll stable stream version. [SME: 1016]
108
109 * Wed Feb 22 2006 Gavin Weight <gweight@gmail.com> 1.3.0-07
110 - Renamed 40customScore_BAYES_90 to 40customScore_BAYES_95,
111 Edited 40customScore_BAYES_95 to change 90 to 95. [SME: 836]
112
113 * Tue Feb 7 2006 Shad L. Lords <slords@mail.com> 1.3.0-06
114 - Add db default for wbl.global_to|type [SME: 693]
115
116 * Sat Jan 28 2006 Shad L. Lords <slords@mail.com> 1.3.0-05
117 - Add global white/black lists for to addresses [SME: 594]
118
119 * Thu Nov 03 2005 Filippo Carletti <carletti@mobilia.it> 1.3.0-04
120 - Avoid runit spinning if spamd is disabled [SF: 1312897]
121
122 * Wed Nov 02 2005 Filippo Carletti <carletti@mobilia.it> 1.3.0-03sme01
123 - Start spamd only if spam filter is enabled [SF: 1312897]
124
125 * Mon Oct 10 2005 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-03
126 - Migrate SortSpam property from 0/1 to disabled/enabled [SF: 1321319]
127
128 * Fri Oct 7 2005 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-02
129 - Clear qmail{DeliveryInstruction} and qmail{DeliveryType} if
130 they were set for the obsoleted sortspam [SF: 1315596]
131
132 * Fri Sep 23 2005 Gordon Rowell <gordonr@gormand.com.au>
133 - [1.3.0]
134 - Package renamed to smeserver-spamassassin
135
136 * Fri Sep 23 2005 Gordon Rowell <gordonr@gormand.com.au>
137 - [1.1.0-08sme01]
138 - Simplify .qmail template fragment and add Requires header
139 for recent e-smith-qmail since we need 00setup from it [SF: 1252336]
140
141 * Tue Aug 2 2005 Shad Lords <slords@email.com>
142 - [1.1.0-08]
143 - Prepare for change of default database location. [SF: 1216546]
144
145 * Tue May 31 2005 Charlie Brady <charlieb@e-smith.com>
146 - [1.1.0-07]
147 - Default spamassassin{RejectLevel}==0 [Gordon SF:1202399]
148
149 * Fri May 13 2005 Charlie Brady <charlieb@e-smith.com>
150 - [1.1.0-06]
151 - Another update from Gordon.
152 - Use condredirect (redirecting to $USERNAME-junkmail)
153 instead of sortspam [SF:1200336]
154 - Provide template for .qmail-junkmail
155 - Remove db defaults for qmail{DeliveryType,DeliveryInstruction}.
156 We don't want one delivery instruction, we want as many as the
157 user has requested. Each instruction should be enabled/disabled
158 on a global and per-user basis, as per SortSpam
159 - TODO: Simplify e-smithForward20 in e-smith-email
160
161 * Fri May 13 2005 Charlie Brady <charlieb@e-smith.com>
162 - [1.1.0-05]
163 - Really add the new files in last patch from Shad/Gordon.
164
165 * Thu May 5 2005 Charlie Brady <charlieb@e-smith.com>
166 - [1.1.0-04]
167 - Various contributions from Shad Lords and Gordon Rowell, as follows
168 - Add sortspam from Shad Lords' e-smith-spamassassin
169 - Add lots of config entries and local.cf templates, also from Shad
170 - Modified templates to match new config db names
171 - Add migrate fragments
172
173 * Wed Apr 27 2005 Charlie Brady <charlieb@e-smith.com>
174 - [1.1.0-03]
175 - Change Requires header to "razor-agents".
176
177 * Mon Mar 21 2005 Charlie Brady <charlieb@e-smith.com>
178 - [1.1.0-02]
179 - Update config for SpamAssassin 3.0.2
180
181 * Wed Feb 4 2004 Michael Soulier <msoulier@e-smith.com>
182 - [1.1.0-01]
183 - rolling to dev - 1.1.0
184
185 * Wed Feb 4 2004 Michael Soulier <msoulier@e-smith.com>
186 - [1.0.0-01]
187 - rolling to stable - 1.0.0
188
189 * Thu Aug 28 2003 Michael Soulier <msoulier@e-smith.com>
190 - [0.0.8-02]
191 - Added K* init symlinks to runlevels 0, 1 and 6. [msoulier 9761]
192
193 * Thu Jun 26 2003 Gordon Rowell <gordonr@e-smith.com>
194 - [0.0.8-01]
195 - Enable spamd by default [gordonr 9183]
196 - Simplify spamassassin-update script [gordonr 9183]
197 - Resolve spamd/spamassassing directory confusion [gordonr 9183]
198 - Change spamd use home directory to /var/spool/spamd [gordonr 9183]
199 - Log as smelog user in /var/log/spamd [gordonr 9183]
200 - Update SPEC file with new genfilelist [gordonr 9183]
201
202 * Fri Jun 20 2003 Gordon Rowell <gordonr@e-smith.com>
203 - [0.0.7-23]
204 - Add path to /service/spamd so restart works [gordonr 9095]
205
206 * Mon Jun 9 2003 Gordon Rowell <gordonr@e-smith.com>
207 - [0.0.7-22]
208 - Put back skip_rbl_checks|0 default [gordonr 8952]
209
210 * Mon Jun 9 2003 Gordon Rowell <gordonr@e-smith.com>
211 - [0.0.7-21]
212 - Generate the correct config lines, and make each fragment
213 valid perl [gordonr 8960]
214
215 * Mon Jun 9 2003 Gordon Rowell <gordonr@e-smith.com>
216 - [0.0.7-20]
217 - Move spamassassin configuration parameters into main configdb
218 as properties of the spamassassing service [gordonr 8960]
219
220 * Mon Jun 9 2003 Charlie Brady <charlieb@e-smith.com>
221 - [0.0.7-19]
222 - Change config to use RBLs by default. [charlieb 8952]
223
224 * Wed Jun 4 2003 Charlie Brady <charlieb@e-smith.com>
225 - [0.0.7-18]
226 - Use create-system-user to create spamd user. [charlieb 6033]
227
228 * Tue Apr 22 2003 Gordon Rowell <gordonr@e-smith.com>
229 - [0.0.7-17]
230 - Removed %post call - already done in various events [gordonr 2600]
231
232 * Tue Apr 22 2003 Gordon Rowell <gordonr@e-smith.com>
233 - [0.0.7-16]
234 - Changed spamd uid (1003 already taken) - [gordonr 8368]
235
236 * Mon Apr 21 2003 Gordon Rowell <gordonr@e-smith.com>
237 - [0.0.7-15]
238 - Let useradd add the group in %pre. Don't fail %pre if the uid is not
239 unique [gordonr 8368]
240
241 * Wed Apr 9 2003 Charlie Brady <charlieb@e-smith.com>
242 - [0.0.7-14]
243 - Replace serviceControl() calls with "svc-stop" or "svc -t" as required,
244 so that messages don't leak to console when spamd is restarted.
245 [charlieb 7883]
246
247 * Thu Apr 3 2003 Gordon Rowell <gordonr@e-smith.com>
248 - [0.0.7-13]
249 - Removed dangling panel link [gordonr 7787]
250
251 * Wed Apr 2 2003 Charlie Brady <charlieb@e-smith.com>
252 - [0.0.7-12]
253 - Add default DeliveryInstruction andi DeliveryType default
254 properties for qmail, so that "sortspam" is used for local delivery.
255 Update e-smith-email "requires" version to suit. [charlieb 2600]
256 - Change Copyright header to License. [charlieb]
257
258 * Wed Apr 2 2003 Charlie Brady <charlieb@e-smith.com>
259 - [0.0.7-11]
260 - Remove panel code. Greg's panel code can now be found in
261 e-smith-spamassassin-panel. [charlieb 7787]
262 - Split action into spamassassin config/restart and procmail
263 configure sections. Latter is not yet liked into any
264 actions. [charlieb 2600]
265 - Remove db initialization parts of action script - init done by
266 'defaults' fragments. [charlieb 7526]
267 - Do stop/restart of 'spamd', not 'spamassassin'. [charlieb 2600]
268
269 * Fri Mar 28 2003 Gordon Rowell <gordonr@e-smith.com>
270 - [0.0.7-10]
271 - Change panel Spam Control -> Spam filtering [gordonr 2600]
272
273 * Fri Mar 28 2003 Charlie Brady <charlieb@e-smith.com>
274 - [0.0.7-09]
275 - Fix problem with sorting of sensitivity labels in panel [charlieb 7910]
276
277 * Tue Mar 25 2003 Charlie Brady <charlieb@e-smith.com>
278 - [0.0.7-08]
279 - Remove -c from run file which starts spamd - we don't want to try
280 to create missing user config files. [charlieb 2600]
281 - Create user spamd and run spamd as that userid. [charlieb 2600]
282
283 * Mon Mar 17 2003 Charlie Brady <charlieb@e-smith.com>
284 - [0.0.7-07]
285 - Add conf.global and wbl.global default configuration data. [charlieb 2600]
286
287 * Fri Mar 14 2003 Charlie Brady <charlieb@e-smith.com>
288 - [0.0.7-06]
289 - Various fixes to spamassassin db initialization templates - mostly CVS
290 repository issues. [charlieb 2600]
291
292 * Fri Mar 14 2003 Charlie Brady <charlieb@e-smith.com>
293 - [0.0.7-05]
294 - Add the panel link for the new panel. Configure spamd to be paranoid
295 and to create no use config files. [charlieb 2600]
296
297 * Fri Mar 14 2003 Charlie Brady <charlieb@e-smith.com>
298 - [0.0.7-04]
299 - Remove Greg's full-featured spamassassin panel. Consult CVS if you want
300 to resurrect any of the code. [charlieb 2600]
301
302 * Fri Mar 14 2003 Charlie Brady <charlieb@e-smith.com>
303 - [0.0.7-03]
304 - Fix the minimal FM panel so that it runs. [charlieb 2600]
305 - Fix compile problems in spamassassin-update script. [charlieb 2600]
306
307 * Fri Mar 14 2003 Charlie Brady <charlieb@e-smith.com>
308 - [0.0.7-02]
309 - Add starter en-us lexicon for FM version of the panel. [charlieb 2600]
310
311 * Fri Mar 14 2003 Charlie Brady <charlieb@e-smith.com>
312 - [0.0.7-01]
313 - Use new defaults directory structure to initialize db entries.
314 Add minimal Fm web panel. Add spamassassin-update to email-update
315 and bootstrap-console-save events. [charlieb 2600]
316
317 * Tue Feb 4 2003 Gordon Rowell <gordonr@e-smith.com>
318 - [0.0.6-01]
319 - Roll new source tarball after the merge [gordonr 2600]
320
321 * Tue Feb 4 2003 Gordon Rowell <gordonr@e-smith.com>
322 - [0.0.5-04]
323 - Merged in Greg Zartman's <greg@leiinc.com> contrib
324
325 * Wed Jan 29 2003 Greg Zartman <greg@leiinc.com>
326 - Fixed a small typo in spamassassin server-manager
327 panel that caused a menu label to not show correctly
328
329 * Wed Jan 29 2003 Greg Zartman <greg@leiinc.com>
330 - [0.0.1-1]
331 - initial Alpha release
332
333 * Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com>
334 - [0.0.5-03]
335 - And rename /service/spamd as well [gordonr 2600]
336
337 * Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com>
338 - [0.0.5-02]
339 - Renamed spamassassin -> spamd to avoid conflict with spamassassin's
340 init script [gordonr 2600]
341
342 * Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com>
343 - [0.0.5-01]
344 - Removed stray /etc/tcprules directory [gordonr 2600]
345
346 * Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com>
347 - [0.0.4-01]
348 - Deleted some detritus [gordonr 2600]
349
350 * Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com>
351 - [0.0.3-01]
352 - And an -as-source run to build the initial version [gordonr 2600]
353
354 * Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com>
355 - [0.0.2-02]
356 - Missed some files on initial import [gordonr 2600]
357
358 * Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com>
359 - [0.0.2-01]
360 - Initial import to 0.0.2
361
362 * Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com>
363 - [0.0.1-02]
364 - Initial SRPM from CVS [gordonr 2600]
365
366 * Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com>
367 - [0.0.1-1]
368 - Initial
369
370 %prep
371 %setup
372 %patch1 -p1
373
374 %build
375 perl createlinks
376
377 mkdir -p root/service
378 ln -s /var/service/spamd root/service/spamd
379
380 mkdir -p root/var/service/spamd/supervise
381 touch root/var/service/spamd/down
382
383 mkdir -p root/var/service/spamd/log/supervise
384
385 mkdir -p root/var/log/spamd
386
387 mkdir -p root/var/service/spamd/env
388
389 mkdir -p root/var/spool/spamd/.spamassassin
390
391 %install
392 rm -rf $RPM_BUILD_ROOT
393 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
394 rm -f %{name}-%{version}-%{release}-filelist
395 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
396 --dir /var/service/spamd 'attr(01755,root,root)' \
397 --file /var/service/spamd/down 'attr(0644,root,root)' \
398 --file /var/service/spamd/run 'attr(0755,root,root)' \
399 --dir /var/service/spamd/log 'attr(0755,root,root)' \
400 --dir /var/service/spamd/log/supervise 'attr(0700,root,root)' \
401 --dir /var/service/spamd/supervise 'attr(0700,root,root)' \
402 --file /var/service/spamd/log/run 'attr(0755,root,root)' \
403 --dir /var/log/spamd 'attr(2750,smelog,smelog)' \
404 --dir /var/spool/spamd 'attr(2750,spamd,spamd)' \
405 --dir /var/spool/spamd/.spamassassin 'attr(2750,spamd,spamd)' \
406 > %{name}-%{version}-%{release}-filelist
407
408 %pre
409 /sbin/e-smith/create-system-user spamd 1005 \
410 'spamassassin daemon user' /var/spool/spamd /bin/false
411
412 %clean
413 rm -rf $RPM_BUILD_ROOT
414
415 %post
416
417 %files -f %{name}-%{version}-%{release}-filelist
418 %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed