Ebuilds for DSPAM 3.9.0 RC2 and DSPAM GIT Reproducible: Always
Created attachment 214722 [details] mail-filter/dspam/files/dspam.initd
Created attachment 214726 [details] mail-filter/dspam/files/logrotate.dspam
Created attachment 214727 [details] mail-filter/dspam/files/pgsql_createdb.py
Created attachment 214729 [details] mail-filter/dspam/files/pgsql_purge.py
Created attachment 214730 [details] mail-filter/dspam/files/README.postfix
Created attachment 214731 [details] mail-filter/dspam/files/README.qmail
Created attachment 214733 [details] mail-filter/dspam/dspam-3.9.0_rc2.ebuild Ebuild for DSPAM 3.9.0 RC2
Created attachment 214735 [details] mail-filter/dspam/dspam-999999.ebuild Ebuild for DSPAM GIT
Created attachment 216134 [details] mail-filter/dspam/files/logrotate.dspam /var/log/dspam/system.log should not be rotated. The maintenance script is purging system.log based on age.
Created attachment 216137 [details] mail-filter/dspam/dspam-3.9.0.ebuild Ebuild for 3.9.0 which is just released 2 minutes ago :) I would advise Gentoo users to wait for 3.9.1 which we are going to release in one to two weeks (counting from 12.01.2010 (which is btw our 1 year anniversary as a community project)).
Created attachment 216650 [details, diff] check_storage_drivers.patch The dspam-3.9.0.ebuild dies during configure when no storage driver is selected. Attached patch adds a check that ensures that at least 1 storage driver is enabled.
Created attachment 216656 [details] mail-filter/dspam/dspam-3.9.0.ebuild (In reply to comment #11) > The dspam-3.9.0.ebuild dies during configure when no storage driver is > selected. Attached patch adds a check that ensures that at least 1 storage > driver is enabled. > Thanks Tom. Here the modified Ebuild for 3.9.0.
Created attachment 216658 [details] mail-filter/dspam/dspam-999999.ebuild Fixed Ebuild (thanks Tom).
Created attachment 216660 [details] mail-filter/dspam/files/dspam.initd No need to check for ServerPID. DSPAM can work in daemon mode (for example acting as a gateway) without using ServerPID.
Created attachment 216678 [details, diff] dspam_maintenance_in_PATH.patch This patch moves dspam_maintenance script to /usr/bin in stead of /etc/cron.daily. A replacement cron file that runs the script is generated. This allows for much more flexibility, such as adding custom arguments to the cron file, or adding debug output in dspam_maintenance that does not show up when run from cron.
Created attachment 216680 [details] mail-filter/dspam/dspam-3.9.0.ebuild (In reply to comment #15) > > This patch moves dspam_maintenance script to /usr/bin in stead of > /etc/cron.daily. A replacement cron file that runs the script is generated. > > This allows for much more flexibility, such as adding custom arguments to the > cron file, or adding debug output in dspam_maintenance that does not show up > when run from cron. > Thanks Tom. Updated the Ebuild with your patch.
Created attachment 216681 [details] mail-filter/dspam/dspam-999999.ebuild Updated Ebuild with Tom's patch for the DSPAM cron script.
Created attachment 216684 [details] dspam-3.9.0-dspam_maintenance.sh.patch Bugfixes for dspam_maintenance: - adding some debug output - fix for invalid pgsql script paths - fix for when dspam is built with a single storage driver: avoid running data cleanup twice The dspam_maintenance script is already refactored upstream, so this patch only applies to 3.9.0 version.
(In reply to comment #18) > Created an attachment (id=216684) [details] > dspam-3.9.0-dspam_maintenance.sh.patch > > Bugfixes for dspam_maintenance: > - adding some debug output > - fix for invalid pgsql script paths > - fix for when dspam is built with a single storage driver: avoid running data > cleanup twice > > The dspam_maintenance script is already refactored upstream, so this patch only > applies to 3.9.0 version. > Can you check if the script in GIT HEAD is doing what it should do? -------------------- http://dspam.git.sourceforge.net/git/gitweb.cgi?p=dspam/dspam;a=blob_plain;f=contrib/dspam_maintenance/dspam_maintenance.sh;hb=HEAD -------------------- To get additional output you should/could execute the script with "--verbose".
(In reply to comment #19) > Can you check if the script in GIT HEAD is doing what it should do? > > To get additional output you should/could execute the script with "--verbose". > Hi, just looked at it. Bugs fixed (for pgsql driver that I am able to test), and nice output. Thanks :)
(In reply to comment #20) > .... > and nice output. Thanks :) > Guess which text was used as template for the output? :) Thanks for your help.
The dspam-3.9.0 ebuild only works if you already have the dspam user and groupon your system. Otherwise the install phase complains that the dspam user doesn't exist.
(In reply to comment #22) > The dspam-3.9.0 ebuild only works if you already have the dspam user and > groupon your system. > > Otherwise the install phase complains that the dspam user doesn't exist. > I know. I fixed that in my local repo but have not update the Ebuild here. Will do that right now. Give me 5 minutes....
Created attachment 227655 [details] mail-filter/dspam/dspam-3.9.0.ebuild
Created attachment 227657 [details] mail-filter/dspam/dspam-999999.ebuild
(In reply to comment #10) > I would advise Gentoo users to wait for 3.9.1 which we are going to release in > one to two weeks (counting from 12.01.2010 (which is btw our 1 year anniversary > as a community project)). > Any reason to keep this version from portage? I've been running this since 3.9.0-rc2 without any issues...
(In reply to comment #26) > (In reply to comment #10) > > I would advise Gentoo users to wait for 3.9.1 which we are going to release in > > one to two weeks (counting from 12.01.2010 (which is btw our 1 year anniversary > > as a community project)). > > > > Any reason to keep this version from portage? I've been running this since > 3.9.0-rc2 without any issues... > There is one small reason: I am going soon (next days) to release 3.9.1.
Contrats on the anniversary. Was wondering if 3.9.0 will possibly hit the tree, or should we wait for 3.9.1? (Seems to be in RC stage)
Are you planning to release dspam 3.9.0 at all? It's been nearly 8 months since the last post on here.
Maybe a reason not to wait for 3.9.1 (unless really imminent): Stable dspam-3.8 and postgresql-server-8.4.4 cause tons of "HINT: Use the escape string syntax for backslashes" messages, so things may break in the future (or already do for those who use unstable Postgres which I don't).
*** Bug 360645 has been marked as a duplicate of this bug. ***
Created attachment 276007 [details] /etc/init.d/dspam for dspam-3.9.1-rc1
Created attachment 276009 [details] /etc/conf.d/dspam for dspam-3.9.1-rc1 (in files/)
Created attachment 276011 [details] ebuild for dspam-3.9.1-RC1
I've made a dspam-3.9.1_rc1 based on the ebuilds above and various tweaks/fixes. It's in my overlay at http://mestvaelt.gavagai.nl:8080/file/tip/mail-filter/dspam Tweaks/Fixes: - It would be nice if /etc/init.d/dspam would support running as some other user than root. Some users, such as I, run the dspam daemon as dspam:dspam - when only using virtual users, delivering over LMTP, there's no need for dspam to switch uids and hence no need for it to run as root. - logrotate is not a build requirement - virtual/postgresql-base is now dev-db/postgresql-base. Changed files attached to this bug.
Created attachment 276019 [details] dspam-3.9.1_rc1-r1 With patch for unsollicited SIZE parameter in LMTP conversation.
Created attachment 276021 [details, diff] files/dspam-3.9.1_rc1-lmtp-client-unsolicited-SIZE.patch Patch to client.c for unsollicited SIZE parameter in LMTP conversation.
(In reply to comment #37) > Created attachment 276021 [details, diff] > files/dspam-3.9.1_rc1-lmtp-client-unsolicited-SIZE.patch > > Patch to client.c for unsollicited SIZE parameter in LMTP conversation. So you are porting back stuff from MASTER to RC1? I might release DSPAM 3.9.1 in the next weeks (if all the other admins of the project agree on 3.9.1).
(In reply to comment #38) > (In reply to comment #37) > > Created attachment 276021 [details, diff] > > files/dspam-3.9.1_rc1-lmtp-client-unsolicited-SIZE.patch > > > > Patch to client.c for unsollicited SIZE parameter in LMTP conversation. > > So you are porting back stuff from MASTER to RC1? I might release DSPAM 3.9.1 > in the next weeks (if all the other admins of the project agree on 3.9.1). No, not really 'stuff' in the general sense, but yes, I sinfully cherrypicked your fixes to client.c ;-) It solves the problem of DSPAM not talking to Dovecot (2.0.13) over LMTP. I really need that. I needed to spend some time with a packet sniffer to get to the root of the problem and it appears to have been reported (and fixed by you, thanks!) a little less than a year ago (bug ID 3020344 on the SF dspam bugtracker). Since I don't follow the -devel and -commit mailing lists, I don't know the state of MASTER. That's why I went for 3.9.1_RC1, and brought it out here on the gentoo bug tracker so other gentoo users confronted with LMTP problems don't have to whip out packet sniffers and hunt for patches ;-) Good to hear that you might release 3.9.1 in the coming weeks. Will your LMTP patches to client.c go into that release? That would be great.
(In reply to comment #39) > Good to hear that you might release 3.9.1 in the coming weeks. Will your LMTP > patches to client.c go into that release? That would be great. > Yes. The LMTP patch will be included.
*** Bug 377383 has been marked as a duplicate of this bug. ***
Created attachment 281899 [details] dspam-3.10.0.ebuild
Created attachment 281901 [details] dspam-999999.ebuild
Created attachment 281903 [details] files/dspam.confd
Created attachment 281905 [details] files/dspam.initd
Created attachment 282111 [details] mail-filter/dspam/dspam-3.10.0.ebuild Attached is a new and completely rewritten ebuild for dspam, which is clean and easy to read and maintain. Gentoo devs, please consider this ebuild for inclusion in the main portage tree. If there is any reason why the ebuild can not be added to the main portage tree in its current state, then please provide feedback so we can improve the ebuild.
Created attachment 282113 [details] mail-filter/dspam/files/dspam.confd
Created attachment 282115 [details] mail-filter/dspam/files/dspam.cron
Created attachment 282117 [details] mail-filter/dspam/files/dspam.logrotate
Created attachment 282119 [details] mail-filter/dspam/files/dspam.initd
Created attachment 282121 [details] mail-filter/dspam/metadata.xml
Committed with slight changes. Thank you. +*dspam-3.10.0 (05 Aug 2011) + + 05 Aug 2011; Eray Aslan <eras@gentoo.org> +dspam-3.10.0.ebuild, + +files/dspam.confd, +files/dspam.cron, +files/dspam.initd, + +files/dspam.logrotate, metadata.xml: + version bump - bug #299090. Ebuild thanks to Tom Hendrikx +