summaryrefslogtreecommitdiff
path: root/homebrew/johnjumbo/.beer
blob: baea0de04e44643bb3281265a4cf5ecdbd583d3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
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"
}