]> git.pld-linux.org Git - packages/postfix.git/commitdiff
- up to 3.6.2 auto/th/postfix-3.6.2-1
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 26 Sep 2021 21:40:32 +0000 (23:40 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 26 Sep 2021 21:40:32 +0000 (23:40 +0200)
glibc-2.34.patch [new file with mode: 0644]
postfix-scache_clnt.patch
postfix.spec

diff --git a/glibc-2.34.patch b/glibc-2.34.patch
new file mode 100644 (file)
index 0000000..4ab1422
--- /dev/null
@@ -0,0 +1,10 @@
+--- postfix-3.5.11/src/util/sys_defs.h~        2021-09-26 23:25:46.000000000 +0200
++++ postfix-3.5.11/src/util/sys_defs.h 2021-09-26 23:32:57.661271117 +0200
+@@ -774,6 +774,7 @@
+ #define PREPEND_PLUS_TO_OPTSTRING
+ #define HAS_POSIX_REGEXP
+ #define HAS_DLOPEN
++#define HAS_CLOSEFROM
+ #define NATIVE_SENDMAIL_PATH "/usr/sbin/sendmail"
+ #define NATIVE_MAILQ_PATH "/usr/bin/mailq"
+ #define NATIVE_NEWALIAS_PATH "/usr/bin/newaliases"
index e34ee5e9485feec1d26bbaa36af163377088f017..27532eafc204477c03f618bec9710114d0db9804 100644 (file)
@@ -4,8 +4,8 @@
      sp->scache->size = scache_clnt_size;
      sp->scache->free = scache_clnt_free;
  
      sp->scache->size = scache_clnt_size;
      sp->scache->free = scache_clnt_free;
  
--    service = concatenate("local:private/", server, (char *) 0);
-+    service = concatenate("local:private/", var_scache_service, (char *) 0);
+-    service = concatenate("local:" MAIL_CLASS_PRIVATE "/", server, (char *) 0);
++    service = concatenate("local:" MAIL_CLASS_PRIVATE "/", var_scache_service, (char *) 0);
      sp->auto_clnt = auto_clnt_create(service, timeout, idle_limit, ttl_limit);
      sp->auto_clnt = auto_clnt_create(service, timeout, idle_limit, ttl_limit);
-     myfree(service);
+     auto_clnt_control(sp->auto_clnt,
+                     AUTO_CLNT_CTL_HANDSHAKE, scache_clnt_handshake,
index d5947b59dfbfe0173558fe3dd572463a7df306c7..763218352abdedc5b0a4b8a64639a0c7b8e6baec 100644 (file)
@@ -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
 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.5.11
-Release:       2
+Version:       3.6.2
+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
 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: e970e8723e1b114643dc37e436bd5937
+# Source0-md5: 4718b498fa4285cf275f506c169f4746
 Source1:       %{name}.aliases
 Source2:       %{name}.cron
 Source3:       %{name}.init
 Source1:       %{name}.aliases
 Source2:       %{name}.cron
 Source3:       %{name}.init
@@ -65,6 +65,7 @@ Patch8:               %{name}-dictname.patch
 
 Patch11:       %{name}-scache_clnt.patch
 Patch12:       format-security.patch
 
 Patch11:       %{name}-scache_clnt.patch
 Patch12:       format-security.patch
+Patch13:       glibc-2.34.patch
 URL:           http://www.postfix.org/
 %{?with_sasl:BuildRequires:    cyrus-sasl-devel}
 BuildRequires: db-devel
 URL:           http://www.postfix.org/
 %{?with_sasl:BuildRequires:    cyrus-sasl-devel}
 BuildRequires: db-devel
@@ -314,6 +315,7 @@ find -type f | xargs %{__sed} -i -e 's|/etc/postfix|/etc/mail|g'
 %if %{with vda}
 %patch12 -p1
 %endif
 %if %{with vda}
 %patch12 -p1
 %endif
+%patch13 -p1
 
 %if %{with tcp}
 sed -i 's/ifdef SNAPSHOT/if 1/' src/util/dict_open.c
 
 %if %{with tcp}
 sed -i 's/ifdef SNAPSHOT/if 1/' src/util/dict_open.c
This page took 0.234041 seconds and 4 git commands to generate.