aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorVincent Bernat2013-07-13 17:10:02 +0200
committerAdam Vandenberg2013-07-15 08:54:22 -0700
commit16ecc5d7a8e50944ee78a03183295db2fecc534c (patch)
treed950aa998b3168495f8a2971dcc3a246351ae257 /Library/Formula
parent49476001422d532ba991bc997f6ae94c992d647f (diff)
downloadhomebrew-16ecc5d7a8e50944ee78a03183295db2fecc534c.tar.bz2
lldpd 0.7.6
Closes #21193. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/lldpd.rb10
1 files changed, 8 insertions, 2 deletions
diff --git a/Library/Formula/lldpd.rb b/Library/Formula/lldpd.rb
index d9f5e47f0..0b7ebf233 100644
--- a/Library/Formula/lldpd.rb
+++ b/Library/Formula/lldpd.rb
@@ -2,8 +2,8 @@ require 'formula'
class Lldpd < Formula
homepage 'http://vincentbernat.github.io/lldpd/'
- url 'http://media.luffy.cx/files/lldpd/lldpd-0.7.1.tar.gz'
- sha1 '8eb804ee6b93d12486ee0527828b752dc43158f9'
+ url 'http://media.luffy.cx/files/lldpd/lldpd-0.7.6.tar.gz'
+ sha1 'be3d3937b22d14259553f637694f744ed3b8ba79'
option 'with-snmp', "Build SNMP subagent support"
option 'with-json', "Build JSON support for lldpcli"
@@ -14,6 +14,12 @@ class Lldpd < Formula
depends_on 'net-snmp' if build.include? 'with-snmp'
depends_on 'jansson' if build.include? 'with-json'
+ # Don't try to install provided launchd plist (outside of prefix)
+ # Being addressed upstream for next release.
+ def patches
+ "https://raw.github.com/vincentbernat/lldpd/91a63c540e59871001b04a43a784935533fd167a/osx/dont-install-launchd-plist.patch"
+ end
+
def install
readline = Formula.factory 'readline'
args = [ "--prefix=#{prefix}",