From 17ec57b2795bbd123bc6cf889f909a43f092cc92 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 5 Sep 2020 14:24:39 +0200 Subject: [PATCH] osx: update formula for HomeBrew (with upstream additions) --- osx/lldpd.rb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/osx/lldpd.rb b/osx/lldpd.rb index 9a55e61a..2ecc30cc 100644 --- a/osx/lldpd.rb +++ b/osx/lldpd.rb @@ -4,6 +4,10 @@ class Lldpd < Formula url "https://media.luffy.cx/files/lldpd/lldpd-1.0.6.tar.gz" sha256 "25e15bc3407c1cbf2d0b2f21993561a57b7e2fdc5cebfcf6df4ce5ce376aaeec" + livecheck do + url "https://github.com/vincentbernat/lldpd.git" + end + option "with-snmp", "Build SNMP subagent support" depends_on "pkg-config" => :build @@ -11,6 +15,8 @@ class Lldpd < Formula depends_on "net-snmp" if build.with? "snmp" depends_on "readline" + uses_from_macos "libxml2" + def install readline = Formula["readline"] args = %W[ @@ -73,7 +79,7 @@ class Lldpd < Formula end end - plist_options :startup => true + plist_options startup: true def plist additional_args = "" -- 2.39.5