New formula: ctail
ctail is a tool for operating tail(1) across large clusters of machines, with many log files. It relies upon existing SSH authentication infrastructure, rather than introducing central points of log collection, or other large infrastructure changes, which aren't easily changed in many systems. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
f66c2ece9e
commit
ca0ecf0c1d
1 changed files with 15 additions and 0 deletions
15
Formula/ctail.rb
Normal file
15
Formula/ctail.rb
Normal file
|
@ -0,0 +1,15 @@
|
|||
require 'formula'
|
||||
|
||||
class Ctail <Formula
|
||||
url 'http://ctail.i-want-a-pony.com/downloads/ctail-0.1.0.tar.bz2'
|
||||
homepage 'http://ctail.i-want-a-pony.com/'
|
||||
md5 'fc39139aeaf3400aa13b338e2266b976'
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}", "--disable-debug"
|
||||
system "/usr/share/apr-1/build-1/libtool --silent --mode=compile gcc -g -Wall -Werror -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -I. -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o ctail.lo ctail.c && touch ctail.lo"
|
||||
system "/usr/share/apr-1/build-1/libtool --silent --mode=link gcc -o ctail ctail.lo -L/usr/lib -R/usr/lib -laprutil-1 -lexpat -liconv -lsqlite3 -L/usr/lib -R/usr/lib -lapr-1 -lpthread"
|
||||
bin.mkpath
|
||||
system "/usr/share/apr-1/build-1/libtool --silent --mode=install /usr/bin/install -c -m 755 ctail #{bin}"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue