diff options
author | Michael Kuhn <michael.kuhn@ovgu.de> | 2022-11-07 15:45:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-07 15:45:50 +0100 |
commit | 492525fda5e6f7a49a371bcde11412d85eba9102 (patch) | |
tree | 7b3e54eada1168e563582fbe73ad28d6dc217c60 /var | |
parent | 9dcd4fac15ea91d678c81b330ae4c579200bf311 (diff) | |
download | spack-492525fda5e6f7a49a371bcde11412d85eba9102.tar.gz spack-492525fda5e6f7a49a371bcde11412d85eba9102.tar.bz2 spack-492525fda5e6f7a49a371bcde11412d85eba9102.tar.xz spack-492525fda5e6f7a49a371bcde11412d85eba9102.zip |
socat: new package (#33713)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/socat/package.py | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/socat/package.py b/var/spack/repos/builtin/packages/socat/package.py new file mode 100644 index 0000000000..3a01e8e5dd --- /dev/null +++ b/var/spack/repos/builtin/packages/socat/package.py @@ -0,0 +1,31 @@ +# Copyright 2013-2022 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.package import * + + +class Socat(AutotoolsPackage): + """socat is a relay for bidirectional data transfer between two independent + data channels. Each of these data channels may be a file, pipe, device + (serial line etc. or a pseudo terminal), a socket (UNIX, IP4, IP6 - raw, + UDP, TCP), an SSL socket, proxy CONNECT connection, a file descriptor + (stdin etc.), the GNU line editor (readline), a program, or a combination + of two of these. These modes include generation of "listening" sockets, + named pipes, and pseudo terminals.""" + + homepage = "http://www.dest-unreach.org/socat/" + url = "http://www.dest-unreach.org/socat/download/socat-1.7.4.4.tar.bz2" + + maintainers = ["michaelkuhn"] + + version("1.7.4.4", sha256="fbd42bd2f0e54a3af6d01bdf15385384ab82dbc0e4f1a5e153b3e0be1b6380ac") + + depends_on("openssl") + depends_on("readline") + depends_on("ncurses") + + def configure_args(self): + args = ["--disable-libwrap"] + return args |