Skip to content

Instantly share code, notes, and snippets.

@rdj
Created November 9, 2011 22:07
Show Gist options
  • Save rdj/1353258 to your computer and use it in GitHub Desktop.
Save rdj/1353258 to your computer and use it in GitHub Desktop.
$ brew edit pianobar
diff --git a/Library/Formula/pianobar.rb b/Library/Formula/pianobar.rb
index cae4571..e32a4e5 100644
--- a/Library/Formula/pianobar.rb
+++ b/Library/Formula/pianobar.rb
@@ -6,7 +6,7 @@ class Pianobar < Formula
homepage 'https://github.com/PromyLOPh/pianobar/'
md5 ''
- head 'https://github.com/PromyLOPh/pianobar.git'
+ head 'https://github.com/PromyLOPh/pianobar.git', :tag => 'tls'
depends_on 'libao'
depends_on 'mad'
$ sudo mkdir -p /etc/ssl/certs
$ sudo wget -O /etc/ssl/certs/ca-certificates.crt http://curl.haxx.se/ca/cacert.pem
$ brew install gnutls
$ brew install --HEAD pianobar
@rdj
Copy link
Author

rdj commented Nov 9, 2011

That's where the curl project drops a ca-certificates bundle generated from the mozilla trusted roots. You have to make a root trust decision somehow.

@clarkewd
Copy link

clarkewd commented Nov 9, 2011

ok, that's fair enough. but what abut obliterating the existing file with wget?

@rdj
Copy link
Author

rdj commented Nov 9, 2011

Mac OS X doesn't ship with that file. Hence downloading it. If you were going to automate this, yeah, I'd check for existence first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment