From: Krzysztof Mrozowicz Date: Wed, 12 Oct 2022 10:30:40 +0000 (+0000) Subject: - up to 3.6.7 X-Git-Tag: auto/th/postfix-3.6.7-1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fpostfix.git;a=commitdiff_plain;h=5ce9b387d628f7d86e9108cec8f5a5ecf8e35ed9 - up to 3.6.7 --- diff --git a/kernel6.patch b/kernel6.patch new file mode 100644 index 0000000..c4d7258 --- /dev/null +++ b/kernel6.patch @@ -0,0 +1,22 @@ +--- postfix-3.6.7/makedefs~ 2022-10-12 09:49:27.868418757 +0000 ++++ postfix-3.6.7/makedefs 2022-10-12 09:52:37.623569121 +0000 +@@ -568,7 +568,7 @@ + : ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"} + : ${PLUGIN_LD="${CC-gcc} -shared"} + ;; +- Linux.[345].*) SYSTYPE=LINUX$RELEASE_MAJOR ++ Linux.[3456].*) SYSTYPE=LINUX$RELEASE_MAJOR + case "$CCARGS" in + *-DNO_DB*) ;; + *-DHAS_DB*) ;; +--- postfix-3.6.7/src/util/sys_defs.h~ 2022-10-12 09:55:12.582892346 +0000 ++++ postfix-3.6.7/src/util/sys_defs.h 2022-10-12 10:09:31.063700522 +0000 +@@ -749,7 +749,7 @@ + /* + * LINUX. + */ +-#if defined(LINUX2) || defined(LINUX3) || defined(LINUX4) || defined(LINUX5) ++#if defined(LINUX2) || defined(LINUX3) || defined(LINUX4) || defined(LINUX5) || defined(LINUX6) + #define SUPPORTED + #define UINT32_TYPE unsigned int + #define UINT16_TYPE unsigned short diff --git a/postfix.spec b/postfix.spec index 2dd2930..12f9399 100644 --- a/postfix.spec +++ b/postfix.spec @@ -30,13 +30,13 @@ Summary(pl.UTF-8): Serwer SMTP Postfix Summary(pt_BR.UTF-8): Postfix - Um MTA (Mail Transport Agent) de alto desempenho Summary(sk.UTF-8): Agent prenosu pošty Postfix Name: postfix -Version: 3.6.6 -Release: 2 +Version: 3.6.7 +Release: 1 Epoch: 2 License: IBM Public License or Eclipse Public License v2.0 Group: Networking/Daemons/SMTP Source0: ftp://ftp.porcupine.org/mirrors/postfix-release/official/%{name}-%{version}.tar.gz -# Source0-md5: 891ea3d4e2d7a9a82c0363ce9de2abda +# Source0-md5: c6cadb7a89dffb66c6ce3b5207989ae3 Source1: %{name}.aliases Source2: %{name}.cron Source3: %{name}.init @@ -66,6 +66,7 @@ Patch8: %{name}-dictname.patch Patch11: %{name}-scache_clnt.patch Patch12: format-security.patch Patch13: glibc-2.34.patch +Patch14: kernel6.patch URL: http://www.postfix.org/ %{?with_sasl:BuildRequires: cyrus-sasl-devel} BuildRequires: db-devel @@ -317,6 +318,7 @@ find -type f | xargs %{__sed} -i -e 's|/etc/postfix|/etc/mail|g' %patch12 -p1 %endif %patch13 -p1 +%patch14 -p1 %if %{with tcp} sed -i 's/ifdef SNAPSHOT/if 1/' src/util/dict_open.c