-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
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
fix: add ${MINGW_PACKAGE_PREFIX}-ca-certificates
for HTTPS(SSL) dependency
#23257
base: master
Are you sure you want to change the base?
Conversation
I'm wondering if it is possible to use shared package
So I would appreciate it if anyone tells me about why |
We need autoreconf for clang builds to work, the DLL is missing now without it. I'm not sure about the gettext error, needs investigating.
yes, but both cases are broken since you can't hardcode a Windows path in the build, users have MSYS2 installed in different locations. Does aria have some way to ask openssl by default? That would support path relocation. |
I removed autoreconf commands because it can't build on my Windows machine (nor could Github CI), which raise an error when checking gettext macro version.
This error should be easily reproduced through an rebuild of the package, or more exactly, run
Sorry but I don't agree with this. What I hardcoded at build time is a Cygwin path, which is relative to MSYS2 installation. The issue is that their build configure doesn't support Cygwin path, while runtime argument supports. This really confuses me when trying to share certificates from /usr. |
ca-certificates
for HTTPS(SSL) dependency
See #23332
runtime only works because cygwin auto-converts arguments to Windows paths (see https://www.msys2.org/docs/filesystem-paths/#automatic-unix-windows-path-conversion). aria2 is native so doesn't know anything about cygwin and cygwin paths. |
${MINGW_PACKAGE_PREFIX}-ca-certificates
for HTTPS(SSL) dependency
@lazka Thanks for the fix. One more question, is it possible to move certs into /etc so aria2 could find shared certs without further configuration?
|
certs are under |
Yes. But I wonder why we are not sharing the package EDIT: I wonder if we can just use package |
In theory yes, but we try to keep things separate, so that you could copy |
I see your consideration 😄 btw let's move back to the commit itself. I guess this should fix the missing deps. |
This should fix
ca-certificates
dependency itself