Add patches for CVE-2024-45321, add curl to depends
-
Replace insecure http:// endpoints with https://. A patch file is not convenient as cpanminus is distributed as a fatpacked executable.
-
Disable LWP::UserAgent as well, since it will fail if LWP::Protocol::https is not installed.
-
Add dependency on
curl
, since cpanminus will fail over to it after LWP is disabled.