From: Vincent Bernat Date: Sun, 19 Mar 2017 14:34:41 +0000 (+0100) Subject: osx: update Homebrew recipe X-Git-Tag: 0.9.8~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=78cf3e8d26066a3d8994c184e72fc31f918c5535;p=thirdparty%2Flldpd.git osx: update Homebrew recipe --- diff --git a/osx/lldpd.rb b/osx/lldpd.rb index 1e33aeff..29924bf4 100644 --- a/osx/lldpd.rb +++ b/osx/lldpd.rb @@ -1,17 +1,15 @@ class Lldpd < Formula desc "Implementation of IEEE 802.1ab (LLDP)" homepage "https://vincentbernat.github.io/lldpd/" - url "https://media.luffy.cx/files/lldpd/lldpd-0.9.6.tar.gz" - sha256 "e74e2dd7e2a233ca1ff385c925ddae2a916d302819d1433741407d2f8fb0ddd8" + url "https://media.luffy.cx/files/lldpd/lldpd-0.9.7.tar.gz" + sha256 "b9360355c30a3c06fd5c0a6e658f2ad8bf77037d5a17c6fcabf20e62882e0db8" option "with-snmp", "Build SNMP subagent support" - option "with-json", "Build JSON support for lldpcli" depends_on "pkg-config" => :build depends_on "readline" depends_on "libevent" depends_on "net-snmp" if build.with? "snmp" - depends_on "jansson" if build.with? "json" def install readline = Formula["readline"] @@ -27,7 +25,6 @@ class Lldpd < Formula "LDFLAGS=-L#{readline.lib}", ] args << (build.with?("snmp") ? "--with-snmp" : "--without-snmp") - args << (build.with?("json") ? "--with-json" : "--without-json") system "./configure", *args system "make"