aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-12-11 22:13:51 -0500
committerJack Nagel2014-12-12 00:36:12 -0500
commit8979296ae1e0569434670e72bc3c62f8909de30a (patch)
treefa025d28546d0ebd5e288052c64b7ee2a956fff4 /Library
parenta669cb3a68da55bf6a26f726ba85a336069a78c3 (diff)
downloadhomebrew-8979296ae1e0569434670e72bc3c62f8909de30a.tar.bz2
net-snmp 5.7.3
Fixes #34904.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/net-snmp.rb21
1 files changed, 6 insertions, 15 deletions
diff --git a/Library/Formula/net-snmp.rb b/Library/Formula/net-snmp.rb
index 0ac920c31..5e6fddb47 100644
--- a/Library/Formula/net-snmp.rb
+++ b/Library/Formula/net-snmp.rb
@@ -2,25 +2,13 @@ require "formula"
class NetSnmp < Formula
homepage "http://www.net-snmp.org/"
-
- stable do
- url "https://downloads.sourceforge.net/project/net-snmp/net-snmp/5.7.2.1/net-snmp-5.7.2.1.tar.gz"
- sha1 "815d4e5520a1ed96a27def33e7534b4190599f0f"
-
- depends_on MaximumMacOSRequirement => :mountain_lion
- end
+ url "https://downloads.sourceforge.net/project/net-snmp/net-snmp/5.7.3/net-snmp-5.7.3.tar.gz"
+ sha1 "97dc25077257680815de44e34128d365c76bd839"
bottle do
- sha1 "6f1ff81bde5defe92b4a2062fba099c8310f9662" => :mountain_lion
- sha1 "cfeb129e4130ed17656443efd728ae0812a78720" => :lion
- end
-
- devel do
- url "https://downloads.sourceforge.net/project/net-snmp/net-snmp/5.7.3-pre-releases/net-snmp-5.7.3.pre3.tar.gz"
- version "5.7.3.pre3"
- sha1 "5e46232a2508a3cb6543f0438569090f78e4a20e"
end
+ depends_on "openssl"
depends_on :python => :optional
def install
@@ -43,6 +31,9 @@ class NetSnmp < Formula
ENV["PYTHONPROG"] = `which python`
end
+ # https://sourceforge.net/p/net-snmp/bugs/2504/
+ ln_s "darwin13.h", "include/net-snmp/system/darwin14.h"
+
system "./configure", *args
system "make"
system "make", "install"