Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14930 - Sendmail ebuld uses wrong define for SASL2
Summary: Sendmail ebuld uses wrong define for SASL2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-01 17:33 UTC by Blu3
Modified: 2003-02-03 01:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Blu3 2003-02-01 17:33:16 UTC
When compiling sendmail to use version to of the cyrus-sasl library, you should
use -DSASL=2 instead of -DSASL.  Cyrus-SASL version 2 is unsupported for
sendmail until roughly sendmail version 8.13.  the -DSASL=2 is an undocumented FFR.
Comment 1 Blu3 2003-02-01 17:33:59 UTC
diff -ruN /usr/portage/net-mail/sendmail/sendmail-8.12.7-r4.ebuild /tmp/sendmail-8.12.7-r4.ebuild
--- /usr/portage/net-mail/sendmail/sendmail-8.12.7-r4.ebuild    2003-01-27 02:15:00.000000000 -0500
+++ /tmp/sendmail-8.12.7-r4.ebuild      2003-02-01 17:25:42.000000000 -0500
@@ -54,9 +54,9 @@
        conf_sendmail_ENVDEF="-DFALSE=0 -DTRUE=1"
        conf_sendmail_LIBS=""
        use sasl && confLIBS="${confLIBS} -lsasl2"  \
-               && confENVDEF="${confENVDEF} -DSASL" \
+               && confENVDEF="${confENVDEF} -DSASL=2" \
                && confCCOPTS="${confCCOPTS} -I/usr/include/sasl" \
-               && conf_sendmail_ENVDEF="${conf_sendmail_ENVDEF} -DSASL"  \
+               && conf_sendmail_ENVDEF="${conf_sendmail_ENVDEF} -DSASL=2"  \
                && conf_sendmail_LIBS="${conf_sendmail_LIBS} -lsasl2"
        use tcpd && confENVDEF="${confENVDEF} -DTCPWRAPPERS" \
                && confLIBS="${confLIBS} -lwrap"
Comment 2 Nick Hadaway 2003-02-03 01:23:01 UTC
I added your changes to sendmail-8.12.7-r5 and verified this is something utilized by 8.12.7.  Thanks for update!