1 |
%define homedir %{_sysconfdir}/dcc |
2 |
%define cgibin %{_localstatedir}/dcc/cgibin |
3 |
%define mylibexecdir %{_libexecdir}/dcc |
4 |
Summary: A clients-server system for collecting checksums of mail messages |
5 |
Name: DCC |
6 |
Version: 2.3.167 |
7 |
Release: 1%{?dist} |
8 |
URL: http://www.rhyolite.com/anti-spam/dcc/ |
9 |
Source0: http://www.rhyolite.com/anti-spam/dcc/source/dcc-%{version}.tar.Z |
10 |
License: distributable for non-commercial use |
11 |
Group: Applications/Internet |
12 |
BuildRoot: %{_tmppath}/%{name}-root |
13 |
BuildRequires: sendmail-devel |
14 |
|
15 |
%description |
16 |
The DCC or Distributed Checksum Clearinghouse is currently a system of |
17 |
many clients and more than 120 servers that collects and count |
18 |
checksums related to several million mail messages per day, most as |
19 |
seen by Internet Service Providers. The counts can be used by SMTP |
20 |
servers and mail user agents to detect and reject or filter spam or |
21 |
unsolicited bulk mail. DCC servers exchange or "flood" common |
22 |
checksums. The checksums include values that are constant across |
23 |
common variations in bulk messages, including "personalizations." |
24 |
|
25 |
%prep |
26 |
%setup -q -n dcc-%{version} |
27 |
find . -name Makefile.in | xargs sed -i -e's,chown,:,g' |
28 |
|
29 |
%build |
30 |
export CFLAGS="%{optflags}" |
31 |
PERL=%{_bindir}/perl ./configure \ |
32 |
--with-installroot=%{buildroot} \ |
33 |
%{?_without_dccm:--disable-dccm} \ |
34 |
--homedir=%{homedir} \ |
35 |
--with-cgibin=%{cgibin} \ |
36 |
--libexecdir=%{mylibexecdir} \ |
37 |
--bindir=%{_bindir} \ |
38 |
--mandir=%{_mandir} \ |
39 |
--disable-sys-inst |
40 |
make |
41 |
|
42 |
%install |
43 |
rm -rf %{buildroot} |
44 |
make install |
45 |
#make install \ |
46 |
# SET_BINOWN= SET_MANOWN= SET_DCCOWN= |
47 |
perl -pi -e's,%{buildroot},,g' %{buildroot}%{homedir}/map.txt |
48 |
|
49 |
%clean |
50 |
rm -rf %{buildroot} |
51 |
|
52 |
%files |
53 |
%defattr(-,root,root,-) |
54 |
%doc LICENSE FAQ* CHANGES |
55 |
%dir %{homedir} |
56 |
%config(noreplace) %{homedir}/dcc_conf |
57 |
%config(noreplace) %{homedir}/flod |
58 |
%config(noreplace) %{homedir}/grey_flod |
59 |
%config(noreplace) %{homedir}/grey_whitelist |
60 |
%config(noreplace) %{homedir}/ids |
61 |
%config(noreplace) %{homedir}/log |
62 |
%config(noreplace) %{homedir}/map |
63 |
%config(noreplace) %{homedir}/map.txt |
64 |
%config(noreplace) %{homedir}/whiteclnt |
65 |
%config(noreplace) %{homedir}/whitecommon |
66 |
%config(noreplace) %{homedir}/whitelist |
67 |
%attr(4555,root,root) %{_bindir}/cdcc |
68 |
%attr(4555,root,root) %{_bindir}/dccproc |
69 |
%{_bindir}/dccif-test |
70 |
%{mylibexecdir} |
71 |
%{cgibin} |
72 |
#%{_mandir}/man8/* |
73 |
|
74 |
%changelog |
75 |
* Tue Oct 27 2020 John Crisp <jcrisp@safeandsoundit.co.uk> - 2.3.167-1 |
76 |
- New build for SME |
77 |
|
78 |
* Mon Jun 10 2013 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.145-24 |
79 |
- Update to 1.3.145. |
80 |
|
81 |
* Sun Mar 1 2009 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.103-23 |
82 |
- Update to 1.3.103. |
83 |
|
84 |
* Wed Apr 30 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.90-22 |
85 |
- Update to 1.3.90. |
86 |
|
87 |
* Wed Oct 17 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.66-20 |
88 |
- Update to 1.3.66. |
89 |
|
90 |
* Sat Oct 13 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.64-19 |
91 |
- Update to 1.3.64. |
92 |
|
93 |
* Wed Jun 13 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.57-18 |
94 |
- Update to 1.3.57. |
95 |
|
96 |
* Wed May 23 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.56-17 |
97 |
- Update to 1.3.56. |
98 |
|
99 |
* Mon Feb 12 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.50-16 |
100 |
- update to 1.3.50. |
101 |
|
102 |
* Sun Oct 22 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.42-15 |
103 |
- Update to 1.3.42. |
104 |
|
105 |
* Wed May 31 2006 Axel Thimm <Axel.Thimm@ATrpms.net> |
106 |
- Update to 1.3.31. |
107 |
|
108 |
* Sat Nov 26 2005 Axel Thimm <Axel.Thimm@ATrpms.net> |
109 |
- Update to 1.3.21. |
110 |
|
111 |
* Sun Apr 3 2005 Axel Thimm <Axel.Thimm@ATrpms.net> |
112 |
- Update to 1.3.0. |
113 |
|
114 |
* Sun Mar 6 2005 Axel Thimm <Axel.Thimm@ATrpms.net> |
115 |
- Update to 1.2.71. |
116 |
|
117 |
* Mon Jan 17 2005 Axel Thimm <Axel.Thimm@ATrpms.net> |
118 |
- Update to 1.2.67. |
119 |
|
120 |
* Fri Dec 17 2004 Axel Thimm <Axel.Thimm@ATrpms.net> |
121 |
- Update to 1.2.64. |
122 |
|
123 |
* Tue Nov 2 2004 Axel Thimm <Axel.Thimm@ATrpms.net> |
124 |
- Update to 1.2.58. |
125 |
|
126 |
* Fri Oct 22 2004 Axel Thimm <Axel.Thimm@ATrpms.net> |
127 |
- Update to 1.2.57. |
128 |
|
129 |
* Thu Sep 16 2004 Axel Thimm <Axel.Thimm@ATrpms.net> |
130 |
- Update to 1.2.53. |
131 |
|
132 |
* Mon May 31 2004 Axel Thimm <Axel.Thimm@ATrpms.net> |
133 |
- Update to 1.2.49. |
134 |
|
135 |
* Mon May 3 2004 Axel Thimm <Axel.Thimm@ATrpms.net> |
136 |
- Updated to 1.2.47. |
137 |
|
138 |
* Sat Apr 3 2004 Axel Thimm <Axel.Thimm@ATrpms.net> |
139 |
- Update to 1.2.39. |
140 |
|
141 |
* Fri May 2 2003 Axel Thimm <Axel.Thimm@ATrpms.net> |
142 |
- Initial build. |
143 |
|
144 |
|