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 BuildRequires: fhs-compliance
12 BuildRequires: using-special-registered-not-regular-user
13 Requires(pre): /usr/sbin/useradd
14 Requires(postun): /usr/sbin/userdel
15 Requires(post,preun): /sbin/chkconfig
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define dccdir /var/lib/dcc
19 %define cgidir /srv/httpd/cgi-bin
22 Distributed Checksum Clearinghouse or DCC is a cooperative,
23 distributed system intended to detect "bulk" mail or mail sent to many
24 people. It allows individuals receiving a single mail message to
25 determine that many other people have been sent essentially identical
26 copies of the message and so reject the message. It can identify some
27 unsolicited bulk mail using "spam traps" and other detectors, but that
30 The DCC can be viewed as a tool for end users to enforce their right
31 to "opt-in" to streams of bulk mail by refusing all bulk mail except
32 from sources in a "white list." White lists are generally the
33 responsibility of DCC clients, since only they know which bulk mail
37 DCC (Distributed Checksum Clearinghouse) jest kooperatywnym,
38 rozproszonym systemem maj±cym na celu wykrywanie masowej poczty lub
39 poczty wys³anej do wielu ludzi. Pozwala jednostkom otrzymuj±cym
40 pojedynczy list okre¶liæ, jak wielu innych otrzyma³o dok³adnie
41 identyczne kopie tej wiadomo¶ci i na tej podstawie odrzuciæ j±. Mo¿e
42 zidentyfikowaæ niechcian± masow± pocztê przy u¿yciu "pu³apek
43 antyspamowych" i innych wykrywaczy, ale to nie jest podstawowym celem.
45 DCC mo¿na odbieraæ jako narzêdzie dla u¿ytkowników koñcowych,
46 zapewniaj±ce im prawo do przeciwstawienia siê zalewowi masowej poczty
47 przez odrzucenie wszystkich ¶mieci oprócz ¼róde³ z "bia³ej listy".
48 Za bia³e listy odpowiadaj± klienci DCC, jako ¿e tylko oni wiedz±,
49 jak± masow± pocztê zamawiali.
52 Summary: Tools to access a DCC server
53 Summary(pl): Narzêdzia dostêpowe dla serwera DCC
55 Requires: %{name} = %{version}-%{release}
58 Distributed Checksum Clearinghouse or DCC is a cooperative,
59 distributed system intended to detect "bulk" mail or mail sent to many
60 people. It allows individuals receiving a single mail message to
61 determine that many other people have been sent essentially identical
62 copies of the message and so reject the message. It can identify some
63 unsolicited bulk mail using "spam traps" and other detectors, but that
66 The DCC can be viewed as a tool for end users to enforce their right
67 to "opt-in" to streams of bulk mail by refusing all bulk mail except
68 from sources in a "white list." White lists are generally the
69 responsibility of DCC clients, since only they know which bulk mail
72 %description -l pl client
73 DCC (Distributed Checksum Clearinghouse) jest kooperatywnym,
74 rozproszonym systemem maj±cym na celu wykrywanie masowej poczty lub
75 poczty wys³anej do wielu ludzi. Pozwala jednostkom otrzymuj±cym
76 pojedynczy list okre¶liæ, jak wielu innych otrzyma³o dok³adnie
77 identyczne kopie tej wiadomo¶ci i na tej podstawie odrzuciæ j±. Mo¿e
78 zidentyfikowaæ niechcian± masow± pocztê przy u¿yciu "pu³apek
79 antyspamowych" i innych wykrywaczy, ale to nie jest podstawowym celem.
81 DCC mo¿na odbieraæ jako narzêdzie dla u¿ytkowników koñcowych,
82 zapewniaj±ce im prawo do przeciwstawienia siê zalewowi masowej poczty
83 przez odrzucenie wszystkich ¶mieci oprócz ¼róde³ z "bia³ej listy".
84 Za bia³e listy odpowiadaj± klienci DCC, jako ¿e tylko oni wiedz±,
85 jak± masow± pocztê zamawiali.
89 Summary(pl): Serwer DCC
91 Requires: %{name} = %{version}-%{release}
94 Distributed Checksum Clearinghouse or DCC is a cooperative,
95 distributed system intended to detect "bulk" mail or mail sent to many
96 people. It allows individuals receiving a single mail message to
97 determine that many other people have been sent essentially identical
98 copies of the message and so reject the message. It can identify some
99 unsolicited bulk mail using "spam traps" and other detectors, but that
102 The DCC can be viewed as a tool for end users to enforce their right
103 to "opt-in" to streams of bulk mail by refusing all bulk mail except
104 from sources in a "white list." White lists are generally the
105 responsibility of DCC clients, since only they know which bulk mail
108 %description -l pl server
109 DCC (Distributed Checksum Clearinghouse) jest kooperatywnym,
110 rozproszonym systemem maj±cym na celu wykrywanie masowej poczty lub
111 poczty wys³anej do wielu ludzi. Pozwala jednostkom otrzymuj±cym
112 pojedynczy list okre¶liæ, jak wielu innych otrzyma³o dok³adnie
113 identyczne kopie tej wiadomo¶ci i na tej podstawie odrzuciæ j±. Mo¿e
114 zidentyfikowaæ niechcian± masow± pocztê przy u¿yciu "pu³apek
115 antyspamowych" i innych wykrywaczy, ale to nie jest podstawowym celem.
117 DCC mo¿na odbieraæ jako narzêdzie dla u¿ytkowników koñcowych,
118 zapewniaj±ce im prawo do przeciwstawienia siê zalewowi masowej poczty
119 przez odrzucenie wszystkich ¶mieci oprócz ¼róde³ z "bia³ej listy".
120 Za bia³e listy odpowiadaj± klienci DCC, jako ¿e tylko oni wiedz±,
121 jak± masow± pocztê zamawiali.
124 Summary: CGI scripts for managing mail delivery on a DCC enabled server
125 Summary(pl): Skrypty CGI do obs³ugi dostarczania poczty na serwerze DCC
127 Requires: %{name} = %{version}-%{release}
130 Example set of CGI scripts to allow users to point-and-click manage
131 their own DCC whitelists and thus what is delivered to them. Allows
132 overriding of site level lists. The scripts give controlled access to
133 the whitelists which are otherwise in protected directory space (owned
136 NB these scripts need configured after installation.
138 %description cgi -l pl
139 Przyk³adowy zestaw skryptów CGI pozwalaj±cych u¿ytkownikom na klikane
140 zarz±dzenie ich bia³ymi listami DCC, a wiêc i tym, co dostaj±. Pozwala
141 przykrywaæ listy dotycz±ce serwera. Skrypty daj± dostêp do bia³ych
142 list, które normalnie s± w zabezpieczonym katalogu (którego
143 w³a¶cicielem jest DCC).
145 Te skrypty wymagaj± konfiguracji po zainstalowaniu.
151 CFLAGS="%{rpmcflags}"; export CFLAGS
152 LDFLAGS="%{rpmldflags}"; export LDFLAGS
154 --bindir=%{_bindir} \
155 --libexecdir=%{_libexecdir} \
156 --mandir=%{_mandir} \
157 --homedir=%{dccdir} \
159 --with-cgibin=%{cgidir} \
160 --with-rundir=%{_var}/run \
164 %{__make} -C dccifd/dccif-test
167 rm -rf $RPM_BUILD_ROOT
169 install -d $RPM_BUILD_ROOT%{_initrddir}
170 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cron.daily,httpd}
171 install -d $RPM_BUILD_ROOT/var/run/dcc
172 install -d $RPM_BUILD_ROOT%{dccdir}/{log,userdirs/{local,esmtp,cyrus,procmail}}
173 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir},%{_libdir}}
174 install -d $RPM_BUILD_ROOT%{_includedir}/dcc
176 INST_UID="$( id -u )" INST_GID="$( id -g )"; export INST_UID INST_GID
186 INSTALL="install -C" \
187 INST_BINDIR=$RPM_BUILD_ROOT%{cgidir} \
188 DCC_HOMEDIR=$RPM_BUILD_ROOT%{dccdir} \
189 DCC_CGIBINDIR=$RPM_BUILD_ROOT%{cgidir} \
190 DCC_LIBEXECDIR=$RPM_BUILD_ROOT%{_sbindir} \
191 DCC_BINDIR=$RPM_BUILD_ROOT%{_sbindir} \
192 BINDIR=$RPM_BUILD_ROOT%{_bindir} \
193 MANDIR=$RPM_BUILD_ROOT%{_mandir}/man
195 install misc/cron-dccd $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/dccd
196 install misc/rcDCC $RPM_BUILD_ROOT%{_initrddir}/dccd
197 install homedir/flod $RPM_BUILD_ROOT%{dccdir}/flod
199 # move some binaries in place, wierd stuff...
200 for i in dbclean dblist dccd dccifd dccsight wlist; do
201 mv -f $RPM_BUILD_ROOT%{_bindir}/$i $RPM_BUILD_ROOT%{_sbindir}
205 install dccifd/dccif-test/dccif-test $RPM_BUILD_ROOT%{_sbindir}
206 install dccifd/dccif-test/dccif-test.pl $RPM_BUILD_ROOT%{_sbindir}
207 install dccifd/dccif.pl $RPM_BUILD_ROOT%{_sbindir}
209 # Set some initial logging, but no rejections
210 perl -p -i -e "s/BRAND=\$/BRAND=%{version}-%{release}/ ; s/DCCM_LOG_AT=\$/\$&10/ ; " \
211 $RPM_BUILD_ROOT%{dccdir}/dcc_conf
213 # prepare for docs inclusion
214 cp misc/README README.misc
215 cp homedir/README README.homedir
216 cp cgi-bin/README README.cgi-bin
218 # install devel files
219 install dccd/*.h $RPM_BUILD_ROOT%{_includedir}/dcc
220 install dcclib/*.h $RPM_BUILD_ROOT%{_includedir}/dcc
221 install include/*.h $RPM_BUILD_ROOT%{_includedir}/dcc
222 install srvrlib/*.h $RPM_BUILD_ROOT%{_includedir}/dcc
223 install dcclib/libdcc.a $RPM_BUILD_ROOT%{_libdir}
224 install srvrlib/libsrvr.a $RPM_BUILD_ROOT%{_libdir}
225 install thrlib/libthr.a $RPM_BUILD_ROOT%{_libdir}
228 rm -f $RPM_BUILD_ROOT/var/www/dcc-bin/README
229 rm -f $RPM_BUILD_ROOT%{_sbindir}/rcDCC
230 rm -f $RPM_BUILD_ROOT%{_sbindir}/cron-dccd
231 rm -f $RPM_BUILD_ROOT%{_sbindir}/logger
232 rm -f $RPM_BUILD_ROOT%{_sbindir}/updatedcc
235 rm -rf $RPM_BUILD_ROOT
238 /usr/sbin/useradd -d %{dccdir} -r dcc >/dev/null 2>&1
242 /usr/sbin/userdel -r dcc > /dev/null 2>&1 || :
246 /sbin/chkconfig --add dccd
248 /usr/bin/cdcc info > %{dccdir}/map.txt
251 echo The scripts need configured and added into your web configuration.
252 echo see %{dccdir}/cgi-bin/README
256 /sbin/chkconfig --del dccd || :
257 /etc/rc.d/init.d/dccd stop || :
261 %defattr(644,root,root,755)
262 %doc CHANGES FAQ.html FAQ.txt INSTALL.html INSTALL.txt LICENSE cdcc.html
263 %doc dbclean.html dblist.html dccd.html dcc.html dccproc.html
264 %doc dccsight.html homedir/flod homedir/ids homedir/map.txt homedir/README
265 %doc misc/dcc.m4 misc/dccdnsbl.m4 misc/hackmc
269 %dir %{dccdir}/userdirs/local
270 %dir %{dccdir}/userdirs/cyrus
271 %dir %{dccdir}/userdirs/procmail
272 %dir %{dccdir}/userdirs/esmtp
274 %config(noreplace) %verify(not size mtime md5) %{dccdir}/dcc_conf
275 %config(noreplace) %verify(not size mtime md5) %{dccdir}/whiteclnt
276 %config(noreplace) %verify(not size mtime md5) %{dccdir}/whitecommon
277 %config(noreplace) %verify(not size mtime md5) %{dccdir}/whitelist
278 %config(noreplace) %verify(not size mtime md5) %{dccdir}/ids
279 %config(noreplace) %verify(not size mtime md5) %{dccdir}/flod
280 %attr(600,root,root) %config(noreplace) %verify(not size mtime md5) %{dccdir}/map
281 #%config(noreplace) %verify(not size mtime md5) %{dccdir}/dcc_db
282 #%config(noreplace) %verify(not size mtime md5) %{dccdir}/dcc_db.hash
285 %{dccdir}/grey_whitelist
288 %defattr(644,root,root,755)
289 %attr(4755,root,root) %{_bindir}/cdcc
290 %attr(4755,root,root) %{_bindir}/dccproc
291 %{_mandir}/man8/cdcc.8*
292 %{_mandir}/man8/dccproc.8*
295 %defattr(644,root,root,755)
296 %attr(754,root,root) /etc/rc.d/init.d/dccd
297 %attr(750,root,root) /etc/cron.daily/dccd
298 %attr(4755,root,root) %{_sbindir}/dccsight
299 %attr(755,root,root) %{_sbindir}/dbclean
300 %attr(755,root,root) %{_sbindir}/dblist
301 %attr(755,root,root) %{_sbindir}/dcc-stats-collect
302 %attr(755,root,root) %{_sbindir}/dcc-stats-graph
303 %attr(755,root,root) %{_sbindir}/dcc-stats-init
304 %attr(755,root,root) %{_sbindir}/dccd
305 %attr(755,root,root) %{_sbindir}/dccif-test
306 %attr(755,root,root) %{_sbindir}/dccif-test.pl
307 %attr(755,root,root) %{_sbindir}/dccif.pl
308 %attr(755,root,root) %{_sbindir}/dccifd
309 %attr(755,root,root) %{_sbindir}/fetch-testmsg-whitelist
310 %attr(755,root,root) %{_sbindir}/hackmc
311 %attr(755,root,root) %{_sbindir}/newwebuser
312 %attr(755,root,root) %{_sbindir}/wlist
314 #%attr(755,root,root) %{_sbindir}/dccm
315 #%{_datadir}/sendmail-cf/feature/dcc.m4
316 #%{_datadir}/sendmail-cf/feature/dccdnsbl.m4
317 %attr(755,root,root) %{_sbindir}/start-dccd
318 %attr(755,root,root) %{_sbindir}/start-dccifd
319 %attr(755,root,root) %{_sbindir}/start-dccm
320 %attr(755,root,root) %{_sbindir}/start-grey
321 %attr(755,root,root) %{_sbindir}/stats-get
322 %attr(755,root,root) %{_sbindir}/stop-dccd
323 %{_mandir}/man8/dbclean.8*
324 %{_mandir}/man8/dblist.8*
325 %{_mandir}/man8/dcc.8*
326 %{_mandir}/man8/dccd.8*
327 %{_mandir}/man8/dccifd.8*
328 %{_mandir}/man8/dccm.8*
329 %{_mandir}/man8/dccsight.8*
332 %defattr(644,root,root,755)
335 %{cgidir}/edit-whiteclnt
340 %{cgidir}/webuser-notify