]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/postfix/postfix-2.0.20/install.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / postfix / postfix-2.0.20 / install.patch
1
2 #
3 # Patch managed by http://www.holgerschurig.de/patcher.html
4 #
5
6 --- postfix-2.0.15/postfix-install~install.patch
7 +++ postfix-2.0.15/postfix-install
8 @@ -187,8 +187,8 @@
9      exit 1
10  }
11  
12 -test -x bin/postconf || {
13 -    echo $0: Error: no bin/postconf file. Did you forget to run \"make\"? 1>&2
14 +test -x $POSTCONF || {
15 +    echo $0: Error: no $POSTCONF file. Did you forget to run \"make\"? 1>&2
16      exit 1
17  }
18  
19 @@ -336,7 +336,7 @@
20  
21  : ${install_root=/}
22  : ${tempdir=`pwd`}
23 -: ${config_directory=`bin/postconf -h -d config_directory`}
24 +: ${config_directory=`$POSTCONF -h -d config_directory`}
25  
26  # Find out the location of installed configuration files.
27  
28 @@ -399,7 +399,7 @@
29         case "$junk" in
30         "") eval unset $name;;
31         esac
32 -       eval : \${$name=\`bin/postconf -c $CONFIG_DIRECTORY -h $name\`} ||
33 +       eval : \${$name=\`$POSTCONF -c $CONFIG_DIRECTORY -h $name\`} ||
34             exit 1
35      done
36  }
37 @@ -414,7 +414,7 @@
38      case "$junk" in
39      "") eval unset $name;;
40      esac
41 -    eval : \${$name=\`bin/postconf -d -h $name\`} || exit 1
42 +    eval : \${$name=\`$POSTCONF -d -h $name\`} || exit 1
43  done
44  
45  # Override settings manually.
46 @@ -521,6 +521,8 @@
47  SAMPLE_DIRECTORY=$install_root$sample_directory
48  README_DIRECTORY=$install_root$readme_directory
49  
50 +test "x$POSTCONF" != "x" || POSTCONF="bin/postconf"
51 +
52  # Avoid repeated tests for existence of these; default permissions suffice.
53  
54  test -d $DAEMON_DIRECTORY || mkdir -p $DAEMON_DIRECTORY || exit 1
55 @@ -639,7 +641,7 @@
56  # Postfix releases, and software should not suddenly be installed in
57  # the wrong place when Postfix is being upgraded.
58  
59 -bin/postconf -c $CONFIG_DIRECTORY -e \
60 +$POSTCONF -c $CONFIG_DIRECTORY -e \
61      "daemon_directory = $daemon_directory" \
62      "command_directory = $command_directory" \
63      "queue_directory = $queue_directory" \