1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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"
}
|