diff options
Diffstat (limited to 'homebrew/johnjumbo/patches.sh')
-rwxr-xr-x | homebrew/johnjumbo/patches.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/homebrew/johnjumbo/patches.sh b/homebrew/johnjumbo/patches.sh new file mode 100755 index 000000000..5d3b3418a --- /dev/null +++ b/homebrew/johnjumbo/patches.sh @@ -0,0 +1,25 @@ +wget https://github.com/magnumripper/JohnTheRipper/commit/d29ad8aabaa9726eb08f440001c37611fa072e0c.diff?full_index=1 +echo 'Creating brew-patch.diff' +cat << EOF >> brew-patch.diff +--- a/src/params.h 2012-08-30 13:24:18.000000000 -0500 ++++ b/src/params.h 2012-08-30 13:25:13.000000000 -0500 +@@ -70,15 +70,15 @@ + * notes above. + */ + #ifndef JOHN_SYSTEMWIDE +-#define JOHN_SYSTEMWIDE 0 ++#define JOHN_SYSTEMWIDE 1 + #endif + + #if JOHN_SYSTEMWIDE + #ifndef JOHN_SYSTEMWIDE_EXEC /* please refer to the notes above */ +-#define JOHN_SYSTEMWIDE_EXEC "/usr/libexec/john" ++#define JOHN_SYSTEMWIDE_EXEC "HOMEBREW_PREFIX/share/john" + #endif + #ifndef JOHN_SYSTEMWIDE_HOME +-#define JOHN_SYSTEMWIDE_HOME "/usr/share/john" ++#define JOHN_SYSTEMWIDE_HOME "HOMEBREW_PREFIX/share/john" + #endif + #define JOHN_PRIVATE_HOME "~/.john" + #endif +EOF |