summaryrefslogtreecommitdiff
path: root/data/tshark/.beer
diff options
context:
space:
mode:
Diffstat (limited to 'data/tshark/.beer')
-rw-r--r--data/tshark/.beer88
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"
+}