OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: why no configure script?

From: Brian Evans - Postfix List (grknightscent-team.com)
Date: Wed Aug 04 2010 - 12:40:29 CDT


  On 8/4/2010 1:23 PM, Jay G. Scott wrote:
> what's the deal w/ no configure script?
>
> you do know that you DON'T NEED autoconf/automake to install, right?
> they're not hiding behind that old dodge, are they? i'm so sick of
> that.
>
> if i supply a configure script, will you guys use it?
>
> every time i try to go to a newer version of postfix, the
> installation overwrites the previous version. and that
> interferes w/ my system documentation. w/ a configure script
> i can install into a safe, stub directory w/o clobbering the
> existing files. then i can do a proper migration.
>
> j.
The Postfix build system can already take this into account.

For example, Gentoo Linux sandboxes all builds in case something fails.
As part of this build system, it uses the following documented switches
to CCARGS in "make makefiles"

         mycc="${mycc} -DDEF_DAEMON_DIR=\\\"/usr/$(get_libdir)/postfix\\\""
         mycc="${mycc} -DDEF_MANPAGE_DIR=\\\"/usr/share/man\\\""
         mycc="${mycc} -DDEF_README_DIR=\\\"/usr/share/doc/${PF}/readme\\\""
         mycc="${mycc} -DDEF_HTML_DIR=\\\"/usr/share/doc/${PF}/html\\\""

This is only a sample of what can be built. More can be found here:
http://www.postfix.org/INSTALL.html

The postfix-install script respects install_root to sandbox a new
install that can be moved later.