aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorVincent Bernat2013-12-15 18:14:11 +0100
committerMike McQuaid2013-12-15 17:23:24 +0000
commitd342f69c5e0570060e74448713928a4245fdf27a (patch)
tree807faa2bdc6eec02fc2b0b1f94a16445cbd9ede1 /Library/Formula
parent591516dee5f1844a6a0947469c7a78efbb3ffe7e (diff)
downloadhomebrew-d342f69c5e0570060e74448713928a4245fdf27a.tar.bz2
lldpd 0.7.7
Closes #25231. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/lldpd.rb11
1 files changed, 3 insertions, 8 deletions
diff --git a/Library/Formula/lldpd.rb b/Library/Formula/lldpd.rb
index 0b7ebf233..e0286b51d 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.6.tar.gz'
- sha1 'be3d3937b22d14259553f637694f744ed3b8ba79'
+ url 'http://media.luffy.cx/files/lldpd/lldpd-0.7.7.tar.gz'
+ sha1 '4471e5fcd66d650b6327842a9e2e779e546f2491'
option 'with-snmp', "Build SNMP subagent support"
option 'with-json', "Build JSON support for lldpcli"
@@ -14,12 +14,6 @@ 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}",
@@ -28,6 +22,7 @@ class Lldpd < Formula
"--with-privsep-chroot=/var/empty",
"--with-privsep-user=nobody",
"--with-privsep-group=nogroup",
+ "--with-launchddaemonsdir=no",
"CPPFLAGS=-I#{readline.include} -DRONLY=1",
"LDFLAGS=-L#{readline.lib}" ]
args << "--with-snmp" if build.include? 'with-snmp'