[packages/postfix] - up to 3.6.7

mrozowik mrozowik at pld-linux.org
Wed Oct 12 12:30:52 CEST 2022


commit 5ce9b387d628f7d86e9108cec8f5a5ecf8e35ed9
Author: Krzysztof Mrozowicz <mrozowik at pld-linux.org>
Date:   Wed Oct 12 10:30:40 2022 +0000

    - up to 3.6.7

 kernel6.patch | 22 ++++++++++++++++++++++
 postfix.spec  |  8 +++++---
 2 files changed, 27 insertions(+), 3 deletions(-)
---
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
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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/postfix.git/commitdiff/5ce9b387d628f7d86e9108cec8f5a5ecf8e35ed9



More information about the pld-cvs-commit mailing list