summaryrefslogtreecommitdiff
path: root/mail-mta/sendmail/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-29 09:06:52 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-29 09:06:52 +0100
commit23fb10c075a74a6504647a16c3e06a6378e208c8 (patch)
treeb465c5421ab9289b4ae5f2af17cb3e239d42d8c5 /mail-mta/sendmail/files
parent66cd90d4284850abdf808a598a77040bcda88bd8 (diff)
gentoo auto-resync : 29:07:2022 - 09:06:52
Diffstat (limited to 'mail-mta/sendmail/files')
-rw-r--r--mail-mta/sendmail/files/sendmail-8.17.1-cyrus-sasl-auth.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/mail-mta/sendmail/files/sendmail-8.17.1-cyrus-sasl-auth.patch b/mail-mta/sendmail/files/sendmail-8.17.1-cyrus-sasl-auth.patch
new file mode 100644
index 000000000000..ddbe2b1fb02e
--- /dev/null
+++ b/mail-mta/sendmail/files/sendmail-8.17.1-cyrus-sasl-auth.patch
@@ -0,0 +1,26 @@
+https://bugs.gentoo.org/859172
+https://bz-attachments.freebsd.org/attachment.cgi?id=233353
+https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263287
+https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262935
+--- a/sendmail/sendmail.h
++++ b/sendmail/sendmail.h
+@@ -760,7 +760,7 @@ extern bool filesys_free __P((long));
+ # define SASL_IS_AUTH 2 /* authenticated */
+
+ /* SASL options */
+-# define SASL_AUTH_AUTH 0x1000 /* use auth= only if authenticated */
++# define SASL_AUTH_AUTH 0x10000 /* use auth= only if authenticated */
+ # if SASL >= 20101
+ # define SASL_SEC_MASK SASL_SEC_MAXIMUM /* mask for SASL_SEC_* values: sasl.h */
+ # else /* SASL >= 20101 */
+@@ -775,6 +775,9 @@ extern bool filesys_free __P((long));
+ # endif /* SASL_SEC_NOPLAINTEXT & SASL_SEC_MASK) == 0 ... */
+ # endif /* SASL >= 20101 */
+ # define MAXOUTLEN 8192 /* length of output buffer, should be 2^n */
++# if (SASL_AUTH_AUTH & SASL_SEC_MASK) != 0
++# ERROR "change SASL_AUTH_AUTH notify sendmail.org!"
++# endif
+
+ /* functions */
+ extern char *intersect __P((char *, char *, SM_RPOOL_T *));
+