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: 1.3.145 |
7 |
Release: 25%{?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 |
* Mon Jun 10 2013 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.145-24 |
76 |
- Update to 1.3.145. |
77 |
|
78 |
* Sun Mar 1 2009 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.103-23 |
79 |
- Update to 1.3.103. |
80 |
|
81 |
* Wed Apr 30 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.90-22 |
82 |
- Update to 1.3.90. |
83 |
|
84 |
* Wed Oct 17 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.66-20 |
85 |
- Update to 1.3.66. |
86 |
|
87 |
* Sat Oct 13 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.64-19 |
88 |
- Update to 1.3.64. |
89 |
|
90 |
* Wed Jun 13 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.57-18 |
91 |
- Update to 1.3.57. |
92 |
|
93 |
* Wed May 23 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.56-17 |
94 |
- Update to 1.3.56. |
95 |
|
96 |
* Mon Feb 12 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.50-16 |
97 |
- update to 1.3.50. |
98 |
|
99 |
* Sun Oct 22 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 1.3.42-15 |
100 |
- Update to 1.3.42. |
101 |
|
102 |
* Wed May 31 2006 Axel Thimm <Axel.Thimm@ATrpms.net> |
103 |
- Update to 1.3.31. |
104 |
|
105 |
* Sat Nov 26 2005 Axel Thimm <Axel.Thimm@ATrpms.net> |
106 |
- Update to 1.3.21. |
107 |
|
108 |
* Sun Apr 3 2005 Axel Thimm <Axel.Thimm@ATrpms.net> |
109 |
- Update to 1.3.0. |
110 |
|
111 |
* Sun Mar 6 2005 Axel Thimm <Axel.Thimm@ATrpms.net> |
112 |
- Update to 1.2.71. |
113 |
|
114 |
* Mon Jan 17 2005 Axel Thimm <Axel.Thimm@ATrpms.net> |
115 |
- Update to 1.2.67. |
116 |
|
117 |
* Fri Dec 17 2004 Axel Thimm <Axel.Thimm@ATrpms.net> |
118 |
- Update to 1.2.64. |
119 |
|
120 |
* Tue Nov 2 2004 Axel Thimm <Axel.Thimm@ATrpms.net> |
121 |
- Update to 1.2.58. |
122 |
|
123 |
* Fri Oct 22 2004 Axel Thimm <Axel.Thimm@ATrpms.net> |
124 |
- Update to 1.2.57. |
125 |
|
126 |
* Thu Sep 16 2004 Axel Thimm <Axel.Thimm@ATrpms.net> |
127 |
- Update to 1.2.53. |
128 |
|
129 |
* Mon May 31 2004 Axel Thimm <Axel.Thimm@ATrpms.net> |
130 |
- Update to 1.2.49. |
131 |
|
132 |
* Mon May 3 2004 Axel Thimm <Axel.Thimm@ATrpms.net> |
133 |
- Updated to 1.2.47. |
134 |
|
135 |
* Sat Apr 3 2004 Axel Thimm <Axel.Thimm@ATrpms.net> |
136 |
- Update to 1.2.39. |
137 |
|
138 |
* Fri May 2 2003 Axel Thimm <Axel.Thimm@ATrpms.net> |
139 |
- Initial build. |
140 |
|
141 |
|