commit 209ab92feb77ae1058f05fbc565f069f5b1f4dd2
Author: Arkadiusz Miśkiewicz <[email protected]>
Date:   Sat Feb 8 13:47:20 2020 +0100

    - up to 3.3.7

 build.patch  | 22 ++++++++++++++++++++++
 postfix.spec | 10 +++++-----
 2 files changed, 27 insertions(+), 5 deletions(-)
---
diff --git a/postfix.spec b/postfix.spec
index cbbb888..f800e50 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.3.5
-Release:       2
+Version:       3.3.7
+Release:       1
 Epoch:         2
 License:       distributable
 Group:         Networking/Daemons/SMTP
 Source0:       
ftp://ftp.porcupine.org/mirrors/postfix-release/official/%{name}-%{version}.tar.gz
-# Source0-md5: fc2f0690a2acac94726ecb49192520aa
+# Source0-md5: e7df9d2c4df124409595848cfc089639
 Source1:       %{name}.aliases
 Source2:       %{name}.cron
 Source3:       %{name}.init
@@ -56,7 +56,7 @@ Source11:     %{name}-vda-bigquota.patch
 Source12:      %{name}.service
 Patch0:                %{name}-config.patch
 Patch1:                80_glibc2.30-ftbfs.diff
-
+Patch2:                build.patch
 Patch3:                %{name}-master.cf_cyrus.patch
 # from http://akson.sgh.waw.pl/~chopin/unix/postfix-2.1.5-header_if_reject.diff
 Patch4:                %{name}-header_if_reject.patch
@@ -303,7 +303,7 @@ find -type f | xargs sed -i -e 's|/etc/postfix|/etc/mail|g'
 
 %patch0 -p1
 %patch1 -p1
-
+%patch2 -p1
 %patch3 -p1
 %{?with_hir:%patch4 -p0}
 
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..b0db150
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,22 @@
+--- postfix-3.3.7/makedefs~    2020-02-08 13:42:07.000000000 +0100
++++ postfix-3.3.7/makedefs     2020-02-08 13:42:53.604246413 +0100
+@@ -546,7 +546,7 @@ EOF
+               : ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
+               : ${PLUGIN_LD="${CC-gcc} -shared"}
+               ;;
+-  Linux.[34].*)       SYSTYPE=LINUX$RELEASE_MAJOR
++  Linux.[3456].*)     SYSTYPE=LINUX$RELEASE_MAJOR
+               case "$CCARGS" in
+                *-DNO_DB*) ;;
+                *-DHAS_DB*) ;;
+--- postfix-3.3.7/src/util/sys_defs.h~ 2020-02-08 13:43:34.000000000 +0100
++++ postfix-3.3.7/src/util/sys_defs.h  2020-02-08 13:44:42.064282215 +0100
+@@ -748,7 +748,7 @@ extern int initgroups(const char *, int)
+  /*
+   * LINUX.
+   */
+-#if defined(LINUX2) || defined(LINUX3) || defined(LINUX4)
++#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/209ab92feb77ae1058f05fbc565f069f5b1f4dd2

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to