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: ba23ff397cbaf3974c58fa0d3b3f4f73
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
19 Distributed Checksum Clearinghouse or DCC is a cooperative,
20 distributed system intended to detect "bulk" mail or mail sent to many
21 people. It allows individuals receiving a single mail message to
22 determine that many other people have been sent essentially identical
23 copies of the message and so reject the message. It can identify some
24 unsolicited bulk mail using "spam traps" and other detectors, but that
27 The DCC can be viewed as a tool for end users to enforce their right
28 to "opt-in" to streams of bulk mail by refusing all bulk mail except
29 from sources in a "white list." White lists are generally the
30 responsibility of DCC clients, since only they know which bulk mail
34 DCC (Distributed Checksum Clearinghouse) jest kooperatywnym,
35 rozproszonym systemem maj±cym na celu wykrywanie masowej poczty lub
36 poczty wys³anej do wielu ludzi. Pozwala jednostkom otrzymuj±cym
37 pojedynczy list okre¶liæ, jak wielu innych otrzyma³o dok³adnie
38 identyczne kopie tej wiadomo¶ci i na tej podstawie odrzuciæ j±. Mo¿e
39 zidentyfikowaæ niechcian± masow± pocztê przy u¿yciu "pu³apek
40 antyspamowych" i innych wykrywaczy, ale to nie jest podstawowym celem.
42 DCC mo¿na odbieraæ jako narzêdzie dla u¿ytkowników koñcowych,
43 zapewniaj±ce im prawo do przeciwstawienia siê zalewowi masowej poczty
44 przez odrzucenie wszystkich ¶mieci oprócz ¼róde³ z "bia³ej listy".
45 Za bia³e listy odpowiadaj± klienci DCC, jako ¿e tylko oni wiedz±,
46 jak± masow± pocztê zamawiali.
49 Summary: Tools to access a DCC server
50 Summary(pl): Narzêdzia dostêpowe dla serwera DCC
52 Requires: %{name} >= 1.1.2
55 Distributed Checksum Clearinghouse or DCC is a cooperative,
56 distributed system intended to detect "bulk" mail or mail sent to many
57 people. It allows individuals receiving a single mail message to
58 determine that many other people have been sent essentially identical
59 copies of the message and so reject the message. It can identify some
60 unsolicited bulk mail using "spam traps" and other detectors, but that
63 The DCC can be viewed as a tool for end users to enforce their right
64 to "opt-in" to streams of bulk mail by refusing all bulk mail except
65 from sources in a "white list." White lists are generally the
66 responsibility of DCC clients, since only they know which bulk mail
69 %description -l pl client
70 DCC (Distributed Checksum Clearinghouse) jest kooperatywnym,
71 rozproszonym systemem maj±cym na celu wykrywanie masowej poczty lub
72 poczty wys³anej do wielu ludzi. Pozwala jednostkom otrzymuj±cym
73 pojedynczy list okre¶liæ, jak wielu innych otrzyma³o dok³adnie
74 identyczne kopie tej wiadomo¶ci i na tej podstawie odrzuciæ j±. Mo¿e
75 zidentyfikowaæ niechcian± masow± pocztê przy u¿yciu "pu³apek
76 antyspamowych" i innych wykrywaczy, ale to nie jest podstawowym celem.
78 DCC mo¿na odbieraæ jako narzêdzie dla u¿ytkowników koñcowych,
79 zapewniaj±ce im prawo do przeciwstawienia siê zalewowi masowej poczty
80 przez odrzucenie wszystkich ¶mieci oprócz ¼róde³ z "bia³ej listy".
81 Za bia³e listy odpowiadaj± klienci DCC, jako ¿e tylko oni wiedz±,
82 jak± masow± pocztê zamawiali.
86 Summary(pl): Serwer DCC
88 Requires: %{name} = %{version}
91 Distributed Checksum Clearinghouse or DCC is a cooperative,
92 distributed system intended to detect "bulk" mail or mail sent to many
93 people. It allows individuals receiving a single mail message to
94 determine that many other people have been sent essentially identical
95 copies of the message and so reject the message. It can identify some
96 unsolicited bulk mail using "spam traps" and other detectors, but that
99 The DCC can be viewed as a tool for end users to enforce their right
100 to "opt-in" to streams of bulk mail by refusing all bulk mail except
101 from sources in a "white list." White lists are generally the
102 responsibility of DCC clients, since only they know which bulk mail
105 %description -l pl server
106 DCC (Distributed Checksum Clearinghouse) jest kooperatywnym,
107 rozproszonym systemem maj±cym na celu wykrywanie masowej poczty lub
108 poczty wys³anej do wielu ludzi. Pozwala jednostkom otrzymuj±cym
109 pojedynczy list okre¶liæ, jak wielu innych otrzyma³o dok³adnie
110 identyczne kopie tej wiadomo¶ci i na tej podstawie odrzuciæ j±. Mo¿e
111 zidentyfikowaæ niechcian± masow± pocztê przy u¿yciu "pu³apek
112 antyspamowych" i innych wykrywaczy, ale to nie jest podstawowym celem.
114 DCC mo¿na odbieraæ jako narzêdzie dla u¿ytkowników koñcowych,
115 zapewniaj±ce im prawo do przeciwstawienia siê zalewowi masowej poczty
116 przez odrzucenie wszystkich ¶mieci oprócz ¼róde³ z "bia³ej listy".
117 Za bia³e listy odpowiadaj± klienci DCC, jako ¿e tylko oni wiedz±,
118 jak± masow± pocztê zamawiali.
121 Summary: cgi-scripts for managing mail delivery on a DCC enabled server
122 Summary(pl): Skrypty cgi do obs³ugi dostarczania poczty na serwerze DCC
124 Requires: %{name} = %{version}
127 Example set of cgi-scripts to allow users to point-and-click manage
128 their own DCC whitelists and thus what is delivered to them. Allows
129 overriding of site level lists. The scripts give controlled access to
130 the whitelists which are otherwise in protected directory space (owned
133 NB these scripts need configured after installation.
135 %description cgi -l pl
136 Przyk³adowy zestaw skryptów pozwalaj±cych u¿ytkownikom na klikane
137 zarz±dzenie ich bia³ymi listami DCC, a wiêc i tym, co dostaj±. Pozwala
138 przykrywaæ listy dotycz±ce serwera. Skrypty daj± dostêp do bia³ych
139 list, które normalnie s± w zabezpieczonym katalogu (którego
140 w³a¶cicielem jest DCC).
142 Te skrypty wymagaj± konfiguracji po zainstalowaniu.
149 --prefix=%{_var}/lib/dcc \
151 --with-cgibin=/home/services/httpd/html/cgi-bin \
152 --with-rundir=%{_var}/run \
155 %{__make} -C dccifd/dccif-test
158 rm -rf $RPM_BUILD_ROOT
160 install -d $RPM_BUILD_ROOT%{_initrddir}
161 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cron.daily,httpd}
162 install -d $RPM_BUILD_ROOT/var/run/dcc
163 install -d $RPM_BUILD_ROOT%{dccdir}/{log,userdirs/{local,esmtp,cyrus,procmail}}
164 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir},%{_libdir}}
165 install -d $RPM_BUILD_ROOT%{_includedir}/dcc
167 INST_UID="$( id -u )" INST_GID="$( id -g )"; export INST_UID INST_GID
170 MANOWN=$INST_UID MANGRP=$INST_GID DCC_SUID=$INST_UID DCC_OWN=$INST_UID \
171 DCC_GRP=$INST_GID BINOWN=$INST_UID GRP=$INST_GID INSTALL="install -C" \
172 DCC_PROTO_HOMEDIR=$RPM_BUILD_ROOT%{dccdir} \
173 DCC_CGIBINDIR=$RPM_BUILD_ROOT/home/services/http/html/cgi-bin \
174 DCC_LIBEXECDIR=$RPM_BUILD_ROOT%{_sbindir} \
175 DCC_BINDIR=$RPM_BUILD_ROOT%{_sbindir} \
176 BINDIR=$RPM_BUILD_ROOT%{_bindir} \
177 MANDIR=$RPM_BUILD_ROOT%{_mandir}/man
179 install misc/cron-dccd $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/dccd
180 install misc/rcDCC $RPM_BUILD_ROOT%{_initrddir}/dccd
181 install homedir/flod $RPM_BUILD_ROOT%{dccdir}/flod
183 # move some binaries in place, wierd stuff...
184 for i in dbclean dblist dccd dccifd dccsight wlist; do
185 mv -f $RPM_BUILD_ROOT%{_bindir}/$i $RPM_BUILD_ROOT%{_sbindir}/
187 #mv -f $RPM_BUILD_ROOT%{dccdir}
189 install dccifd/dccif-test/dccif-test $RPM_BUILD_ROOT%{_sbindir}/
190 install dccifd/dccif-test/dccif-test.pl $RPM_BUILD_ROOT%{_sbindir}/
191 install dccifd/dccif.pl $RPM_BUILD_ROOT%{_sbindir}/
193 # Set some initial logging, but no rejections
194 perl -p -i -e "s/BRAND=\$/BRAND=%{version}-%{release}/ ; s/DCCM_LOG_AT=\$/\$&10/ ; " \
195 $RPM_BUILD_ROOT%{dccdir}/dcc_conf
197 # prepare for docs inclusion
198 cp misc/README README.misc
199 cp homedir/README README.homedir
200 cp cgi-bin/README README.cgi-bin
202 # install devel files
203 install dccd/*.h $RPM_BUILD_ROOT%{_includedir}/dcc/
204 install dcclib/*.h $RPM_BUILD_ROOT%{_includedir}/dcc/
205 install include/*.h $RPM_BUILD_ROOT%{_includedir}/dcc/
206 install srvrlib/*.h $RPM_BUILD_ROOT%{_includedir}/dcc/
207 install dcclib/libdcc.a $RPM_BUILD_ROOT%{_libdir}/
208 install srvrlib/libsrvr.a $RPM_BUILD_ROOT%{_libdir}/
209 install thrlib/libthr.a $RPM_BUILD_ROOT%{_libdir}/
212 rm -f $RPM_BUILD_ROOT/var/www/dcc-bin/README
213 rm -f $RPM_BUILD_ROOT%{_sbindir}/rcDCC
214 rm -f $RPM_BUILD_ROOT%{_sbindir}/cron-dccd
215 rm -f $RPM_BUILD_ROOT%{_sbindir}/logger
216 rm -f $RPM_BUILD_ROOT%{_sbindir}/updatedcc
219 rm -rf $RPM_BUILD_ROOT
222 /usr/sbin/useradd -d /var/dcc -r dcc >/dev/null 2>&1 || :
226 /usr/sbin/userdel -r dcc > /dev/null 2>&1 || :
230 /sbin/chkconfig --add dccd || :
231 /sbin/chkconfig --level 016 dccd off || :
233 /usr/bin/cdcc info > %{dccdir}/map.txt || :
236 echo The scripts need configured and added into your web configuration.
237 echo see %{dccdir}/cgi-bin/README
241 /sbin/chkconfig --del dccd || :
242 /etc/rc.d/init.d/dccd stop || :
246 %defattr(644,root,root,755)
249 %dir %{dccdir}/userdirs/local
250 %dir %{dccdir}/userdirs/cyrus
251 %dir %{dccdir}/userdirs/procmail
252 %dir %{dccdir}/userdirs/esmtp
254 %doc CHANGES FAQ.html FAQ.txt INSTALL.html INSTALL.txt LICENSE cdcc.html
255 %doc dbclean.html dblist.html dccd.html dcc.html dccproc.html
256 %doc dccsight.html homedir/flod homedir/ids homedir/map.txt homedir/README
257 %doc misc/dcc.m4 misc/dccdnsbl.m4 misc/hackmc misc/na-spam misc/ng-spam
259 %config(noreplace) %verify(not size mtime md5) %{dccdir}/dcc_conf
260 %config(noreplace) %verify(not size mtime md5) %{dccdir}/whiteclnt
261 %config(noreplace) %verify(not size mtime md5) %{dccdir}/whitecommon
262 %config(noreplace) %verify(not size mtime md5) %{dccdir}/whitelist
263 %config(noreplace) %verify(not size mtime md5) %{dccdir}/ids
264 %config(noreplace) %verify(not size mtime md5) %{dccdir}/flod
265 %attr(600,root,root) %config(noreplace) %verify(not size mtime md5) %{dccdir}/map
266 #%config(noreplace) %verify(not size mtime md5) %{dccdir}/dcc_db
267 #%config(noreplace) %verify(not size mtime md5) %{dccdir}/dcc_db.hash
270 %{dccdir}/grey_whitelist
273 %attr(4755,root,root) %{_bindir}/cdcc
274 %attr(4755,root,root) %{_bindir}/dccproc
275 %{_mandir}/man8/cdcc.8.gz
276 %{_mandir}/man8/dccproc.8.gz
279 %attr(754,root,root) /etc/rc.d/init.d/dccd
280 %attr(750,root,root) /etc/cron.daily/dccd
281 %attr(4755,root,root) %{_sbindir}/dccsight
282 %attr(755,root,root) %{_sbindir}/dbclean
283 %attr(755,root,root) %{_sbindir}/dblist
284 %attr(755,root,root) %{_sbindir}/dcc-stats-collect
285 %attr(755,root,root) %{_sbindir}/dcc-stats-graph
286 %attr(755,root,root) %{_sbindir}/dcc-stats-init
287 %attr(755,root,root) %{_sbindir}/dccd
288 %attr(755,root,root) %{_sbindir}/dccif-test
289 %attr(755,root,root) %{_sbindir}/dccif-test.pl
290 %attr(755,root,root) %{_sbindir}/dccif.pl
291 %attr(755,root,root) %{_sbindir}/dccifd
292 %attr(755,root,root) %{_sbindir}/fetch-testmsg-whitelist
293 %attr(755,root,root) %{_sbindir}/hackmc
294 %attr(755,root,root) %{_sbindir}/na-spam
295 %attr(755,root,root) %{_sbindir}/newwebuser
296 %attr(755,root,root) %{_sbindir}/ng-spam
297 %attr(755,root,root) %{_sbindir}/refeed
298 %attr(755,root,root) %{_sbindir}/wlist
300 #%attr(755,root,root) %{_sbindir}/dccm
301 #%{_datadir}/sendmail-cf/feature/dcc.m4
302 #%{_datadir}/sendmail-cf/feature/dccdnsbl.m4
303 %attr(755,root,root) %{_sbindir}/start-dccd
304 %attr(755,root,root) %{_sbindir}/start-dccifd
305 %attr(755,root,root) %{_sbindir}/start-dccm
306 %attr(755,root,root) %{_sbindir}/start-grey
307 %attr(755,root,root) %{_sbindir}/stats-get
308 %attr(755,root,root) %{_sbindir}/stop-dccd
309 %{_mandir}/man8/dbclean.8.gz
310 %{_mandir}/man8/dblist.8.gz
311 %{_mandir}/man8/dcc.8.gz
312 %{_mandir}/man8/dccd.8.gz
313 %{_mandir}/man8/dccifd.8.gz
314 %{_mandir}/man8/dccm.8.gz
315 %{_mandir}/man8/dccsight.8.gz
318 %defattr(644,root,root,755)
319 %dir /home/services/http/html/cgi-bin
320 /home/services/http/html/cgi-bin/chgpasswd
321 /home/services/http/html/cgi-bin/common
322 /home/services/http/html/cgi-bin/edit-whiteclnt
323 /home/services/http/html/cgi-bin/http2https
324 /home/services/http/html/cgi-bin/list-log
325 /home/services/http/html/cgi-bin/list-msg
326 /home/services/http/html/cgi-bin/README
327 /home/services/http/html/cgi-bin/webuser-notify