Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Mar 2020 19:36:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 244937] Unbreak buildworld for sendmail and SMTP Authentication
Message-ID:  <bug-244937-9@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244937

            Bug ID: 244937
           Summary: Unbreak buildworld for sendmail and SMTP
                    Authentication
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: easy
          Severity: Affects Some People
          Priority: ---
         Component: Documentation
          Assignee: doc@FreeBSD.org
          Reporter: eugen@freebsd.org
                CC: bcr@FreeBSD.org

FreeBSD Handbook's chapter "Electronic Mail" has section "SMTP Authenticati=
on"
that dates back the times FreeBSD had not any OpenSSL version in base syste=
m.
Now since we have different OpenSSL versions in different supported branches
(1.0.2 for stable/11 and 1.1.1+ for stable/12) that differ in API and ABI, =
this
section needs small correction because it's broken for stable/11 for the
moment.

It's paragraph 4 suggests:

Next, edit /etc/make.conf and add the following lines:

SENDMAIL_CFLAGS=3D-I/usr/local/include/sasl -DSASL
SENDMAIL_LDFLAGS=3D-L/usr/local/lib
SENDMAIL_LDADD=3D-lsasl2

The line "SENDMAIL_LDFLAGS=3D-L/usr/local/lib" should be replaced with anot=
her
one:

SENDMAIL_LDADD=3D/usr/local/lib/libsasl2.so

That's because the only port's library our stock sendmail needs is really
libsasl2.so. With -L/usr/local/lib buildworld process links sendmail with p=
orts
version of libcrypto what is wrong for stable/11 which needs base system
version of libcrypto. The problem's solved with noted one-line change.

I'd like to see this change performed before 11.4-RELEASE coming soon.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244937-9>