1 Summary: Distributed Checksum Clearinghouse, anti-spam tool
2 Summary(pl): Narzêdzie anty-spamowe bazuj±ce na sumach kontrolnych (DCC)
8 Source0: http://www.dcc-servers.net/dcc/source/%{name}-%{version}.tar.Z
9 # Source0-md5: 676b17dca43a3dabe22c057a6cfdde77
10 URL: http://www.dcc-servers.net/
11 Requires(pre): /usr/sbin/useradd
12 Requires(postun): /usr/sbin/userdel
13 Requires(post,preun): /sbin/chkconfig
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define dccdir /var/lib/dcc
17 %define cgidir /srv/httpd/cgi-bin
20 Distributed Checksum Clearinghouse or DCC is a cooperative,
21 distributed system intended to detect "bulk" mail or mail sent to many
22 people. It allows individuals receiving a single mail message to
23 determine that many other people have been sent essentially identical
24 copies of the message and so reject the message. It can identify some
25 unsolicited bulk mail using "spam traps" and other detectors, but that
28 The DCC can be viewed as a tool for end users to enforce their right
29 to "opt-in" to streams of bulk mail by refusing all bulk mail except
30 from sources in a "white list." White lists are generally the
31 responsibility of DCC clients, since only they know which bulk mail
35 DCC (Distributed Checksum Clearinghouse) jest kooperatywnym,
36 rozproszonym systemem maj±cym na celu wykrywanie masowej poczty lub
37 poczty wys³anej do wielu ludzi. Pozwala jednostkom otrzymuj±cym
38 pojedynczy list okre¶liæ, jak wielu innych otrzyma³o dok³adnie
39 identyczne kopie tej wiadomo¶ci i na tej podstawie odrzuciæ j±. Mo¿e
40 zidentyfikowaæ niechcian± masow± pocztê przy u¿yciu "pu³apek
41 antyspamowych" i innych wykrywaczy, ale to nie jest podstawowym celem.
43 DCC mo¿na odbieraæ jako narzêdzie dla u¿ytkowników koñcowych,
44 zapewniaj±ce im prawo do przeciwstawienia siê zalewowi masowej poczty
45 przez odrzucenie wszystkich ¶mieci oprócz ¼róde³ z "bia³ej listy".
46 Za bia³e listy odpowiadaj± klienci DCC, jako ¿e tylko oni wiedz±,
47 jak± masow± pocztê zamawiali.
50 Summary: Tools to access a DCC server
51 Summary(pl): Narzêdzia dostêpowe dla serwera DCC
53 Requires: %{name} = %{version}-%{release}
56 Distributed Checksum Clearinghouse or DCC is a cooperative,
57 distributed system intended to detect "bulk" mail or mail sent to many
58 people. It allows individuals receiving a single mail message to
59 determine that many other people have been sent essentially identical
60 copies of the message and so reject the message. It can identify some
61 unsolicited bulk mail using "spam traps" and other detectors, but that
64 The DCC can be viewed as a tool for end users to enforce their right
65 to "opt-in" to streams of bulk mail by refusing all bulk mail except
66 from sources in a "white list." White lists are generally the
67 responsibility of DCC clients, since only they know which bulk mail
70 %description -l pl client
71 DCC (Distributed Checksum Clearinghouse) jest kooperatywnym,
72 rozproszonym systemem maj±cym na celu wykrywanie masowej poczty lub
73 poczty wys³anej do wielu ludzi. Pozwala jednostkom otrzymuj±cym
74 pojedynczy list okre¶liæ, jak wielu innych otrzyma³o dok³adnie
75 identyczne kopie tej wiadomo¶ci i na tej podstawie odrzuciæ j±. Mo¿e
76 zidentyfikowaæ niechcian± masow± pocztê przy u¿yciu "pu³apek
77 antyspamowych" i innych wykrywaczy, ale to nie jest podstawowym celem.
79 DCC mo¿na odbieraæ jako narzêdzie dla u¿ytkowników koñcowych,
80 zapewniaj±ce im prawo do przeciwstawienia siê zalewowi masowej poczty
81 przez odrzucenie wszystkich ¶mieci oprócz ¼róde³ z "bia³ej listy".
82 Za bia³e listy odpowiadaj± klienci DCC, jako ¿e tylko oni wiedz±,
83 jak± masow± pocztê zamawiali.
87 Summary(pl): Serwer DCC
89 Requires: %{name} = %{version}-%{release}
92 Distributed Checksum Clearinghouse or DCC is a cooperative,
93 distributed system intended to detect "bulk" mail or mail sent to many
94 people. It allows individuals receiving a single mail message to
95 determine that many other people have been sent essentially identical
96 copies of the message and so reject the message. It can identify some
97 unsolicited bulk mail using "spam traps" and other detectors, but that
100 The DCC can be viewed as a tool for end users to enforce their right
101 to "opt-in" to streams of bulk mail by refusing all bulk mail except
102 from sources in a "white list." White lists are generally the
103 responsibility of DCC clients, since only they know which bulk mail
106 %description -l pl server
107 DCC (Distributed Checksum Clearinghouse) jest kooperatywnym,
108 rozproszonym systemem maj±cym na celu wykrywanie masowej poczty lub
109 poczty wys³anej do wielu ludzi. Pozwala jednostkom otrzymuj±cym
110 pojedynczy list okre¶liæ, jak wielu innych otrzyma³o dok³adnie
111 identyczne kopie tej wiadomo¶ci i na tej podstawie odrzuciæ j±. Mo¿e
112 zidentyfikowaæ niechcian± masow± pocztê przy u¿yciu "pu³apek
113 antyspamowych" i innych wykrywaczy, ale to nie jest podstawowym celem.
115 DCC mo¿na odbieraæ jako narzêdzie dla u¿ytkowników koñcowych,
116 zapewniaj±ce im prawo do przeciwstawienia siê zalewowi masowej poczty
117 przez odrzucenie wszystkich ¶mieci oprócz ¼róde³ z "bia³ej listy".
118 Za bia³e listy odpowiadaj± klienci DCC, jako ¿e tylko oni wiedz±,
119 jak± masow± pocztê zamawiali.
122 Summary: CGI scripts for managing mail delivery on a DCC enabled server
123 Summary(pl): Skrypty CGI do obs³ugi dostarczania poczty na serwerze DCC
125 Requires: %{name} = %{version}-%{release}
128 Example set of CGI scripts to allow users to point-and-click manage
129 their own DCC whitelists and thus what is delivered to them. Allows
130 overriding of site level lists. The scripts give controlled access to
131 the whitelists which are otherwise in protected directory space (owned
134 NB these scripts need configured after installation.
136 %description cgi -l pl
137 Przyk³adowy zestaw skryptów CGI pozwalaj±cych u¿ytkownikom na klikane
138 zarz±dzenie ich bia³ymi listami DCC, a wiêc i tym, co dostaj±. Pozwala
139 przykrywaæ listy dotycz±ce serwera. Skrypty daj± dostêp do bia³ych
140 list, które normalnie s± w zabezpieczonym katalogu (którego
141 w³a¶cicielem jest DCC).
143 Te skrypty wymagaj± konfiguracji po zainstalowaniu.
149 CFLAGS="%{rpmcflags}"; export CFLAGS
150 LDFLAGS="%{rpmldflags}"; export LDFLAGS
152 --bindir=%{_bindir} \
153 --libexecdir=%{_libexecdir} \
154 --mandir=%{_mandir} \
155 --homedir=%{dccdir} \
157 --with-cgibin=%{cgidir} \
158 --with-rundir=%{_var}/run \
162 %{__make} -C dccifd/dccif-test
165 rm -rf $RPM_BUILD_ROOT
167 install -d $RPM_BUILD_ROOT%{_initrddir}
168 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cron.daily,httpd}
169 install -d $RPM_BUILD_ROOT/var/run/dcc
170 install -d $RPM_BUILD_ROOT%{dccdir}/{log,userdirs/{local,esmtp,cyrus,procmail}}
171 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir},%{_libdir}}
172 install -d $RPM_BUILD_ROOT%{_includedir}/dcc
174 INST_UID="$( id -u )" INST_GID="$( id -g )"; export INST_UID INST_GID
184 INSTALL="install -C" \
185 INST_BINDIR=$RPM_BUILD_ROOT%{cgidir} \
186 DCC_HOMEDIR=$RPM_BUILD_ROOT%{dccdir} \
187 DCC_CGIBINDIR=$RPM_BUILD_ROOT%{cgidir} \
188 DCC_LIBEXECDIR=$RPM_BUILD_ROOT%{_sbindir} \
189 DCC_BINDIR=$RPM_BUILD_ROOT%{_sbindir} \
190 BINDIR=$RPM_BUILD_ROOT%{_bindir} \
191 MANDIR=$RPM_BUILD_ROOT%{_mandir}/man
193 install misc/cron-dccd $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/dccd
194 install misc/rcDCC $RPM_BUILD_ROOT%{_initrddir}/dccd
195 install homedir/flod $RPM_BUILD_ROOT%{dccdir}/flod
197 # move some binaries in place, wierd stuff...
198 for i in dbclean dblist dccd dccifd dccsight wlist; do
199 mv -f $RPM_BUILD_ROOT%{_bindir}/$i $RPM_BUILD_ROOT%{_sbindir}
203 install dccifd/dccif-test/dccif-test $RPM_BUILD_ROOT%{_sbindir}
204 install dccifd/dccif-test/dccif-test.pl $RPM_BUILD_ROOT%{_sbindir}
205 install dccifd/dccif.pl $RPM_BUILD_ROOT%{_sbindir}
207 # Set some initial logging, but no rejections
208 perl -p -i -e "s/BRAND=\$/BRAND=%{version}-%{release}/ ; s/DCCM_LOG_AT=\$/\$&10/ ; " \
209 $RPM_BUILD_ROOT%{dccdir}/dcc_conf
211 # prepare for docs inclusion
212 cp misc/README README.misc
213 cp homedir/README README.homedir
214 cp cgi-bin/README README.cgi-bin
216 # install devel files
217 install dccd/*.h $RPM_BUILD_ROOT%{_includedir}/dcc
218 install dcclib/*.h $RPM_BUILD_ROOT%{_includedir}/dcc
219 install include/*.h $RPM_BUILD_ROOT%{_includedir}/dcc
220 install srvrlib/*.h $RPM_BUILD_ROOT%{_includedir}/dcc
221 install dcclib/libdcc.a $RPM_BUILD_ROOT%{_libdir}
222 install srvrlib/libsrvr.a $RPM_BUILD_ROOT%{_libdir}
223 install thrlib/libthr.a $RPM_BUILD_ROOT%{_libdir}
226 rm -f $RPM_BUILD_ROOT/var/www/dcc-bin/README
227 rm -f $RPM_BUILD_ROOT%{_sbindir}/rcDCC
228 rm -f $RPM_BUILD_ROOT%{_sbindir}/cron-dccd
229 rm -f $RPM_BUILD_ROOT%{_sbindir}/logger
230 rm -f $RPM_BUILD_ROOT%{_sbindir}/updatedcc
233 rm -rf $RPM_BUILD_ROOT
236 /usr/sbin/useradd -d %{dccdir} -r dcc >/dev/null 2>&1
240 /usr/sbin/userdel -r dcc > /dev/null 2>&1 || :
244 /sbin/chkconfig --add dccd
246 /usr/bin/cdcc info > %{dccdir}/map.txt
249 echo The scripts need configured and added into your web configuration.
250 echo see %{dccdir}/cgi-bin/README
254 /sbin/chkconfig --del dccd || :
255 /etc/rc.d/init.d/dccd stop || :
259 %defattr(644,root,root,755)
260 %doc CHANGES FAQ.html FAQ.txt INSTALL.html INSTALL.txt LICENSE cdcc.html
261 %doc dbclean.html dblist.html dccd.html dcc.html dccproc.html
262 %doc dccsight.html homedir/flod homedir/ids homedir/map.txt homedir/README
263 %doc misc/dcc.m4 misc/dccdnsbl.m4 misc/hackmc
267 %dir %{dccdir}/userdirs/local
268 %dir %{dccdir}/userdirs/cyrus
269 %dir %{dccdir}/userdirs/procmail
270 %dir %{dccdir}/userdirs/esmtp
272 %config(noreplace) %verify(not size mtime md5) %{dccdir}/dcc_conf
273 %config(noreplace) %verify(not size mtime md5) %{dccdir}/whiteclnt
274 %config(noreplace) %verify(not size mtime md5) %{dccdir}/whitecommon
275 %config(noreplace) %verify(not size mtime md5) %{dccdir}/whitelist
276 %config(noreplace) %verify(not size mtime md5) %{dccdir}/ids
277 %config(noreplace) %verify(not size mtime md5) %{dccdir}/flod
278 %attr(600,root,root) %config(noreplace) %verify(not size mtime md5) %{dccdir}/map
279 #%config(noreplace) %verify(not size mtime md5) %{dccdir}/dcc_db
280 #%config(noreplace) %verify(not size mtime md5) %{dccdir}/dcc_db.hash
283 %{dccdir}/grey_whitelist
286 %defattr(644,root,root,755)
287 %attr(4755,root,root) %{_bindir}/cdcc
288 %attr(4755,root,root) %{_bindir}/dccproc
289 %{_mandir}/man8/cdcc.8*
290 %{_mandir}/man8/dccproc.8*
293 %defattr(644,root,root,755)
294 %attr(754,root,root) /etc/rc.d/init.d/dccd
295 %attr(750,root,root) /etc/cron.daily/dccd
296 %attr(4755,root,root) %{_sbindir}/dccsight
297 %attr(755,root,root) %{_sbindir}/dbclean
298 %attr(755,root,root) %{_sbindir}/dblist
299 %attr(755,root,root) %{_sbindir}/dcc-stats-collect
300 %attr(755,root,root) %{_sbindir}/dcc-stats-graph
301 %attr(755,root,root) %{_sbindir}/dcc-stats-init
302 %attr(755,root,root) %{_sbindir}/dccd
303 %attr(755,root,root) %{_sbindir}/dccif-test
304 %attr(755,root,root) %{_sbindir}/dccif-test.pl
305 %attr(755,root,root) %{_sbindir}/dccif.pl
306 %attr(755,root,root) %{_sbindir}/dccifd
307 %attr(755,root,root) %{_sbindir}/fetch-testmsg-whitelist
308 %attr(755,root,root) %{_sbindir}/hackmc
309 %attr(755,root,root) %{_sbindir}/newwebuser
310 %attr(755,root,root) %{_sbindir}/wlist
312 #%attr(755,root,root) %{_sbindir}/dccm
313 #%{_datadir}/sendmail-cf/feature/dcc.m4
314 #%{_datadir}/sendmail-cf/feature/dccdnsbl.m4
315 %attr(755,root,root) %{_sbindir}/start-dccd
316 %attr(755,root,root) %{_sbindir}/start-dccifd
317 %attr(755,root,root) %{_sbindir}/start-dccm
318 %attr(755,root,root) %{_sbindir}/start-grey
319 %attr(755,root,root) %{_sbindir}/stats-get
320 %attr(755,root,root) %{_sbindir}/stop-dccd
321 %{_mandir}/man8/dbclean.8*
322 %{_mandir}/man8/dblist.8*
323 %{_mandir}/man8/dcc.8*
324 %{_mandir}/man8/dccd.8*
325 %{_mandir}/man8/dccifd.8*
326 %{_mandir}/man8/dccm.8*
327 %{_mandir}/man8/dccsight.8*
330 %defattr(644,root,root,755)
333 %{cgidir}/edit-whiteclnt
338 %{cgidir}/webuser-notify