]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
osx: update Homebrew recipe
authorVincent Bernat <vincent@bernat.im>
Sun, 19 Mar 2017 14:34:41 +0000 (15:34 +0100)
committerVincent Bernat <vincent@bernat.im>
Sun, 19 Mar 2017 14:34:41 +0000 (15:34 +0100)
osx/lldpd.rb

index 1e33aeffffd2d8874f6e3b854091d10e03163491..29924bf448651e406b5c5afe55a9b275811089a6 100644 (file)
@@ -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"