aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorGuy Rozendorn2013-10-25 14:42:40 +0300
committerAdam Vandenberg2013-11-04 20:04:24 -0800
commit5d417ddb239288a177b1b9285c982e82b6aa44fa (patch)
tree1f2560fcd63accb62ffbc686e345529f7320395a /Library
parent8d7e5764c365cb73b6d9b08a47a9bc3aca0e97b0 (diff)
downloadhomebrew-5d417ddb239288a177b1b9285c982e82b6aa44fa.tar.bz2
rsyslog 7.4.5
Closes #23695. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/rsyslog.rb39
1 files changed, 34 insertions, 5 deletions
diff --git a/Library/Formula/rsyslog.rb b/Library/Formula/rsyslog.rb
index 8be402a6b..cd7dce6b6 100644
--- a/Library/Formula/rsyslog.rb
+++ b/Library/Formula/rsyslog.rb
@@ -2,17 +2,46 @@ require 'formula'
class Rsyslog < Formula
homepage 'http://www.rsyslog.com'
- url 'http://www.rsyslog.com/files/download/rsyslog/rsyslog-5.10.1.tar.gz'
- sha256 '2f643a2c613d5b09f242affd32a90cf4fb7a9ac4557dc80f218e6f3e5affb4c8'
+ url 'http://www.rsyslog.com/files/download/rsyslog/rsyslog-7.4.5.tar.gz'
+ sha256 'f5e46e9324e366f20368162b4f561cf7a76fecb4aa0570edcaaa49e9f8c2fe70'
depends_on 'pkg-config' => :build
+ depends_on 'libestr'
+ depends_on 'json-c'
- option :universal
+ def patches
+ DATA
+ end
def install
- ENV.universal_binary if build.universal?
- system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
+ args = %W[
+ --prefix=#{prefix}
+ --disable-dependency-tracking
+ --enable-imfile
+ --enable-usertools
+ --enable-diagtools
+ --enable-cached-man-pages
+ --disable-uuid
+ --disable-libgcrypt
+ ]
+
+ system "./configure", *args
system "make"
system "make install"
end
end
+
+__END__
+diff --git i/grammar/parserif.h w/grammar/parserif.h
+index aa271ec..03c4db9 100644
+--- i/grammar/parserif.h
++++ w/grammar/parserif.h
+@@ -3,7 +3,7 @@
+ #include "rainerscript.h"
+ int cnfSetLexFile(char*);
+ int yyparse();
+-char *cnfcurrfn;
++extern char *cnfcurrfn;
+ void dbgprintf(char *fmt, ...) __attribute__((format(printf, 1, 2)));
+ void parser_errmsg(char *fmt, ...) __attribute__((format(printf, 1, 2)));
+ void tellLexEndParsing(void);