Skip to content

Commit

Permalink
discourse: Enable jhead, which is no longer marked vulnerable
Browse files Browse the repository at this point in the history
  • Loading branch information
talyz committed Sep 27, 2021
1 parent e4ed6b5 commit ed8c4e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
9 changes: 4 additions & 5 deletions pkgs/servers/web-apps/discourse/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
, fetchFromGitHub, bundlerEnv, callPackage

, ruby, replace, gzip, gnutar, git, cacert, util-linux, gawk
, imagemagick, optipng, pngquant, libjpeg, jpegoptim, gifsicle, libpsl
, redis, postgresql, which, brotli, procps, rsync, nodePackages, v8
, imagemagick, optipng, pngquant, libjpeg, jpegoptim, gifsicle, jhead
, libpsl, redis, postgresql, which, brotli, procps, rsync
, nodePackages, v8

, plugins ? []
}@args:
Expand Down Expand Up @@ -41,6 +42,7 @@ let
jpegoptim
gifsicle
nodePackages.svgo
jhead
];

runtimeEnv = {
Expand Down Expand Up @@ -242,9 +244,6 @@ let
# Add a noninteractive admin creation task
./admin_create.patch

# Disable jhead, which is currently marked as vulnerable
./disable_jhead.patch

# Add the path to the CA cert bundle to make TLS work
./action_mailer_ca_cert.patch

Expand Down
12 changes: 0 additions & 12 deletions pkgs/servers/web-apps/discourse/disable_jhead.patch

This file was deleted.

0 comments on commit ed8c4e0

Please sign in to comment.