Subject: pkg/21010: mail/sendmail: -DMILTER should not be optional
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tv@pobox.com>
List: netbsd-bugs
Date: 04/04/2003 15:41:29
>Number:         21010
>Category:       pkg
>Synopsis:       mail/sendmail: -DMILTER should not be optional
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 04 12:43:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Todd Vierling
>Release:        NetBSD 1.6.1
>Organization:
	DUH.ORG:  Pointing out the obvious since 1994.
>Environment:

>Description:

Milter support in Sendmail 8.12 (the daemon, not libmilter) does not
require pthreads or any other such goop.  So it only makes binary packages
more divergent to leave milter support out by default.

(Note:  libmilter is not the only milter protocol library available
anymore -- my own "PMilter" project is such an implementation in 100% Perl
-- so it's not valid to restrict milter support in the daemon to only
those platforms where libmilter can be available.)

>How-To-Repeat:

Compile mail/sendmail and notice milter doesn't get compiled into the daemon.

>Fix:

Either default USE_MILTER to YES (somewhat stupid, IMHO -- with no milters
configured, the code's impact is negligible), or simply merge it into the
standard site.config.m4 fragments (preferred).  The latter option is
implemented by applying the following diff to pkgsrc/mail/sendmail.

begin 644 sendmail.diff.gz
M'XL(`)[MC3X``\65;6^B0!#'7\.GF/1,;8/(@V@K"4VIK#VNB(:E[36YQ%K%
M'BDN#6![B>&[WRX^6]O<Y2YWQ"R[RW]GAOG-H$U&P0\=.H.G8!Q&`6_\^<5[
M+0S,F`[2\"5-XCB3GI\>TV0H309A)*4!&163I=/*"Y\$61(&+R%YA(3>TC`F
MH%3K#7X4CL<@3D%,V'(=IRB*JP6GRG)-8C\-9%E7%;VF<,5I01!V51I3J;)>
M:^J:S)^?@ZA5&B!HE1,X/^>!A][5I6MVD,$MXQ1+,\O&?O\&>3CGH=7M=)#K
M&YS_/8#7((K@B<2OA/H)(_"3`4F?XR0#\S$@&2]0:QZZL;'==0U.8?8["&/S
M$O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