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
84
85
86
87
88
|
{
"name": "Wireshark",
"description": "Graphical network analyzer and capture tool",
"url": "https://www.wireshark.org/download/src/all-versions/wireshark-2.6.6.tar.xz",
"mirror": "https://1.eu.dl.wireshark.org/src/wireshark-2.6.6.tar.xz",
"homepage": "https://www.wireshark.org",
"depends": [
{
"depend": "cmake",
"build-depend": true
},
{
"depend": "c-ares",
"build-depend": false
},
{
"depend": "glib",
"build-depend": false
},
{
"depend": "gnutls",
"build-depend": false
},
{
"depend": "libgcrypt",
"build-depend": false
},
{
"depend": "libmaxminddb",
"build-depend": false
},
{
"depend": "libsmi",
"build-depend": false
},
{
"depend": "libssh",
"build-depend": false
},
{
"depend": "lua@5.1",
"build-depend": false
},
{
"depend": "nghttp2",
"build-depend": false
}
],
"resource": [],
"conflicts": [],
"patches": [],
"install": [
"args = std_cmake_args + %W[",
"-DENABLE_CARES=ON",
"-DENABLE_GNUTLS=ON",
"-DENABLE_MAXMINDDB=ON",
"-DBUILD_wireshark_gtk=OFF",
"-DENABLE_PORTAUDIO=OFF",
"-DENABLE_LUA=ON",
"-DLUA_INCLUDE_DIR=#{Formula[\"lua@5.1\"].opt_include}/lua-5.1",
"-DLUA_LIBRARY=#{Formula[\"lua@5.1\"].opt_lib}/liblua5.1.dylib",
"-DCARES_INCLUDE_DIR=#{Formula[\"c-ares\"].opt_include}",
"-DGCRYPT_INCLUDE_DIR=#{Formula[\"libgcrypt\"].opt_include}",
"-DGNUTLS_INCLUDE_DIR=#{Formula[\"gnutls\"].opt_include}",
"-DMAXMINDDB_INCLUDE_DIR=#{Formula[\"libmaxminddb\"].opt_include}",
"-DENABLE_SMI=ON",
"-DBUILD_sshdump=ON",
"-DBUILD_ciscodump=ON",
"-DENABLE_NGHTTP2=ON",
"-DBUILD_wireshark=OFF",
"-DENABLE_APPLICATION_BUNDLE=OFF",
"-DENABLE_QT5=OFF",
"]",
"system \"cmake\", *args, \".\"",
"system \"make\", \"install\"",
"(include/\"wireshark\").install Dir[\"*.h\"]",
"(include/\"wireshark/epan\").install Dir[\"epan/*.h\"]",
"(include/\"wireshark/epan/crypt\").install Dir[\"epan/crypt/*.h\"]",
"(include/\"wireshark/epan/dfilter\").install Dir[\"epan/dfilter/*.h\"]",
"(include/\"wireshark/epan/dissectors\").install Dir[\"epan/dissectors/*.h\"]",
"(include/\"wireshark/epan/ftypes\").install Dir[\"epan/ftypes/*.h\"]",
"(include/\"wireshark/epan/wmem\").install Dir[\"epan/wmem/*.h\"]",
"(include/\"wireshark/wiretap\").install Dir[\"wiretap/*.h\"]",
"(include/\"wireshark/wsutil\").install Dir[\"wsutil/*.h\"]"
],
"version": "2.6.6",
"file": "wireshark.rb"
}
|