libnids: add new package (#22153)

This commit is contained in:
darmac 2021-07-09 23:49:10 +08:00 committed by GitHub
parent 2a858f8f3d
commit d734df705a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,23 @@
# Copyright 2013-2021 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 Libnids(AutotoolsPackage):
"""Libnids is a library that provides a functionality of one of
NIDS (Network Intrusion Detection System) components, namely
E-component."""
homepage = "http://libnids.sourceforge.net/"
url = "https://github.com/MITRECND/libnids/archive/1.25.tar.gz"
git = "https://github.com/MITRECND/libnids.git"
version('master', branch='master')
version('1.25', sha256='47aa634bd0cdad81e092fac3aef6f12ee346c2f536a1eff4d3d5dacdb6dfcec1')
depends_on('libpcap')
depends_on('libnet')
depends_on('glib@2.2.0:')