Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182172 - mail-filter/dcc-1.3.57 (version bump)
Summary: mail-filter/dcc-1.3.57 (version bump)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Robin Johnson
URL: http://www.rhyolite.com/anti-spam/dcc/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-15 20:48 UTC by coran.fisher@gmail.com
Modified: 2008-09-30 07:19 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mail-filter/dcc/dcc-1.3.92.ebuild (dcc-1.3.92.ebuild,3.98 KB, text/plain)
2008-09-03 10:36 UTC, steveb
Details
mail-filter/dcc/files/dcc-1.3.86.patch (dcc-1.3.86.patch,1.05 KB, patch)
2008-09-03 10:37 UTC, steveb
Details | Diff
mail-filter/dcc/files/dcc.confd (dcc.confd,274 bytes, text/plain)
2008-09-03 10:37 UTC, steveb
Details
mail-filter/dcc/files/dcc.initd (dcc.initd,2.95 KB, text/plain)
2008-09-03 10:38 UTC, steveb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description coran.fisher@gmail.com 2007-06-15 20:48:09 UTC
Changes for 1.3.57 and 1.3.56 as most recent in portage is 1.3.55

1.3.57
    Fix bug in libexec/fetchblack adding a local blacklist file
	reported by Krzysztof Snopek.
    Make the system host name be the default value of `dccifd -D`
	so that local user name for per-user logs and whiteclnt files
	is "user" given SMTP recipient address "user@host.example.com"
	on the system named user.host.example.
    Support wildcards so that `dccifd '-D*example.com'` will take
	"user" as the local name for per-user logs and whiteclnt files
	vien SMTP recipient address user@host.exaple.com.
    Fix bug in version 1.3.56 of dbclean in computing the hash table size
	when upgrading from 1.3.42 reported by Domenico Diacono.

1,3,56
    Dccd continues parsing /var/dcc/blacklist after a bad line instead
	of stopping.
    Change dcc-stats-graph to not use --alt-y-mrtg with rrdtool version 1.2.
    Do not save dccd client list when running with -Gon.
    Dccd continues to inflate queue wait for 5 minutes after flooding
	resumes so that the database will be good for clients.
    Add -K to updatedcc for "cron mode" to not install code, restart daemons,
	or otherwise disturb things by installing the same version.
    Improve server queue delay measurement when the system is too slow
	to keep up with incoming floods.
    Do not use MAXHOSTNAMELEN for domain name lengths because on Linux
	it is only 64 bytes.  This implies a new version of the /var/dcc/map
	file.  Old versions of the file are automatically upgraded, but that
	implies problems if you install old versions of the DCC client
	programs.
    Dccm, dccifd, and dccproc delete all old X-DCC headers instead of only
	those with the same brand name as the current DCC server to fix
	problem reported by Frank Tegtmeyer.
    Fix unrecognized data /var/dcc/dccd_clients message.
    Improve DCC server hash table size estimation to help servers with
	1 GByte or less or more than 3 GByte of RAM.
    Fix "flooding not stopped before ADMN DB UNLOCK" problem reported by
	Tomasz Potega.
    dcc-stats-graph no longer labels "Spam Ratio" graphs with '%' because
	recent versions of rrdtool graph no longer understand "--units %%"

Reproducible: Always
Comment 1 valli 2007-09-21 12:33:32 UTC
The current version of the DCC source is  version 1.3.59 (August 25, 2007).

1.3.59
    Fix crashing in dccifd reported by John M. Crawford.
    Fix problem in flooding server-ID assertions.

1.3.58
    Fix bug in recent versions of `/var/dcc/libexec/dcc-stats-graph -d`
        reported by Kevin W. Gagel.
    Deal with multiple A RR answers from DNSBLs such as Spamhaus' ZEN
        for dccifd, dccproc, and dccm -B.
    Turn off a "close(socket): Connection reset by peer" message from
        dccifd in proxy mode when postfix gets anxious and closes early.
Comment 2 valli 2008-03-14 13:34:26 UTC
In the meantime 1.3.86 is the current version of DCC.

PLEASE, push it to portage!
Comment 3 steveb 2008-03-24 21:21:51 UTC
(In reply to comment #2)
> In the meantime 1.3.86 is the current version of DCC.
> 
> PLEASE, push it to portage!
> 
I do normally write my own ebuild for dcc since I want to use dccm and other stuff. However... 1.3.86 is a hard beast to package. Somehow it wants to write to /var/dcc/map and breaks the sandboxing. I don't know why? Has any one of you guys found the place where to patch that issue (beside using nasty addwrite "${dcc_homedir}/map")?
Comment 4 Michael Cramer 2008-04-27 12:15:42 UTC
1.3.90 is now the recommended version please please bump
Comment 5 steveb 2008-04-27 20:48:54 UTC
(In reply to comment #4)
> 1.3.90 is now the recommended version please please bump
> 
1.3.90 still needs the nasty addwrite because of sandbox violation to /var/dcc/map. Has any one found a way around it?
Comment 6 valli 2008-04-28 09:04:07 UTC
/var/dcc/map Problem with 1.3.90:

- If you first remove the old dcc installation and then emerge
  the new version, the problem doesn't occur. (or if you delete
  the already existing /var/dcc/map before upgrading)

  The problem is in homedir/Makefile.in:
  The line...
  $(CDCC) -q "new map $(MAP); load -";\
  ... should be ...
  $(CDCC) -h $(HD) -q "new map $(MAP); load -";\
  
  and the line ...
  $(CDCC) -q "file $(MAP); info" >$(MAPTXT);\
  ... should be ...
  $(CDCC) -h $(HD) -q "file $(MAP); info" >$(MAPTXT);\

- Why is the file /var/dcc/map not a symlink to /etc/dcc/map
  like all other files in /var/dcc are? Is there a special reason for this?
Comment 7 valli 2008-04-28 16:04:22 UTC
Vernon Schryver (rhyolite.com) will add the fix for Makefile.in
to version 1.3.91

So let's hope that the package maintainer will
push this version to portage.
Comment 8 valli 2008-05-26 08:40:05 UTC
The current version of the DCC source is now version 1.3.91 (May 21, 2008).
The sandbox violation problem is now gone away.
Please bump!
Comment 9 Azamat H. Hackimov 2008-09-03 09:45:22 UTC
new version 1.3.92 released
Comment 10 steveb 2008-09-03 10:36:47 UTC
Created attachment 164474 [details]
mail-filter/dcc/dcc-1.3.92.ebuild

Okay. Since waiting here for some one to post an ebuild... I am now going to post my ebuild that I use since months.
Comment 11 steveb 2008-09-03 10:37:29 UTC
Created attachment 164475 [details, diff]
mail-filter/dcc/files/dcc-1.3.86.patch
Comment 12 steveb 2008-09-03 10:37:54 UTC
Created attachment 164476 [details]
mail-filter/dcc/files/dcc.confd
Comment 13 steveb 2008-09-03 10:38:14 UTC
Created attachment 164477 [details]
mail-filter/dcc/files/dcc.initd
Comment 14 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-09-30 07:19:10 UTC
steveb: MANY thanks for actually putting in some nice work for the ebuild, I've put it into the tree now.

I dropped multiple keywords due to the new libmilter dep, bug 239121 tracks the rekeywording.