solr 7.0.1
Fixes CVE-2017-12629.
This commit is contained in:
parent
3b58ba3782
commit
e3f23e9ee4
2 changed files with 6 additions and 9 deletions
|
@ -1,9 +1,9 @@
|
||||||
class Solr < Formula
|
class Solr < Formula
|
||||||
desc "Enterprise search platform from the Apache Lucene project"
|
desc "Enterprise search platform from the Apache Lucene project"
|
||||||
homepage "https://lucene.apache.org/solr/"
|
homepage "https://lucene.apache.org/solr/"
|
||||||
url "https://www.apache.org/dyn/closer.cgi?path=lucene/solr/6.6.0/solr-6.6.0.tgz"
|
url "https://www.apache.org/dyn/closer.cgi?path=lucene/solr/7.0.1/solr-7.0.1.tgz"
|
||||||
mirror "https://archive.apache.org/dist/lucene/solr/6.6.0/solr-6.6.0.tgz"
|
mirror "https://archive.apache.org/dist/lucene/solr/7.0.1/solr-7.0.1.tgz"
|
||||||
sha256 "6b1d1ed0b74aef320633b40a38a790477e00d75b56b9cdc578533235315ffa1e"
|
sha256 "128239cadfd8cb95ce510ce68881cfbb5f16dc559051477f780e1bc490bb7000"
|
||||||
|
|
||||||
bottle :unneeded
|
bottle :unneeded
|
||||||
|
|
||||||
|
@ -12,13 +12,10 @@ class Solr < Formula
|
||||||
skip_clean "example/logs"
|
skip_clean "example/logs"
|
||||||
|
|
||||||
def install
|
def install
|
||||||
|
bin.install %w[bin/solr bin/post bin/oom_solr.sh]
|
||||||
|
pkgshare.install "bin/solr.in.sh"
|
||||||
|
prefix.install %w[example server]
|
||||||
libexec.install Dir["*"]
|
libexec.install Dir["*"]
|
||||||
bin.install "#{libexec}/bin/solr"
|
|
||||||
bin.install "#{libexec}/bin/post"
|
|
||||||
bin.install "#{libexec}/bin/oom_solr.sh"
|
|
||||||
share.install "#{libexec}/bin/solr.in.sh"
|
|
||||||
prefix.install "#{libexec}/example"
|
|
||||||
prefix.install "#{libexec}/server"
|
|
||||||
|
|
||||||
# Fix the classpath for the post tool
|
# Fix the classpath for the post tool
|
||||||
inreplace "#{bin}/post", '"$SOLR_TIP/dist"', "#{libexec}/dist"
|
inreplace "#{bin}/post", '"$SOLR_TIP/dist"', "#{libexec}/dist"
|
||||||
|
|
Loading…
Reference in a new issue