summaryrefslogtreecommitdiff
path: root/homebrew/johnjumbo/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/johnjumbo/.beer')
-rw-r--r--homebrew/johnjumbo/.beer68
1 files changed, 68 insertions, 0 deletions
diff --git a/homebrew/johnjumbo/.beer b/homebrew/johnjumbo/.beer
new file mode 100644
index 000000000..baea0de04
--- /dev/null
+++ b/homebrew/johnjumbo/.beer
@@ -0,0 +1,68 @@
+{
+ "name": "JohnJumbo",
+ "description": "Enhanced version of john, a UNIX password cracker",
+ "url": "https://openwall.com/john/j/john-1.8.0-jumbo-1.tar.xz",
+ "mirror": null,
+ "homepage": "https://www.openwall.com/john/",
+ "depends": [
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "gmp",
+ "build-depend": false
+ },
+ {
+ "depend": "openssl",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [
+ {
+ "conflict": "john",
+ "reason": "both install the same binaries"
+ }
+ ],
+ "patches": [
+ {
+ "url": "https://github.com/magnumripper/JohnTheRipper/commit/d29ad8aabaa9726eb08f440001c37611fa072e0c.diff?full_index=1",
+ "strip": "1"
+ },
+ {
+ "url": null,
+ "data": [
+ "--- a/src/params.h\t2012-08-30 13:24:18.000000000 -0500\n",
+ "+++ b/src/params.h\t2012-08-30 13:25:13.000000000 -0500\n",
+ "@@ -70,15 +70,15 @@\n",
+ " * notes above.\n",
+ " */\n",
+ " #ifndef JOHN_SYSTEMWIDE\n",
+ "-#define JOHN_SYSTEMWIDE\t\t\t0\n",
+ "+#define JOHN_SYSTEMWIDE\t\t\t1\n",
+ " #endif\n",
+ "\n",
+ " #if JOHN_SYSTEMWIDE\n",
+ " #ifndef JOHN_SYSTEMWIDE_EXEC /* please refer to the notes above */\n",
+ "-#define JOHN_SYSTEMWIDE_EXEC\t\t\"/usr/libexec/john\"\n",
+ "+#define JOHN_SYSTEMWIDE_EXEC\t\t\"HOMEBREW_PREFIX/share/john\"\n",
+ " #endif\n",
+ " #ifndef JOHN_SYSTEMWIDE_HOME\n",
+ "-#define JOHN_SYSTEMWIDE_HOME\t\t\"/usr/share/john\"\n",
+ "+#define JOHN_SYSTEMWIDE_HOME\t\t\"HOMEBREW_PREFIX/share/john\"\n",
+ " #endif\n",
+ " #define JOHN_PRIVATE_HOME\t\t\"~/.john\"\n",
+ " #endif\n"
+ ]
+ }
+ ],
+ "install": [
+ "cd \"src\" do",
+ "system \"./configure\", \"--disable-native-tests\", \"--disable-native-macro\"",
+ "system \"make\", \"clean\"",
+ "system \"make\", \"-s\", \"CC=#{ENV.cc}\""
+ ],
+ "version": "1.8.0",
+ "file": "john-jumbo.rb"
+} \ No newline at end of file