/[smeserver]/spamassassin-botnet/F/spamassassin-botnet.spec
ViewVC logotype

Annotation of /spamassassin-botnet/F/spamassassin-botnet.spec

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


Revision 1.4 - (hide annotations) (download)
Mon Aug 27 20:25:18 2007 UTC (16 years, 8 months ago) by gregswallow
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +11 -2 lines
Mon Aug 27 14:25:07 2007                                      gswallow

Updated to 0.8
----------------------------------------------------------------------

1 slords 1.1 Name: spamassassin-botnet
2 gregswallow 1.4 Version: 0.8
3     Release: 2%{?dist}
4 slords 1.1 Summary: A botnet plugin for SpamAssassin
5    
6     Group: Development/Libraries
7     License: GPL
8     URL: http://people.ucsc.edu/~jrudd/spamassassin/
9     Source0: http://people.ucsc.edu/~jrudd/spamassassin/Botnet-%{version}.tar
10     Patch0: spamassassin-botnet-0.7.location.patch
11 slords 1.2 Patch1: spamassassin-botnet-0.7-trustip.patch
12 gregswallow 1.4 Patch2: spamassassin-botnet-0.8-dnsresolver.patch
13    
14 slords 1.1 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15     BuildArch: noarch
16    
17     Requires: perl(Net::DNS)
18     Requires: spamassassin >= 3.1.4
19    
20     %description
21     Botnet looks for possible botnet sources of email by checking various
22     DNS values that indicate things such as other ISP's clients or
23     workstations, or misconfigured DNS settings that are more likely to
24     happen with client or workstation addresses than servers.
25    
26     Botnet looks in the Untrusted Relays pseudoheader. It defaults to
27     looking at the first relay in that list. However, certain options
28     allow it to skip past relays in that list (or not score a hit if it
29     finds certain relays).
30    
31    
32     %prep
33     %setup -q -c Botnet
34     %patch0 -p1
35 slords 1.2 %patch1 -p1
36 gregswallow 1.4 %patch2 -p1
37 slords 1.1
38     %install
39     # Determine the proper perl directory:
40     eval `%{__perl} -V:installsitelib`
41    
42     install -d %{buildroot}$installsitelib/Mail/SpamAssassin/Plugin/
43     install -d %{buildroot}%{_sysconfdir}/mail/spamassassin/
44     install -d %{buildroot}%{_bindir}
45    
46    
47     install -m 644 Botnet.cf %{buildroot}%{_sysconfdir}/mail/spamassassin/Botnet.cf
48     install -m 444 Botnet.pm %{buildroot}$installsitelib/Mail/SpamAssassin/Plugin/Botnet.pm
49     install -m 444 Botnet.pl %{buildroot}$installsitelib/Mail/SpamAssassin/Plugin/Botnet.pl
50    
51    
52     # List files in perl directories above
53     find %{buildroot}$installsitelib -type f \
54     | %{__perl} -pi -e 's#^%{buildroot}##g' > %{name}-%{version}-%{release}-filelist
55    
56     %pre
57    
58     %post
59    
60     %postun
61    
62     %clean
63     rm -rf %{buildroot}
64    
65    
66     %files -f %{name}-%{version}-%{release}-filelist
67     %defattr(-,root,root)
68     %doc COPYING INSTALL Botnet.txt Botnet.variants.txt Botnet.credits.txt Botnet.api.txt
69    
70     %config(noreplace) %{_sysconfdir}/mail/spamassassin/*
71    
72     %changelog
73 gregswallow 1.4 * Mon Aug 27 2007 Greg Swallow <greg@runlevel7.ca> 0.8-2
74     - update to botnet 0.8
75     - plus patch from http://www200.pair.com/mecham/spam/botnet8patch.txt
76     that was suggested on the spamassassin users list, but not included
77     with 0.8
78    
79 slords 1.3 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
80     - Clean up spec so package can be built by koji/plague
81    
82 slords 1.1 * Sat Jan 13 2007 Greg Swallow <greg@runlevel7.ca> 0.7-1
83     - add patch to allow Botnet.pm to be in another directory
84     - new package
85    

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