Skip to content

Commit

Permalink
Add naxsi module formula
Browse files Browse the repository at this point in the history
  • Loading branch information
James Dinsdale committed Nov 16, 2015
1 parent 324d095 commit 988465f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Formula/naxsi-nginx-module.rb
@@ -0,0 +1,17 @@
class NaxsiNginxModule < Formula
desc "NAXSI is an open-source, high performance, low rules maintenance WAF for NGINX"
homepage "https://github.com/nbs-system/naxsi"
url "https://github.com/nbs-system/naxsi/archive/0.54.tar.gz"
sha1 "d5db25db19a564358af7763d4935e978d05bf6f5"
head "https://github.com/nbs-system/naxsi.git"

def install
cd "naxsi_src" do
(share+"naxsi-nginx-module").install Dir["*"]
end

cd "naxsi_config" do
(etc+"nginx").install Dir["*"]
end
end
end
1 change: 1 addition & 0 deletions Formula/nginx-full.rb
Expand Up @@ -75,6 +75,7 @@ def self.third_party_modules
"mod-zip" => "Compile with support for HTTP Zip module",
"mogilefs" => "Compile with support for HTTP MogileFS module",
"mp4-h264" => "Compile with support for HTTP MP4/H264 module",
"naxsi" => "Compile with support for Naxsi module",
"notice" => "Compile with support for HTTP Notice module",
"php-session" => "Compile with support for Parse PHP Sessions module",
"push-stream" => "Compile with support for http push stream module",
Expand Down

0 comments on commit 988465f

Please sign in to comment.