On Sat, Dec 21, 2013 at 7:25 PM, <luca...@svn.gobolinux.org> wrote:

> Author: lucasvr
> Date: 2013-12-21 13:25:52 -0800 (Sat, 21 Dec 2013)
> New Revision: 4407
>
> Modified:
>    trunk/Compile/bin/FetchArchive
> Log:
> Prevent SSL certificate errors by ignoring them.
>
>
> Modified: trunk/Compile/bin/FetchArchive
> ===================================================================
> --- trunk/Compile/bin/FetchArchive      2013-12-21 21:06:13 UTC (rev 4406)
> +++ trunk/Compile/bin/FetchArchive      2013-12-21 21:25:52 UTC (rev 4407)
> @@ -121,8 +121,8 @@
>     for git in "${gits[@]}"
>     do
>        if [ ! -d "${sourcedir}" ]
> -      then git clone "${git}" "${sourcedir}" || exit $?
> -      else cd "${sourcedir}" && git pull || exit $?
> +      then GIT_SSL_NO_VERIFY=true git clone "${git}" "${sourcedir}" ||
> exit $?
> +      else cd "${sourcedir}" && GIT_SSL_NO_VERIFY=true git pull || exit $?
>        fi
>     done
>     exit 0
>
> _______________________________________________
> gobolinux-commits mailing list
> gobolinux-comm...@lists.gobolinux.org
> http://lists.gobolinux.org/mailman/listinfo/gobolinux-commits
>


Just a heads up on this particular commit. I think we should actually let
the user review the certificate and let him accept or deny it, and then
install the certificates if that's the case.

This is just a temporary workaround so that files can be fetched from git
repositories.

Thanks,

-- 
Lucas
"If you're looking for a reason I've a reason to give: pleasure, little
treasure"
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to