Date: Sun, 06 Oct 2019 15:09:11 +0000 From: Lorenzo Salvadore <phascolarctos@protonmail.ch> To: "svn-ports-all@freebsd.org" <svn-ports-all@freebsd.org> Subject: Re: svn commit: r513655 - in head/security: . protonvpn-cli protonvpn-cli/files Message-ID: <-6B5Q-1RI3C69syLUWE8cLtOqgINxUVAkGk6WNkP2CQzt4LRbyakx0sfEpVRx3WVp33_QTtn63IMYJAodjodMyJu5CkdVgblK2HIi4vD34U=@protonmail.ch> In-Reply-To: <kwjyttjy9KoFhk9Yun2q9UfNjyquawRQ-Z4iFulGk4xPkBObPqTs7656GKuMEovtUSDMifHxpjWofFsPQeAyrHwPCvsuUdJmVJ09jQNd8Bs=@protonmail.ch> References: <kwjyttjy9KoFhk9Yun2q9UfNjyquawRQ-Z4iFulGk4xPkBObPqTs7656GKuMEovtUSDMifHxpjWofFsPQeAyrHwPCvsuUdJmVJ09jQNd8Bs=@protonmail.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > New port: security/protonvpn-cli > > > +PLIST_FILES=3D bin/protonvpn-cli \ > > > > > > - bin/pvpn \\ > > > > > > > > > - etc/openvpn/update-resolv-conf > > > > > > > > > - > > > > > > +post-patch: > > > > > > - ${REINPLACE_CMD} s,\$$python,${PYTHON_CMD},g ${WRKSRC}/protonvpn-= cli.sh > > > - ${REINPLACE_CMD} s,wget,wget\ --no-check-certificate,g ${WRKSRC}/= protonvpn-cli.sh > > > > This at least sounds like a bad idea, and would at the very least need = a comment > > of explanation > > I agree that --no-check-certificate sounds like a bad idea, however I was= unable to get the port working > without it. According to my researches on the web installing ca_root_nss = should have fixed the problem > but it did not: maybe I should have specified some argument so that wget = actually uses ca_root_nss? > > If someone can suggest a better solution that --no-check-certificate, I w= ould be glad to try it. I will also try > to found one myself. I found a solution using --ca-certificate. Please see the patch at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241103 Lorenzo Salvadore.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?-6B5Q-1RI3C69syLUWE8cLtOqgINxUVAkGk6WNkP2CQzt4LRbyakx0sfEpVRx3WVp33_QTtn63IMYJAodjodMyJu5CkdVgblK2HIi4vD34U=>