diff options
| author | Adam Vandenberg | 2014-02-01 18:10:49 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-02-01 18:10:49 -0800 |
| commit | 759f44ea754bdcd0e1b54664d83fcf93a6730329 (patch) | |
| tree | 357650f48cf216aebd46b00b2d7f5d2833f187e0 /Library | |
| parent | 7db32f1c3f5009baa2609ced30d774bb301272a8 (diff) | |
| download | homebrew-759f44ea754bdcd0e1b54664d83fcf93a6730329.tar.bz2 | |
Redact flume and flume-ng
Both of these have not been updated in some time, despite having upstream
updates.
Closes #24814.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/flume-ng.rb | 31 | ||||
| -rw-r--r-- | Library/Formula/flume.rb | 22 |
2 files changed, 0 insertions, 53 deletions
diff --git a/Library/Formula/flume-ng.rb b/Library/Formula/flume-ng.rb deleted file mode 100644 index 668cfc77b..000000000 --- a/Library/Formula/flume-ng.rb +++ /dev/null @@ -1,31 +0,0 @@ -require 'formula' - -class FlumeNg < Formula - homepage 'https://github.com/apache/flume' - url 'http://archive.cloudera.com/cdh4/cdh/4/flume-ng-1.2.0-cdh4.1.0.tar.gz' - version "1.2.0-cdh4.1.0" - sha1 '2217316f274ff615e9e7dc50f411d95edda60cc3' - - def install - system "mvn", "compile" - libexec.install %w[bin conf lib] - (bin/"flume-ng").write <<-EOS.undent - #!/bin/bash - export FLUME_CONF_DIR=${FLUME_CONF_DIR-#{libexec}/conf} - exec #{libexec}/bin/flume-ng "$@" - EOS - end - - def caveats; <<-EOS.undent - See https://cwiki.apache.org/FLUME/getting-started.html for example configurations. - Your flume config dir is #{libexec}/conf/ - - If you intend to sink data to S3, you will need to download a missing JAR: - wget -O #{libexec}/lib/jets3t-0.7.1.jar http://repo1.maven.org/maven2/net/java/dev/jets3t/jets3t/0.7.1/jets3t-0.7.1.jar - EOS - end - - def test - system "#{bin}/flume-ng" - end -end diff --git a/Library/Formula/flume.rb b/Library/Formula/flume.rb deleted file mode 100644 index 418c1ada6..000000000 --- a/Library/Formula/flume.rb +++ /dev/null @@ -1,22 +0,0 @@ -require 'formula' - -class Flume < Formula - homepage 'https://github.com/cloudera/flume' - url 'http://archive.cloudera.com/cdh/3/flume-0.9.4-cdh3u2.tar.gz' - version "0.9.4-cdh3u2" - sha1 '9f68c8205b61e43d35467b6d45f815f5e41239e9' - - def flume_script - <<-EOS.undent - #!/bin/bash - export FLUME_CONF_DIR=${FLUME_CONF_DIR-#{libexec}/conf} - exec #{libexec}/bin/flume "$@" - EOS - end - - def install - libexec.install %w[bin conf lib webapps] - libexec.install Dir["*.jar"] - (bin/"flume").write flume_script - end -end |
