1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- diff -Naur postfix-2.10.2/conf/post-install postfix-2.10.2_patched/conf/post-install
- --- postfix-2.10.2/conf/post-install 2013-06-13 18:07:46.000000000 +0400
- +++ postfix-2.10.2_patched/conf/post-install 2013-11-19 21:17:49.572820573 +0400
- @@ -350,10 +350,10 @@
-
- # Sanity checks
-
- -case $manpage_directory in
- - no) echo $0: Error: manpage_directory no longer accepts \"no\" values. 1>&2
- - echo Try again with \"$0 manpage_directory=/pathname ...\". 1>&2; exit 1;;
- -esac
- +#case $manpage_directory in
- +# no) echo $0: Error: manpage_directory no longer accepts \"no\" values. 1>&2
- +# echo Try again with \"$0 manpage_directory=/pathname ...\". 1>&2; exit 1;;
- +#esac
-
- case $setgid_group in
- no) echo $0: Error: setgid_group no longer accepts \"no\" values. 1>&2
- @@ -361,7 +361,7 @@
- esac
-
- for path in "$daemon_directory" "$command_directory" "$queue_directory" \
- - "$sendmail_path" "$newaliases_path" "$mailq_path" "$manpage_directory"
- + "$sendmail_path" "$newaliases_path" "$mailq_path"
- do
- case "$path" in
- /*) ;;
- @@ -369,7 +369,7 @@
- esac
- done
-
- -for path in "$html_directory" "$readme_directory"
- +for path in "$html_directory" "$readme_directory" "$manpage_directory"
- do
- case "$path" in
- /*) ;;
- diff -Naur postfix-2.10.2/postfix-install postfix-2.10.2_patched/postfix-install
- --- postfix-2.10.2/postfix-install 2012-05-22 23:40:29.000000000 +0400
- +++ postfix-2.10.2_patched/postfix-install 2013-11-19 21:12:20.694160734 +0400
- @@ -481,13 +481,13 @@
- exit 1;;
- esac
-
- -case "$manpage_directory" in
- - no) (echo $0: Error: the manpage_directory parameter no longer accepts
- - echo \"no\" values. Try again with \"manpage_directory=/path/name\"
- - echo on the command line or execute \"make install\" and specify
- - echo manpage_directory interactively.) | ${FMT} 1>&2
- - exit 1;;
- -esac
- +#case "$manpage_directory" in
- +# no) (echo $0: Error: the manpage_directory parameter no longer accepts
- +# echo \"no\" values. Try again with \"manpage_directory=/path/name\"
- +# echo on the command line or execute \"make install\" and specify
- +# echo manpage_directory interactively.) | ${FMT} 1>&2
- +# exit 1;;
- +#esac
-
- for path in "$html_directory" "$readme_directory"
- do
- @@ -500,7 +500,7 @@
- done
-
- for path in "$daemon_directory" "$data_directory" "$command_directory" "$queue_directory" \
- - "$sendmail_path" "$newaliases_path" "$mailq_path" "$manpage_directory"
- + "$sendmail_path" "$newaliases_path" "$mailq_path"
- do
- case "$path" in
- /*) ;;
- @@ -680,8 +680,8 @@
- compare_or_replace $mode "$owner" "$group" html/$file \
- $HTML_DIRECTORY/$file || exit 1;;
- '$manpage_directory')
- - check_parent $MANPAGE_DIRECTORY/$file || exit 1
- - compare_or_replace $mode "$owner" "$group" man/$file \
- + test "$manpage_directory" = "no" || check_parent $MANPAGE_DIRECTORY/$file || exit 1
- + test "$manpage_directory" = "no" || compare_or_replace $mode "$owner" "$group" man/$file \
- $MANPAGE_DIRECTORY/$file || exit 1;;
- '$readme_directory')
- test "$readme_directory" = "no" ||
|