diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-28 08:22:10 +0000 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-28 08:22:10 +0000 |
commit | 19fd7e903896ed6b112162a10afaa7904f878680 (patch) | |
tree | 6753f48c464cd9b88d8aad9c042c7773b50ba2ca /data/tshark/.beer | |
parent | 7a618f6c5487d68b7379dfb0b25c344694f61fd6 (diff) |
Added tshark (wireshark cli)
Diffstat (limited to 'data/tshark/.beer')
-rw-r--r-- | data/tshark/.beer | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/data/tshark/.beer b/data/tshark/.beer new file mode 100644 index 000000000..f1c9c8555 --- /dev/null +++ b/data/tshark/.beer @@ -0,0 +1,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" +} |