Unverified Commit 8a4c3dd8 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

snort: 3.6.3.0 -> 3.7.0.0 (#383266)

parents 6fb6b4bd 9fabdffa
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
  autoreconfHook,
  pkg-config,
  libpcap,
  nix-update-script,
}:

stdenv.mkDerivation (finalAttrs: {
@@ -46,6 +47,8 @@ stdenv.mkDerivation (finalAttrs: {
    done
  '';

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Data AcQuisition library (libDAQ), for snort packet I/O";
    homepage = "https://www.snort.org";
@@ -53,6 +56,7 @@ stdenv.mkDerivation (finalAttrs: {
      aycanirican
      brianmcgillion
    ];
    changelog = "https://github.com/snort3/libdaq/releases/tag/v${finalAttrs.version}/changelog.md";
    license = lib.licenses.gpl2;
    outputsToInstall = [
      "lib"
+7 −3
Original line number Diff line number Diff line
@@ -14,17 +14,18 @@
  pkg-config,
  zlib,
  xz,
  nix-update-script,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "snort";
  version = "3.6.3.0";
  version = "3.7.0.0";

  src = fetchFromGitHub {
    owner = "snort3";
    repo = "snort3";
    rev = "refs/tags/${finalAttrs.version}";
    hash = "sha256-loMmmpoaEncW31FUIE9Zf9w635Prvke6vCY+mIt6oGI=";
    tag = finalAttrs.version;
    hash = "sha256-KwKgKY+zcH7bZrtfMpkwb0LopGeImTwOf79hqZeYv/k=";
  };

  nativeBuildInputs = [
@@ -53,6 +54,8 @@ stdenv.mkDerivation (finalAttrs: {

  enableParallelBuilding = true;

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Network intrusion prevention and detection system (IDS/IPS)";
    homepage = "https://www.snort.org";
@@ -60,6 +63,7 @@ stdenv.mkDerivation (finalAttrs: {
      aycanirican
      brianmcgillion
    ];
    changelog = "https://github.com/snort3/snort3/releases/tag/${finalAttrs.version}/CHANGELOG.md";
    license = lib.licenses.gpl2;
    platforms = with lib.platforms; linux;
  };