From d2a02a7b37ba9d7c8c510b16eb16e268053f29de Mon Sep 17 00:00:00 2001 From: Lewis Watson Date: Sun, 21 Apr 2024 21:14:55 +0100 Subject: [PATCH] Updated Mac OS Install Documentation (#2392) * Added Missing MacOS Requirements * Updated Binutils Install Docs Due to security reasons Homebrew has removed direct formula references, this is the workaround. * Updated changelog for #2392 * reverting changelog --- docs/source/install.rst | 3 +++ docs/source/install/binutils.rst | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/source/install.rst b/docs/source/install.rst index d63e67523..6ea664dd5 100644 --- a/docs/source/install.rst +++ b/docs/source/install.rst @@ -15,6 +15,9 @@ following system libraries installed. install/* + +Note: For Mac OS X you will need to have cmake ``brew install cmake`` and pkg-config ``brew install pkg-config`` installed. + Released Version ----------------- diff --git a/docs/source/install/binutils.rst b/docs/source/install/binutils.rst index d802701bb..6a33369cd 100644 --- a/docs/source/install/binutils.rst +++ b/docs/source/install/binutils.rst @@ -32,14 +32,15 @@ Mac OS X ^^^^^^^^^^^^^^^^ Mac OS X is just as easy, but requires building binutils from source. -However, we've made ``homebrew`` recipes to make this a single command. +However, we've made ``homebrew`` recipes to make this just two commands. After installing `brew `__, grab the appropriate recipe from our `binutils repo `__. .. code-block:: bash - $ brew install https://raw.githubusercontent.com/Gallopsled/pwntools-binutils/master/macos/binutils-$ARCH.rb + $ wget https://raw.githubusercontent.com/Gallopsled/pwntools-binutils/master/macos/binutils-$ARCH.rb + $ brew install ./binutils-$ARCH.rb Alternate OSes ^^^^^^^^^^^^^^^^