Niels Poppe <[EMAIL PROTECTED]>:
> Bodo Moeller:
>> David Harris:

>>> My original request was for something slightly different, I think.
>>>                                        [...] I want to run "make" and have
>>> all the programs compiled _as-if_ they would be installed into the
>>> /usr/local/{bin,lib,include} directories. Then I want to be able to run
>>> "make INSTALL_PREFIX=/tmp/openssl-root/" and have all the files actually
>>> placed into the /tmp/openssl-root/usr/local/{bin,lib,include} directories.

>> O.K., then I'll do this.  [...]

> AFAIK (or, have seen) the above wishes for rpm packaging can
> be fulfilled as follows:
> # sh config --prefix=/usr/local --openssldir=/usr/local/openssl \
>       [ threads -D_REENTRANT ]
> # make ...
> # make INSTALL_PREFIX=/tmp/openssl-root install

Yes, because after I had said that I'd implement that I actually did.

> To add to the confusion, there is one other common wish for the
> packaging guys: openssl.cnf should not live in a lib/ directory
> because some people want to have that mounted r/o.

Another reason why it should not be in a lib/ directory is that then
we have two of them -- first the one under the --prefix directory
where the acual libraries are installed, and then the one under
--openssldir where openssl.cnf is.  Probably the reason why I did not
complain about that myself is that I usually find that the global
openssl.cnf cannot hold defaults for everything I want to do, anyway
(maybe it could, but that wouldn't really help to make things
transparent); it usually makes most sense to create a local
openssl.cnf file for one purpose.  So effectively I use the default
openssl.cnf only as a template, and when I look for it in the editor,
I don't really notice if its filename makes sense.

> I only have one wish with respect to this: in the above example
> openssl.cnf is installed into /usr/local/openssl/lib/.
> Another config modifier, say --etcdir, to change openssl.cnf,
> and the private/ and certs/ subdirs to be installed there
> should do. 

I think when both --prefix and --openssldir are used, this --etcdir
definition wouldn't leave anything for --openssldir.  Also it is too
confusing to have that many configurable locations.  I'd prefer to get
rid of the lib/ directory under --openssldir; openssl.cnf can be put
directly in --openssldir.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to