Bug 108663 - [PATCH] mail/spamd: resolv conflict with sa-spamd and add pfspamd_setup_flags
Summary: [PATCH] mail/spamd: resolv conflict with sa-spamd and add pfspamd_setup_flags
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: 2007-02-01 16:10 UTC by Oleksii Samorukov
Modified: 2007-03-20 15:20 UTC (History)
1 user (show)

See Also:


Attachments
spamd-3.7_2.patch (1.03 KB, patch)
2007-02-01 16:10 UTC, Oleksii Samorukov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleksii Samorukov freebsd_committer freebsd_triage 2007-02-01 16:10:16 UTC
SpamdD p5-Mail-SpamAssassin use  PREFIX/bin/spamd to run in the daemon mode.
This port use PREFIX/libexec/spamd. This cause a problem, because check_process get wrong pid. And "start" will fail,
but "stop" command cab cause killing sa-spam. To avoid this i replaced check_process function with my own.

Also this patch add pfspamd_setup_flags. spamd-setup have -t key which allow to specify 
ipfw table to use. We need to be able to pass table number to this tool, so i added this var.

Port maintainer (delphij@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77

How-To-Repeat: run sa-spamd.
run pfspamd.sh start. it will fail
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-02-01 16:10:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->delphij

Over to maintainer
Comment 2 Xin LI freebsd_committer freebsd_triage 2007-03-20 14:17:01 UTC
Responsible Changed
From-To: delphij->freebsd-ports

Return to pool.
Comment 3 Oleksii Samorukov freebsd_committer freebsd_triage 2007-03-20 14:50:29 UTC
Please, commit this patch. Also, i want to take maintainership for this 
project.

-- 
Best regards,
Alex Samorukov, SAMM1-RIPE
Zend Certified PHP Engineer
Comment 4 dfilter service freebsd_committer freebsd_triage 2007-03-20 15:16:50 UTC
delphij     2007-03-20 15:16:44 UTC

  FreeBSD ports repository

  Modified files:
    mail/spamd           Makefile 
    mail/spamd/files     pfspamd.sh.in 
  Log:
   - Resolve conflict between sa-spamd and pf-spamd
   - Add pfspamd_setup_flags to give finer grained control
   - Give maintainership to submitter
  
  Submitted by:   Alex Samorukov <samm os2 kiev ua>
  PR:             ports/108663
  
  Revision  Changes    Path
  1.12      +2 -2      ports/mail/spamd/Makefile
  1.2       +12 -2     ports/mail/spamd/files/pfspamd.sh.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Xin LI freebsd_committer freebsd_triage 2007-03-20 15:16:59 UTC
State Changed
From-To: open->closed

Committed, thanks!