update postfix to 3.8.1

This commit is contained in:
eaglegai 2023-07-25 16:44:00 +08:00
parent ebae80baae
commit 6337ad8a20
4 changed files with 8 additions and 17 deletions

View File

@ -1,13 +0,0 @@
diff --git a/src/cleanup/cleanup_message.c b/src/cleanup/cleanup_message.c
index 391c711..be5ce42 100644
--- a/src/cleanup/cleanup_message.c
+++ b/src/cleanup/cleanup_message.c
@@ -773,6 +773,8 @@ static void cleanup_header_done_callback(void *context)
/* Normalize whitespace. */
token = tok822_scan_limit(state->fullname, &dummy_token,
var_token_limit);
+ if (!token)
+ token = tok822_alloc(TOK822_QSTRING, state->fullname);
} else {
token = tok822_alloc(TOK822_QSTRING, state->fullname);
}

Binary file not shown.

BIN
postfix-3.8.1.tar.gz Normal file

Binary file not shown.

View File

@ -22,8 +22,8 @@
Name: postfix
Summary: Postfix Mail Transport Agent
Version: 3.7.4
Release: 2
Version: 3.8.1
Release: 1
Epoch: 2
URL: http://www.postfix.org
License: (IPL-1.0 and GPLv2+) or (EPL-2.0 and GPLv2+)
@ -44,7 +44,6 @@ Patch5: pflogsumm-1.1.5-datecalc.patch
Patch6: pflogsumm-1.1.5-ipv6-warnings-fix.patch
Patch11: postfix-use-lmdb-by-default-instead-of-libdb.patch
Patch12: postfix-set-default_data_type-to-lmdb.patch
Patch13: backport-postfix-3.6.2-whitespace-name-fix.patch
BuildRequires: lmdb-devel perl-generators pkgconfig zlib-devel systemd-units libicu-devel libnsl2-devel gcc m4 openldap-devel
BuildRequires: cyrus-sasl-devel pcre2-devel mariadb-connector-c-devel postgresql-devel sqlite-devel openssl-devel procps-ng
@ -107,7 +106,6 @@ PostgreSQL maps with Postfix, you need this.
%patch11 -p1
%patch12 -p1
%patch13 -p1
sed -i \
's|^\(\s*#define\s\+DEF_SHLIB_DIR\s\+\)"/usr/lib/postfix"|\1"%{_libdir}/postfix"|' \
@ -558,6 +556,12 @@ fi
%{postfix_doc_dir}/README_FILES/*
%changelog
* Tue Jul 25 2023 gaihuiying <eaglegai@163.com> - 2:3.8.1-1
- Type:requirements
- ID:NA
- SUG:NA
- DESC:update postfix to 3.8.1
* Tue Jun 13 2023 zhouyihang <zhouyihang3@h-partners.com> - 2:3.7.4-2
- Type:bugfix
- ID:NA