Mercurial > notdcc
changeset 2:f6716cb00029
Replace buggy stuff in deb dir, never make phone calls while working
author | Peter Gervai <grin@grin.hu> |
---|---|
date | Tue, 10 Mar 2009 14:29:12 +0100 |
parents | 9b8d79ac0dc3 |
children | b689077d4918 |
files | dcclib/get_port.c debian/README.Debian debian/README.Debian.diff debian/README_SERVER.Debian debian/README_SERVER.Debian.diff debian/changelog debian/changelog.diff debian/compat debian/compat.diff debian/control debian/control.diff debian/copyright debian/copyright.diff debian/dcc-client.init debian/dcc-client.init.diff debian/dcc-client.install debian/dcc-client.install.diff debian/dcc-client.manpages debian/dcc-client.manpages.diff debian/dcc-client.postinst debian/dcc-client.postinst.diff debian/dcc-common.conffile debian/dcc-common.conffile.diff debian/dcc-common.docs debian/dcc-common.docs.diff debian/dcc-common.examples debian/dcc-common.examples.diff debian/dcc-common.install debian/dcc-common.install.diff debian/dcc-common.links debian/dcc-common.links.diff debian/dcc-common.manpages debian/dcc-common.manpages.diff debian/dcc-common.postinst debian/dcc-common.postinst.diff debian/dcc-common.postrm debian/dcc-common.postrm.diff debian/dcc-common.preinst debian/dcc-common.preinst.diff debian/dcc-milter.install debian/dcc-milter.install.diff debian/dcc-milter.manpages debian/dcc-milter.manpages.diff debian/dcc-milter.postinst debian/dcc-milter.postinst.diff debian/dcc-server.cron.daily debian/dcc-server.cron.daily.diff debian/dcc-server.default debian/dcc-server.default.diff debian/dcc-server.init debian/dcc-server.init.diff debian/dcc-server.install debian/dcc-server.install.diff debian/dcc-server.links debian/dcc-server.links.diff debian/dcc-server.manpages debian/dcc-server.manpages.diff debian/debian-whitelist.sh debian/debian-whitelist.sh.diff debian/patches/001_configure.patch debian/patches/001_configure.patch.diff debian/rules debian/rules.diff debian/update-dccmaps debian/update-dccmaps.8 debian/update-dccmaps.8.diff debian/update-dccmaps.diff debian/watch debian/watch.diff debian/whitelist.debian debian/whitelist.debian.diff |
diffstat | 71 files changed, 1510 insertions(+), 1614 deletions(-) [+] |
line wrap: on
line diff
--- a/dcclib/get_port.c Tue Mar 10 14:25:08 2009 +0100 +++ b/dcclib/get_port.c Tue Mar 10 14:29:12 2009 +0100 @@ -652,6 +652,7 @@ #ifndef NO_IPV6 if (sup->sa.sa_family == AF_INET6 && (errno == EPFNOSUPPORT + || errno == EAFNOSUPPORT || errno == EPROTONOSUPPORT)) result = -1; else
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/README.Debian Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,41 @@ +dcc for Debian +-------------- + +To use DCC, you can either run it from procmail, from spamassassin or within +sendmail by using the milterinterface. To use it with procmail, just put + + :0fw : /tmp/.lock.dcc.$LOGNAME + | /usr/bin/dccproc + +in your ~/.procmailrc, and extra headers will be added in the mails +in your mailbox. + +If you want to use it with spamassassin, add + + use_dcc 1 + +to your ~/.spamassassin/user_prefs file. Spamassassin will now perform some +extra online check using one of the public DCC servers. + +To use DCC within sendmail, you have to use dccm, which is supplied from the +dcc-milter package. dcc-milter also includes some m4-file for +sendmail-configuration. dcc-milter is now run by default, so please enable it in +/etc/default/dcc-milter. + +If you want to whitelist debian mailinglists, please run +/usr/share/doc/dcc-common/debian-whitelist.sh, copy resulting file +whitelist.debian to /etc/dcc and modify /etc/dcc/whitelist to include +whitelist.debian. + +DCC requires open firewall ports 6277 udp for incoming and outgoing. For +further documentation about firewalling please also look at + http://www.dcc-servers.net/dcc/dcc-tree/FAQ.html#firewall-ports +and + http://www.rhyolite.com/anti-spam/dcc/firewall.html + +For further documentation, please read dcc (8) man page. + + +Default map and id files are located in /usr/share/dcc. + + -- Martin Zobel-Helas, Sun Nov 14 02:08:19 CET 2004 +0100
--- a/debian/README.Debian.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,44 +0,0 @@ ---- dcc-1.2.74.orig/debian/README.Debian -+++ dcc-1.2.74/debian/README.Debian -@@ -0,0 +1,41 @@ -+dcc for Debian -+-------------- -+ -+To use DCC, you can either run it from procmail, from spamassassin or within -+sendmail by using the milterinterface. To use it with procmail, just put -+ -+ :0fw : /tmp/.lock.dcc.$LOGNAME -+ | /usr/bin/dccproc -+ -+in your ~/.procmailrc, and extra headers will be added in the mails -+in your mailbox. -+ -+If you want to use it with spamassassin, add -+ -+ use_dcc 1 -+ -+to your ~/.spamassassin/user_prefs file. Spamassassin will now perform some -+extra online check using one of the public DCC servers. -+ -+To use DCC within sendmail, you have to use dccm, which is supplied from the -+dcc-milter package. dcc-milter also includes some m4-file for -+sendmail-configuration. dcc-milter is now run by default, so please enable it in -+/etc/default/dcc-milter. -+ -+If you want to whitelist debian mailinglists, please run -+/usr/share/doc/dcc-common/debian-whitelist.sh, copy resulting file -+whitelist.debian to /etc/dcc and modify /etc/dcc/whitelist to include -+whitelist.debian. -+ -+DCC requires open firewall ports 6277 udp for incoming and outgoing. For -+further documentation about firewalling please also look at -+ http://www.dcc-servers.net/dcc/dcc-tree/FAQ.html#firewall-ports -+and -+ http://www.rhyolite.com/anti-spam/dcc/firewall.html -+ -+For further documentation, please read dcc (8) man page. -+ -+ -+Default map and id files are located in /usr/share/dcc. -+ -+ -- Martin Zobel-Helas, Sun Nov 14 02:08:19 CET 2004 +0100
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/README_SERVER.Debian Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,8 @@ +dccd for Debian +-------------- + +dccd is located in /usr/sbin + +all admintools for dccd are located in /usr/lib/dcc + + -- Martin Zobel-Helas, Thu, 15 Jul 2004 18:03:03 +0200
--- a/debian/README_SERVER.Debian.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,11 +0,0 @@ ---- dcc-1.2.74.orig/debian/README_SERVER.Debian -+++ dcc-1.2.74/debian/README_SERVER.Debian -@@ -0,0 +1,8 @@ -+dccd for Debian -+-------------- -+ -+dccd is located in /usr/sbin -+ -+all admintools for dccd are located in /usr/lib/dcc -+ -+ -- Martin Zobel-Helas, Thu, 15 Jul 2004 18:03:03 +0200
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/changelog Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,250 @@ +dcc (1.2.74-4) unstable; urgency=low + + * QA upload. + * Make dcc-common recommend `dcc-client | dcc-server | dcc-milter' + rather than depend on them, to ensure the former is configured + before the latter. Closes: #304237, #365893, #387198. + (`chown dcc.dcc' was quietly fixed in 1.2.74-3.) + * Fix typo in the description of dcc-common. Closes: #363225. + + -- Matej Vela <vela@debian.org> Wed, 13 Sep 2006 06:29:44 +0200 + +dcc (1.2.74-3) unstable; urgency=low + + * QA upload. + * Fixed RC bug "dccifd does not work when IPv6 is not supported by the + kernel". Patch by dean gaudet <dean@arctic.org>. Closes: #376301. + * Fixed "errors in dccifd startup script". Patch by Rene Konasz + <oe4@gmx.at>. Closes: #304236. + * Fixed "Can't purge dcc-common if LDAP is used". Patch by MJ Ray + <mjr@dsl.pipex.com>. Closes: #307672. + + -- Anibal Monsalve Salazar <anibal@debian.org> Wed, 06 Sep 2006 19:23:15 +1000 + +dcc (1.2.74-2) unstable; urgency=high + + * Renamed binary dccm to dcc-milter (Closes: #303323), thanks Frank for + reporting this one. + * removed DH_COMPAT from debian/rules to become lintian clean again + * urgency=high, as we fix an RC bug. + + -- Martin Zobel-Helas <mhelas@helas.net> Wed, 6 Apr 2005 18:04:09 +0200 + +dcc (1.2.74-1) unstable; urgency=low + + * The "Thanks to Marc 'HE' Brockschmidt" release + * New upstream release + * dcc-common depends now on dcc-clinet | dcc-server | dcc-milter + * changed the desicription to be a little bit more useful + * cleaned up debian/copyright and added missing stuff from upstream's + LICENSE + * all documentation is now in /usr/share/doc/dcc-common + other documenation directories now symlink to /usr/share/doc/dcc-common + * cleaned up debian/dcc-common.postrm + * examples are now installed via dh_installexamples + * start dccd with IPv6 per default + * gave a proper DESC in /etc/init.d/dcc-server + + -- Martin Zobel-Helas <mhelas@helas.net> Tue, 22 Mar 2005 15:41:15 +0100 + +dcc (1.2.72-1) unstable; urgency=medium + + * New upstream release. + * Bug fix: "Segfaults on AMD64", thanks to Omniflux (Closes: #297955). + Fixed upstream in 1.2.67. (urgency=medium for that) + * Bug fix: "whitecommon can't be found", thanks to Wiesiek + (Closes: #297342). + + -- Martin Zobel-Helas <mhelas@helas.net> Thu, 3 Mar 2005 22:38:42 +0100 + +dcc (1.2.66-1) unstable; urgency=low + + * New upstream release + CHANGES from upstream: + + Possibly fix dccm crash + + Removed redundant declarations of mapfile_nm and rl_anon as + suggested by Andreas Jochens. (closes: #285622) + + Correct ">XXXX clients" from `cdcc stats` + + Fix accounting of NOPs from blacklisted clients. + + Fix race that caused "??" server-IDs in X-DCC headers. + + Do not count requests from blacklisted clients against the rate + limits + + Overhaul dccd rate-limiting. Instead of imposing a penalty time + on overactive clients, simply rate-limit them. + + Reduce limit on dccd error messages about clients from + 2/second to 0.1/second. + * making /var/lib/dcc/map 0600 dcc.dcc (closes: #284038,#284108), + thanks to Vadim Kutsyy and Lucas Albers for reporting this one. + also testing for user:group of /var/lib/dcc/map in postinst and + adjusting it. + * fixing symlink (closes: #284362), + thanks to Sven Hartge for reporting this stupid mistake. + * According to Policy Section 2.5: Packages MUST NOT depend on + packages with lower priority values. So setting priority to extra. + * changed if-clause from -a to -e in update-dccmaps (closes: #288155) + thanks to Santiago Vila. + * changed rundir from /var/run to /var/run/dcc + * added DH_COMPAT=4 + * moved dccifd from /usr/bin to /usr/sbin and run it as daemon + (closes: #285743) as suggested by Julian Gilbey + + -- Martin Zobel-Helas <mhelas@helas.net> Sun, 2 Jan 2005 05:50:30 +0100 + +dcc (1.2.62-1) unstable; urgency=low + + * New upstream release + Changes form Upstream regarding Linux: + + Fix file descriptor leak in getifaddrs() replacement. + + Extended format to allow authenticated clients to be delayed + as `dccd -U` delays anonymous clients in /var/lib/dcc/ids + + Possibility to limit the size of the database window. + + Fixed broken `dccd -G0`. + + Track changes in network interfaces on most modern flavors of UNIX. + + Fix two MIME decoding bugs. + + Treat '>' as a blank instead of punctuation for FUZ2 checksums. + + Don't re-use va_list in stdargs functions to work around a + characteristic of gcc for AMD 64 bit systems. gcc 64-bit stdargs + reportedly passes va_list by reference instead of by value. + * Dan Weber is no longer maintainer. + * My own patches reside now in debian/patches rather than in diff.gz + * Added symlink from /etc/default/dcc-server to /var/lib/dcc/dcc_conf + (closes: #275554) + * Added missing dccifd + (closes: #277580) + * default map file and default id file reside now in /usr/share/dcc + * added update-maps which properly removes old map files and regenerates + them. (closes: #276259) + * Package should be in better state now. (closes:#278048) + + -- Martin Zobel-Helas <mhelas@helas.net> Sat, 20 Nov 2004 17:51:11 +0100 + +dcc (1.2.54-2) unstable; urgency=medium + + * by Martin Zobel-Helas + + fixed preinst-issue (closes: #274681) + + removed /etc/dcc/dcc_conf from dcc-common + + -- Martin Zobel-Helas <mhelas@helas.net> Mon, 4 Oct 2004 13:04:49 +0200 + +dcc (1.2.54-1) unstable; urgency=low + + * by Martin Zobel-Helas + + New upstream release + - major changes is greylisting protocol. + - newer clients will not work on older (< 1.2.51) greylisting servers, + so update your greylisting server first. + + added dcc-client.docs + + added all d.o-lists to a sample whitelist + + added script to download up2date debian mailing lists + based on Dans regex. + + added upstream CHANGES to /usr/share/doc/dcc-* + + changed Build-Depends: debhelper to newer version + * by Dan Weber + + added regex to get all lists from lists.d.o + * Close RFP and ITP bugs (closes: #164842, #199510) + + -- Martin Zobel-Helas <mhelas@helas.net> Sun, 19 Sep 2004 22:24:47 +0200 + +dcc (1.2.50-2) experimental; urgency=low + + * Dan Weber and Martin Zobel-Helas are now listed as Co-Maintainers + * Added dcc-server (lets pray this works well). + * dcc is now pkg-dcc on alioth. cvs repository on + cvs.alioth.debian.org:/cvsroot/pkg-dcc co dcc + * completly restructured debian/rules by using cdbs + * Removing Superflous blank line in debian/control + (Thanks to Joan Cirer for reporting that one) + * added debconf + * relocated some conffiles from /var/lib/dcc to + /etc/dcc, preinst will promt a warning for that. + * Maintainer set to the Mailing List + + -- Dan Weber <dan@mirrorlynx.com> Thu, 26 Aug 2004 18:56:15 -0400 + +dcc (1.2.50-1) unstable; urgency=low + + * New upstream release + + -- Martin Zobel-Helas <mhelas@helas.net> Wed, 14 Jul 2004 17:42:45 +0200 + +dcc (1.2.43-1) unstable; urgency=low + + * The "Thanks to Jochen" Release + - Closes: #164842, #199510 + This will close the RFP/ITP Bugs in the BTS. + - Standards-Version is now 3.6.1 instead of 3.5.10 + - the empty /var/run is now not included in dcc-client any more. + * New upstream release + - upstream removed --home, --build and --prefix from configure + * Corrected soure code permissions, dcc builds now with pbuilder. + * orig-files are now called *.template, so linda doesn't complain any more. + * whitecommon is now included to dcc-common. + * did the version renumbering as Jochen said. + + -- Martin Zobel-Helas <mhelas@helas.net> Wed, 21 Apr 2004 02:37:24 +0200 + +dcc (1.2.28+0.pre-6) unstable; urgency=low + + * New upstream release + * Did some lintian clean up. + + -- Martin Zobel-Helas <mhelas@helas.net> Mon, 19 Jan 2004 01:19:51 +0100 + +dcc (1.2.27+0.pre-5) unstable; urgency=medium + + * The "Sendmail" Release + dccm, the Sendmail milter interface is now included in the package. As I + don't use sendmail for now, i will need some external help to check + everything is working proprely. + * m4 files are supplied within dcc-milter package's documenation + * Added some documentation to README.Debian about using DCC with sendmail. + * Fixed postinst-skript of dcc-common. + now uses /bin/sh instead of /bin/bash + * Everything is now build in binary-arch + * dcc-client and dcc-milter now depend one dcc-common supplied with the + source package + * dcc-milter conflicts on spamass-milter + For reason look at debian/control + * Added new system user dcc + * /var/lib/dcc/[map|ids] are now private + * All programs are now suid dcc + + -- Martin Zobel-Helas <mhelas@helas.net> Sat, 17 Jan 2004 21:44:12 +0100 + +dcc (1.2.27+0.pre-4) unstable; urgency=low + + * Added some documentation to README.Debian about + - using DCC with procmail + - using DCC with spamassassin + - firewall hints. + * fixed parsing of /var/lib/dcc/ids in installation process. + * /var/lib/dcc/map.txt /var/lib/dcc/map and /var/lib/dcc/ids are now + generated by postinst + This garanties that the passwords for local servers are now generated + different for each installation. + * Local passwords are now not overwritten by update process. + + -- Martin Zobel-Helas <mhelas@helas.net> Mon, 12 Jan 2004 17:34:25 +0100 + +dcc (1.2.27+0.pre-3) unstable; urgency=low + + * Fixed update-problem in dcc-common.postinst + + -- Martin Zobel-Helas <mhelas@helas.net> Sun, 11 Jan 2004 22:02:10 +0100 + +dcc (1.2.27+0.pre-2) unstable; urgency=low + + * The "I am so stupid" upload + Sourcecode should be now included in upload + + -- Martin Zobel-Helas <mhelas@helas.net> Sun, 11 Jan 2004 13:41:05 +0100 + +dcc (1.2.27+0.pre-1) unstable; urgency=low + + * Initial Prerelease version. The packages dcc-common and dcc-client should + work fine. Work for dcc-milter and dcc-server is in progress, so they will + be not published yet. + * USE AT YOUR OWN RISK! + + -- Martin Zobel-Helas <mhelas@helas.net> Fri, 9 Jan 2004 02:44:03 +0100 +
--- a/debian/changelog.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,253 +0,0 @@ ---- dcc-1.2.74.orig/debian/changelog -+++ dcc-1.2.74/debian/changelog -@@ -0,0 +1,250 @@ -+dcc (1.2.74-4) unstable; urgency=low -+ -+ * QA upload. -+ * Make dcc-common recommend `dcc-client | dcc-server | dcc-milter' -+ rather than depend on them, to ensure the former is configured -+ before the latter. Closes: #304237, #365893, #387198. -+ (`chown dcc.dcc' was quietly fixed in 1.2.74-3.) -+ * Fix typo in the description of dcc-common. Closes: #363225. -+ -+ -- Matej Vela <vela@debian.org> Wed, 13 Sep 2006 06:29:44 +0200 -+ -+dcc (1.2.74-3) unstable; urgency=low -+ -+ * QA upload. -+ * Fixed RC bug "dccifd does not work when IPv6 is not supported by the -+ kernel". Patch by dean gaudet <dean@arctic.org>. Closes: #376301. -+ * Fixed "errors in dccifd startup script". Patch by Rene Konasz -+ <oe4@gmx.at>. Closes: #304236. -+ * Fixed "Can't purge dcc-common if LDAP is used". Patch by MJ Ray -+ <mjr@dsl.pipex.com>. Closes: #307672. -+ -+ -- Anibal Monsalve Salazar <anibal@debian.org> Wed, 06 Sep 2006 19:23:15 +1000 -+ -+dcc (1.2.74-2) unstable; urgency=high -+ -+ * Renamed binary dccm to dcc-milter (Closes: #303323), thanks Frank for -+ reporting this one. -+ * removed DH_COMPAT from debian/rules to become lintian clean again -+ * urgency=high, as we fix an RC bug. -+ -+ -- Martin Zobel-Helas <mhelas@helas.net> Wed, 6 Apr 2005 18:04:09 +0200 -+ -+dcc (1.2.74-1) unstable; urgency=low -+ -+ * The "Thanks to Marc 'HE' Brockschmidt" release -+ * New upstream release -+ * dcc-common depends now on dcc-clinet | dcc-server | dcc-milter -+ * changed the desicription to be a little bit more useful -+ * cleaned up debian/copyright and added missing stuff from upstream's -+ LICENSE -+ * all documentation is now in /usr/share/doc/dcc-common -+ other documenation directories now symlink to /usr/share/doc/dcc-common -+ * cleaned up debian/dcc-common.postrm -+ * examples are now installed via dh_installexamples -+ * start dccd with IPv6 per default -+ * gave a proper DESC in /etc/init.d/dcc-server -+ -+ -- Martin Zobel-Helas <mhelas@helas.net> Tue, 22 Mar 2005 15:41:15 +0100 -+ -+dcc (1.2.72-1) unstable; urgency=medium -+ -+ * New upstream release. -+ * Bug fix: "Segfaults on AMD64", thanks to Omniflux (Closes: #297955). -+ Fixed upstream in 1.2.67. (urgency=medium for that) -+ * Bug fix: "whitecommon can't be found", thanks to Wiesiek -+ (Closes: #297342). -+ -+ -- Martin Zobel-Helas <mhelas@helas.net> Thu, 3 Mar 2005 22:38:42 +0100 -+ -+dcc (1.2.66-1) unstable; urgency=low -+ -+ * New upstream release -+ CHANGES from upstream: -+ + Possibly fix dccm crash -+ + Removed redundant declarations of mapfile_nm and rl_anon as -+ suggested by Andreas Jochens. (closes: #285622) -+ + Correct ">XXXX clients" from `cdcc stats` -+ + Fix accounting of NOPs from blacklisted clients. -+ + Fix race that caused "??" server-IDs in X-DCC headers. -+ + Do not count requests from blacklisted clients against the rate -+ limits -+ + Overhaul dccd rate-limiting. Instead of imposing a penalty time -+ on overactive clients, simply rate-limit them. -+ + Reduce limit on dccd error messages about clients from -+ 2/second to 0.1/second. -+ * making /var/lib/dcc/map 0600 dcc.dcc (closes: #284038,#284108), -+ thanks to Vadim Kutsyy and Lucas Albers for reporting this one. -+ also testing for user:group of /var/lib/dcc/map in postinst and -+ adjusting it. -+ * fixing symlink (closes: #284362), -+ thanks to Sven Hartge for reporting this stupid mistake. -+ * According to Policy Section 2.5: Packages MUST NOT depend on -+ packages with lower priority values. So setting priority to extra. -+ * changed if-clause from -a to -e in update-dccmaps (closes: #288155) -+ thanks to Santiago Vila. -+ * changed rundir from /var/run to /var/run/dcc -+ * added DH_COMPAT=4 -+ * moved dccifd from /usr/bin to /usr/sbin and run it as daemon -+ (closes: #285743) as suggested by Julian Gilbey -+ -+ -- Martin Zobel-Helas <mhelas@helas.net> Sun, 2 Jan 2005 05:50:30 +0100 -+ -+dcc (1.2.62-1) unstable; urgency=low -+ -+ * New upstream release -+ Changes form Upstream regarding Linux: -+ + Fix file descriptor leak in getifaddrs() replacement. -+ + Extended format to allow authenticated clients to be delayed -+ as `dccd -U` delays anonymous clients in /var/lib/dcc/ids -+ + Possibility to limit the size of the database window. -+ + Fixed broken `dccd -G0`. -+ + Track changes in network interfaces on most modern flavors of UNIX. -+ + Fix two MIME decoding bugs. -+ + Treat '>' as a blank instead of punctuation for FUZ2 checksums. -+ + Don't re-use va_list in stdargs functions to work around a -+ characteristic of gcc for AMD 64 bit systems. gcc 64-bit stdargs -+ reportedly passes va_list by reference instead of by value. -+ * Dan Weber is no longer maintainer. -+ * My own patches reside now in debian/patches rather than in diff.gz -+ * Added symlink from /etc/default/dcc-server to /var/lib/dcc/dcc_conf -+ (closes: #275554) -+ * Added missing dccifd -+ (closes: #277580) -+ * default map file and default id file reside now in /usr/share/dcc -+ * added update-maps which properly removes old map files and regenerates -+ them. (closes: #276259) -+ * Package should be in better state now. (closes:#278048) -+ -+ -- Martin Zobel-Helas <mhelas@helas.net> Sat, 20 Nov 2004 17:51:11 +0100 -+ -+dcc (1.2.54-2) unstable; urgency=medium -+ -+ * by Martin Zobel-Helas -+ + fixed preinst-issue (closes: #274681) -+ + removed /etc/dcc/dcc_conf from dcc-common -+ -+ -- Martin Zobel-Helas <mhelas@helas.net> Mon, 4 Oct 2004 13:04:49 +0200 -+ -+dcc (1.2.54-1) unstable; urgency=low -+ -+ * by Martin Zobel-Helas -+ + New upstream release -+ - major changes is greylisting protocol. -+ - newer clients will not work on older (< 1.2.51) greylisting servers, -+ so update your greylisting server first. -+ + added dcc-client.docs -+ + added all d.o-lists to a sample whitelist -+ + added script to download up2date debian mailing lists -+ based on Dans regex. -+ + added upstream CHANGES to /usr/share/doc/dcc-* -+ + changed Build-Depends: debhelper to newer version -+ * by Dan Weber -+ + added regex to get all lists from lists.d.o -+ * Close RFP and ITP bugs (closes: #164842, #199510) -+ -+ -- Martin Zobel-Helas <mhelas@helas.net> Sun, 19 Sep 2004 22:24:47 +0200 -+ -+dcc (1.2.50-2) experimental; urgency=low -+ -+ * Dan Weber and Martin Zobel-Helas are now listed as Co-Maintainers -+ * Added dcc-server (lets pray this works well). -+ * dcc is now pkg-dcc on alioth. cvs repository on -+ cvs.alioth.debian.org:/cvsroot/pkg-dcc co dcc -+ * completly restructured debian/rules by using cdbs -+ * Removing Superflous blank line in debian/control -+ (Thanks to Joan Cirer for reporting that one) -+ * added debconf -+ * relocated some conffiles from /var/lib/dcc to -+ /etc/dcc, preinst will promt a warning for that. -+ * Maintainer set to the Mailing List -+ -+ -- Dan Weber <dan@mirrorlynx.com> Thu, 26 Aug 2004 18:56:15 -0400 -+ -+dcc (1.2.50-1) unstable; urgency=low -+ -+ * New upstream release -+ -+ -- Martin Zobel-Helas <mhelas@helas.net> Wed, 14 Jul 2004 17:42:45 +0200 -+ -+dcc (1.2.43-1) unstable; urgency=low -+ -+ * The "Thanks to Jochen" Release -+ - Closes: #164842, #199510 -+ This will close the RFP/ITP Bugs in the BTS. -+ - Standards-Version is now 3.6.1 instead of 3.5.10 -+ - the empty /var/run is now not included in dcc-client any more. -+ * New upstream release -+ - upstream removed --home, --build and --prefix from configure -+ * Corrected soure code permissions, dcc builds now with pbuilder. -+ * orig-files are now called *.template, so linda doesn't complain any more. -+ * whitecommon is now included to dcc-common. -+ * did the version renumbering as Jochen said. -+ -+ -- Martin Zobel-Helas <mhelas@helas.net> Wed, 21 Apr 2004 02:37:24 +0200 -+ -+dcc (1.2.28+0.pre-6) unstable; urgency=low -+ -+ * New upstream release -+ * Did some lintian clean up. -+ -+ -- Martin Zobel-Helas <mhelas@helas.net> Mon, 19 Jan 2004 01:19:51 +0100 -+ -+dcc (1.2.27+0.pre-5) unstable; urgency=medium -+ -+ * The "Sendmail" Release -+ dccm, the Sendmail milter interface is now included in the package. As I -+ don't use sendmail for now, i will need some external help to check -+ everything is working proprely. -+ * m4 files are supplied within dcc-milter package's documenation -+ * Added some documentation to README.Debian about using DCC with sendmail. -+ * Fixed postinst-skript of dcc-common. -+ now uses /bin/sh instead of /bin/bash -+ * Everything is now build in binary-arch -+ * dcc-client and dcc-milter now depend one dcc-common supplied with the -+ source package -+ * dcc-milter conflicts on spamass-milter -+ For reason look at debian/control -+ * Added new system user dcc -+ * /var/lib/dcc/[map|ids] are now private -+ * All programs are now suid dcc -+ -+ -- Martin Zobel-Helas <mhelas@helas.net> Sat, 17 Jan 2004 21:44:12 +0100 -+ -+dcc (1.2.27+0.pre-4) unstable; urgency=low -+ -+ * Added some documentation to README.Debian about -+ - using DCC with procmail -+ - using DCC with spamassassin -+ - firewall hints. -+ * fixed parsing of /var/lib/dcc/ids in installation process. -+ * /var/lib/dcc/map.txt /var/lib/dcc/map and /var/lib/dcc/ids are now -+ generated by postinst -+ This garanties that the passwords for local servers are now generated -+ different for each installation. -+ * Local passwords are now not overwritten by update process. -+ -+ -- Martin Zobel-Helas <mhelas@helas.net> Mon, 12 Jan 2004 17:34:25 +0100 -+ -+dcc (1.2.27+0.pre-3) unstable; urgency=low -+ -+ * Fixed update-problem in dcc-common.postinst -+ -+ -- Martin Zobel-Helas <mhelas@helas.net> Sun, 11 Jan 2004 22:02:10 +0100 -+ -+dcc (1.2.27+0.pre-2) unstable; urgency=low -+ -+ * The "I am so stupid" upload -+ Sourcecode should be now included in upload -+ -+ -- Martin Zobel-Helas <mhelas@helas.net> Sun, 11 Jan 2004 13:41:05 +0100 -+ -+dcc (1.2.27+0.pre-1) unstable; urgency=low -+ -+ * Initial Prerelease version. The packages dcc-common and dcc-client should -+ work fine. Work for dcc-milter and dcc-server is in progress, so they will -+ be not published yet. -+ * USE AT YOUR OWN RISK! -+ -+ -- Martin Zobel-Helas <mhelas@helas.net> Fri, 9 Jan 2004 02:44:03 +0100 -+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/compat Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,1 @@ +4
--- a/debian/compat.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ ---- dcc-1.2.74.orig/debian/compat -+++ dcc-1.2.74/debian/compat -@@ -0,0 +1 @@ -+4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/control Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,72 @@ +Source: dcc +Section: mail +Priority: extra +Maintainer: Debian QA Group <packages@qa.debian.org> +Build-Depends: debhelper (>= 4.1.0), libmilter-dev, cdbs +Standards-Version: 3.7.2 + +Package: dcc-client +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, dcc-common (= ${Source-Version}) +Description: Distributed Checksum Clearinghouse - client programs + This is the DCC client that send checksums to the DCC servers. + . + The DCC or Distributed Checksum Clearinghouse is a system of thousands of + clients and more than 175 servers collecting and counting checksums related + to several tens of million mail messages per day. 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." + . + Homepage: http://www.dcc-servers.net/dcc/ + +Package: dcc-common +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, adduser +Recommends: dcc-client | dcc-server | dcc-milter +Description: Distributed Checksum Clearinghouse - common files + This package contains the common files used by all packages. + . + The DCC or Distributed Checksum Clearinghouse is a system of thousands of + clients and more than 175 servers collecting and counting checksums related + to several tens of million mail messages per day. 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." + . + Homepage: http://www.dcc-servers.net/dcc/ + +Package: dcc-milter +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, sendmail, dcc-common (= ${Source-Version}) +Conflicts: spamass-milter +Description: Distributed Checksum Clearinghouse - sendmail milter plugin + This package contains dccm, a DCC plugin for sendmail. + . + The DCC or Distributed Checksum Clearinghouse is a system of thousands of + clients and more than 175 servers collecting and counting checksums related + to several tens of million mail messages per day. 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." + . + Homepage: http://www.dcc-servers.net/dcc/ + +Package: dcc-server +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, dcc-common (= ${Source-Version}) +Description: Distributed Checksum Clearinghouse - server programs + This is the DCC server that counts the checksums + . + The DCC or Distributed Checksum Clearinghouse is a system of thousands of + clients and more than 175 servers collecting and counting checksums related + to several tens of million mail messages per day. 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." + . + Homepage: http://www.dcc-servers.net/dcc/
--- a/debian/control.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,75 +0,0 @@ ---- dcc-1.2.74.orig/debian/control -+++ dcc-1.2.74/debian/control -@@ -0,0 +1,72 @@ -+Source: dcc -+Section: mail -+Priority: extra -+Maintainer: Debian QA Group <packages@qa.debian.org> -+Build-Depends: debhelper (>= 4.1.0), libmilter-dev, cdbs -+Standards-Version: 3.7.2 -+ -+Package: dcc-client -+Architecture: any -+Depends: ${shlibs:Depends}, ${misc:Depends}, dcc-common (= ${Source-Version}) -+Description: Distributed Checksum Clearinghouse - client programs -+ This is the DCC client that send checksums to the DCC servers. -+ . -+ The DCC or Distributed Checksum Clearinghouse is a system of thousands of -+ clients and more than 175 servers collecting and counting checksums related -+ to several tens of million mail messages per day. 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." -+ . -+ Homepage: http://www.dcc-servers.net/dcc/ -+ -+Package: dcc-common -+Architecture: any -+Depends: ${shlibs:Depends}, ${misc:Depends}, adduser -+Recommends: dcc-client | dcc-server | dcc-milter -+Description: Distributed Checksum Clearinghouse - common files -+ This package contains the common files used by all packages. -+ . -+ The DCC or Distributed Checksum Clearinghouse is a system of thousands of -+ clients and more than 175 servers collecting and counting checksums related -+ to several tens of million mail messages per day. 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." -+ . -+ Homepage: http://www.dcc-servers.net/dcc/ -+ -+Package: dcc-milter -+Architecture: any -+Depends: ${shlibs:Depends}, ${misc:Depends}, sendmail, dcc-common (= ${Source-Version}) -+Conflicts: spamass-milter -+Description: Distributed Checksum Clearinghouse - sendmail milter plugin -+ This package contains dccm, a DCC plugin for sendmail. -+ . -+ The DCC or Distributed Checksum Clearinghouse is a system of thousands of -+ clients and more than 175 servers collecting and counting checksums related -+ to several tens of million mail messages per day. 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." -+ . -+ Homepage: http://www.dcc-servers.net/dcc/ -+ -+Package: dcc-server -+Architecture: any -+Depends: ${shlibs:Depends}, ${misc:Depends}, dcc-common (= ${Source-Version}) -+Description: Distributed Checksum Clearinghouse - server programs -+ This is the DCC server that counts the checksums -+ . -+ The DCC or Distributed Checksum Clearinghouse is a system of thousands of -+ clients and more than 175 servers collecting and counting checksums related -+ to several tens of million mail messages per day. 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." -+ . -+ Homepage: http://www.dcc-servers.net/dcc/
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/copyright Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,38 @@ +This package was debianized by Martin Zobel-Helas <mhelas@helas.net> on +Fri, 9 Jan 2004 02:44:03 +0100. This package is maintained +by Martin Zobel-Helas <mhelas@helas.net>. + +The packaging is licensed under the GPL found in +/usr/share/common-licenses/GPL. + +It was downloaded from http://www.dcc-servers.net/dcc/source/dcc-dccd.tar.Z + +Upstream Author: +Rhyolite Software, http://www.rhyolite.com/ + +Copyright: + * Distributed Checksum Clearinghouse + * + * Copyright (c) 2005 by Rhyolite Software + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND RHYOLITE SOFTWARE DISCLAIMS ALL + * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL RHYOLITE SOFTWARE + * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES + * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, + * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, + * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + * SOFTWARE. + + + * Some parts including dcclib/getopt.c and include/sendmail-sysexits.h + * Copyright (c) 1987, 1993, 1994 + * The Regents of the University of California. All rights reserved. + + * Some other parts including dcclib/inet_ntop.c + * Copyright (c) 1996-1999 by Internet Software Consortium. +
--- a/debian/copyright.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,41 +0,0 @@ ---- dcc-1.2.74.orig/debian/copyright -+++ dcc-1.2.74/debian/copyright -@@ -0,0 +1,38 @@ -+This package was debianized by Martin Zobel-Helas <mhelas@helas.net> on -+Fri, 9 Jan 2004 02:44:03 +0100. This package is maintained -+by Martin Zobel-Helas <mhelas@helas.net>. -+ -+The packaging is licensed under the GPL found in -+/usr/share/common-licenses/GPL. -+ -+It was downloaded from http://www.dcc-servers.net/dcc/source/dcc-dccd.tar.Z -+ -+Upstream Author: -+Rhyolite Software, http://www.rhyolite.com/ -+ -+Copyright: -+ * Distributed Checksum Clearinghouse -+ * -+ * Copyright (c) 2005 by Rhyolite Software -+ * -+ * Permission to use, copy, modify, and distribute this software for any -+ * purpose with or without fee is hereby granted, provided that the above -+ * copyright notice and this permission notice appear in all copies. -+ * -+ * THE SOFTWARE IS PROVIDED "AS IS" AND RHYOLITE SOFTWARE DISCLAIMS ALL -+ * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES -+ * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL RHYOLITE SOFTWARE -+ * BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES -+ * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, -+ * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, -+ * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS -+ * SOFTWARE. -+ -+ -+ * Some parts including dcclib/getopt.c and include/sendmail-sysexits.h -+ * Copyright (c) 1987, 1993, 1994 -+ * The Regents of the University of California. All rights reserved. -+ -+ * Some other parts including dcclib/inet_ntop.c -+ * Copyright (c) 1996-1999 by Internet Software Consortium. -+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/dcc-client.init Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,45 @@ +#!/bin/sh +# +# dcc-client example file to build /etc/init.d/ scripts. +# This file should be used to construct scripts for /etc/init.d. + +PATH=/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/dccifd +NAME=dccifd +DESC="DCC program interface daemon" + +test -f $DAEMON || exit 0 + +set -e + +case "$1" in + start) + echo -n "Starting $DESC: $NAME" + start-stop-daemon --start --quiet --pidfile /var/run/dcc/$NAME.pid \ + --chuid dcc:dcc --exec $DAEMON -- $OPTIONS + echo "." + ;; + stop) + echo -n "Stopping $DESC: $NAME" + start-stop-daemon --oknodo --stop --quiet --exec $DAEMON + echo "." + ;; + restart) + echo -n "Restarting $DESC: $NAME" + start-stop-daemon --stop --quiet --pidfile \ + /var/run/dcc/$NAME.pid --exec $DAEMON + sleep 1 + start-stop-daemon --start --quiet --pidfile \ + /var/run/dcc/$NAME.pid --exec $DAEMON -- $OPTIONS + echo "." + #echo "\n" + ;; + *) + N=/etc/init.d/$NAME + # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $N {start|stop|restart}" >&2 + exit 1 + ;; +esac + +exit 0
--- a/debian/dcc-client.init.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,48 +0,0 @@ ---- dcc-1.2.74.orig/debian/dcc-client.init -+++ dcc-1.2.74/debian/dcc-client.init -@@ -0,0 +1,45 @@ -+#!/bin/sh -+# -+# dcc-client example file to build /etc/init.d/ scripts. -+# This file should be used to construct scripts for /etc/init.d. -+ -+PATH=/sbin:/bin:/usr/sbin:/usr/bin -+DAEMON=/usr/sbin/dccifd -+NAME=dccifd -+DESC="DCC program interface daemon" -+ -+test -f $DAEMON || exit 0 -+ -+set -e -+ -+case "$1" in -+ start) -+ echo -n "Starting $DESC: $NAME" -+ start-stop-daemon --start --quiet --pidfile /var/run/dcc/$NAME.pid \ -+ --chuid dcc:dcc --exec $DAEMON -- $OPTIONS -+ echo "." -+ ;; -+ stop) -+ echo -n "Stopping $DESC: $NAME" -+ start-stop-daemon --oknodo --stop --quiet --exec $DAEMON -+ echo "." -+ ;; -+ restart) -+ echo -n "Restarting $DESC: $NAME" -+ start-stop-daemon --stop --quiet --pidfile \ -+ /var/run/dcc/$NAME.pid --exec $DAEMON -+ sleep 1 -+ start-stop-daemon --start --quiet --pidfile \ -+ /var/run/dcc/$NAME.pid --exec $DAEMON -- $OPTIONS -+ echo "." -+ #echo "\n" -+ ;; -+ *) -+ N=/etc/init.d/$NAME -+ # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 -+ echo "Usage: $N {start|stop|restart}" >&2 -+ exit 1 -+ ;; -+esac -+ -+exit 0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/dcc-client.install Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,3 @@ +dccproc/dccproc usr/bin +dccifd/dccifd usr/sbin +
--- a/debian/dcc-client.install.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,6 +0,0 @@ ---- dcc-1.2.74.orig/debian/dcc-client.install -+++ dcc-1.2.74/debian/dcc-client.install -@@ -0,0 +1,3 @@ -+dccproc/dccproc usr/bin -+dccifd/dccifd usr/sbin -+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/dcc-client.manpages Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,2 @@ +dccproc/dccproc.8 +dccifd/dccifd.8
--- a/debian/dcc-client.manpages.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ ---- dcc-1.2.74.orig/debian/dcc-client.manpages -+++ dcc-1.2.74/debian/dcc-client.manpages -@@ -0,0 +1,2 @@ -+dccproc/dccproc.8 -+dccifd/dccifd.8
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/dcc-client.postinst Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,56 @@ +#! /bin/sh +# postinst script for dcc +# +# see: dh_installdeb(1) + +set +e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + if [ -x /usr/bin/dccproc ]; then + chown dcc:dcc /usr/bin/dccproc + chmod 04755 /usr/bin/dccproc + fi + if [ -x /usr/sbin/dccifd ]; then + chown dcc:dcc /usr/sbin/dccifd + chmod 04755 /usr/sbin/dccifd + fi + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + +
--- a/debian/dcc-client.postinst.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,59 +0,0 @@ ---- dcc-1.2.74.orig/debian/dcc-client.postinst -+++ dcc-1.2.74/debian/dcc-client.postinst -@@ -0,0 +1,56 @@ -+#! /bin/sh -+# postinst script for dcc -+# -+# see: dh_installdeb(1) -+ -+set +e -+ -+# summary of how this script can be called: -+# * <postinst> `configure' <most-recently-configured-version> -+# * <old-postinst> `abort-upgrade' <new version> -+# * <conflictor's-postinst> `abort-remove' `in-favour' <package> -+# <new-version> -+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' -+# <failed-install-package> <version> `removing' -+# <conflicting-package> <version> -+# for details, see http://www.debian.org/doc/debian-policy/ or -+# the debian-policy package -+# -+# quoting from the policy: -+# Any necessary prompting should almost always be confined to the -+# post-installation script, and should be protected with a conditional -+# so that unnecessary prompting doesn't happen if a package's -+# installation fails and the `postinst' is called with `abort-upgrade', -+# `abort-remove' or `abort-deconfigure'. -+ -+case "$1" in -+ configure) -+ if [ -x /usr/bin/dccproc ]; then -+ chown dcc:dcc /usr/bin/dccproc -+ chmod 04755 /usr/bin/dccproc -+ fi -+ if [ -x /usr/sbin/dccifd ]; then -+ chown dcc:dcc /usr/sbin/dccifd -+ chmod 04755 /usr/sbin/dccifd -+ fi -+ -+ ;; -+ -+ abort-upgrade|abort-remove|abort-deconfigure) -+ -+ ;; -+ -+ *) -+ echo "postinst called with unknown argument \`$1'" >&2 -+ exit 1 -+ ;; -+esac -+ -+# dh_installdeb will replace this with shell code automatically -+# generated by other debhelper scripts. -+ -+#DEBHELPER# -+ -+exit 0 -+ -+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/dcc-common.conffile Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,2 @@ +/etc/dcc/whiteclnt +/etc/dcc/whitecommon
--- a/debian/dcc-common.conffile.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ ---- dcc-1.2.74.orig/debian/dcc-common.conffile -+++ dcc-1.2.74/debian/dcc-common.conffile -@@ -0,0 +1,2 @@ -+/etc/dcc/whiteclnt -+/etc/dcc/whitecommon
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/dcc-common.docs Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,4 @@ +FAQ.txt +CHANGES +debian/README.Debian +debian/README_SERVER.Debian
--- a/debian/dcc-common.docs.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ ---- dcc-1.2.74.orig/debian/dcc-common.docs -+++ dcc-1.2.74/debian/dcc-common.docs -@@ -0,0 +1,4 @@ -+FAQ.txt -+CHANGES -+debian/README.Debian -+debian/README_SERVER.Debian
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/dcc-common.examples Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,2 @@ +debian/whitelist.debian +debian/debian-whitelist.sh
--- a/debian/dcc-common.examples.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ ---- dcc-1.2.74.orig/debian/dcc-common.examples -+++ dcc-1.2.74/debian/dcc-common.examples -@@ -0,0 +1,2 @@ -+debian/whitelist.debian -+debian/debian-whitelist.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/dcc-common.install Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,7 @@ +dccsight/dccsight usr/bin +cdcc/cdcc usr/bin +homedir/whiteclnt etc/dcc +homedir/whitecommon etc/dcc +debian/update-dccmaps usr/sbin +homedir/ids /usr/share/dcc +homedir/map.txt /usr/share/dcc
--- a/debian/dcc-common.install.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ ---- dcc-1.2.74.orig/debian/dcc-common.install -+++ dcc-1.2.74/debian/dcc-common.install -@@ -0,0 +1,7 @@ -+dccsight/dccsight usr/bin -+cdcc/cdcc usr/bin -+homedir/whiteclnt etc/dcc -+homedir/whitecommon etc/dcc -+debian/update-dccmaps usr/sbin -+homedir/ids /usr/share/dcc -+homedir/map.txt /usr/share/dcc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/dcc-common.links Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,4 @@ +etc/dcc/ids var/lib/dcc/ids +etc/dcc/map.txt var/lib/dcc/map.txt +etc/dcc/whitecommon var/lib/dcc/whitecommon +
--- a/debian/dcc-common.links.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ ---- dcc-1.2.74.orig/debian/dcc-common.links -+++ dcc-1.2.74/debian/dcc-common.links -@@ -0,0 +1,4 @@ -+etc/dcc/ids var/lib/dcc/ids -+etc/dcc/map.txt var/lib/dcc/map.txt -+etc/dcc/whitecommon var/lib/dcc/whitecommon -+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/dcc-common.manpages Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,4 @@ +dcc.8 +cdcc/cdcc.8 +dccsight/dccsight.8 +debian/update-dccmaps.8
--- a/debian/dcc-common.manpages.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ ---- dcc-1.2.74.orig/debian/dcc-common.manpages -+++ dcc-1.2.74/debian/dcc-common.manpages -@@ -0,0 +1,4 @@ -+dcc.8 -+cdcc/cdcc.8 -+dccsight/dccsight.8 -+debian/update-dccmaps.8
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/dcc-common.postinst Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,120 @@ +#!/bin/sh +# postinst script for dcc +# +# see: dh_installdeb(1) + +set -e + + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. +#SCRIPTSCOMMON# + + +case "$1" in + configure) + # creating dcc group if he isn't already there + if ! getent group dcc >/dev/null; then + echo Adding system group: dcc. + addgroup --system dcc + fi + + # creating dcc user if he isn't already there + if ! getent passwd dcc >/dev/null; then + echo Adding system user: dcc. + adduser --system --ingroup dcc --no-create-home --home /var/lib/dcc dcc + usermod -c "DCC System User" dcc +# usermod -d "/var/lib/dcc" dcc +# usermod -g "dcc" dcc + usermod -s "/bin/false" dcc + fi + + + + + PASSWD1=`ps|cksum|tr ' ' 'xy'` + PASSWD2=`ps|cksum|tr ' ' 'xy'` + if ! [ -d /var/log/dcc ]; then + mkdir -p /var/log/dcc + ln -s /var/log/dcc /var/lib/dcc/log + fi + + if ! [ -f /etc/dcc/ids ]; then + sed -e "s/secret1/$PASSWD1/" -e "s/secret2/$PASSWD2/" /usr/share/dcc/ids > /etc/dcc/ids + chmod 0600 /etc/dcc/ids + chown dcc:dcc /etc/dcc/ids + fi + + if ! [ -f /etc/dcc/map.txt ]; then + sed -e "s/secret1/$PASSWD1/" /usr/share/dcc/map.txt > /etc/dcc/map.txt + /usr/sbin/update-dccmaps + chmod 0600 /etc/dcc/map.txt /var/lib/dcc/map + chown dcc:dcc /var/lib/dcc/map /etc/dcc/map.txt + fi + + if [ `stat -c%U /var/lib/dcc/map` != "dcc" ] || [ `stat -c%G /var/lib/dcc/map` != "dcc" ]; then + chown dcc:dcc /var/lib/dcc/map + fi + + if dpkg --compare-versions "$2" lt "1.2.58-1"; then + rm -f /var/lib/dcc/map + /usr/sbin/update-dccmaps + fi + + + if [ -x /usr/bin/cdcc ]; then + chown dcc:dcc /usr/bin/cdcc + chmod 04755 /usr/bin/cdcc + fi + + if [ -x /usr/bin/dccsight ]; then + chown dcc:dcc /usr/bin/dccsight + chmod 04755 /usr/bin/dccsight + fi + + if [ -d /var/lib/dcc ]; then + chown dcc:dcc /var/lib/dcc + fi + + if ! [ -d /var/run/dcc ]; then + mkdir -p /var/run/dcc + fi + + if [ -d /var/run/dcc ]; then + chown dcc:dcc /var/run/dcc + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + +
--- a/debian/dcc-common.postinst.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,123 +0,0 @@ ---- dcc-1.2.74.orig/debian/dcc-common.postinst -+++ dcc-1.2.74/debian/dcc-common.postinst -@@ -0,0 +1,120 @@ -+#!/bin/sh -+# postinst script for dcc -+# -+# see: dh_installdeb(1) -+ -+set -e -+ -+ -+# summary of how this script can be called: -+# * <postinst> `configure' <most-recently-configured-version> -+# * <old-postinst> `abort-upgrade' <new version> -+# * <conflictor's-postinst> `abort-remove' `in-favour' <package> -+# <new-version> -+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' -+# <failed-install-package> <version> `removing' -+# <conflicting-package> <version> -+# for details, see http://www.debian.org/doc/debian-policy/ or -+# the debian-policy package -+# -+# quoting from the policy: -+# Any necessary prompting should almost always be confined to the -+# post-installation script, and should be protected with a conditional -+# so that unnecessary prompting doesn't happen if a package's -+# installation fails and the `postinst' is called with `abort-upgrade', -+# `abort-remove' or `abort-deconfigure'. -+#SCRIPTSCOMMON# -+ -+ -+case "$1" in -+ configure) -+ # creating dcc group if he isn't already there -+ if ! getent group dcc >/dev/null; then -+ echo Adding system group: dcc. -+ addgroup --system dcc -+ fi -+ -+ # creating dcc user if he isn't already there -+ if ! getent passwd dcc >/dev/null; then -+ echo Adding system user: dcc. -+ adduser --system --ingroup dcc --no-create-home --home /var/lib/dcc dcc -+ usermod -c "DCC System User" dcc -+# usermod -d "/var/lib/dcc" dcc -+# usermod -g "dcc" dcc -+ usermod -s "/bin/false" dcc -+ fi -+ -+ -+ -+ -+ PASSWD1=`ps|cksum|tr ' ' 'xy'` -+ PASSWD2=`ps|cksum|tr ' ' 'xy'` -+ if ! [ -d /var/log/dcc ]; then -+ mkdir -p /var/log/dcc -+ ln -s /var/log/dcc /var/lib/dcc/log -+ fi -+ -+ if ! [ -f /etc/dcc/ids ]; then -+ sed -e "s/secret1/$PASSWD1/" -e "s/secret2/$PASSWD2/" /usr/share/dcc/ids > /etc/dcc/ids -+ chmod 0600 /etc/dcc/ids -+ chown dcc:dcc /etc/dcc/ids -+ fi -+ -+ if ! [ -f /etc/dcc/map.txt ]; then -+ sed -e "s/secret1/$PASSWD1/" /usr/share/dcc/map.txt > /etc/dcc/map.txt -+ /usr/sbin/update-dccmaps -+ chmod 0600 /etc/dcc/map.txt /var/lib/dcc/map -+ chown dcc:dcc /var/lib/dcc/map /etc/dcc/map.txt -+ fi -+ -+ if [ `stat -c%U /var/lib/dcc/map` != "dcc" ] || [ `stat -c%G /var/lib/dcc/map` != "dcc" ]; then -+ chown dcc:dcc /var/lib/dcc/map -+ fi -+ -+ if dpkg --compare-versions "$2" lt "1.2.58-1"; then -+ rm -f /var/lib/dcc/map -+ /usr/sbin/update-dccmaps -+ fi -+ -+ -+ if [ -x /usr/bin/cdcc ]; then -+ chown dcc:dcc /usr/bin/cdcc -+ chmod 04755 /usr/bin/cdcc -+ fi -+ -+ if [ -x /usr/bin/dccsight ]; then -+ chown dcc:dcc /usr/bin/dccsight -+ chmod 04755 /usr/bin/dccsight -+ fi -+ -+ if [ -d /var/lib/dcc ]; then -+ chown dcc:dcc /var/lib/dcc -+ fi -+ -+ if ! [ -d /var/run/dcc ]; then -+ mkdir -p /var/run/dcc -+ fi -+ -+ if [ -d /var/run/dcc ]; then -+ chown dcc:dcc /var/run/dcc -+ fi -+ ;; -+ -+ abort-upgrade|abort-remove|abort-deconfigure) -+ -+ ;; -+ -+ *) -+ echo "postinst called with unknown argument \`$1'" >&2 -+ exit 1 -+ ;; -+esac -+ -+# dh_installdeb will replace this with shell code automatically -+# generated by other debhelper scripts. -+ -+#DEBHELPER# -+ -+exit 0 -+ -+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/dcc-common.postrm Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,54 @@ +#! /bin/sh +# postrm script for dcc +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postrm> `remove' +# * <postrm> `purge' +# * <old-postrm> `upgrade' <new-version> +# * <new-postrm> `failed-upgrade' <old-version> +# * <new-postrm> `abort-install' +# * <new-postrm> `abort-install' <old-version> +# * <new-postrm> `abort-upgrade' <old-version> +# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge) + + rm -rf /var/log/dcc /var/lib/dcc/log /var/lib/dcc/map /var/lib/dcc/map.txt /var/lib/dcc/ids /etc/dcc /var/lib/dcc/whiteclnt /var/lib/dcc /var/run/dcc + + if getent passwd dcc >/dev/null; then + userdel dcc || echo "dcc: Could not remove dcc user" >&2 + fi + + + if getent group dcc >/dev/null; then + groupdel dcc || echo "dcc: Could not remove dcc group" >&2 + fi + + + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0
--- a/debian/dcc-common.postrm.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,57 +0,0 @@ ---- dcc-1.2.74.orig/debian/dcc-common.postrm -+++ dcc-1.2.74/debian/dcc-common.postrm -@@ -0,0 +1,54 @@ -+#! /bin/sh -+# postrm script for dcc -+# -+# see: dh_installdeb(1) -+ -+set -e -+ -+# summary of how this script can be called: -+# * <postrm> `remove' -+# * <postrm> `purge' -+# * <old-postrm> `upgrade' <new-version> -+# * <new-postrm> `failed-upgrade' <old-version> -+# * <new-postrm> `abort-install' -+# * <new-postrm> `abort-install' <old-version> -+# * <new-postrm> `abort-upgrade' <old-version> -+# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> -+# for details, see http://www.debian.org/doc/debian-policy/ or -+# the debian-policy package -+ -+ -+case "$1" in -+ purge) -+ -+ rm -rf /var/log/dcc /var/lib/dcc/log /var/lib/dcc/map /var/lib/dcc/map.txt /var/lib/dcc/ids /etc/dcc /var/lib/dcc/whiteclnt /var/lib/dcc /var/run/dcc -+ -+ if getent passwd dcc >/dev/null; then -+ userdel dcc || echo "dcc: Could not remove dcc user" >&2 -+ fi -+ -+ -+ if getent group dcc >/dev/null; then -+ groupdel dcc || echo "dcc: Could not remove dcc group" >&2 -+ fi -+ -+ -+ ;; -+ -+ remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) -+ -+ -+ ;; -+ -+ *) -+ echo "postrm called with unknown argument \`$1'" >&2 -+ exit 1 -+ -+esac -+ -+# dh_installdeb will replace this with shell code automatically -+# generated by other debhelper scripts. -+ -+#DEBHELPER# -+ -+exit 0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/dcc-common.preinst Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,48 @@ +#! /bin/sh +# preinst script for dcc-common +# +# see: dh_installdeb(1) + +set -e + + +# summary of how this script can be called: +# * <new-preinst> `install' +# * <new-preinst> `install' <old-version> +# * <new-preinst> `upgrade' <old-version> +# * <old-preinst> `abort-upgrade' <new-version> +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# + +case "$1" in + install|upgrade) + if [ "$1" = "upgrade" ]; then + # if the following two files are real file (and no + # symlinks), do + ! test -L /var/lib/dcc/map.txt && mv /var/lib/dcc/map.txt /etc/dcc + ! test -L /var/lib/dcc/ids && mv /var/lib/dcc/ids /etc/dcc + if [ -f /etc/dcc/dcc_conf ]; then + rm -f /etc/dcc/dcc_conf + fi + fi + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + +
--- a/debian/dcc-common.preinst.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,51 +0,0 @@ ---- dcc-1.2.74.orig/debian/dcc-common.preinst -+++ dcc-1.2.74/debian/dcc-common.preinst -@@ -0,0 +1,48 @@ -+#! /bin/sh -+# preinst script for dcc-common -+# -+# see: dh_installdeb(1) -+ -+set -e -+ -+ -+# summary of how this script can be called: -+# * <new-preinst> `install' -+# * <new-preinst> `install' <old-version> -+# * <new-preinst> `upgrade' <old-version> -+# * <old-preinst> `abort-upgrade' <new-version> -+# -+# for details, see http://www.debian.org/doc/debian-policy/ or -+# the debian-policy package -+# -+ -+case "$1" in -+ install|upgrade) -+ if [ "$1" = "upgrade" ]; then -+ # if the following two files are real file (and no -+ # symlinks), do -+ ! test -L /var/lib/dcc/map.txt && mv /var/lib/dcc/map.txt /etc/dcc -+ ! test -L /var/lib/dcc/ids && mv /var/lib/dcc/ids /etc/dcc -+ if [ -f /etc/dcc/dcc_conf ]; then -+ rm -f /etc/dcc/dcc_conf -+ fi -+ fi -+ ;; -+ -+ abort-upgrade) -+ ;; -+ -+ *) -+ echo "preinst called with unknown argument \`$1'" >&2 -+ exit 1 -+ ;; -+esac -+ -+# dh_installdeb will replace this with shell code automatically -+# generated by other debhelper scripts. -+ -+#DEBHELPER# -+ -+exit 0 -+ -+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/dcc-milter.install Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,2 @@ +dccm/dccm usr/bin +misc/*.m4 usr/share/dcc
--- a/debian/dcc-milter.install.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ ---- dcc-1.2.74.orig/debian/dcc-milter.install -+++ dcc-1.2.74/debian/dcc-milter.install -@@ -0,0 +1,2 @@ -+dccm/dccm usr/bin -+misc/*.m4 usr/share/dcc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/dcc-milter.manpages Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,2 @@ +dccm/dccm.8 +
--- a/debian/dcc-milter.manpages.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ ---- dcc-1.2.74.orig/debian/dcc-milter.manpages -+++ dcc-1.2.74/debian/dcc-milter.manpages -@@ -0,0 +1,2 @@ -+dccm/dccm.8 -+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/dcc-milter.postinst Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,52 @@ +#! /bin/sh +# postinst script for dcc +# +# see: dh_installdeb(1) + +set +e + +# summary of how this script can be called: +# * <postinst> `configure' <most-recently-configured-version> +# * <old-postinst> `abort-upgrade' <new version> +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> +# <new-version> +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' +# <failed-install-package> <version> `removing' +# <conflicting-package> <version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + if [ -x /usr/sbin/dccm ]; then + chown dcc:dcc /usr/sbin/dccm + chmod 04755 /usr/sbin/dccm + fi + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + +
--- a/debian/dcc-milter.postinst.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,55 +0,0 @@ ---- dcc-1.2.74.orig/debian/dcc-milter.postinst -+++ dcc-1.2.74/debian/dcc-milter.postinst -@@ -0,0 +1,52 @@ -+#! /bin/sh -+# postinst script for dcc -+# -+# see: dh_installdeb(1) -+ -+set +e -+ -+# summary of how this script can be called: -+# * <postinst> `configure' <most-recently-configured-version> -+# * <old-postinst> `abort-upgrade' <new version> -+# * <conflictor's-postinst> `abort-remove' `in-favour' <package> -+# <new-version> -+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' -+# <failed-install-package> <version> `removing' -+# <conflicting-package> <version> -+# for details, see http://www.debian.org/doc/debian-policy/ or -+# the debian-policy package -+# -+# quoting from the policy: -+# Any necessary prompting should almost always be confined to the -+# post-installation script, and should be protected with a conditional -+# so that unnecessary prompting doesn't happen if a package's -+# installation fails and the `postinst' is called with `abort-upgrade', -+# `abort-remove' or `abort-deconfigure'. -+ -+case "$1" in -+ configure) -+ if [ -x /usr/sbin/dccm ]; then -+ chown dcc:dcc /usr/sbin/dccm -+ chmod 04755 /usr/sbin/dccm -+ fi -+ -+ ;; -+ -+ abort-upgrade|abort-remove|abort-deconfigure) -+ -+ ;; -+ -+ *) -+ echo "postinst called with unknown argument \`$1'" >&2 -+ exit 1 -+ ;; -+esac -+ -+# dh_installdeb will replace this with shell code automatically -+# generated by other debhelper scripts. -+ -+#DEBHELPER# -+ -+exit 0 -+ -+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/dcc-server.cron.daily Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,156 @@ +#! /bin/sh + +# daily DCC cron job + +# This script should be run daily or more often when there is a shortage +# of disk space to run dbclean to discard and compress old checksums. +# It also discards old DCC client log files. + +#. By default it is installed in /usr/lib/dcc. Instead of being copied +# to a directory such as /etc/cron/daily on some systems, a symbolic link +# should be used. + +# Copyright (c) 2004 by Rhyolite Software +# +# Permission to use, copy, modify, and distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND RHYOLITE SOFTWARE DISCLAIMS ALL +# WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES +# OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL RHYOLITE SOFTWARE +# BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES +# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, +# WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, +# ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS +# SOFTWARE. +# Rhyolite Software DCC 1.2.50-1.45 $Revision: 1.1 $ +# Generated automatically from cron-dccd.in by configure. + +exec 1>&2 </dev/null + +DCC_LOGGER="logger -s -p ${DCC_ERROR_LOG_FACILITY-mail.err} -t DCC" +DCC_HOMEDIR=/var/lib/dcc +DEBUG= +QUIET=-q +# check the args once to get the home directory +while getopts "xh:a:" c; do + case $c in + x) set -x; DEBUG=-x; QUIET=;; + h) DCC_HOMEDIR="$OPTARG";; + *) ;; + esac +done +. $DCC_HOMEDIR/dcc_conf +# deal with bash reserved $UID and old versions of dcc_conf +if test 0"$DCC_CONF_VERSION" -lt 2 -a -z "$DCCUID" -a ! -z "$UID"; then + DCCUID="$UID" +fi + +USAGE="`basename $0`: [-x] [-h homedir] [-a args]" +OPTIND=1 +while getopts "xh:a:" c; do + case $c in + x) ;; + h) ;; + a) DBCLEAN_ARGS="$DBCLEAN_ARGS $OPTARG";; + *) eval $DCC_LOGGER "$USAGE"; exit 1;; + esac +done +shift `expr $OPTIND - 1 || true` +if test "$#" -ne 0; then + eval $DCC_LOGGER "$USAGE" + exit 1 +fi + +# make the paths absolute and trim the per day/hour/minute business +LOGDIR=`echo $DCCM_LOGDIR \ + | sed -e "s@^[DHM]?@@" -e "s@^[^/]@$DCC_HOMEDIR/&@"` +USERDIRS=`echo $DCCM_USERDIRS \ + | sed -e "s@^[^/]@$DCC_HOMEDIR/&@"` + +OARGS=64dDGNRPSVqi +DBCLEAN_ARGS="$QUIET -h $DCC_HOMEDIR $DCC_LOG_ARGS $DBCLEAN_ARGS" +GREY_DBCLEAN_ARGS=`echo "$DBCLEAN_ARGS" \ + | sed -e "s/-[eEt][ ]*[^ ]\{1,\}//g" \ + -e "s/\(-[$OARGS]\{1,\}\)[eEt][ ]*[^ ]\{1,\}/\1/g"` + +# Removed old dccm log files. +if test ! -z "$DBCLEAN_LOGDAYS"; then + if test -d "$LOGDIR"; then + find "$LOGDIR" -follow \( -name 'msg.*' -o -name 'tmp.*' \) \ + -mtime +$DBCLEAN_LOGDAYS \ + | xargs /bin/rm -f + # remove empty subdirectories + find "$LOGDIR" -follow -depth -name '[0-9]*' -type d \ + | xargs /bin/rmdir 2>/dev/null + fi + # clean per-user logs + if test "$USERDIRS" != "" -a -d "$USERDIRS"; then + find "$USERDIRS" -follow \( -name 'msg.*' -o -name 'tmp.*' \) \ + -mtime +$DBCLEAN_LOGDAYS \ + | xargs /bin/rm -f + fi +fi + +# Notify users about new log files. +# The file $DCC_LIBEXEC/webuser-notify must be a script that will send +# a suitable message. See the example in the cgi-bin directory. +if test "$USERDIRS" != "" -a -d "$USERDIRS" \ + -a -x $DCC_LIBEXEC/webuser-notify; then + MARKER=$USERDIRS/notify.marker + touch $MARKER.new + if test -r $MARKER; then + NEWER="-newer $MARKER" + else + NEWER= + fi + # Find usernames with a pending message or with a new but not newer + # than new log files + # Avoid newer than new files to ensure we generate at most + # one notification per log file. + find "$USERDIRS" -follow \( -name notify.pending \ + -o \( -name 'msg.*' $NEWER \) \) ! -newer $MARKER.new \ + | sed -n -e 's@.*/\([^/]*/[^/]*\)/log/msg\.[^/]*$@\1@p' \ + -e 's@.*/\([^/]*/[^/]*\)/notify.pending$@\1@p' \ + | sort -u \ + | $DCC_LIBEXEC/webuser-notify $DEBUG -d "$USERDIRS" + + mv -f $MARKER.new $MARKER +fi + + +# trim the greylist database +case X"$GREY_ENABLE" in + [oO][nN]) + GREY_ENABLE=on + ;; + X) + if test ! -z "$GREY_CLIENT_ARGS"; then + GREY_ENABLE=on + fi + ;; +esac +if test ! -z "$GREY_SRVR_ID" -a "$GREY_ENABLE" = on; then + SADDR=`expr "X$GREY_DCCD_ARGS" : ".*-[$OARGS]*a[ ]*\([^ ]*\).*"` + if test ! -z "$SADDR"; then + SADDR="-a $SADDR" + fi + $DCC_LIBEXEC/dbclean -Gon -i $GREY_SRVR_ID $SADDR $GREY_DBCLEAN_ARGS +fi + + +# Delete old checksums from the dccd database if it seems dccd can run. +# For historical reasons, SRVR_ID set and DCCD_ENABLE nul +# turns on dccd +case "$DCCD_ENABLE" in + [oO][fF][fF]) DCCD_ENABLE=off;; + *) DCCD_ENABLE=on;; +esac +if test ! -z "$SRVR_ID" -a "$DCCD_ENABLE" = on; then + SADDR=`expr "X$DCCD_ARGS" : ".*-[$OARGS]*a[ ]*\([^ ]*\).*"` + if test ! -z "$SADDR"; then + SADDR="-a $SADDR" + fi + $DCC_LIBEXEC/dbclean -i $SRVR_ID $SADDR $DBCLEAN_ARGS +fi
--- a/debian/dcc-server.cron.daily.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,159 +0,0 @@ ---- dcc-1.2.74.orig/debian/dcc-server.cron.daily -+++ dcc-1.2.74/debian/dcc-server.cron.daily -@@ -0,0 +1,156 @@ -+#! /bin/sh -+ -+# daily DCC cron job -+ -+# This script should be run daily or more often when there is a shortage -+# of disk space to run dbclean to discard and compress old checksums. -+# It also discards old DCC client log files. -+ -+#. By default it is installed in /usr/lib/dcc. Instead of being copied -+# to a directory such as /etc/cron/daily on some systems, a symbolic link -+# should be used. -+ -+# Copyright (c) 2004 by Rhyolite Software -+# -+# Permission to use, copy, modify, and distribute this software for any -+# purpose with or without fee is hereby granted, provided that the above -+# copyright notice and this permission notice appear in all copies. -+# -+# THE SOFTWARE IS PROVIDED "AS IS" AND RHYOLITE SOFTWARE DISCLAIMS ALL -+# WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES -+# OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL RHYOLITE SOFTWARE -+# BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES -+# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, -+# WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, -+# ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS -+# SOFTWARE. -+# Rhyolite Software DCC 1.2.50-1.45 $Revision: 1.1 $ -+# Generated automatically from cron-dccd.in by configure. -+ -+exec 1>&2 </dev/null -+ -+DCC_LOGGER="logger -s -p ${DCC_ERROR_LOG_FACILITY-mail.err} -t DCC" -+DCC_HOMEDIR=/var/lib/dcc -+DEBUG= -+QUIET=-q -+# check the args once to get the home directory -+while getopts "xh:a:" c; do -+ case $c in -+ x) set -x; DEBUG=-x; QUIET=;; -+ h) DCC_HOMEDIR="$OPTARG";; -+ *) ;; -+ esac -+done -+. $DCC_HOMEDIR/dcc_conf -+# deal with bash reserved $UID and old versions of dcc_conf -+if test 0"$DCC_CONF_VERSION" -lt 2 -a -z "$DCCUID" -a ! -z "$UID"; then -+ DCCUID="$UID" -+fi -+ -+USAGE="`basename $0`: [-x] [-h homedir] [-a args]" -+OPTIND=1 -+while getopts "xh:a:" c; do -+ case $c in -+ x) ;; -+ h) ;; -+ a) DBCLEAN_ARGS="$DBCLEAN_ARGS $OPTARG";; -+ *) eval $DCC_LOGGER "$USAGE"; exit 1;; -+ esac -+done -+shift `expr $OPTIND - 1 || true` -+if test "$#" -ne 0; then -+ eval $DCC_LOGGER "$USAGE" -+ exit 1 -+fi -+ -+# make the paths absolute and trim the per day/hour/minute business -+LOGDIR=`echo $DCCM_LOGDIR \ -+ | sed -e "s@^[DHM]?@@" -e "s@^[^/]@$DCC_HOMEDIR/&@"` -+USERDIRS=`echo $DCCM_USERDIRS \ -+ | sed -e "s@^[^/]@$DCC_HOMEDIR/&@"` -+ -+OARGS=64dDGNRPSVqi -+DBCLEAN_ARGS="$QUIET -h $DCC_HOMEDIR $DCC_LOG_ARGS $DBCLEAN_ARGS" -+GREY_DBCLEAN_ARGS=`echo "$DBCLEAN_ARGS" \ -+ | sed -e "s/-[eEt][ ]*[^ ]\{1,\}//g" \ -+ -e "s/\(-[$OARGS]\{1,\}\)[eEt][ ]*[^ ]\{1,\}/\1/g"` -+ -+# Removed old dccm log files. -+if test ! -z "$DBCLEAN_LOGDAYS"; then -+ if test -d "$LOGDIR"; then -+ find "$LOGDIR" -follow \( -name 'msg.*' -o -name 'tmp.*' \) \ -+ -mtime +$DBCLEAN_LOGDAYS \ -+ | xargs /bin/rm -f -+ # remove empty subdirectories -+ find "$LOGDIR" -follow -depth -name '[0-9]*' -type d \ -+ | xargs /bin/rmdir 2>/dev/null -+ fi -+ # clean per-user logs -+ if test "$USERDIRS" != "" -a -d "$USERDIRS"; then -+ find "$USERDIRS" -follow \( -name 'msg.*' -o -name 'tmp.*' \) \ -+ -mtime +$DBCLEAN_LOGDAYS \ -+ | xargs /bin/rm -f -+ fi -+fi -+ -+# Notify users about new log files. -+# The file $DCC_LIBEXEC/webuser-notify must be a script that will send -+# a suitable message. See the example in the cgi-bin directory. -+if test "$USERDIRS" != "" -a -d "$USERDIRS" \ -+ -a -x $DCC_LIBEXEC/webuser-notify; then -+ MARKER=$USERDIRS/notify.marker -+ touch $MARKER.new -+ if test -r $MARKER; then -+ NEWER="-newer $MARKER" -+ else -+ NEWER= -+ fi -+ # Find usernames with a pending message or with a new but not newer -+ # than new log files -+ # Avoid newer than new files to ensure we generate at most -+ # one notification per log file. -+ find "$USERDIRS" -follow \( -name notify.pending \ -+ -o \( -name 'msg.*' $NEWER \) \) ! -newer $MARKER.new \ -+ | sed -n -e 's@.*/\([^/]*/[^/]*\)/log/msg\.[^/]*$@\1@p' \ -+ -e 's@.*/\([^/]*/[^/]*\)/notify.pending$@\1@p' \ -+ | sort -u \ -+ | $DCC_LIBEXEC/webuser-notify $DEBUG -d "$USERDIRS" -+ -+ mv -f $MARKER.new $MARKER -+fi -+ -+ -+# trim the greylist database -+case X"$GREY_ENABLE" in -+ [oO][nN]) -+ GREY_ENABLE=on -+ ;; -+ X) -+ if test ! -z "$GREY_CLIENT_ARGS"; then -+ GREY_ENABLE=on -+ fi -+ ;; -+esac -+if test ! -z "$GREY_SRVR_ID" -a "$GREY_ENABLE" = on; then -+ SADDR=`expr "X$GREY_DCCD_ARGS" : ".*-[$OARGS]*a[ ]*\([^ ]*\).*"` -+ if test ! -z "$SADDR"; then -+ SADDR="-a $SADDR" -+ fi -+ $DCC_LIBEXEC/dbclean -Gon -i $GREY_SRVR_ID $SADDR $GREY_DBCLEAN_ARGS -+fi -+ -+ -+# Delete old checksums from the dccd database if it seems dccd can run. -+# For historical reasons, SRVR_ID set and DCCD_ENABLE nul -+# turns on dccd -+case "$DCCD_ENABLE" in -+ [oO][fF][fF]) DCCD_ENABLE=off;; -+ *) DCCD_ENABLE=on;; -+esac -+if test ! -z "$SRVR_ID" -a "$DCCD_ENABLE" = on; then -+ SADDR=`expr "X$DCCD_ARGS" : ".*-[$OARGS]*a[ ]*\([^ ]*\).*"` -+ if test ! -z "$SADDR"; then -+ SADDR="-a $SADDR" -+ fi -+ $DCC_LIBEXEC/dbclean -i $SRVR_ID $SADDR $DBCLEAN_ARGS -+fi
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/dcc-server.default Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,126 @@ +# start server with default local ID specified in /etc/dcc/ids +OPTIONS="-i 32702" + +######## +# the following is taken from upstream dcc-conf +######## + +# set parameters for DCC start and cron scripts +# from Rhyolite Software DCC 1.2.50-1.40 $Revision: 1.1 $ +DCC_CONF_VERSION=3 + +# don't set DCC_HOMEDIR since if we got here, it must be set +DCC_LIBEXEC=/usr/lib/dcc +DCC_RUNDIR=/var/run + +# DCC user name +DCCUID=dcc + + +DCCD_ENABLE=off +# DCC server-IDs must be globally unique. +SRVR_ID= +# BRAND can be any short alphanumeric string that hints about the identity +# of the server. +BRAND= +# used to start dccd +# A value for `dccd -t` computed from DCCM_REJECT_AT is assumed to set +# default flooding threshold. +DCCD_ARGS=-6 + + +# Client greylist parameters such as 'on' or 'noIP' +# GREY_CLIENT_ARGS sets the `dccm -G` and `dccifd -G` value +# and turns on the local greylist dccd server unless GREY_ENABLE=off +GREY_CLIENT_ARGS= +# turns local greylist server 'on' or 'off', but does not effect dccm, dccifd +GREY_ENABLE= + +# GREY_SRVR_ID DCC server-IDs must be globally unique, but greylisting dccd +# servers are usually isolated. If you have more than one greylist server, +# ensure that they use distinct server-IDs and that they flood each other +# with entries in /var/dcc/flod +GREY_SRVR_ID=$SRVR_ID +# used to start dccd for grey listing; see also GREY_ENABLE +GREY_DCCD_ARGS=-6 + + +DCCM_ENABLE=on +# used to start dccm +# a common value is +# DCCM_ARGS="-SHELO -Smail_host -SSender -SList-ID" +DCCM_ARGS= +DCCM_LOGDIR=log +DCCM_WHITECLNT=whiteclnt +DCCM_USERDIRS=userdirs +# set DCCM_LOG_AT to a number that determines "bulk mail" for your situation. +# 50 is a typical value. +# Leave DCCM_REJECT_AT blank until you are confident that most sourced of +# solicited bulk mail have been white-listed. Then set it to the number +# that defines "bulk mail" for your site. Note that this rejection +# or "bulk" threshold does not affect the blacklisting effects of the +# DCCM_WHITECLNT white list file. +# Add '-aIGNORE' to DCCM_ARGS to ignore the bulkiness of mail except to +# add X-DCC headers. +DCCM_LOG_AT=5 +DCCM_REJECT_AT= +# override basic list of DCC server checksums controlling rejections or logging +DCCM_CKSUMS= +# additional DCC server checksums worthy of rejections or logging +DCCM_XTRA_CKSUMS= + + +DCCIFD_ENABLE=off +# used to start dccifd +# a common value is +# DCCIFD_ARGS="-SHELO -Smail_host -SSender -SList-ID" +DCCIFD_ARGS= +DCCIFD_LOGDIR="$DCCM_LOGDIR" +DCCIFD_WHITECLNT="$DCCM_WHITECLNT" +DCCIFD_USERDIRS="$DCCM_USERDIRS" +DCCIFD_LOG_AT="$DCCM_LOG_AT" +DCCIFD_REJECT_AT="$DCCM_REJECT_AT" +# override basic list of checksums controlling rejections or logging +DCCIFD_CKSUMS="$DCCM_CKSUMS" +# additional DCC server checksums worthy of rejections or logging +DCCIFD_XTRA_CKSUMS="$DCCM_XTRA_CKSUMS" + +# days to keep files in DCC log directories +DBCLEAN_LOGDAYS=14 +# used to start dbclean, including -e and -E +DBCLEAN_ARGS= + + +# optionally set to something like "local5" or "local5.notice" for +# dccd, dbclean, and dccm +DCC_INFO_LOG_FACILITY= +DCC_ERROR_LOG_FACILITY= + + +# ensure that the log facilities include levels and that $DCC_LOGGER +# has a default. +if test ! -z "$DCC_INFO_LOG_FACILITY"; then + if expr "X$DCC_INFO_LOG_FACILITY" : 'X.*\..*' >/dev/null; then + : + else + DCC_INFO_LOG_FACILITY="$DCC_INFO_LOG_FACILITY.notice" + fi + DCC_LOG_ARGS="$DCC_LOG_ARGS -Linfo,$DCC_INFO_LOG_FACILITY" +fi +if test -z "$DCC_ERROR_LOG_FACILITY"; then + # for $DCC_LOGGER + DCC_ERROR_LOG_FACILITY=mail.err +else + if expr "X$DCC_ERROR_LOG_FACILITY" : 'X.*\..*' >/dev/null; then + : + else + DCC_ERROR_LOG_FACILITY="$DCC_ERROR_LOG_FACILITY.err" + fi + DCC_LOG_ARGS="$DCC_LOG_ARGS -Lerror,$DCC_ERROR_LOG_FACILITY" +fi +DCC_LOGGER="logger -s -p ${DCC_ERROR_LOG_FACILITY-mail.err} -t DCC" + + +# do not change the following +Configure_DCC_LIBEXEC=/usr/lib/dcc +Configure_DCC_RUNDIR=/var/run
--- a/debian/dcc-server.default.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,129 +0,0 @@ ---- dcc-1.2.74.orig/debian/dcc-server.default -+++ dcc-1.2.74/debian/dcc-server.default -@@ -0,0 +1,126 @@ -+# start server with default local ID specified in /etc/dcc/ids -+OPTIONS="-i 32702" -+ -+######## -+# the following is taken from upstream dcc-conf -+######## -+ -+# set parameters for DCC start and cron scripts -+# from Rhyolite Software DCC 1.2.50-1.40 $Revision: 1.1 $ -+DCC_CONF_VERSION=3 -+ -+# don't set DCC_HOMEDIR since if we got here, it must be set -+DCC_LIBEXEC=/usr/lib/dcc -+DCC_RUNDIR=/var/run -+ -+# DCC user name -+DCCUID=dcc -+ -+ -+DCCD_ENABLE=off -+# DCC server-IDs must be globally unique. -+SRVR_ID= -+# BRAND can be any short alphanumeric string that hints about the identity -+# of the server. -+BRAND= -+# used to start dccd -+# A value for `dccd -t` computed from DCCM_REJECT_AT is assumed to set -+# default flooding threshold. -+DCCD_ARGS=-6 -+ -+ -+# Client greylist parameters such as 'on' or 'noIP' -+# GREY_CLIENT_ARGS sets the `dccm -G` and `dccifd -G` value -+# and turns on the local greylist dccd server unless GREY_ENABLE=off -+GREY_CLIENT_ARGS= -+# turns local greylist server 'on' or 'off', but does not effect dccm, dccifd -+GREY_ENABLE= -+ -+# GREY_SRVR_ID DCC server-IDs must be globally unique, but greylisting dccd -+# servers are usually isolated. If you have more than one greylist server, -+# ensure that they use distinct server-IDs and that they flood each other -+# with entries in /var/dcc/flod -+GREY_SRVR_ID=$SRVR_ID -+# used to start dccd for grey listing; see also GREY_ENABLE -+GREY_DCCD_ARGS=-6 -+ -+ -+DCCM_ENABLE=on -+# used to start dccm -+# a common value is -+# DCCM_ARGS="-SHELO -Smail_host -SSender -SList-ID" -+DCCM_ARGS= -+DCCM_LOGDIR=log -+DCCM_WHITECLNT=whiteclnt -+DCCM_USERDIRS=userdirs -+# set DCCM_LOG_AT to a number that determines "bulk mail" for your situation. -+# 50 is a typical value. -+# Leave DCCM_REJECT_AT blank until you are confident that most sourced of -+# solicited bulk mail have been white-listed. Then set it to the number -+# that defines "bulk mail" for your site. Note that this rejection -+# or "bulk" threshold does not affect the blacklisting effects of the -+# DCCM_WHITECLNT white list file. -+# Add '-aIGNORE' to DCCM_ARGS to ignore the bulkiness of mail except to -+# add X-DCC headers. -+DCCM_LOG_AT=5 -+DCCM_REJECT_AT= -+# override basic list of DCC server checksums controlling rejections or logging -+DCCM_CKSUMS= -+# additional DCC server checksums worthy of rejections or logging -+DCCM_XTRA_CKSUMS= -+ -+ -+DCCIFD_ENABLE=off -+# used to start dccifd -+# a common value is -+# DCCIFD_ARGS="-SHELO -Smail_host -SSender -SList-ID" -+DCCIFD_ARGS= -+DCCIFD_LOGDIR="$DCCM_LOGDIR" -+DCCIFD_WHITECLNT="$DCCM_WHITECLNT" -+DCCIFD_USERDIRS="$DCCM_USERDIRS" -+DCCIFD_LOG_AT="$DCCM_LOG_AT" -+DCCIFD_REJECT_AT="$DCCM_REJECT_AT" -+# override basic list of checksums controlling rejections or logging -+DCCIFD_CKSUMS="$DCCM_CKSUMS" -+# additional DCC server checksums worthy of rejections or logging -+DCCIFD_XTRA_CKSUMS="$DCCM_XTRA_CKSUMS" -+ -+# days to keep files in DCC log directories -+DBCLEAN_LOGDAYS=14 -+# used to start dbclean, including -e and -E -+DBCLEAN_ARGS= -+ -+ -+# optionally set to something like "local5" or "local5.notice" for -+# dccd, dbclean, and dccm -+DCC_INFO_LOG_FACILITY= -+DCC_ERROR_LOG_FACILITY= -+ -+ -+# ensure that the log facilities include levels and that $DCC_LOGGER -+# has a default. -+if test ! -z "$DCC_INFO_LOG_FACILITY"; then -+ if expr "X$DCC_INFO_LOG_FACILITY" : 'X.*\..*' >/dev/null; then -+ : -+ else -+ DCC_INFO_LOG_FACILITY="$DCC_INFO_LOG_FACILITY.notice" -+ fi -+ DCC_LOG_ARGS="$DCC_LOG_ARGS -Linfo,$DCC_INFO_LOG_FACILITY" -+fi -+if test -z "$DCC_ERROR_LOG_FACILITY"; then -+ # for $DCC_LOGGER -+ DCC_ERROR_LOG_FACILITY=mail.err -+else -+ if expr "X$DCC_ERROR_LOG_FACILITY" : 'X.*\..*' >/dev/null; then -+ : -+ else -+ DCC_ERROR_LOG_FACILITY="$DCC_ERROR_LOG_FACILITY.err" -+ fi -+ DCC_LOG_ARGS="$DCC_LOG_ARGS -Lerror,$DCC_ERROR_LOG_FACILITY" -+fi -+DCC_LOGGER="logger -s -p ${DCC_ERROR_LOG_FACILITY-mail.err} -t DCC" -+ -+ -+# do not change the following -+Configure_DCC_LIBEXEC=/usr/lib/dcc -+Configure_DCC_RUNDIR=/var/run
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/dcc-server.init Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,51 @@ +#!/bin/sh +# +# dcc-server example file to build /etc/init.d/ scripts. +# This file should be used to construct scripts for /etc/init.d. + +PATH=/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/dccd +NAME=dcc-server +DESC="Distributed Checksum Clearinghouse server" + +test -f $DAEMON || exit 0 + +if [ -f /etc/default/dcc-server ]; then + . /etc/default/dcc-server +else + echo "Missing file /etc/default/dcc-server" + exit 1 +fi + +set -e + +case "$1" in + start) + echo -n "Starting $DESC: $NAME" + start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \ + --chuid dcc:dcc --exec $DAEMON -- $OPTIONS + echo "." + ;; + stop) + echo -n "Stopping $DESC: $NAME" + start-stop-daemon --oknodo --stop --quiet --exec $DAEMON + echo "." + ;; + restart) + echo -n "Restarting $DESC: $NAME" + start-stop-daemon --stop --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON + sleep 1 + start-stop-daemon --start --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON -- $OPTIONS + echo "." + ;; + *) + N=/etc/init.d/$NAME + # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $N {start|stop|restart}" >&2 + exit 1 + ;; +esac + +exit 0
--- a/debian/dcc-server.init.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,54 +0,0 @@ ---- dcc-1.2.74.orig/debian/dcc-server.init -+++ dcc-1.2.74/debian/dcc-server.init -@@ -0,0 +1,51 @@ -+#!/bin/sh -+# -+# dcc-server example file to build /etc/init.d/ scripts. -+# This file should be used to construct scripts for /etc/init.d. -+ -+PATH=/sbin:/bin:/usr/sbin:/usr/bin -+DAEMON=/usr/sbin/dccd -+NAME=dcc-server -+DESC="Distributed Checksum Clearinghouse server" -+ -+test -f $DAEMON || exit 0 -+ -+if [ -f /etc/default/dcc-server ]; then -+ . /etc/default/dcc-server -+else -+ echo "Missing file /etc/default/dcc-server" -+ exit 1 -+fi -+ -+set -e -+ -+case "$1" in -+ start) -+ echo -n "Starting $DESC: $NAME" -+ start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \ -+ --chuid dcc:dcc --exec $DAEMON -- $OPTIONS -+ echo "." -+ ;; -+ stop) -+ echo -n "Stopping $DESC: $NAME" -+ start-stop-daemon --oknodo --stop --quiet --exec $DAEMON -+ echo "." -+ ;; -+ restart) -+ echo -n "Restarting $DESC: $NAME" -+ start-stop-daemon --stop --quiet --pidfile \ -+ /var/run/$NAME.pid --exec $DAEMON -+ sleep 1 -+ start-stop-daemon --start --quiet --pidfile \ -+ /var/run/$NAME.pid --exec $DAEMON -- $OPTIONS -+ echo "." -+ ;; -+ *) -+ N=/etc/init.d/$NAME -+ # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 -+ echo "Usage: $N {start|stop|restart}" >&2 -+ exit 1 -+ ;; -+esac -+ -+exit 0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/dcc-server.install Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,7 @@ +dccd/dccd usr/sbin +dblist/dblist usr/lib/dcc +dbclean/dbclean usr/lib/dcc +homedir/flod etc/dcc +homedir/grey_flod etc/dcc +homedir/grey_whitelist etc/dcc +homedir/whitelist etc/dcc
--- a/debian/dcc-server.install.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ ---- dcc-1.2.74.orig/debian/dcc-server.install -+++ dcc-1.2.74/debian/dcc-server.install -@@ -0,0 +1,7 @@ -+dccd/dccd usr/sbin -+dblist/dblist usr/lib/dcc -+dbclean/dbclean usr/lib/dcc -+homedir/flod etc/dcc -+homedir/grey_flod etc/dcc -+homedir/grey_whitelist etc/dcc -+homedir/whitelist etc/dcc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/dcc-server.links Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,6 @@ +etc/dcc/whitelist var/lib/dcc/whitelist +etc/dcc/flod var/lib/dcc/flod +etc/dcc/grey_whitelist var/lib/dcc/grey_whitelist +etc/dcc/grey_flod var/lib/dcc/grey_flod +etc/default/dcc-server etc/dcc/dcc_conf +etc/default/dcc-server var/lib/dcc/dcc_conf
--- a/debian/dcc-server.links.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,9 +0,0 @@ ---- dcc-1.2.74.orig/debian/dcc-server.links -+++ dcc-1.2.74/debian/dcc-server.links -@@ -0,0 +1,6 @@ -+etc/dcc/whitelist var/lib/dcc/whitelist -+etc/dcc/flod var/lib/dcc/flod -+etc/dcc/grey_whitelist var/lib/dcc/grey_whitelist -+etc/dcc/grey_flod var/lib/dcc/grey_flod -+etc/default/dcc-server etc/dcc/dcc_conf -+etc/default/dcc-server var/lib/dcc/dcc_conf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/dcc-server.manpages Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,4 @@ +dccd/dccd.8 +dblist/dblist.8 +dbclean/dbclean.8 +
--- a/debian/dcc-server.manpages.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ ---- dcc-1.2.74.orig/debian/dcc-server.manpages -+++ dcc-1.2.74/debian/dcc-server.manpages -@@ -0,0 +1,4 @@ -+dccd/dccd.8 -+dblist/dblist.8 -+dbclean/dbclean.8 -+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/debian-whitelist.sh Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,39 @@ +#!/bin/bash +# +# debian-whitelist.sh - get up2date list information from +# lists.debian.org +# +# Copyright (C) 2004 Martin Zobel-Helas <mhelas@helas.net> +# and Dan Weber <dan@mirrorlynx.com> +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software Foundation, +# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# + +if [ -f whitelist.debian ]; then + rm -f whitelist.debian +fi +# set date somewhere in the file to track up2dateness. +DATE=`date +%c` +echo "# last update: $DATE" > whitelist.debian + +for t in `wget -q http://lists.debian.org/completeindex.html -O- | grep "<li><a" | sed -re 's/<[^>]+>//g'`;do + if [ $t != "whitelist" ]; then + echo "ok env_from $t@lists.debian.org" >> whitelist.debian + fi +done + +# return a true value +exit 0 +
--- a/debian/debian-whitelist.sh.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,42 +0,0 @@ ---- dcc-1.2.74.orig/debian/debian-whitelist.sh -+++ dcc-1.2.74/debian/debian-whitelist.sh -@@ -0,0 +1,39 @@ -+#!/bin/bash -+# -+# debian-whitelist.sh - get up2date list information from -+# lists.debian.org -+# -+# Copyright (C) 2004 Martin Zobel-Helas <mhelas@helas.net> -+# and Dan Weber <dan@mirrorlynx.com> -+# -+# This program is free software; you can redistribute it and/or modify -+# it under the terms of the GNU General Public License as published by -+# the Free Software Foundation; either version 2, or (at your option) -+# any later version. -+# -+# This program is distributed in the hope that it will be useful, -+# but WITHOUT ANY WARRANTY; without even the implied warranty of -+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -+# GNU General Public License for more details. -+# -+# You should have received a copy of the GNU General Public License -+# along with this program; if not, write to the Free Software Foundation, -+# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -+# -+ -+if [ -f whitelist.debian ]; then -+ rm -f whitelist.debian -+fi -+# set date somewhere in the file to track up2dateness. -+DATE=`date +%c` -+echo "# last update: $DATE" > whitelist.debian -+ -+for t in `wget -q http://lists.debian.org/completeindex.html -O- | grep "<li><a" | sed -re 's/<[^>]+>//g'`;do -+ if [ $t != "whitelist" ]; then -+ echo "ok env_from $t@lists.debian.org" >> whitelist.debian -+ fi -+done -+ -+# return a true value -+exit 0 -+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/patches/001_configure.patch Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,19 @@ +--- configure.orig 2004-11-08 13:54:56.000000000 +0100 ++++ configure 2004-11-08 13:55:18.000000000 +0100 +@@ -3471,12 +3471,12 @@ + + + +-sed -e 's@\(HREF="[^"]*\)\.in">@\1">@' INSTALL.html > INSTALL.html$$ +-rm INSTALL.html; mv INSTALL.html$$ INSTALL.html ++#sed -e 's@\(HREF="[^"]*\)\.in">@\1">@' INSTALL.html > INSTALL.html$$ ++#rm INSTALL.html; mv INSTALL.html$$ INSTALL.html + + +-sed -e 's@\(HREF="[^"]*\)\.in">@\1">@' FAQ.html > FAQ.html$$ +-rm FAQ.html; mv FAQ.html$$ FAQ.html ++#sed -e 's@\(HREF="[^"]*\)\.in">@\1">@' FAQ.html > FAQ.html$$ ++#rm FAQ.html; mv FAQ.html$$ FAQ.html + + +
--- a/debian/patches/001_configure.patch.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ ---- dcc-1.2.74.orig/debian/patches/001_configure.patch -+++ dcc-1.2.74/debian/patches/001_configure.patch -@@ -0,0 +1,19 @@ -+--- configure.orig 2004-11-08 13:54:56.000000000 +0100 -++++ configure 2004-11-08 13:55:18.000000000 +0100 -+@@ -3471,12 +3471,12 @@ -+ -+ -+ -+-sed -e 's@\(HREF="[^"]*\)\.in">@\1">@' INSTALL.html > INSTALL.html$$ -+-rm INSTALL.html; mv INSTALL.html$$ INSTALL.html -++#sed -e 's@\(HREF="[^"]*\)\.in">@\1">@' INSTALL.html > INSTALL.html$$ -++#rm INSTALL.html; mv INSTALL.html$$ INSTALL.html -+ -+ -+-sed -e 's@\(HREF="[^"]*\)\.in">@\1">@' FAQ.html > FAQ.html$$ -+-rm FAQ.html; mv FAQ.html$$ FAQ.html -++#sed -e 's@\(HREF="[^"]*\)\.in">@\1">@' FAQ.html > FAQ.html$$ -++#rm FAQ.html; mv FAQ.html$$ FAQ.html -+ -+ -+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/rules Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,37 @@ +#!/usr/bin/make -f +# Copyright Dan Weber <dan@mirrorlynx.com> GPL 2004 +# modified by Martin Zobel-Helas <mhelas@helas.net> 2004 + +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +export DH_VERBOSE=1 + +clean:: + find . -iname \*.in | sed -e "s/\.in$$//" | xargs rm -f + +DEB_CONFIGURE_NORMAL_ARGS := --libexecdir=/usr/lib/dcc + +DEB_CONFIGURE_EXTRA_FLAGS := --mandir=/usr/share/man \ + --with-rundir=/var/run/dcc \ + --homedir=/var/lib/dcc \ + --with-uid=dcc + +DEB_MAKE_CLEAN_TARGET := clean + +DEB_MAKE_INSTALL_TARGET := + +binary-post-install/dcc-client:: + rm -rf debian/dcc-client/usr/share/doc/dcc-client/ + dh_link -pdcc-client usr/share/doc/dcc-common usr/share/doc/dcc-client + +binary-post-install/dcc-server:: + rm -rf debian/dcc-server/usr/share/doc/dcc-server/ + dh_link -pdcc-server usr/share/doc/dcc-common usr/share/doc/dcc-server + +binary-post-install/dcc-milter:: + mv debian/dcc-milter/usr/bin/dccm debian/dcc-milter/usr/bin/dcc-milter + mv debian/dcc-milter/usr/share/man/man8/dccm.8 debian/dcc-milter/usr/share/man/man8/dcc-milter.8 + rm -rf debian/dcc-milter/usr/share/doc/dcc-milter/ + dh_link -pdcc-milter usr/share/doc/dcc-common usr/share/doc/dcc-milter
--- a/debian/rules.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,40 +0,0 @@ ---- dcc-1.2.74.orig/debian/rules -+++ dcc-1.2.74/debian/rules -@@ -0,0 +1,37 @@ -+#!/usr/bin/make -f -+# Copyright Dan Weber <dan@mirrorlynx.com> GPL 2004 -+# modified by Martin Zobel-Helas <mhelas@helas.net> 2004 -+ -+include /usr/share/cdbs/1/rules/simple-patchsys.mk -+include /usr/share/cdbs/1/rules/debhelper.mk -+include /usr/share/cdbs/1/class/autotools.mk -+ -+export DH_VERBOSE=1 -+ -+clean:: -+ find . -iname \*.in | sed -e "s/\.in$$//" | xargs rm -f -+ -+DEB_CONFIGURE_NORMAL_ARGS := --libexecdir=/usr/lib/dcc -+ -+DEB_CONFIGURE_EXTRA_FLAGS := --mandir=/usr/share/man \ -+ --with-rundir=/var/run/dcc \ -+ --homedir=/var/lib/dcc \ -+ --with-uid=dcc -+ -+DEB_MAKE_CLEAN_TARGET := clean -+ -+DEB_MAKE_INSTALL_TARGET := -+ -+binary-post-install/dcc-client:: -+ rm -rf debian/dcc-client/usr/share/doc/dcc-client/ -+ dh_link -pdcc-client usr/share/doc/dcc-common usr/share/doc/dcc-client -+ -+binary-post-install/dcc-server:: -+ rm -rf debian/dcc-server/usr/share/doc/dcc-server/ -+ dh_link -pdcc-server usr/share/doc/dcc-common usr/share/doc/dcc-server -+ -+binary-post-install/dcc-milter:: -+ mv debian/dcc-milter/usr/bin/dccm debian/dcc-milter/usr/bin/dcc-milter -+ mv debian/dcc-milter/usr/share/man/man8/dccm.8 debian/dcc-milter/usr/share/man/man8/dcc-milter.8 -+ rm -rf debian/dcc-milter/usr/share/doc/dcc-milter/ -+ dh_link -pdcc-milter usr/share/doc/dcc-common usr/share/doc/dcc-milter
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/update-dccmaps Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,22 @@ +#!/bin/sh +# +# (c) 2004 by Martin Zobel-Helas +# this piece of code is published under the +# GNU General Public License + + +set -e +echo -n "Updating DCC map" +if [ -e /etc/dcc/map.txt ]; then + if [ -e /var/lib/dcc/map ]; then + rm -f /var/lib/dcc/map + /usr/bin/cdcc -qh /var/lib/dcc 'new map; load -; info' < /etc/dcc/map.txt > /dev/null + chown dcc:dcc /var/lib/dcc/map + chmod 0600 /var/lib/dcc/map + else + /usr/bin/cdcc -qh /var/lib/dcc 'new map; load -; info' < /etc/dcc/map.txt > /dev/null + chown dcc:dcc /var/lib/dcc/map + chmod 0600 /var/lib/dcc/map + fi +fi +echo "."
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/update-dccmaps.8 Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,26 @@ +.\"Created with GNOME Manpages Editor Wizard +.\"http://gmanedit.sourceforge.net +.\"Sergio Rua <srua@gpul.org> +.\" +.TH update-dccmaps 8 "November 20th, 2004" + +.SH NAME +update-dccmaps \- regenerate DCC map-file + +.SH SYNOPSIS +.B update-dccmaps +.RI [\ no\ parameters\ ] +.br + +.SH DESCRIPTION +.B update-dccmaps +regenerates /var/lib/dcc/map file from /etc/dcc/map.txt + +.SH BUGS +None known. If you find some, please report to Martin Zobel-Helas <mhelas@helas.net>. + +.SH SEE ALSO +dccd(8) + +.SH AUTHOR +Martin Zobel-Helas <mhelas@helas.net>
--- a/debian/update-dccmaps.8.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,29 +0,0 @@ ---- dcc-1.2.74.orig/debian/update-dccmaps.8 -+++ dcc-1.2.74/debian/update-dccmaps.8 -@@ -0,0 +1,26 @@ -+.\"Created with GNOME Manpages Editor Wizard -+.\"http://gmanedit.sourceforge.net -+.\"Sergio Rua <srua@gpul.org> -+.\" -+.TH update-dccmaps 8 "November 20th, 2004" -+ -+.SH NAME -+update-dccmaps \- regenerate DCC map-file -+ -+.SH SYNOPSIS -+.B update-dccmaps -+.RI [\ no\ parameters\ ] -+.br -+ -+.SH DESCRIPTION -+.B update-dccmaps -+regenerates /var/lib/dcc/map file from /etc/dcc/map.txt -+ -+.SH BUGS -+None known. If you find some, please report to Martin Zobel-Helas <mhelas@helas.net>. -+ -+.SH SEE ALSO -+dccd(8) -+ -+.SH AUTHOR -+Martin Zobel-Helas <mhelas@helas.net>
--- a/debian/update-dccmaps.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ ---- dcc-1.2.74.orig/debian/update-dccmaps -+++ dcc-1.2.74/debian/update-dccmaps -@@ -0,0 +1,22 @@ -+#!/bin/sh -+# -+# (c) 2004 by Martin Zobel-Helas -+# this piece of code is published under the -+# GNU General Public License -+ -+ -+set -e -+echo -n "Updating DCC map" -+if [ -e /etc/dcc/map.txt ]; then -+ if [ -e /var/lib/dcc/map ]; then -+ rm -f /var/lib/dcc/map -+ /usr/bin/cdcc -qh /var/lib/dcc 'new map; load -; info' < /etc/dcc/map.txt > /dev/null -+ chown dcc:dcc /var/lib/dcc/map -+ chmod 0600 /var/lib/dcc/map -+ else -+ /usr/bin/cdcc -qh /var/lib/dcc 'new map; load -; info' < /etc/dcc/map.txt > /dev/null -+ chown dcc:dcc /var/lib/dcc/map -+ chmod 0600 /var/lib/dcc/map -+ fi -+fi -+echo "."
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/watch Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,6 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +version=2 +http://www.dcc-servers.net/dcc/source/dcc-dccd-(.*)\.tar\.Z debian uupdate
--- a/debian/watch.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,9 +0,0 @@ ---- dcc-1.2.74.orig/debian/watch -+++ dcc-1.2.74/debian/watch -@@ -0,0 +1,6 @@ -+# Example watch control file for uscan -+# Rename this file to "watch" and then you can run the "uscan" command -+# to check for upstream updates and more. -+# Site Directory Pattern Version Script -+version=2 -+http://www.dcc-servers.net/dcc/source/dcc-dccd-(.*)\.tar\.Z debian uupdate
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/whitelist.debian Tue Mar 10 14:29:12 2009 +0100 @@ -0,0 +1,193 @@ +# last update: Fri Sep 17 01:47:08 2004 +ok env_from cdwrite@lists.debian.org +ok env_from debian-68k@lists.debian.org +ok env_from debian-accessibility@lists.debian.org +ok env_from debian-admin@lists.debian.org +ok env_from debian-admintool@lists.debian.org +ok env_from debian-all-changes@lists.debian.org +ok env_from debian-alpha@lists.debian.org +ok env_from debian-alpha-changes@lists.debian.org +ok env_from debian-amd64@lists.debian.org +ok env_from debian-announce@lists.debian.org +ok env_from debian-apache@lists.debian.org +ok env_from debian-arm@lists.debian.org +ok env_from debian-arm-changes@lists.debian.org +ok env_from debian-autobuild@lists.debian.org +ok env_from debian-beowulf@lists.debian.org +ok env_from debian-books@lists.debian.org +ok env_from debian-boot@lists.debian.org +ok env_from debian-bsd@lists.debian.org +ok env_from debian-bugs-closed@lists.debian.org +ok env_from debian-bugs-dist@lists.debian.org +ok env_from debian-bugs-forwarded@lists.debian.org +ok env_from debian-bugs-rc@lists.debian.org +ok env_from debian-cd@lists.debian.org +ok env_from debian-cd-vendors@lists.debian.org +ok env_from debian-changes@lists.debian.org +ok env_from debian-chinese@lists.debian.org +ok env_from debian-chinese-big5@lists.debian.org +ok env_from debian-chinese-gb@lists.debian.org +ok env_from debian-commercial@lists.debian.org +ok env_from debian-consultants@lists.debian.org +ok env_from debian-ctte@lists.debian.org +ok env_from debian-ctte-private@lists.debian.org +ok env_from debian-curiosa@lists.debian.org +ok env_from debian-custom@lists.debian.org +ok env_from debian-debbugs@lists.debian.org +ok env_from debian-debbugs-cvs@lists.debian.org +ok env_from debian-desktop@lists.debian.org +ok env_from debian-devel@lists.debian.org +ok env_from debian-devel-all-changes@lists.debian.org +ok env_from debian-devel-alpha-changes@lists.debian.org +ok env_from debian-devel-announce@lists.debian.org +ok env_from debian-devel-arm-changes@lists.debian.org +ok env_from debian-devel-austrian@lists.debian.org +ok env_from debian-devel-changes@lists.debian.org +ok env_from debian-devel-french@lists.debian.org +ok env_from debian-devel-games@lists.debian.org +ok env_from debian-devel-hurd-i386-changes@lists.debian.org +ok env_from debian-devel-i386-changes@lists.debian.org +ok env_from debian-devel-italian@lists.debian.org +ok env_from debian-devel-m68k-changes@lists.debian.org +ok env_from debian-devel-portuguese@lists.debian.org +ok env_from debian-devel-powerpc-changes@lists.debian.org +ok env_from debian-devel-s390-changes@lists.debian.org +ok env_from debian-devel-spanish@lists.debian.org +ok env_from debian-devel-sparc-changes@lists.debian.org +ok env_from debian-doc@lists.debian.org +ok env_from debian-dpkg@lists.debian.org +ok env_from debian-dpkg-bugs@lists.debian.org +ok env_from debian-dpkg-cvs@lists.debian.org +ok env_from debian-edu@lists.debian.org +ok env_from debian-emacsen@lists.debian.org +ok env_from debian-email@lists.debian.org +ok env_from debian-embedded@lists.debian.org +ok env_from debian-esperanto@lists.debian.org +ok env_from debian-events-eu@lists.debian.org +ok env_from debian-events-na@lists.debian.org +ok env_from debian-faq@lists.debian.org +ok env_from debian-firewall@lists.debian.org +ok env_from debian-french@lists.debian.org +ok env_from debian-gcc@lists.debian.org +ok env_from debian-glibc@lists.debian.org +ok env_from debian-gtk-gnome@lists.debian.org +ok env_from debian-hams@lists.debian.org +ok env_from debian-handheld@lists.debian.org +ok env_from debian-hppa@lists.debian.org +ok env_from debian-hurd@lists.debian.org +ok env_from debian-hurd-i386-changes@lists.debian.org +ok env_from debian-i18n@lists.debian.org +ok env_from debian-i386-changes@lists.debian.org +ok env_from debian-ia64@lists.debian.org +ok env_from debian-ipv6@lists.debian.org +ok env_from debian-isp@lists.debian.org +ok env_from debian-italian@lists.debian.org +ok env_from debian-japanese@lists.debian.org +ok env_from debian-java@lists.debian.org +ok env_from debian-jobs@lists.debian.org +ok env_from debian-jr@lists.debian.org +ok env_from debian-kde@lists.debian.org +ok env_from debian-kernel@lists.debian.org +ok env_from debian-l10n-catalan@lists.debian.org +ok env_from debian-l10n-danish@lists.debian.org +ok env_from debian-l10n-dutch@lists.debian.org +ok env_from debian-l10n-english@lists.debian.org +ok env_from debian-l10n-finnish@lists.debian.org +ok env_from debian-l10n-french@lists.debian.org +ok env_from debian-l10n-german@lists.debian.org +ok env_from debian-l10n-greek@lists.debian.org +ok env_from debian-l10n-hungarian@lists.debian.org +ok env_from debian-l10n-italian@lists.debian.org +ok env_from debian-l10n-polish@lists.debian.org +ok env_from debian-l10n-portuguese@lists.debian.org +ok env_from debian-l10n-russian@lists.debian.org +ok env_from debian-l10n-spanish@lists.debian.org +ok env_from debian-l10n-turkish@lists.debian.org +ok env_from debian-laespiral@lists.debian.org +ok env_from debian-laptop@lists.debian.org +ok env_from debian-legal@lists.debian.org +ok env_from debian-lex@lists.debian.org +ok env_from debian-lint-maint@lists.debian.org +ok env_from debian-lsb@lists.debian.org +ok env_from debian-m68k-changes@lists.debian.org +ok env_from debian-med@lists.debian.org +ok env_from debian-mentors@lists.debian.org +ok env_from debian-mips@lists.debian.org +ok env_from debian-mirrors@lists.debian.org +ok env_from debian-multimedia@lists.debian.org +ok env_from debian-newmaint@lists.debian.org +ok env_from debian-newmaint-admin@lists.debian.org +ok env_from debian-newmaint-discuss@lists.debian.org +ok env_from debian-news@lists.debian.org +ok env_from debian-news-french@lists.debian.org +ok env_from debian-news-german@lists.debian.org +ok env_from debian-news-portuguese@lists.debian.org +ok env_from debian-nonprofit@lists.debian.org +ok env_from debian-ocaml-maint@lists.debian.org +ok env_from debian-openoffice@lists.debian.org +ok env_from debian-parisc@lists.debian.org +ok env_from debian-perl@lists.debian.org +ok env_from debian-pilot@lists.debian.org +ok env_from debian-policy@lists.debian.org +ok env_from debian-pool@lists.debian.org +ok env_from debian-powerpc@lists.debian.org +ok env_from debian-powerpc-changes@lists.debian.org +ok env_from debian-private@lists.debian.org +ok env_from debian-project@lists.debian.org +ok env_from debian-publicity@lists.debian.org +ok env_from debian-python@lists.debian.org +ok env_from debian-qa@lists.debian.org +ok env_from debian-qa-packages@lists.debian.org +ok env_from debian-qa-private@lists.debian.org +ok env_from debian-qt-kde@lists.debian.org +ok env_from debian-release@lists.debian.org +ok env_from debian-ruby@lists.debian.org +ok env_from debian-russian@lists.debian.org +ok env_from debian-s390@lists.debian.org +ok env_from debian-s390-changes@lists.debian.org +ok env_from debian-security@lists.debian.org +ok env_from debian-security-announce@lists.debian.org +ok env_from debian-sgml@lists.debian.org +ok env_from debian-simplified-chinese@lists.debian.org +ok env_from debian-snapshots@lists.debian.org +ok env_from debian-sparc@lists.debian.org +ok env_from debian-sparc-changes@lists.debian.org +ok env_from debian-ssh@lists.debian.org +ok env_from debian-superh@lists.debian.org +ok env_from debian-testing@lists.debian.org +ok env_from debian-tetex-maint@lists.debian.org +ok env_from debian-toolchain@lists.debian.org +ok env_from debian-ultralinux@lists.debian.org +ok env_from debian-user@lists.debian.org +ok env_from debian-user-catalan@lists.debian.org +ok env_from debian-user-danish@lists.debian.org +ok env_from debian-user-de@lists.debian.org +ok env_from debian-user-french@lists.debian.org +ok env_from debian-user-german@lists.debian.org +ok env_from debian-user-hungarian@lists.debian.org +ok env_from debian-user-icelandic@lists.debian.org +ok env_from debian-user-indonesian@lists.debian.org +ok env_from debian-user-polish@lists.debian.org +ok env_from debian-user-portuguese@lists.debian.org +ok env_from debian-user-spanish@lists.debian.org +ok env_from debian-user-swedish@lists.debian.org +ok env_from debian-user-turkish@lists.debian.org +ok env_from debian-user-ukrainian@lists.debian.org +ok env_from debian-vote@lists.debian.org +ok env_from debian-win32@lists.debian.org +ok env_from debian-wnpp@lists.debian.org +ok env_from debian-women@lists.debian.org +ok env_from debian-www@lists.debian.org +ok env_from debian-www-cvs@lists.debian.org +ok env_from debian-x@lists.debian.org +ok env_from deity@lists.debian.org +ok env_from lcs-eng@lists.debian.org +ok env_from lsb-confcall@lists.debian.org +ok env_from lsb-discuss@lists.debian.org +ok env_from lsb-impl@lists.debian.org +ok env_from lsb-spec@lists.debian.org +ok env_from lsb-test@lists.debian.org +ok env_from sart@lists.debian.org +ok env_from spi-announce@lists.debian.org +ok env_from spi-general@lists.debian.org +ok env_from vgui-discuss@lists.debian.org
--- a/debian/whitelist.debian.diff Tue Mar 10 14:25:08 2009 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,196 +0,0 @@ ---- dcc-1.2.74.orig/debian/whitelist.debian -+++ dcc-1.2.74/debian/whitelist.debian -@@ -0,0 +1,193 @@ -+# last update: Fri Sep 17 01:47:08 2004 -+ok env_from cdwrite@lists.debian.org -+ok env_from debian-68k@lists.debian.org -+ok env_from debian-accessibility@lists.debian.org -+ok env_from debian-admin@lists.debian.org -+ok env_from debian-admintool@lists.debian.org -+ok env_from debian-all-changes@lists.debian.org -+ok env_from debian-alpha@lists.debian.org -+ok env_from debian-alpha-changes@lists.debian.org -+ok env_from debian-amd64@lists.debian.org -+ok env_from debian-announce@lists.debian.org -+ok env_from debian-apache@lists.debian.org -+ok env_from debian-arm@lists.debian.org -+ok env_from debian-arm-changes@lists.debian.org -+ok env_from debian-autobuild@lists.debian.org -+ok env_from debian-beowulf@lists.debian.org -+ok env_from debian-books@lists.debian.org -+ok env_from debian-boot@lists.debian.org -+ok env_from debian-bsd@lists.debian.org -+ok env_from debian-bugs-closed@lists.debian.org -+ok env_from debian-bugs-dist@lists.debian.org -+ok env_from debian-bugs-forwarded@lists.debian.org -+ok env_from debian-bugs-rc@lists.debian.org -+ok env_from debian-cd@lists.debian.org -+ok env_from debian-cd-vendors@lists.debian.org -+ok env_from debian-changes@lists.debian.org -+ok env_from debian-chinese@lists.debian.org -+ok env_from debian-chinese-big5@lists.debian.org -+ok env_from debian-chinese-gb@lists.debian.org -+ok env_from debian-commercial@lists.debian.org -+ok env_from debian-consultants@lists.debian.org -+ok env_from debian-ctte@lists.debian.org -+ok env_from debian-ctte-private@lists.debian.org -+ok env_from debian-curiosa@lists.debian.org -+ok env_from debian-custom@lists.debian.org -+ok env_from debian-debbugs@lists.debian.org -+ok env_from debian-debbugs-cvs@lists.debian.org -+ok env_from debian-desktop@lists.debian.org -+ok env_from debian-devel@lists.debian.org -+ok env_from debian-devel-all-changes@lists.debian.org -+ok env_from debian-devel-alpha-changes@lists.debian.org -+ok env_from debian-devel-announce@lists.debian.org -+ok env_from debian-devel-arm-changes@lists.debian.org -+ok env_from debian-devel-austrian@lists.debian.org -+ok env_from debian-devel-changes@lists.debian.org -+ok env_from debian-devel-french@lists.debian.org -+ok env_from debian-devel-games@lists.debian.org -+ok env_from debian-devel-hurd-i386-changes@lists.debian.org -+ok env_from debian-devel-i386-changes@lists.debian.org -+ok env_from debian-devel-italian@lists.debian.org -+ok env_from debian-devel-m68k-changes@lists.debian.org -+ok env_from debian-devel-portuguese@lists.debian.org -+ok env_from debian-devel-powerpc-changes@lists.debian.org -+ok env_from debian-devel-s390-changes@lists.debian.org -+ok env_from debian-devel-spanish@lists.debian.org -+ok env_from debian-devel-sparc-changes@lists.debian.org -+ok env_from debian-doc@lists.debian.org -+ok env_from debian-dpkg@lists.debian.org -+ok env_from debian-dpkg-bugs@lists.debian.org -+ok env_from debian-dpkg-cvs@lists.debian.org -+ok env_from debian-edu@lists.debian.org -+ok env_from debian-emacsen@lists.debian.org -+ok env_from debian-email@lists.debian.org -+ok env_from debian-embedded@lists.debian.org -+ok env_from debian-esperanto@lists.debian.org -+ok env_from debian-events-eu@lists.debian.org -+ok env_from debian-events-na@lists.debian.org -+ok env_from debian-faq@lists.debian.org -+ok env_from debian-firewall@lists.debian.org -+ok env_from debian-french@lists.debian.org -+ok env_from debian-gcc@lists.debian.org -+ok env_from debian-glibc@lists.debian.org -+ok env_from debian-gtk-gnome@lists.debian.org -+ok env_from debian-hams@lists.debian.org -+ok env_from debian-handheld@lists.debian.org -+ok env_from debian-hppa@lists.debian.org -+ok env_from debian-hurd@lists.debian.org -+ok env_from debian-hurd-i386-changes@lists.debian.org -+ok env_from debian-i18n@lists.debian.org -+ok env_from debian-i386-changes@lists.debian.org -+ok env_from debian-ia64@lists.debian.org -+ok env_from debian-ipv6@lists.debian.org -+ok env_from debian-isp@lists.debian.org -+ok env_from debian-italian@lists.debian.org -+ok env_from debian-japanese@lists.debian.org -+ok env_from debian-java@lists.debian.org -+ok env_from debian-jobs@lists.debian.org -+ok env_from debian-jr@lists.debian.org -+ok env_from debian-kde@lists.debian.org -+ok env_from debian-kernel@lists.debian.org -+ok env_from debian-l10n-catalan@lists.debian.org -+ok env_from debian-l10n-danish@lists.debian.org -+ok env_from debian-l10n-dutch@lists.debian.org -+ok env_from debian-l10n-english@lists.debian.org -+ok env_from debian-l10n-finnish@lists.debian.org -+ok env_from debian-l10n-french@lists.debian.org -+ok env_from debian-l10n-german@lists.debian.org -+ok env_from debian-l10n-greek@lists.debian.org -+ok env_from debian-l10n-hungarian@lists.debian.org -+ok env_from debian-l10n-italian@lists.debian.org -+ok env_from debian-l10n-polish@lists.debian.org -+ok env_from debian-l10n-portuguese@lists.debian.org -+ok env_from debian-l10n-russian@lists.debian.org -+ok env_from debian-l10n-spanish@lists.debian.org -+ok env_from debian-l10n-turkish@lists.debian.org -+ok env_from debian-laespiral@lists.debian.org -+ok env_from debian-laptop@lists.debian.org -+ok env_from debian-legal@lists.debian.org -+ok env_from debian-lex@lists.debian.org -+ok env_from debian-lint-maint@lists.debian.org -+ok env_from debian-lsb@lists.debian.org -+ok env_from debian-m68k-changes@lists.debian.org -+ok env_from debian-med@lists.debian.org -+ok env_from debian-mentors@lists.debian.org -+ok env_from debian-mips@lists.debian.org -+ok env_from debian-mirrors@lists.debian.org -+ok env_from debian-multimedia@lists.debian.org -+ok env_from debian-newmaint@lists.debian.org -+ok env_from debian-newmaint-admin@lists.debian.org -+ok env_from debian-newmaint-discuss@lists.debian.org -+ok env_from debian-news@lists.debian.org -+ok env_from debian-news-french@lists.debian.org -+ok env_from debian-news-german@lists.debian.org -+ok env_from debian-news-portuguese@lists.debian.org -+ok env_from debian-nonprofit@lists.debian.org -+ok env_from debian-ocaml-maint@lists.debian.org -+ok env_from debian-openoffice@lists.debian.org -+ok env_from debian-parisc@lists.debian.org -+ok env_from debian-perl@lists.debian.org -+ok env_from debian-pilot@lists.debian.org -+ok env_from debian-policy@lists.debian.org -+ok env_from debian-pool@lists.debian.org -+ok env_from debian-powerpc@lists.debian.org -+ok env_from debian-powerpc-changes@lists.debian.org -+ok env_from debian-private@lists.debian.org -+ok env_from debian-project@lists.debian.org -+ok env_from debian-publicity@lists.debian.org -+ok env_from debian-python@lists.debian.org -+ok env_from debian-qa@lists.debian.org -+ok env_from debian-qa-packages@lists.debian.org -+ok env_from debian-qa-private@lists.debian.org -+ok env_from debian-qt-kde@lists.debian.org -+ok env_from debian-release@lists.debian.org -+ok env_from debian-ruby@lists.debian.org -+ok env_from debian-russian@lists.debian.org -+ok env_from debian-s390@lists.debian.org -+ok env_from debian-s390-changes@lists.debian.org -+ok env_from debian-security@lists.debian.org -+ok env_from debian-security-announce@lists.debian.org -+ok env_from debian-sgml@lists.debian.org -+ok env_from debian-simplified-chinese@lists.debian.org -+ok env_from debian-snapshots@lists.debian.org -+ok env_from debian-sparc@lists.debian.org -+ok env_from debian-sparc-changes@lists.debian.org -+ok env_from debian-ssh@lists.debian.org -+ok env_from debian-superh@lists.debian.org -+ok env_from debian-testing@lists.debian.org -+ok env_from debian-tetex-maint@lists.debian.org -+ok env_from debian-toolchain@lists.debian.org -+ok env_from debian-ultralinux@lists.debian.org -+ok env_from debian-user@lists.debian.org -+ok env_from debian-user-catalan@lists.debian.org -+ok env_from debian-user-danish@lists.debian.org -+ok env_from debian-user-de@lists.debian.org -+ok env_from debian-user-french@lists.debian.org -+ok env_from debian-user-german@lists.debian.org -+ok env_from debian-user-hungarian@lists.debian.org -+ok env_from debian-user-icelandic@lists.debian.org -+ok env_from debian-user-indonesian@lists.debian.org -+ok env_from debian-user-polish@lists.debian.org -+ok env_from debian-user-portuguese@lists.debian.org -+ok env_from debian-user-spanish@lists.debian.org -+ok env_from debian-user-swedish@lists.debian.org -+ok env_from debian-user-turkish@lists.debian.org -+ok env_from debian-user-ukrainian@lists.debian.org -+ok env_from debian-vote@lists.debian.org -+ok env_from debian-win32@lists.debian.org -+ok env_from debian-wnpp@lists.debian.org -+ok env_from debian-women@lists.debian.org -+ok env_from debian-www@lists.debian.org -+ok env_from debian-www-cvs@lists.debian.org -+ok env_from debian-x@lists.debian.org -+ok env_from deity@lists.debian.org -+ok env_from lcs-eng@lists.debian.org -+ok env_from lsb-confcall@lists.debian.org -+ok env_from lsb-discuss@lists.debian.org -+ok env_from lsb-impl@lists.debian.org -+ok env_from lsb-spec@lists.debian.org -+ok env_from lsb-test@lists.debian.org -+ok env_from sart@lists.debian.org -+ok env_from spi-announce@lists.debian.org -+ok env_from spi-general@lists.debian.org -+ok env_from vgui-discuss@lists.debian.org