summaryrefslogtreecommitdiff
path: root/homebrew/john/.beer
blob: 447a369ace9c08d0323313eb1579e203e31723a3 (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
{
    "name": "John",
    "description": "Featureful UNIX password cracker",
    "url": "https://www.openwall.com/john/k/john-1.9.0.tar.xz",
    "mirror": null,
    "homepage": "https://www.openwall.com/john/",
    "depends": [],
    "resource": [],
    "conflicts": [
        {
            "conflict": "john-jumbo",
            "reason": "both install the same binaries"
        }
    ],
    "patches": [
        {
            "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": [
        "ENV.deparallelize",
        "system \"make\", \"-C\", \"src\", \"clean\", \"CC=#{ENV.cc}\", \"macosx-x86-64\"",
        "prefix.install \"doc/README\"",
        "doc.install Dir[\"doc/*\"]",
        "libexec.install Dir[\"run/*\"]",
        "bin.install_symlink libexec/\"john\"",
        "mv libexec/\"john.conf\", libexec/\"john.ini\""
    ],
    "version": "1.9.0",
    "file": "john.rb"
}