/[smecontribs]/rpms/smeserver-learn/contribs10/smeserver-learn.spec
ViewVC logotype

Annotation of /rpms/smeserver-learn/contribs10/smeserver-learn.spec

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


Revision 1.4 - (hide annotations) (download)
Tue Feb 23 19:39:09 2021 UTC (3 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-learn-1_0-16_el7_sme, HEAD
Changes since 1.3: +10 -2 lines
* Tue Feb 23 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-16.sme
- make use of systemd [SME: 11281]
- create an update event to configure the contrib without reboot [SME: 11281]
- untag ham to avoid client to move them back to spamdir [SME: 10732]
- move existing spamdir before creating link to replace them [SME: 9524]

1 jpp 1.4 # $Id: smeserver-learn.spec,v 1.3 2020/12/31 10:36:38 brianr Exp $
2 brianr 1.1 # Authority: unnilennium
3     # Name: Jean-Philippe Pialasse.
4     %define name smeserver-learn
5     %define version 1.0
6 jpp 1.4 %define release 16
7 brianr 1.1
8     Summary: SME Server Mails Learning script
9     Name: %{name}
10     Version: %{version}
11     Release: %{release}%{?dist}
12     License: GPL
13     Group: Networking/Daemons
14     Source: %{name}-%{version}.tar.gz
15     Patch0: smeserver-learn-1.0-event.patch
16     Patch1: smeserver-learn-1.0-SME9283.patch
17     Patch2: smeserver-learn-1.0-SME9284.patch
18     Patch3: smeserver-learn-1.0-SME6862.patch
19     Patch4: smeserver-learn-1.0-admin.patch
20     Patch5: smeserver-learn-1.0-SME9282.patch
21     Patch6: smeserver-learn-1.0-MOVE.patch
22     Patch7: smeserver-learn-1.0-VERBOSE.patch
23     Patch8: smeserver-learn-1.0-devnull.patch
24     Patch9: smeserver-learn-1.0.bz9446.chown-bayes_tok.patch
25 brianr 1.3 Patch10: smeserver-learn-1.0-Remove-deprecated-defined.patch
26 jpp 1.4 Patch11: smeserver-learn-1.0-bz11281-bz10732-bz9524.patch
27 brianr 1.3
28 brianr 1.1 Packager: JP Pialasse <tests@pialasse.com>
29     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
30     BuildArchitectures: noarch
31     Requires: perl-Email-Simple
32     BuildRequires: e-smith-devtools >= 1.13.1-03
33    
34     %description
35     Scripts which allows users to interact with spamassassin rules simply
36     by droping mail in special folders of their mailbox (working only with imap)
37     - Learn mail as spam
38     - Learn mail as ham
39     - Whitelist the sender so his mails won't be taged as spam again
40    
41     %changelog
42 jpp 1.4 * Tue Feb 23 2021 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-16.sme
43     - make use of systemd [SME: 11281]
44     - create an update event to configure the contrib without reboot [SME: 11281]
45     - untag ham to avoid client to move them back to spamdir [SME: 10732]
46     - move existing spamdir before creating link to replace them [SME: 9524]
47    
48 brianr 1.3 * Thu Dec 31 2020 Brian Read <brianr@bjsystems.co.uk> 1.0-15.sme
49     - Remove-deprecated-defined [SME: 11281]
50    
51 brianr 1.2 * Sun Dec 20 2020 Brian Read <brianr@bjsystems.co.uk> 1.0-14.sme
52     - Initial Import in SME 10 [SME: 11281]
53    
54 brianr 1.1 * Fri Jul 29 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-13.sme
55     - fix permission problem on bayes_tok [SME: 9446]
56    
57     * Sat May 14 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-12.sme
58     - fix verbose disabled unlink /dev/null [SME: 9512]
59    
60     * Tue Mar 29 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-11.sme
61     - first import in SME9 [SME: 9414]
62    
63     * Wed Mar 16 2016 JP Pialasse <tests@pialasse.com> 1.0-10.sme
64     - fix encoding problem when removing or adding tags [SME: 9282]
65     - fix moving file not working MOVE patch [SME: 9314]
66     - NFR: setting for verbose (enabled,disabled, active) VERBOSE patch [SME: 9313]
67    
68     * Tue Mar 15 2016 JP Pialasse <tests@pialasse.com> 1.0-8.sme
69     - NFR: check admin Maildir [SME: 9279]
70     - NFR: restrict utilization to some users [SME: 9280]
71    
72     * Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.0-7.sme
73     - fix find not restrictive enough when learning also new [SME: 6862]
74    
75     * Tue Mar 08 2016 JP Pialasse <tests@pialasse.com> 1.0-6.sme
76     - new version SME8 and SME9
77     - fix wrong default db key DeleteAfterLearn [SME: 7083]
78     - added inspection of temp and new subdir [SME: 6862]
79     - moved default db keys as file outside of spec
80     - new db properties: (LearnAsHam,LearnInWL)RemoveSPAMTag, (*)LeanNew,(*)Uniq,(LearnAsSpam)SpamLinks
81     - new account db property for user: SpamLinks
82     - import to buildsys [SME: 4423]
83     - use sa-learn per dir and not per message [SME: 1701]
84     - merge enhancements [SME: 4423] [SME: 1701]
85     - NFR: create links
86     - NFR: filter out SPAM tag from HAM and InWL mails
87     - NFR: added auto create folders if multiple folder disabled
88     - NFR: create db key for multiple folder to inspect
89     - enhanced move to junkmail or inbox
90     - moving job from crontab to /etc/cron.d/Learn
91     - fixed typo in event email-update (r3)
92     - fixed wrong file permission on /etc/cron.d/Lean [SME: 9283] (r4)
93     - fixed messy output [SME: 9284] (r5)
94     - fixed replaced cron file on update [SME: 9286](r6)
95    
96     * Wed Jun 25 2008 Emmmanuel JOORIS <joorise@dot-world.net> 0.0.1-3
97     - add dependencies to spec file
98    
99     * Mon Jun 23 2008 Daniel B. <daniel@firewall-services.com> 0.0.1-2
100     - add spaces after the tags
101    
102     * Wed Jun 18 2008 Daniel B. <daniel@firewall-services.com> 0.0.1-1
103     - full path for Learn script in crontab templates
104     - rename to smeserver-learn
105     - Fix default tag for Ham mail to [HAM]
106     - Lean.pl will be executed daily by default
107    
108     * Wed Jun 11 2008 Emmanuel JOORIS <joorise@dot-world.net>
109     - 0.0.1-0
110     - Original version
111    
112     %prep
113     %setup
114     %patch0 -p1
115     %patch1 -p1
116     %patch2 -p1
117     %patch3 -p1
118     %patch4 -p1
119     %patch5 -p1
120     %patch6 -p1
121     %patch7 -p1
122     %patch8 -p1
123     %patch9 -p1
124 brianr 1.3 %patch10 -p1
125 jpp 1.4 %patch11 -p1
126 brianr 1.1
127     %build
128     perl createlinks
129    
130     %install
131     rm -rf $RPM_BUILD_ROOT
132     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
133     rm -f %{name}-%{version}-filelist
134     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT |\
135     sed -e "s@^$RPM_BUILD_ROOT@@g" \
136     -e "s@^%attr(0644,root,root) /etc/cron.d/Learn@%attr(0644,root,root)%config(noreplace) /etc/cron.d/Learn@"\
137     > %{name}-%{version}-filelist
138    
139     %clean
140     #rm -rf $RPM_BUILD_ROOT
141    
142     %post
143    
144     %postun
145    
146     %files -f %{name}-%{version}-filelist
147     %defattr(-,root,root)
148    

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