Am 12.02.2015 um 16:43 schrieb Viktor Dukhovni:
On Thu, Feb 12, 2015 at 10:40:47AM -0500, Wietse Venema wrote:
Where did I tell you to "make install -non-interactive"?
^^^^^^^^^^^^^^^^
As I explained above, use "make upgrade" you want a non-interactive
install.
I believe he does not want an install (directly to the final
locations), he wants a package build, therefore as per my other
email
thank you!
according to the subject a "You MUST use make non-interactive-package"
would have saved a lot of noise including the completly unnecessary
flames about "rpm crap" without *by all respect* no clue about how it
works and that the macros are replaced before any bit of postfix source
could face them
________________________________________________________________
that below works like a charm:
make non-interactive-package install_root=%{buildroot}
config_directory=%{postfix_config_dir}
meta_directory=%{postfix_daemon_dir}
daemon_directory=%{postfix_daemon_dir}
shlib_directory=%{postfix_shlib_dir}
command_directory=%{postfix_command_dir}
queue_directory=%{postfix_queue_dir} data_directory=%{postfix_data_dir}
sendmail_path=%{postfix_command_dir}/sendmail
newaliases_path=%{_bindir}/newaliases mailq_path=%{_bindir}/mailq
mail_owner=%{postfix_user} setgid_group=%{maildrop_group}
manpage_directory=%{_mandir} sample_directory=%{postfix_sample_dir}
readme_directory=%{postfix_readme_dir} || exit 1
________________________________________________________________
now it's also clear from where the "postfix-install" call is coming and
since it worked for many years and also 3.0 without shared, well......
With Postfix versions before 2.2 you must invoke the post-install script
directly (% sh post-install -non-interactive install_root...)