diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-08-29 12:05:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-28 23:05:30 -0500 |
commit | a206d2aebd5ae6f084377b4b7f2261a83afe4e70 (patch) | |
tree | 9b5875150d04d4fa7e5248277008a536a340018d | |
parent | 50d7467715b4dd87ac055bba1c6d63d11638eb19 (diff) | |
download | spack-a206d2aebd5ae6f084377b4b7f2261a83afe4e70.tar.gz spack-a206d2aebd5ae6f084377b4b7f2261a83afe4e70.tar.bz2 spack-a206d2aebd5ae6f084377b4b7f2261a83afe4e70.tar.xz spack-a206d2aebd5ae6f084377b4b7f2261a83afe4e70.zip |
Add new package: rsyslog (#18304)
-rw-r--r-- | var/spack/repos/builtin/packages/rsyslog/package.py | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/rsyslog/package.py b/var/spack/repos/builtin/packages/rsyslog/package.py new file mode 100644 index 0000000000..5bc81968a0 --- /dev/null +++ b/var/spack/repos/builtin/packages/rsyslog/package.py @@ -0,0 +1,33 @@ +# 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 Rsyslog(AutotoolsPackage): + """The rocket-fast Syslog Server.""" + + homepage = "https://www.rsyslog.com/" + url = "https://github.com/rsyslog/rsyslog/archive/v8.2006.0.tar.gz" + + version('8.2006.0', sha256='dc30a2ec02d5fac91d3a4f15a00641e0987941313483ced46592ab0b0d68f324') + version('8.2004.0', sha256='b56b985fec076a22160471d389b7ff271909dfd86513dad31e401a775a6dfdc2') + version('8.2002.0', sha256='b31d56311532335212ef2ea7be4501508224cb21f1bef9d262c6d78e21959ea1') + + depends_on('autoconf', type='build') + depends_on('automake', type='build') + depends_on('libtool', type='build') + depends_on('m4', type='build') + depends_on('libestr') + depends_on('libfastjson') + depends_on('zlib') + depends_on('libuuid') + depends_on('libgcrypt') + depends_on('curl') + depends_on('byacc', type='build') + depends_on('flex', type='build') + + def setup_run_environment(self, env): + env.prepend_path('PATH', self.prefix.sbin) |