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

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

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


Revision 1.1 - (show annotations) (download)
Tue Jun 12 17:36:17 2007 UTC (17 years ago) by slords
Branch: MAIN
CVS Tags: smeserver-spamassassin-1_4_0-13_el4_sme
Import on branch sme7 of package smeserver-spamassassin-1.4.0-13.el4.sme.src.rpm

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

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