summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libnids/package.py
blob: 9d8d2968bc26ef69e744ffbf4cc6a7cad64c5843 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 2013-2024 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 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"

    license("GPL-2.0-only")

    version("master", branch="master")
    version("1.25", sha256="47aa634bd0cdad81e092fac3aef6f12ee346c2f536a1eff4d3d5dacdb6dfcec1")

    depends_on("libpcap")
    depends_on("libnet")
    depends_on("glib@2.2.0:")