snort: rename to snort2
allow the introduction of the new version of snort (snort3+) which is largely a rewrite of snort. leaving the origional version of snort here as version 2 incase there are non-backward compatible deployments. snort2 is largely unmaintained upstream. Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
This commit is contained in:
@@ -16,13 +16,15 @@
|
||||
libtirpc,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
version = "2.9.20";
|
||||
pname = "snort";
|
||||
pname = "snort2";
|
||||
|
||||
src = fetchurl {
|
||||
name = "${pname}-${version}.tar.gz";
|
||||
url = "https://snort.org/downloads/archive/snort/${pname}-${version}.tar.gz";
|
||||
# TODO: remove this package after 25.05 release
|
||||
# https://github.com/NixOS/nixpkgs/pull/381363#issuecomment-2653483597
|
||||
src = fetchurl rec {
|
||||
name = "snort-${finalAttrs.version}.tar.gz";
|
||||
url = "https://snort.org/downloads/snort/${name}";
|
||||
sha256 = "sha256-KUAOE/U7GDHguLEOwSJKHLqm3BUzpTIqIN2Au4S0mBw=";
|
||||
};
|
||||
|
||||
@@ -65,4 +67,4 @@ stdenv.mkDerivation rec {
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user