Search
j0ke.net Open Build Service
>
Projects
>
server:mail
:
el
>
dcc
> dcc.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File dcc.spec of Package dcc
Name: dcc Summary: Distributed Checksum Clearinghouse Version: 2.3.167 Release: 1 License: Other (semi-free) Group: Productivity/Networking/Email/Utilities Source: %{name}-%{version}.tar.Z Source1: %{name}-rpmlintrc Patch0: %{name}-chown.patch BuildRoot: %{_tmppath}/build-root-%{name} Url: http://www.dcc-servers.net/dcc/ BuildRequires: rrdtool %if 0%{?suse_version} BuildRequires: apache2 %define _apachewwwdir /srv/www %define _suser vscan %endif %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?redhat_version} BuildRequires: httpd %define _apachewwwdir /var/www %define _suser amavis %endif %description The Distributed Checksum Clearinghouse or DCC is a cooperative, distributed system intended to detect "bulk" mail or mail sent to many people. It allows individuals receiving a single mail message to determine that many other people have received essentially identical copies of the message and so reject or discard the message. Source for the server, client, and utilities is available at Rhyolite Software, LLC, http://www.rhyolite.com/dcc/ It is free for organizations that do not sell spam or virus filtering services. %prep rm -rf $RPM_BUILD_ROOT mkdir $RPM_BUILD_ROOT %setup %patch0 %build CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \ ./configure \ --homedir=/var/lib/dcc \ --libexecdir=%{_prefix}/lib/dcc/libexec \ --with-cgibin=%{_apachewwwdir}/cgi-bin/dcc \ --disable-dccm \ --with-installroot=$RPM_BUILD_ROOT \ --bindir=%{_bindir} \ --mandir=%{_mandir} \ --disable-sys-inst \ --with-uid=%{_suser} %__make -j 2 %install %__make DESTDIR=$RPM_BUILD_ROOT install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %attr(0755,root,root) %{_bindir}/*dcc* %{_apachewwwdir}/cgi-bin/dcc %dir %{_prefix}/lib/dcc %dir %{_prefix}/lib/dcc/libexec %{_prefix}/lib/dcc/libexec %defattr(-,%{_suser},root) /var/lib/%{name} %changelog * Tue Feb 07 2012 Carsten Schoene <cs@linux-administrator.com< - 1.3.141-2 - fix UID in dcc_conf * Wed Jan 11 2012 Carsten Schoene <cs@linux-administrator.com> - 1.3.141-1 - update to release 1.3.141 * Sat Sep 03 2011 Carsten Schoene <cs@linux-administrator.com> - 1.3.140-1 - update to release 1.3.140 * Sat May 21 2011 Carsten Schoene <cs@linux-administrator.com> - 1.3.139-1 - update to release 1.3.139 - change ownership of /var/lib/dcc to vscan * Mon Dec 06 2010 Carsten Schoene <cs@linux-administrator.com> - 1.3.134-1 - update to release 1.3.134 * Mon May 24 2010 Carsten Schoene <cs@linux-administrator.com> - 1.3.126-1 - update to release 1.3.126 * Sat Feb 27 2010 Carsten Schoene <cs@linux-administrator.com> - 1.3.120-1 - update to release 1.3.120 * Sat Jul 25 2009 Carsten Schoene <cs@linux-administrator.com> - 1.3.113-1 - release 1.3.113 - 1.3.113 - Work around broken updatedcc in version 1.3.109 - 1.3.112 - Fix dccproc, dccm, and dccifd -B...,any, bug reported by Bart Dumon. - Add dccproc, dccm, and dccifd -Bdomain,IPaddr,all-names as suggested by Bart Dumon. - Delete ill conceived dccm, dccproc, dccifd -Bset:temp-fail - Add /var/dcc/libexec/dcc-nagios - 1.3.111 - fix "trap -" hiccup in updatedcc on Solaris - 1.3.109 - Add Dutch to FUZ2 checksums with `./configure --enable-lang-Dutch` - Change handling of send() and sendto() failures in the DCC client code to deal with strangeness in FreeBSD jails. - Fix bug with IPv6 disabled on Linux. - 1.3.108 - Change homedir/fix-map so that the FreeBSD package can use it to generate passwords. - Tweak the response of the DCC client code to ostensibly impossible EINVAL from connect() in the hope of helping dccifd in FreeBSD jails. - 1.3.107 - Fix problem with FreeBSD dcc-dccd package. - 1.3.106 - Reduce the number of system calls used by dccproc to decide whether IPv6 is available. - Fix bugs in ./configure --with-configsuffix=x and --with-installroot as proposed by Craig Green. This will fix updatedcc in the - FreeBSD port and package. - Fix dccifd core dump on NetBSD reported by Petar Bogdanovic and Mike Cappella. - 1.3.105 - Fix NetBSD client problem reported by Petar Bogdanovic by fixing select() usage and changing the ./configure script so that NetBSD uses poll() instead of select. - 1.3.104 - Fix bogus 0 second retries for DNSBL lookups in dccm, dccifd, and dccproc. - Accept blocks of addresses in whitelists and elsewhere as starting and ending pairs like 10.2.3.4-10.5.6.7 as well as CIDR blocks. - Reduce name space pollution for sites using dccif() in dcclib.a. - Fix IPv6 ifindex bug reported by Joe Breu. - Change IPv6 support to use separate sockets instead of sharing IPv4 sockets. This is necessary on FreeBSD systems with IPv4 mapped addresses in IPv6 sockets turned off. - Ignore and replace settings of "IPv6 on" and "IPv6 off" in existing /var/dcc/map files with new values name "IPv6 on", "IPv6 off", and "IPv6 only". The new default of "IPv6 on" combined with distinct socket change described above should make DCC client programs including dccproc, dccifd, and dccm seamlessly use avaliable IPv6 and IPv4 DCC servers. "IPv6 only" and "IPv6 off" should not be needed but are available just in case. - Ignore `dccd -6` and `dccd -4` instead of enabling IPv6. The server code now opens IPv6 and IPv4 sockets to receive requests from clients corresponding to IPv6 and IPv4 addresses on network interfaces. I think the right things happen if the DCC server has no IPv6 support and if the server has only link-local or site-local addresses. - 1.3.103 - Quiet RedHat versus Debian error message from rcDCC reported by Ken Rea. - Deal with corrupt /var/dcc/map reported by Steve Martin instead of calling abort(). - Fix error in libexec/fetch-testmsg-whitelist reported by Horst Scheuermann and William Taylor. - Tweak ./configure and makefiles to try to avoid the mysterious, unreproducable linking problem reported by John Levine. - Fix bug with `./configure --with-max-log-size=0` reported by Valentin Schmid. `./configure --with-max-log-size=KB` now also applies to dccproc log files. - Generate man pages with /var/dcc and other directories replaced by local ./configure choices. This is intended to help the FreeBSD package and similar redistributions. * Sun Jan 11 2009 Carsten Schoene <cs@linux-administrator.com> - 1.3.102-1 - release 1.3.102 - Fix build error reported by Steve Martin in dnsbl.c on MacOS X and other systems without a resolver library found by ./configure. - release 1.3.101 - Fix inconsistent declaration of grey_on in dccd/dump-clients/dump-clients.c reported by Bobby Rose. - release 1.3.100 - Support groups of DNS blacklists that can be independently enabled in per-user whiteclnt files. - Follow Petar Bogdanovic's suggestion to make ./configure assume that `su -` and the default file ownership on NetBSD should be like FreeBSD - Another tweak to reduce spurious DCC Reputations for 127.0.0.1. - Dccifd in query mode assumes one recipient and so always generates an X-DCC header. - Tweak proof of concept per-user whitelist cgi scripts in cgi-bin. - Improve long term client request rate computation to improve how public DCC servers handle too active clients. - Count anonymous clients ignored by `dccd -uFOREVER` among `cdcc stats` "bad IDs" to more easily detect local clients that lack client-IDs and passwords. - `misc/hackmc -M` now reports mail rejected with the sendmail FEATURE(`badmx') to the DCC with counts of "MANY" * Sat Oct 18 2008 Carsten Schoene <cs@linux-administrator.com> - 1.3.99-0 - initial build