From 755915e32c76be8064ea0748ae0581439aacafbc Mon Sep 17 00:00:00 2001 From: Mario Preksavec Date: Mon, 9 Nov 2015 14:27:10 +0100 Subject: network/postfix: Updated for version 3.0.3. Signed-off-by: Mario Preksavec --- network/postfix/patches/postconf.diff | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 network/postfix/patches/postconf.diff (limited to 'network/postfix/patches') diff --git a/network/postfix/patches/postconf.diff b/network/postfix/patches/postconf.diff new file mode 100644 index 0000000000..c51c1822fe --- /dev/null +++ b/network/postfix/patches/postconf.diff @@ -0,0 +1,31 @@ +--- postfix-3.0.3/postfix-install.orig 2015-01-29 23:15:30.000000000 +0100 ++++ postfix-3.0.3/postfix-install 2015-10-17 03:57:42.269896095 +0200 +@@ -248,7 +248,7 @@ + case "$junk" in + *MAIL_VERSION*) + case "$mail_version" in +- "") mail_version="`bin/postconf -dhx mail_version`" || exit 1 ++ "") mail_version="`bin/postconf -c conf -dhx mail_version`" || exit 1 + esac + val=`echo "$junk" | sed 's/MAIL_VERSION$/'"$mail_version/g"` || exit 1 + case "$val" in +@@ -810,7 +810,7 @@ + # the wrong place when Postfix is being upgraded. + + case "$mail_version" in +-"") mail_version="`bin/postconf -dhx mail_version`" || exit 1 ++"") mail_version="`bin/postconf -c conf -dhx mail_version`" || exit 1 + esac + + # Undo MAIL_VERSION expansion at the end of a parameter value. If +--- postfix-3.0.3/Makefile.in.orig 2014-09-25 21:16:29.000000000 +0200 ++++ postfix-3.0.3/Makefile.in 2015-10-17 04:01:27.170920308 +0200 +@@ -20,7 +20,7 @@ + EXPAND = sed -e "s;\$${LIB_PREFIX};$(LIB_PREFIX);" \ + -e "s;\$${LIB_SUFFIX};$(LIB_SUFFIX);" + SHLIB_DIR_OVERRIDE = \ +- $${shlib_directory:-`$(SHLIB_ENV) bin/postconf -dhx shlib_directory`} ++ $${shlib_directory:-`$(SHLIB_ENV) bin/postconf -c conf -dhx shlib_directory`} + + default: update + -- cgit v1.2.3