We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--prefix
/etc/ssl/
When installing LibreSSL with cmake --install, --prefix is ignored for /etc/ssl/ files:
cmake --install
cmake -B _bld cmake --build _bld cmake --install _bld --prefix _out
→
[...] -- Installing: /path/to/libressl/_out/lib/pkgconfig/libtls.pc -- Installing: /usr/local/etc/ssl/cert.pem -- Installing: /usr/local/etc/ssl/openssl.cnf -- Installing: /usr/local/etc/ssl/x509v3.cnf -- Installing: /usr/local/etc/ssl/certs
It overwrites system files or fails, while missing these files from the requested prefix.
It's possible to work around this by using the DESTDIR env instead.
DESTDIR
The text was updated successfully, but these errors were encountered:
libressl.sh: link to upstream --prefix issue [ci skip]
9fcf5af
libressl/portable#1118 Follow-up to e76e019
CMAKE_INSTALL_SYSCONFDIR
4f20970
libressl.sh: update issue status, add non-workaround code [ci skip]
947dbc1
libressl/portable#1118 libressl/portable#1119
cmake: use CMAKE_INSTALL_SYSCONFDIR
4cafc05
Replace `${CMAKE_INSTALL_PREFIX}/etc` with `${CMAKE_INSTALL_SYSCONFDIR}`. It makes the install step honor the `--prefix` option. Fixes libressl#1118
Successfully merging a pull request may close this issue.
When installing LibreSSL with
cmake --install
,--prefix
is ignored for/etc/ssl/
files:→
It overwrites system files or fails, while missing these files from the requested prefix.
It's possible to work around this by using the
DESTDIR
env instead.The text was updated successfully, but these errors were encountered: