diff options
| author | Yi Zhao <yi.zhao@windriver.com> | 2022-01-16 15:07:30 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-01-18 09:01:51 -0800 |
| commit | 2c710b005af209d95d4a3091a556f5660f77aa60 (patch) | |
| tree | 4761bb328e87b673eadd01d589da570c458e1cb8 /meta-networking/recipes-daemons/postfix/files/install.patch | |
| parent | 87bde66c95d6d07ca6b58696f0654425e26c79a2 (diff) | |
| download | meta-openembedded-2c710b005af209d95d4a3091a556f5660f77aa60.tar.gz | |
postfix: upgrade 3.6.3 -> 3.6.4
Refresh patches.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-daemons/postfix/files/install.patch')
| -rw-r--r-- | meta-networking/recipes-daemons/postfix/files/install.patch | 93 |
1 files changed, 0 insertions, 93 deletions
diff --git a/meta-networking/recipes-daemons/postfix/files/install.patch b/meta-networking/recipes-daemons/postfix/files/install.patch deleted file mode 100644 index d023680f3b..0000000000 --- a/meta-networking/recipes-daemons/postfix/files/install.patch +++ /dev/null | |||
| @@ -1,93 +0,0 @@ | |||
| 1 | From 190650e1cd5700cd6950ead3fcb17ebcec192a2e Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Li xin <lixin.fnst@cn.fujitsu.com> | ||
| 3 | Date: Fri, 19 Jun 2015 17:14:58 +0900 | ||
| 4 | Subject: [PATCH] Change fixed postconf to a variable for cross-compiling | ||
| 5 | |||
| 6 | Upstreamstatus: Inappropriate [embedded specific] | ||
| 7 | |||
| 8 | Signed-off-by: Yao Zhao <yao.zhao@windriver.com> | ||
| 9 | --- | ||
| 10 | postfix-install | 18 ++++++++++-------- | ||
| 11 | 1 file changed, 10 insertions(+), 8 deletions(-) | ||
| 12 | |||
| 13 | diff --git a/postfix-install b/postfix-install | ||
| 14 | index 1662c3d..d11fa12 100644 | ||
| 15 | --- a/postfix-install | ||
| 16 | +++ b/postfix-install | ||
| 17 | @@ -226,8 +226,8 @@ test -z "$non_interactive" -a ! -t 0 && { | ||
| 18 | exit 1 | ||
| 19 | } | ||
| 20 | |||
| 21 | -test -x bin/postconf || { | ||
| 22 | - echo $0: Error: no bin/postconf file. Did you forget to run \"make\"? 1>&2 | ||
| 23 | +test -x "$POSTCONF" || { | ||
| 24 | + echo $0: Error: no $POSTCONF file. Did you forget to run \"make\"? 1>&2 | ||
| 25 | exit 1 | ||
| 26 | } | ||
| 27 | |||
| 28 | @@ -248,7 +248,7 @@ do | ||
| 29 | case "$junk" in | ||
| 30 | *MAIL_VERSION*) | ||
| 31 | case "$mail_version" in | ||
| 32 | - "") mail_version="`bin/postconf -dhx mail_version`" || exit 1 | ||
| 33 | + "") mail_version="`$POSTCONF -dhx mail_version`" || exit 1 | ||
| 34 | esac | ||
| 35 | val=`echo "$junk" | sed 's/MAIL_VERSION$/'"$mail_version/g"` || exit 1 | ||
| 36 | case "$val" in | ||
| 37 | @@ -434,7 +434,7 @@ template files main.cf.proto and master.cf.proto." | ||
| 38 | |||
| 39 | : ${install_root=/} | ||
| 40 | : ${tempdir=`pwd`} | ||
| 41 | -: ${config_directory=`bin/postconf -c conf -h -d config_directory`} | ||
| 42 | +: ${config_directory=`$POSTCONF -c conf -h -d config_directory`} | ||
| 43 | |||
| 44 | # Find out the location of installed configuration files. | ||
| 45 | |||
| 46 | @@ -500,7 +500,7 @@ test -f $CONFIG_DIRECTORY/main.cf && { | ||
| 47 | case "$junk" in | ||
| 48 | "") eval unset $name;; | ||
| 49 | esac | ||
| 50 | - eval : \${$name=\`bin/postconf -c $CONFIG_DIRECTORY -hx $name\`} || | ||
| 51 | + eval : \${$name=\`$POSTCONF -c $CONFIG_DIRECTORY -hx $name\`} || | ||
| 52 | exit 1 | ||
| 53 | done | ||
| 54 | } | ||
| 55 | @@ -513,7 +513,7 @@ do | ||
| 56 | case "$junk" in | ||
| 57 | "") eval unset $name;; | ||
| 58 | esac | ||
| 59 | - eval : \${$name=\`bin/postconf -c conf -d -hx $name\`} || exit 1 | ||
| 60 | + eval : \${$name=\`$POSTCONF -c conf -d -hx $name\`} || exit 1 | ||
| 61 | done | ||
| 62 | |||
| 63 | # Override settings manually. | ||
| 64 | @@ -639,6 +639,8 @@ README_DIRECTORY=$install_root$readme_directory | ||
| 65 | SHLIB_DIRECTORY=$install_root$shlib_directory | ||
| 66 | META_DIRECTORY=$install_root$meta_directory | ||
| 67 | |||
| 68 | +test "x$POSTCONF" != "x" || POSTCONF="bin/postconf" | ||
| 69 | + | ||
| 70 | # Avoid repeated tests for existence of these; default permissions suffice. | ||
| 71 | |||
| 72 | test -d $DAEMON_DIRECTORY || mkdir -p $DAEMON_DIRECTORY || exit 1 | ||
| 73 | @@ -810,7 +812,7 @@ IFS="$BACKUP_IFS" | ||
| 74 | # the wrong place when Postfix is being upgraded. | ||
| 75 | |||
| 76 | case "$mail_version" in | ||
| 77 | -"") mail_version="`bin/postconf -dhx mail_version`" || exit 1 | ||
| 78 | +"") mail_version="`$POSTCONF -dhx mail_version`" || exit 1 | ||
| 79 | esac | ||
| 80 | |||
| 81 | # Undo MAIL_VERSION expansion at the end of a parameter value. If | ||
| 82 | @@ -830,7 +832,7 @@ do | ||
| 83 | esac | ||
| 84 | done | ||
| 85 | |||
| 86 | -bin/postconf -c $CONFIG_DIRECTORY -e \ | ||
| 87 | +"$POSTCONF" -c $CONFIG_DIRECTORY -e \ | ||
| 88 | "daemon_directory = $daemon_directory" \ | ||
| 89 | "data_directory = $data_directory" \ | ||
| 90 | "command_directory = $command_directory" \ | ||
| 91 | -- | ||
| 92 | 1.8.4.2 | ||
| 93 | |||
