diff --git a/sendmail.spec b/sendmail.spec index 1b6202d09b67e24c5f8e48b3b2c0eb5ca712030a..d5fb372243f95b3bae562f92fd659d75004f3ef5 100644 --- a/sendmail.spec +++ b/sendmail.spec @@ -1,6 +1,6 @@ Name: sendmail Version: 8.17.2 -Release: 1 +Release: 2 Summary: A classic mail transfer agent from the Unix world License: Sendmail URL: http://www.sendmail.org/ @@ -47,6 +47,7 @@ Patch0010: backport-sendmail-8.17.1-switchfile.patch Patch0011: backport-sendmail-8.17.1-sasl2-in-etc.patch Patch0012: backport-sendmail-8.17.1-qos.patch Patch0013: backport-sendmail-8.17.1-libmilter-socket-activation.patch +Patch0014: support-specify-cc.patch %description Sendmail is a general purpose internetwork email routing facility that @@ -468,6 +469,12 @@ exit 0 %changelog +* Thu Feb 22 2024 jammyjellyfish - 8.17.2-2 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:Support specify CC + * Wed Jul 26 2023 xinghe - 8.17.2-1 - Type:requirements - ID:NA diff --git a/support-specify-cc.patch b/support-specify-cc.patch new file mode 100644 index 0000000000000000000000000000000000000000..23476fc45c2eee7cbaefbad1292f1793c420931e --- /dev/null +++ b/support-specify-cc.patch @@ -0,0 +1,13 @@ +diff -up sendmail-8.17.1/devtools/M4/header.m4.orig2 sendmail-8.17.1/devtools/M4/header.m4 +--- sendmail-8.17.1/devtools/M4/header.m4.orig2 2023-04-17 16:51:13.396073699 +0800 ++++ sendmail-8.17.1/devtools/M4/header.m4 2023-04-17 16:51:35.632185100 +0800 +@@ -20,7 +20,7 @@ ifdef(`pushdef', `', + System V or GNU') + include(NoSuchFile)') + define(`confABI', `') +-define(`confCC', `cc') ++define(`confCC', `syscmd(`printf $CC')') + define(`confSHELL', `/bin/sh') + define(`confBEFORE', `') + define(`confLIBDIRS', `') +