mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
Postfix: Update to 3.8.0
Please refer to https://www.postfix.org/announcements/postfix-3.8.0.html for this versions' release announcement. Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
diff --git a/src/util/sys_defs.h b/src/util/sys_defs.h
|
||||
index 99bec9b..95c78ec 100644
|
||||
--- a/src/util/sys_defs.h
|
||||
+++ b/src/util/sys_defs.h
|
||||
@@ -802,6 +803,9 @@ extern int initgroups(const char *, int);
|
||||
#define _PATH_PROCNET_IFINET6 "/proc/net/if_inet6"
|
||||
#endif
|
||||
#endif
|
||||
+#if HAVE_GLIBC_API_VERSION_SUPPORT(2, 34)
|
||||
+#define HAS_CLOSEFROM
|
||||
+#endif
|
||||
#include <linux/version.h>
|
||||
#if !defined(KERNEL_VERSION)
|
||||
#define KERNEL_VERSION(a,b,c) (LINUX_VERSION_CODE + 1)
|
||||
@@ -1,24 +0,0 @@
|
||||
diff -Naur postfix-3.7.2.org/makedefs postfix-3.7.2/makedefs
|
||||
--- postfix-3.7.2.org/makedefs 2022-01-23 21:53:41.000000000 +0100
|
||||
+++ postfix-3.7.2/makedefs 2022-10-18 16:11:50.259575443 +0200
|
||||
@@ -627,7 +627,7 @@
|
||||
: ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
|
||||
: ${PLUGIN_LD="${CC-gcc} -shared"}
|
||||
;;
|
||||
- Linux.[345].*) SYSTYPE=LINUX$RELEASE_MAJOR
|
||||
+ Linux.[3-6].*) SYSTYPE=LINUX$RELEASE_MAJOR
|
||||
case "$CCARGS" in
|
||||
*-DNO_DB*) ;;
|
||||
*-DHAS_DB*) ;;
|
||||
diff -Naur postfix-3.7.2.org/src/util/sys_defs.h postfix-3.7.2/src/util/sys_defs.h
|
||||
--- postfix-3.7.2.org/src/util/sys_defs.h 2021-12-05 19:59:27.000000000 +0100
|
||||
+++ postfix-3.7.2/src/util/sys_defs.h 2022-10-18 16:09:29.682371415 +0200
|
||||
@@ -751,7 +751,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
|
||||
Reference in New Issue
Block a user