summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-09-24 09:12:24 +0800
committerGitHub <noreply@github.com>2020-09-23 20:12:24 -0500
commit16d4bc59ba5baba34ecce1921fb418b7140036ad (patch)
tree72d554f1079eb9476693321af87fbcc2ef97d247 /var
parent0aafdcfadb6153abfabb406d2e05b9ab297176db (diff)
downloadspack-16d4bc59ba5baba34ecce1921fb418b7140036ad.tar.gz
spack-16d4bc59ba5baba34ecce1921fb418b7140036ad.tar.bz2
spack-16d4bc59ba5baba34ecce1921fb418b7140036ad.tar.xz
spack-16d4bc59ba5baba34ecce1921fb418b7140036ad.zip
Add new package: tcpdump (#18820)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/tcpdump/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/tcpdump/package.py b/var/spack/repos/builtin/packages/tcpdump/package.py
new file mode 100644
index 0000000000..53507d5bda
--- /dev/null
+++ b/var/spack/repos/builtin/packages/tcpdump/package.py
@@ -0,0 +1,23 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Tcpdump(AutotoolsPackage):
+ """Tcpdump prints out a description of the contents of packets
+ on a network interface that match the Boolean expression;
+ the description is preceded by a time stamp, printed, by
+ default, as hours, minutes, seconds, and fractions of a
+ second since midnight."""
+
+ homepage = "https://www.tcpdump.org/"
+ url = "https://www.tcpdump.org/release/tcpdump-4.9.3.tar.gz"
+
+ version('4.9.3', sha256='2cd47cb3d460b6ff75f4a9940f594317ad456cfbf2bd2c8e5151e16559db6410')
+ version('4.9.2', sha256='798b3536a29832ce0cbb07fafb1ce5097c95e308a6f592d14052e1ef1505fe79')
+ version('4.9.1', sha256='f9448cf4deb2049acf713655c736342662e652ef40dbe0a8f6f8d5b9ce5bd8f3')
+
+ depends_on('libpcap')