!58 update sendmail to 8.17.2

From: @xinghe_1 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
This commit is contained in:
openeuler-ci-bot 2023-08-08 06:19:17 +00:00 committed by Gitee
commit 5c8173b5eb
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
6 changed files with 53 additions and 39 deletions

View File

@ -1,5 +1,7 @@
--- sendmail-8.14.4/cf/cf/Build 1999-03-02 03:37:12.000000000 +0100 diff --git a/cf/cf/Build b/cf/cf/Build
+++ sendmail-8.14.4/cf/cf/Build.makemapman 2010-01-03 22:49:38.000000000 +0100 index 9fecb79..e9a5968 100755
--- a/cf/cf/Build
+++ b/cf/cf/Build
@@ -18,7 +18,7 @@ @@ -18,7 +18,7 @@
SMROOT=${SMROOT-../..} SMROOT=${SMROOT-../..}
BUILDTOOLS=${BUILDTOOLS-$SMROOT/devtools} BUILDTOOLS=${BUILDTOOLS-$SMROOT/devtools}
@ -9,9 +11,11 @@
ret=$? ret=$?
if [ $ret -ne 0 ] if [ $ret -ne 0 ]
then then
--- sendmail-8.14.4/devtools/OS/Linux 2009-01-22 03:15:42.000000000 +0100 diff --git a/devtools/OS/Linux b/devtools/OS/Linux
+++ sendmail-8.14.4/devtools/OS/Linux.makemapman 2010-01-03 22:50:27.000000000 +0100 index bc02f82..dec3ae6 100644
@@ -6,7 +6,7 @@ --- a/devtools/OS/Linux
+++ b/devtools/OS/Linux
@@ -6,7 +6,7 @@ dnl Place personal settings in devtools/Site/site.config.m4
define(`confDEPEND_TYPE', `CC-M') define(`confDEPEND_TYPE', `CC-M')
define(`confCCOPTS_SO', `-fPIC') define(`confCCOPTS_SO', `-fPIC')
define(`confSM_OS_HEADER', `sm_os_linux') define(`confSM_OS_HEADER', `sm_os_linux')
@ -20,7 +24,7 @@
define(`confLIBS', `-ldl') define(`confLIBS', `-ldl')
define(`confEBINDIR', `/usr/sbin') define(`confEBINDIR', `/usr/sbin')
APPENDDEF(`confLIBSEARCH', `crypt nsl') APPENDDEF(`confLIBSEARCH', `crypt nsl')
@@ -16,6 +16,8 @@ @@ -16,6 +16,8 @@ define(`confMTCCOPTS', `-D_REENTRANT')
define(`confMTLDOPTS', `-lpthread') define(`confMTLDOPTS', `-lpthread')
define(`confLDOPTS_SO', `-shared') define(`confLDOPTS_SO', `-shared')
define(`confSONAME',`-soname') define(`confSONAME',`-soname')
@ -29,9 +33,11 @@
ifelse(confBLDVARIANT, `DEBUG', ifelse(confBLDVARIANT, `DEBUG',
dnl Debug build dnl Debug build
--- sendmail-8.14.4/makemap/makemap.8 2008-05-03 01:07:48.000000000 +0200 diff --git a/makemap/makemap.8 b/makemap/makemap.8
+++ sendmail-8.14.4/makemap/makemap.8.makemapman 2010-01-03 22:51:04.000000000 +0100 index 16481ef..32cda2a 100644
@@ -52,12 +52,6 @@ --- a/makemap/makemap.8
+++ b/makemap/makemap.8
@@ -54,12 +54,6 @@ selected using the
parameter. parameter.
They may be They may be
.TP .TP
@ -44,9 +50,11 @@
btree btree
B-Tree format maps. B-Tree format maps.
This requires the new Berkeley DB This requires the new Berkeley DB
--- sendmail-8.14.4/rmail/rmail.c 2001-09-18 23:45:29.000000000 +0200 diff --git a/rmail/rmail.c b/rmail/rmail.c
+++ sendmail-8.14.4/rmail/rmail.c.makemapman 2010-01-03 22:51:36.000000000 +0100 index 154d772..d556df1 100644
@@ -276,7 +276,6 @@ --- a/rmail/rmail.c
+++ b/rmail/rmail.c
@@ -276,7 +276,6 @@ main(argc, argv)
args[i++] = _PATH_SENDMAIL; /* Build sendmail's argument list. */ args[i++] = _PATH_SENDMAIL; /* Build sendmail's argument list. */
args[i++] = "-G"; /* relay submission */ args[i++] = "-G"; /* relay submission */
args[i++] = "-oee"; /* No errors, just status. */ args[i++] = "-oee"; /* No errors, just status. */
@ -54,3 +62,4 @@
args[i++] = "-oi"; /* Ignore '.' on a line by itself. */ args[i++] = "-oi"; /* Ignore '.' on a line by itself. */
/* set from system and protocol used */ /* set from system and protocol used */
--

View File

@ -1,11 +1,9 @@
--- sendmail-8.14.9/sendmail/helpfile 2014-03-06 18:31:31.000000000 +0100 --- sendmail-8.14.9/sendmail/helpfile 2014-03-06 18:31:31.000000000 +0100
+++ sendmail-8.14.9/sendmail/helpfile.noversion 2014-05-21 17:25:29.000000000 +0200 +++ sendmail-8.14.9/sendmail/helpfile.noversion 2014-05-21 17:25:29.000000000 +0200
@@ -11,9 +11,7 @@ @@ -11,7 +11,7 @@
cpyr forth in the LICENSE file which can be found at the top level of cpyr forth in the LICENSE file which can be found at the top level of
cpyr the sendmail distribution. cpyr the sendmail distribution.
cpyr cpyr
-cpyr $$Id: helpfile,v 8.49 2013-11-22 20:51:55 ca Exp $$
-cpyr
-smtp This is sendmail version $v -smtp This is sendmail version $v
+smtp This is sendmail +smtp This is sendmail
smtp Topics: smtp Topics:

View File

@ -12,10 +12,10 @@ index c30fad0..492882e 100644
define(`confFROM_LINE', `From $g $d') define(`confFROM_LINE', `From $g $d')
define(`confOPERATORS', `.:%@!^/[]+') define(`confOPERATORS', `.:%@!^/[]+')
diff --git a/sendmail/aliases.0 b/sendmail/aliases.0 diff --git a/sendmail/aliases.0 b/sendmail/aliases.0
index 64d439c..1db4fd6 100644 index f54635e..82d63c2 100644
--- a/sendmail/aliases.0 --- a/sendmail/aliases.0
+++ b/sendmail/aliases.0 +++ b/sendmail/aliases.0
@@ -63,7 +63,7 @@ DDEESSCCRRIIPPTTIIOONN @@ -63,7 +63,7 @@ ALIASES(5) File Formats Manual ALIASES(5)
the list of users defined in that file. the list of users defined in that file.
This is only the raw data file; the actual aliasing information is This is only the raw data file; the actual aliasing information is
@ -47,26 +47,26 @@ index cb67508..52e5124 100644
newaliases(1). newaliases(1).
A A
diff --git a/sendmail/newaliases.0 b/sendmail/newaliases.0 diff --git a/sendmail/newaliases.0 b/sendmail/newaliases.0
index d8952ee..0be8986 100644 index 8c40726..e90f009 100644
--- a/sendmail/newaliases.0 --- a/sendmail/newaliases.0
+++ b/sendmail/newaliases.0 +++ b/sendmail/newaliases.0
@@ -10,7 +10,7 @@ SSYYNNOOPPSSIISS @@ -10,7 +10,7 @@ NEWALIASES(1) General Commands Manual NEWALIASES(1)
DDEESSCCRRIIPPTTIIOONN DESCRIPTION
NNeewwaalliiaasseess rebuilds the random access data base for the mail aliases Newaliases rebuilds the random access data base for the mail aliases
- file /etc/mail/aliases. It must be run each time this file is changed - file /etc/mail/aliases. It must be run each time this file is changed
+ file /etc/aliases. It must be run each time this file is changed + file /etc/aliases. It must be run each time this file is changed
in order for the change to take effect. in order for the change to take effect.
NNeewwaalliiaasseess is identical to ``sendmail -bi''. Newaliases is identical to ``sendmail -bi''.
@@ -22,7 +22,7 @@ DDEESSCCRRIIPPTTIIOONN @@ -22,7 +22,7 @@ NEWALIASES(1) General Commands Manual NEWALIASES(1)
sseennddmmaaiill.. sendmail.
FFIILLEESS FILES
- /etc/mail/aliases The mail aliases file - /etc/mail/aliases The mail aliases file
+ /etc/aliases The mail aliases file + /etc/aliases The mail aliases file
SSEEEE AALLSSOO SEE ALSO
aliases(5), sendmail(8) aliases(5), sendmail(8)
diff --git a/sendmail/newaliases.1 b/sendmail/newaliases.1 diff --git a/sendmail/newaliases.1 b/sendmail/newaliases.1
index 59dc0de..9ba8752 100644 index 59dc0de..9ba8752 100644
@ -91,11 +91,11 @@ index 59dc0de..9ba8752 100644
.SH SEE ALSO .SH SEE ALSO
aliases(5), sendmail(8) aliases(5), sendmail(8)
diff --git a/sendmail/sendmail.0 b/sendmail/sendmail.0 diff --git a/sendmail/sendmail.0 b/sendmail/sendmail.0
index 8eceedd..24a17da 100644 index 4227d16..2cb177d 100644
--- a/sendmail/sendmail.0 --- a/sendmail/sendmail.0
+++ b/sendmail/sendmail.0 +++ b/sendmail/sendmail.0
@@ -433,10 +433,10 @@ FFIILLEESS @@ -433,10 +433,10 @@ SENDMAIL(8) System Manager's Manual SENDMAIL(8)
names are all specified in _/_e_t_c_/_m_a_i_l_/_s_e_n_d_m_a_i_l_._c_f. Thus, these values names are all specified in /etc/mail/sendmail.cf. Thus, these values
are only approximations. are only approximations.
- /etc/mail/aliases - /etc/mail/aliases

Binary file not shown.

BIN
sendmail.8.17.2.tar.gz Normal file

Binary file not shown.

View File

@ -1,6 +1,6 @@
Name: sendmail Name: sendmail
Version: 8.17.1 Version: 8.17.2
Release: 7 Release: 1
Summary: A classic mail transfer agent from the Unix world Summary: A classic mail transfer agent from the Unix world
License: Sendmail License: Sendmail
URL: http://www.sendmail.org/ URL: http://www.sendmail.org/
@ -92,14 +92,14 @@ cp devtools/M4/UNIX/library.m4 devtools/M4/UNIX/sharedlibrary.m4
%autopatch -p1 %autopatch -p1
%build %build
export CFLAGS="${RPM_OPT_FLAGS}" %set_build_flags
cat << EOF > config.m4 cat << EOF > config.m4
define(\`confMAPDEF', \`-DNDBM -DNIS -DMAP_REGEX -DSOCKETMAP -DNAMED_BIND=1') define(\`confMAPDEF', \`-DNDBM -DNIS -DMAP_REGEX -DSOCKETMAP -DNAMED_BIND=1')
define(\`confOPTIMIZE', \`\`\`\`${RPM_OPT_FLAGS}'''') define(\`confOPTIMIZE', \`\`\`\`${CFLAGS}'''')
define(\`confLIBS', \`-lgdbm -lgdbm_compat -lnsl -lcrypt -lresolv') define(\`confLIBS', \`-lgdbm -lgdbm_compat -lnsl -lcrypt -lresolv')
define(\`confSTDIR', \`%{_localstatedir}/log/mail') define(\`confSTDIR', \`%{_localstatedir}/log/mail')
define(\`confLDOPTS', \`-Xlinker -z -Xlinker relro -Xlinker -z -Xlinker now') define(\`confLDOPTS', \`${LDFLAGS}')
define(\`confMANOWN', \`root') define(\`confMANOWN', \`root')
define(\`confMANGRP', \`root') define(\`confMANGRP', \`root')
define(\`confENVDEF', \`-I/usr/kerberos/include -Wall -DXDEBUG=0') define(\`confENVDEF', \`-I/usr/kerberos/include -Wall -DXDEBUG=0')
@ -110,6 +110,7 @@ define(\`confMAN5SRC', \`5')
define(\`confMAN8SRC', \`8') define(\`confMAN8SRC', \`8')
define(\`STATUS_FILE', \`%{_localstatedir}/log/mail/statistics') define(\`STATUS_FILE', \`%{_localstatedir}/log/mail/statistics')
define(\`confLIBSEARCH', \`resolv 44bsd') define(\`confLIBSEARCH', \`resolv 44bsd')
define(\`confCC', \`%{__cc}')
EOF EOF
#' #'
@ -413,12 +414,12 @@ exit 0
%config(noreplace) %{_sysconfdir}/mail/virtusertable %config(noreplace) %{_sysconfdir}/mail/virtusertable
%ghost %{_sysconfdir}/mail/aliasesdb-stamp %ghost %{_sysconfdir}/mail/aliasesdb-stamp
%ghost %{_sysconfdir}/mail/virtusertable.db %ghost %attr(0640, root,root) %verify(not md5 size mtime) %{_sysconfdir}/mail/virtusertable.db
%ghost %{_sysconfdir}/mail/access.db %ghost %attr(0640, root,root) %verify(not md5 size mtime) %{_sysconfdir}/mail/access.db
%ghost %{_sysconfdir}/mail/domaintable.db %ghost %attr(0640, root,root) %verify(not md5 size mtime) %{_sysconfdir}/mail/domaintable.db
%ghost %{_sysconfdir}/mail/mailertable.db %ghost %attr(0640, root,root) %verify(not md5 size mtime) %{_sysconfdir}/mail/mailertable.db
%ghost %{_localstatedir}/spool/clientmqueue/sm-client.st %ghost %attr(0660, smmsp, smmsp) %verify(not md5 size mtime) %{_localstatedir}/spool/clientmqueue/sm-client.st
%{_unitdir}/sendmail.service %{_unitdir}/sendmail.service
%{_unitdir}/sm-client.service %{_unitdir}/sm-client.service
@ -467,6 +468,12 @@ exit 0
%changelog %changelog
* Wed Jul 26 2023 xinghe <xinghe2@h-partners.com> - 8.17.2-1
- Type:requirements
- ID:NA
- SUG:NA
- DESC:update sendmail to 8.17.2
* Fri Mar 10 2023 xinghe <xinghe2@h-partners.com> - 8.17.1-7 * Fri Mar 10 2023 xinghe <xinghe2@h-partners.com> - 8.17.1-7
- Type:bugfix - Type:bugfix
- ID:NA - ID:NA