You are not logged in.
Hi,
I'm wokring on my first PKGBUILD and getting the following error when running makepkg -si
url: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
This can be overridden by using curl -k but I do not see a way to tell curl to use specific options in the PKGBUILD file.
Frank
Last edited by zimbi (2019-10-23 07:19:41)
Offline
DLAGENTS=('protocol::/path/to/command [options]' ...)
Sets the download agents used to fetch source files specified with a URL in the PKGBUILD(5) file. Options can be specified for each command as well, and any protocol can
have a download agent. Any spaces in option arguments are required to be escaped to avoid being split. Several examples are provided in the default makepkg.conf.If present, %u will be replaced with the download URL. Otherwise, the download URL will be placed on the end of the command. If present, %o will be replaced with the
local file name, plus a “.part” extension, which allows makepkg to handle resuming file downloads.
Whether you can - or should - do that in the PKGBUILD itself I'm unsure of.
Offline
Much easier would be to not use https but to just use http.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
You shouldn't be setting this in the PKGBUILD. It is up to the user if they want to accept a certificate that can't be verified.
If they do want to, then they can edit their ~/.makepkg.conf file to adjust DLAGENTS= appropriately.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Thanks, all, using http to fetch the file.
Offline