summaryrefslogtreecommitdiff
path: root/homebrew/mcrypt/.beer
blob: 02eee51e106b79e754de806dfdb6834009947200 (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
{
    "name": "Mcrypt",
    "description": "Replacement for the old crypt package and crypt(1) command",
    "url": "https://downloads.sourceforge.net/project/mcrypt/MCrypt/2.6.8/mcrypt-2.6.8.tar.gz",
    "mirror": null,
    "homepage": "https://mcrypt.sourceforge.io",
    "depends": [
        {
            "depend": "mhash",
            "build-depend": false
        }
    ],
    "resource": [
        {
            "name": "libmcrypt",
            "url": "https://downloads.sourceforge.net/project/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz"
        }
    ],
    "conflicts": [],
    "patches": [
        {
            "url": null,
            "data": [
                "diff --git a/src/rfc2440.c b/src/rfc2440.c\n",
                "index 5a1f296..aeb501c 100644\n",
                "--- a/src/rfc2440.c\n",
                "+++ b/src/rfc2440.c\n",
                "@@ -23,7 +23,12 @@\n",
                " #include <zlib.h>\n",
                " #endif\n",
                " #include <stdio.h>\n",
                "+\n",
                "+#ifdef __APPLE__\n",
                "+#include <malloc/malloc.h>\n",
                "+#else\n",
                " #include <malloc.h>\n",
                "+#endif\n",
                "\n",
                " #include \"xmalloc.h\"\n",
                " #include \"keys.h\"\n"
            ]
        }
    ],
    "install": [
        "resource(\"libmcrypt\").stage do",
        "system \"./configure\", \"--prefix=#{prefix}\",",
        "\"--mandir=#{man}\"",
        "system \"make\", \"install\""
    ],
    "version": "2.6.8",
    "file": "mcrypt.rb"
}