summaryrefslogtreecommitdiff
path: root/homebrew/libnids/.beer
blob: e7ab72c0d009bcd12a9f3a4bda103d590d5f7597 (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
{
    "name": "Libnids",
    "description": "Implements E-component of network intrusion detection system",
    "url": "https://downloads.sourceforge.net/project/libnids/libnids/1.24/libnids-1.24.tar.gz",
    "mirror": null,
    "homepage": "https://libnids.sourceforge.io/",
    "depends": [
        {
            "depend": "autoconf",
            "build-depend": true
        },
        {
            "depend": "automake",
            "build-depend": true
        },
        {
            "depend": "libtool",
            "build-depend": true
        },
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "glib",
            "build-depend": false
        },
        {
            "depend": "libnet",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [
        {
            "url": null,
            "data": [
                "--- a/src/Makefile.in\t2010-03-01 13:13:17.000000000 -0800\n",
                "+++ b/src/Makefile.in\t2012-09-19 09:48:23.000000000 -0700\n",
                "@@ -13,7 +13,7 @@\n",
                " libdir\t\t= @libdir@\n",
                " mandir\t\t= @mandir@\n",
                " LIBSTATIC      = libnids.a\n",
                "-LIBSHARED      = libnids.so.1.24\n",
                "+LIBSHARED      = libnids.1.24.dylib\n",
                "\n",
                " CC\t\t= @CC@\n",
                " CFLAGS\t\t= @CFLAGS@ -DLIBNET_VER=@LIBNET_VER@ -DHAVE_ICMPHDR=@ICMPHEADER@ -DHAVE_TCP_STATES=@TCPSTATES@ -DHAVE_BSD_UDPHDR=@HAVE_BSD_UDPHDR@\n",
                "@@ -65,7 +65,7 @@\n",
                " \tar -cr $@ $(OBJS)\n",
                " \t$(RANLIB) $@\n",
                " $(LIBSHARED): $(OBJS_SHARED)\n",
                "-\t$(CC) -shared -Wl,-soname,$(LIBSHARED) -o $(LIBSHARED) $(OBJS_SHARED) $(LIBS) $(LNETLIB) $(PCAPLIB)\n",
                "+\t$(CC) -dynamiclib -Wl,-dylib -Wl,-install_name,$(LIBSHARED) -Wl,-headerpad_max_install_names -o $(LIBSHARED) $(OBJS_SHARED) $(LIBS) $(LNETLIB) $(PCAPLIB)\n",
                "\n",
                " _install install: $(LIBSTATIC)\n",
                " \t../mkinstalldirs $(install_prefix)$(libdir)\n",
                "@@ -76,7 +76,7 @@\n",
                " \t$(INSTALL) -c -m 644 libnids.3 $(install_prefix)$(mandir)/man3\n",
                " _installshared installshared: install $(LIBSHARED)\n",
                " \t$(INSTALL) -c -m 755 $(LIBSHARED) $(install_prefix)$(libdir)\n",
                "-\tln -s -f $(LIBSHARED) $(install_prefix)$(libdir)/libnids.so\n",
                "+\tln -s -f $(LIBSHARED) $(install_prefix)$(libdir)/libnids.dylib\n",
                "\n",
                " clean:\n",
                " \trm -f *.o *~ $(LIBSTATIC) $(LIBSHARED)\n"
            ]
        }
    ],
    "install": [
        "system \"autoreconf\", \"-ivf\"",
        "system \"./configure\", \"--prefix=#{prefix}\", \"--mandir=#{man}\",",
        "\"--enable-shared\"",
        "system \"make\", \"install\""
    ],
    "version": "1.24",
    "file": "libnids.rb"
}