Subject: pkg/28766: mail/nail: IRIX also has /usr/lib/sendmail
To: None <,,>
From: None <>
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
IRIX lorenz 5.3 08031225 IP20 mips
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?)

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

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/"
.include "../../security/openssl/"

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