summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArkadiusz Miśkiewicz2020-02-08 12:51:44 (GMT)
committerArkadiusz Miśkiewicz2020-02-08 12:51:44 (GMT)
commitccc2c684038aae8c18c866753d019f220fb6800f (patch)
tree50a221fc65b8cfd899d3ef0beff714eb5ab4d587
parent209ab92feb77ae1058f05fbc565f069f5b1f4dd2 (diff)
downloadpostfix-ccc2c684038aae8c18c866753d019f220fb6800f.zip
postfix-ccc2c684038aae8c18c866753d019f220fb6800f.tar.gz
-rw-r--r--build.patch22
-rw-r--r--postfix.spec9
2 files changed, 5 insertions, 26 deletions
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