summaryrefslogtreecommitdiff
path: root/homebrew/aircrackng/.beer
blob: ec767388725e6ef0fadbbfa947c8de9d5a92ddd0 (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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
    "name": "AircrackNg",
    "description": "Next-generation aircrack with lots of new features",
    "url": "https://download.aircrack-ng.org/aircrack-ng-1.5.2.tar.gz",
    "mirror": null,
    "homepage": "https://aircrack-ng.org/",
    "depends": [
        {
            "depend": "autoconf",
            "build-depend": true
        },
        {
            "depend": "automake",
            "build-depend": true
        },
        {
            "depend": "libtool",
            "build-depend": true
        },
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "openssl",
            "build-depend": false
        },
        {
            "depend": "pcre",
            "build-depend": false
        },
        {
            "depend": "sqlite",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [
        {
            "url": null,
            "data": [
                "--- a/scripts/airodump-ng-oui-update\n",
                "+++ b/scripts/airodump-ng-oui-update\n",
                "@@ -20,25 +20,6 @@ fi\n",
                "\n",
                " AIRODUMP_NG_OUI=\"${OUI_PATH}/airodump-ng-oui.txt\"\n",
                " OUI_IEEE=\"${OUI_PATH}/oui.txt\"\n",
                "-USERID=\"\"\n",
                "-\n",
                "-\n",
                "-# Make sure the user is root\n",
                "-if [ x\"`which id 2> /dev/null`\" != \"x\" ]\n",
                "-then\n",
                "-\tUSERID=\"`id -u 2> /dev/null`\"\n",
                "-fi\n",
                "-\n",
                "-if [ x$USERID = \"x\" -a x$(id -ru) != \"x\" ]\n",
                "-then\n",
                "-\tUSERID=$(id -ru)\n",
                "-fi\n",
                "-\n",
                "-if [ x$USERID != \"x\" -a x$USERID != \"x0\" ]\n",
                "-then\n",
                "-\techo Run it as root ; exit ;\n",
                "-fi\n",
                "-\n",
                " \n",
                " if [ ! -d \"${OUI_PATH}\" ]; then\n",
                " \tmkdir -p ${OUI_PATH}\n"
            ]
        }
    ],
    "install": [
        "system \"./autogen.sh\", \"--disable-silent-rules\",",
        "\"--disable-dependency-tracking\",",
        "\"--prefix=#{prefix}\",",
        "\"--with-experimental\"",
        "system \"make\", \"install\""
    ],
    "version": "1.5.2",
    "file": "aircrack-ng.rb"
}