diff --git a/Formula/net-snmp.rb b/Formula/net-snmp.rb index 1f362e20f7..4666088cb4 100644 --- a/Formula/net-snmp.rb +++ b/Formula/net-snmp.rb @@ -1,13 +1,13 @@ require 'formula' class NetSnmp < Formula - url 'http://downloads.sourceforge.net/project/net-snmp/net-snmp/5.6.1.1/net-snmp-5.6.1.1.tar.gz' homepage 'http://www.net-snmp.org/' - md5 '79e2b9cac947567a01ae2cc67ad8fe53' + url 'http://sourceforge.net/projects/net-snmp/files/net-snmp/5.7.1/net-snmp-5.7.1.tar.gz' + md5 'c95d08fd5d93df0c11a2e1bdf0e01e0b' def install system "./configure", "--prefix=#{prefix}", - "--with-persistent-directory=/var/db/net-snmp", + "--with-persistent-directory=#{var}/db/net-snmp", "--with-defaults", "--without-rpm", "--with-mib-modules=host ucd-snmp/diskio",