%define homedir %{_sysconfdir}/dcc %define cgibin %{_localstatedir}/dcc/cgibin %define mylibexecdir %{_libexecdir}/dcc Summary: A clients-server system for collecting checksums of mail messages Name: DCC Version: 2.3.167 Release: 1%{?dist} URL: http://www.rhyolite.com/anti-spam/dcc/ Source0: http://www.rhyolite.com/anti-spam/dcc/source/dcc-%{version}.tar.Z License: distributable for non-commercial use Group: Applications/Internet BuildRoot: %{_tmppath}/%{name}-root BuildRequires: sendmail-devel %description The DCC or Distributed Checksum Clearinghouse is currently a system of many clients and more than 120 servers that collects and count checksums related to several million mail messages per day, most as seen by Internet Service Providers. The counts can be used by SMTP servers and mail user agents to detect and reject or filter spam or unsolicited bulk mail. DCC servers exchange or "flood" common checksums. The checksums include values that are constant across common variations in bulk messages, including "personalizations." %prep %setup -q -n dcc-%{version} find . -name Makefile.in | xargs sed -i -e's,chown,:,g' %build export CFLAGS="%{optflags}" PERL=%{_bindir}/perl ./configure \ --with-installroot=%{buildroot} \ %{?_without_dccm:--disable-dccm} \ --homedir=%{homedir} \ --with-cgibin=%{cgibin} \ --libexecdir=%{mylibexecdir} \ --bindir=%{_bindir} \ --mandir=%{_mandir} \ --disable-sys-inst make %install rm -rf %{buildroot} make install #make install \ # SET_BINOWN= SET_MANOWN= SET_DCCOWN= perl -pi -e's,%{buildroot},,g' %{buildroot}%{homedir}/map.txt %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc LICENSE FAQ* CHANGES %dir %{homedir} %config(noreplace) %{homedir}/dcc_conf %config(noreplace) %{homedir}/flod %config(noreplace) %{homedir}/grey_flod %config(noreplace) %{homedir}/grey_whitelist %config(noreplace) %{homedir}/ids %config(noreplace) %{homedir}/log %config(noreplace) %{homedir}/map %config(noreplace) %{homedir}/map.txt %config(noreplace) %{homedir}/whiteclnt %config(noreplace) %{homedir}/whitecommon %config(noreplace) %{homedir}/whitelist %attr(4555,root,root) %{_bindir}/cdcc %attr(4555,root,root) %{_bindir}/dccproc %{_bindir}/dccif-test %{mylibexecdir} %{cgibin} #%{_mandir}/man8/* %changelog * Tue Oct 27 2020 John Crisp - 2.3.167-1 - New build for SME * Mon Jun 10 2013 Axel Thimm - 1.3.145-24 - Update to 1.3.145. * Sun Mar 1 2009 Axel Thimm - 1.3.103-23 - Update to 1.3.103. * Wed Apr 30 2008 Axel Thimm - 1.3.90-22 - Update to 1.3.90. * Wed Oct 17 2007 Axel Thimm - 1.3.66-20 - Update to 1.3.66. * Sat Oct 13 2007 Axel Thimm - 1.3.64-19 - Update to 1.3.64. * Wed Jun 13 2007 Axel Thimm - 1.3.57-18 - Update to 1.3.57. * Wed May 23 2007 Axel Thimm - 1.3.56-17 - Update to 1.3.56. * Mon Feb 12 2007 Axel Thimm - 1.3.50-16 - update to 1.3.50. * Sun Oct 22 2006 Axel Thimm - 1.3.42-15 - Update to 1.3.42. * Wed May 31 2006 Axel Thimm - Update to 1.3.31. * Sat Nov 26 2005 Axel Thimm - Update to 1.3.21. * Sun Apr 3 2005 Axel Thimm - Update to 1.3.0. * Sun Mar 6 2005 Axel Thimm - Update to 1.2.71. * Mon Jan 17 2005 Axel Thimm - Update to 1.2.67. * Fri Dec 17 2004 Axel Thimm - Update to 1.2.64. * Tue Nov 2 2004 Axel Thimm - Update to 1.2.58. * Fri Oct 22 2004 Axel Thimm - Update to 1.2.57. * Thu Sep 16 2004 Axel Thimm - Update to 1.2.53. * Mon May 31 2004 Axel Thimm - Update to 1.2.49. * Mon May 3 2004 Axel Thimm - Updated to 1.2.47. * Sat Apr 3 2004 Axel Thimm - Update to 1.2.39. * Fri May 2 2003 Axel Thimm - Initial build.