Subject: pkg/28766: mail/nail: IRIX also has /usr/lib/sendmail
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <georg.schwarz@freenet.de>
List: pkgsrc-bugs
Date: 12/24/2004 01:48:00
>Number:         28766
>Category:       pkg
>Synopsis:       mail/nail: IRIX also has /usr/lib/sendmail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 24 01:48:00 +0000 2004
>Originator:     Georg Schwarz
>Release:        current pkgsrc
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
Just as Solaris, IRIX (at least 5.X) also has sendmail in /usr/lib. Maybe this is true for other OSes as well (what about AIX or HP/UX, for example?)
>How-To-Repeat:

>Fix:
--- Makefile.orig       2004-12-24 02:02:07.000000000 +0100
+++ Makefile    2004-12-24 02:02:51.000000000 +0100
@@ -23,7 +23,7 @@
 MAKE_ENV+=     "IPv6=-DHAVE_IPv6_FUNCS"
 .endif
 
-.if (${OPSYS} == "SunOS")
+.if ${OPSYS} == "SunOS" || ${OPSYS} == "IRIX"
 MAKE_ENV+=     "SENDMAIL=/usr/lib/sendmail"
 .endif
 


Maybe one should add that define for all OSes except Linux and *BSD?

As an additional note, one could (and IMHO should) enable
 + Character set conversion using iconv()
 + Networking support (IMAP, POP3, and SMTP)
 + S/MIME and SSL/TLS using OpenSSL
by adding
.include "../../converters/libiconv/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"

Maybe there is also a similar way to add GSSAPI support?