aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse2014-12-01 16:37:47 +0100
committerMike McQuaid2014-12-01 17:34:34 +0000
commitad1d1e4b8140dbdab038be76133544479bae6e82 (patch)
tree361856e571567af0c9a6e9d05c7027c62e6d1a8d /Library/Formula
parent686a9cc1f6c187d090f1b3f1c65959ea6524fd0f (diff)
downloadhomebrew-ad1d1e4b8140dbdab038be76133544479bae6e82.tar.bz2
bacula-fd 7.0.5
Update bacula-fd to 7.0.5 Closes #34590. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/bacula-fd.rb12
1 files changed, 9 insertions, 3 deletions
diff --git a/Library/Formula/bacula-fd.rb b/Library/Formula/bacula-fd.rb
index 2d6c89318..cbdbf1d70 100644
--- a/Library/Formula/bacula-fd.rb
+++ b/Library/Formula/bacula-fd.rb
@@ -2,20 +2,26 @@ require 'formula'
class BaculaFd < Formula
homepage 'http://www.bacula.org/'
- url 'https://downloads.sourceforge.net/project/bacula/bacula/5.2.13/bacula-5.2.13.tar.gz'
- sha1 '30b1eb2efb515138807163d046f675eaa29fad1c'
+ url 'https://downloads.sourceforge.net/project/bacula/bacula/7.0.5/bacula-7.0.5.tar.gz'
+ sha256 '1457849eb33011b43371801b62ffa13d29bebe51be8d5a36da563b87bb094a49'
+
+ depends_on 'readline'
+ depends_on 'openssl'
def install
# * sets --disable-conio in order to force the use of readline
# (conio support not tested)
# * working directory in /var/lib/bacula, reasonable place that
# matches Debian's location.
+ readline = Formula["readline"].opt_prefix
system "./configure", "--prefix=#{prefix}",
"--sbindir=#{bin}",
"--with-working-dir=#{var}/lib/bacula",
"--with-pid-dir=#{HOMEBREW_PREFIX}/var/run",
"--enable-client-only",
- "--disable-conio"
+ "--disable-conio",
+ "--with-readline=#{readline}"
+
system "make"
system "make install"