#Fix the annoying OpenSSL 1.0.1 "Unknown Protocol" error with (lib)curl
- Add a
ciphers AES128-SHA,3DESline to~/.curlrc. - Unfortunately, libcurl doesn't use .curlrc. So to get around the problem in git:
# some if the stuff here is macports-specific
$ port install autoconf automake
$ git clone https://github.com/git/git.git
$ cd git
$ git checkout v1.9.0 #or whatever new version
$ git apply - < <(curl https://gist.githubusercontent.com/jcayzac/9542144/raw/git.patch)
$ autoreconf
$ mkdir -p "${HOME}/.prefix/bin" # prepend your PATH with that location!
$ ./configure --prefix="${HOME}/.prefix" --with-libpcre LD_LIBRARY_PATH=/opt/local/lib
$ LD_LIBRARY_PATH=/opt/local/lib make -j4 all install