From ccc2c684038aae8c18c866753d019f220fb6800f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Sat, 8 Feb 2020 13:51:44 +0100 Subject: [PATCH] - up to 3.4.9 --- build.patch | 22 ---------------------- postfix.spec | 9 +++++---- 2 files changed, 5 insertions(+), 26 deletions(-) delete mode 100644 build.patch diff --git a/build.patch b/build.patch deleted file mode 100644 index b0db150..0000000 --- a/build.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- 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 diff --git a/postfix.spec b/postfix.spec index f800e50..f02c352 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.7 +Version: 3.4.9 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: e7df9d2c4df124409595848cfc089639 +# Source0-md5: 5dbe5f07b98903716f969dcff88c0775 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} @@ -508,6 +508,7 @@ fi %attr(755,root,root) %{_libdir}/postfix/pipe %attr(755,root,root) %{_libdir}/postfix/postfix-script %attr(755,root,root) %{_libdir}/postfix/postfix-tls-script +%attr(755,root,root) %{_libdir}/postfix/postlogd %attr(755,root,root) %{_libdir}/postfix/postfix-wrapper %attr(755,root,root) %{_libdir}/postfix/post-install %attr(755,root,root) %{_libdir}/postfix/postmulti-script -- 2.43.0