From 12335518ab39608d58370c85ff9f5384ad2aa5f7 Mon Sep 17 00:00:00 2001 From: MCApollo <34170230+MCApollo@users.noreply.github.com> Date: Sat, 20 Apr 2019 20:49:46 -0500 Subject: Ported in the homebrew-marauder for a hacky update/import system. TODO: Maybe add a license & fix up messy code. --- homebrew/nagios/.beer | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 homebrew/nagios/.beer (limited to 'homebrew/nagios/.beer') diff --git a/homebrew/nagios/.beer b/homebrew/nagios/.beer new file mode 100644 index 000000000..aed5c0ea6 --- /dev/null +++ b/homebrew/nagios/.beer @@ -0,0 +1,33 @@ +{ + "name": "Nagios", + "description": "Network monitoring and management system", + "url": "https://downloads.sourceforge.net/project/nagios/nagios-4.x/nagios-4.4.3/nagios-4.4.3.tar.gz", + "mirror": null, + "homepage": "https://www.nagios.org/", + "depends": [ + { + "depend": "gd", + "build-depend": false + }, + { + "depend": "libpng", + "build-depend": false + }, + { + "depend": "nagios-plugins", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "(var/\"lib/nagios/rw\").mkpath", + "config = etc/\"nagios/nagios.cfg\"", + "return unless File.exist?(config)", + "return if File.read(config).include?(ENV[\"USER\"])", + "inreplace config, \"brew\", ENV[\"USER\"]" + ], + "version": "4.4.3", + "file": "nagios.rb" +} \ No newline at end of file -- cgit v1.2.3