From 6ba49d84dd3d2a78695746eb46fefa061379b3a2 Mon Sep 17 00:00:00 2001 From: Rakuraku Jyo Date: Tue, 12 Apr 2011 01:03:39 +0900 Subject: [PATCH 1/2] add INSTALL instruction for mac with brew --- INSTALL | 3 +++ 1 file changed, 3 insertions(+) diff --git a/INSTALL b/INSTALL index 3930a692..5fc085cb 100644 --- a/INSTALL +++ b/INSTALL @@ -1,5 +1,8 @@ Type 'make' to build the packet decoder, 'hairtunes'. +To Run make, you need pkg-config installed (mac): + brew install pkg-config + You need the following installed: openssl libao (if you use homebrew, use brew install libao) From 3f9f84740528f7f1624cc094e5f4ad7c1aff249e Mon Sep 17 00:00:00 2001 From: Rakuraku Jyo Date: Tue, 12 Apr 2011 01:46:50 +0900 Subject: [PATCH 2/2] add How to compile and install on Mac OSX 10.6 in readme --- README | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README b/README index ef928ffe..e26ab908 100644 --- a/README +++ b/README @@ -38,3 +38,16 @@ finding the keys, everything else was pretty much trivial. Thanks also to Apple for obfuscating the private key in the ROM image, using a scheme that made the deobfuscation code itself stand out like a flare. Thanks to wtbw. + +How to compile and install on Mac OSX 10.6 +------ +* install XCode +* install homebrew (https://github.com/mxcl/homebrew) +* brew install pkg-config libao +* make +* perl -MCPAN -e 'install Crypt::OpenSSL::RSA' +* perl shairport.pl + +OSX 10.5 only bundles perl 5.8, which won't work with shairport. After getting a update +here (http://www.perl.org/get.html), it worked. +