summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-09-24 09:58:06 +0800
committerGitHub <noreply@github.com>2020-09-23 20:58:06 -0500
commit74e4b410085b154cbc567c9578cbfa6943b4a66b (patch)
tree2552e9cd4384de0553b517801efa6e398734fe26
parent56270b229f432e99adeffb7e05c0032f633345d1 (diff)
downloadspack-74e4b410085b154cbc567c9578cbfa6943b4a66b.tar.gz
spack-74e4b410085b154cbc567c9578cbfa6943b4a66b.tar.bz2
spack-74e4b410085b154cbc567c9578cbfa6943b4a66b.tar.xz
spack-74e4b410085b154cbc567c9578cbfa6943b4a66b.zip
Add new package: dropwatch (#18762)
-rw-r--r--var/spack/repos/builtin/packages/dropwatch/package.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/dropwatch/package.py b/var/spack/repos/builtin/packages/dropwatch/package.py
new file mode 100644
index 0000000000..1af4a50156
--- /dev/null
+++ b/var/spack/repos/builtin/packages/dropwatch/package.py
@@ -0,0 +1,31 @@
+# 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 Dropwatch(AutotoolsPackage):
+ """Dropwatch is a project I started in an effort to improve the
+ ability for developers and system administrator to diagnose problems
+ in the Linux Networking stack, specifically in our ability to
+ diagnose where packets are getting dropped."""
+
+ homepage = "https://github.com/nhorman/dropwatch"
+ url = "https://github.com/nhorman/dropwatch/archive/v1.5.3.tar.gz"
+
+ version('1.5.3', sha256='b748b66a816c1f94531446c0451da5461a4a31b0949244bb867d741c6ac0148b')
+
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')
+ depends_on('libnl')
+ depends_on('libpcap')
+ depends_on('binutils')
+ depends_on('readline')
+
+ def autoreconf(self, spec, prefix):
+ bash = which('bash')
+ bash('./autogen.sh')