Bug 65384 - [PATCH] mail/dspam: fix pkg-plist; fix bug in LDA argument passing; add more OPTIONS
Summary: [PATCH] mail/dspam: fix pkg-plist; fix bug in LDA argument passing; add more ...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-10 03:10 UTC by Ion-Mihai Tetcu
Modified: 2004-05-04 19:24 UTC (History)
1 user (show)

See Also:


Attachments
pkg-plist.diff (479 bytes, patch)
2004-04-10 03:10 UTC, Ion-Mihai Tetcu
no flags Details | Diff
file.diff (2.93 KB, patch)
2004-04-10 03:10 UTC, Ion-Mihai Tetcu
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ion-Mihai Tetcu 2004-04-10 03:10:12 UTC

Following a discussion on dspam-users mailing list, dpsam ships now with
two .sql for creating the mysql tables:
mysql_objects.sql.space.optimized and mysql_objects.sql.speed.optimized
As a note, I doubt that there is much "space" optimization with the
respective table structure, due to the stored data pattern. The current
Makefile doesn't install them and tries to remove mysql_objects.sql on
deinstall; the pkg-plist doesn't include them.
Included Makefile.diff and pkg-plist.diff should fix that.[1]

If compiled with trusted user security (default), dspam doesn't pass the
destination recipient to the LDA (the last word from the
untrusted.mailer_args); included patch-dpsam.c fixes that. [2]

IMHO OPTIONS are there to be used, so I've also added some;
feel free to drop them, if you want (for installing only the little fix in Makefile.diff
post-patch:
@@ -91,7 +137,7 @@ is enough). [3]

Bumped PORTREVISON in the patch.

[1] Env: postfix-2.0.19, mail.local as LDA, -r-s--x--x on dpsam binary;
if someone finds a way to run dspam from postfix/local without o=x,
please let me know.

How-To-Repeat: 

[1] Obvious (make extract and see work/dspam/tools.mysql_drv).

[2] Compile dspam --with-trusted-users-security (default), use mail.local as 
LDA (default), don't put something after therecipient in untrusted.mailer_args

[3] -
Comment 1 Ion-Mihai Tetcu 2004-04-27 18:21:59 UTC
Please don't submit this yet, a more complete patch is being worked on.
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2004-05-04 19:24:36 UTC
State Changed
From-To: open->closed

I see this was integrated into ports/66199 by maintainer