/
package.py
26 lines (19 loc) · 925 Bytes
/
package.py
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
26
# 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.26", sha256="3f3e9f99a83cd37bc74af83d415c5e3a7505f5b190dfaf456b0849e0054f6733")
version("1.25", sha256="47aa634bd0cdad81e092fac3aef6f12ee346c2f536a1eff4d3d5dacdb6dfcec1")
depends_on("libpcap")
depends_on("libnet")
depends_on("glib@2.2.0:")