Changeset 84041 for trunk/dports/java


Ignore:
Timestamp:
Sep 15, 2011, 5:01:42 PM (8 years ago)
Author:
hum@…
Message:

apache-solr: update to 3.4.0; add data_dir option (-d) to the command scripts; see #31274.

Location:
trunk/dports/java/apache-solr
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/apache-solr/Portfile

    r83880 r84041  
    55
    66name                apache-solr
    7 version             3.3.0
    8 revision            1
     7version             3.4.0
    98categories          java textproc
    109platforms           darwin
     
    1918master_sites        apache:lucene/solr/${version}/
    2019extract.suffix      .tgz
    21 checksums           sha1    e6017419051e5eda9cb222e3b17006eeed682db9 \
    22                     rmd160  ef2c2e58d44a9d8786c2fc5b2f19f59bf9e1f70c
     20checksums           sha1    4dc9bdbf3c49c4907c91d1bd75c40fccb4b430ba \
     21                    rmd160  5b4058f78b60fb270da6114b6648253fa3b06dbc
    2322
    2423# set the destination paths.
  • trunk/dports/java/apache-solr/files/patch-solr-ja.diff

    r83880 r84041  
    113113   <!-- an exact path can be used to specify a specific file.  This
    114114        will cause a serious error to be logged if it can't be loaded.
    115 @@ -780,6 +781,7 @@
     115@@ -785,6 +786,7 @@
    116116        <str name="wt">velocity</str>
    117117 
  • trunk/dports/java/apache-solr/files/solr.in

    r83880 r84041  
    44
    55usage() {
    6     echo "Usage: ${CMDNAME} [-h|--help] [solr_home]" 1>&2
     6    echo "Usage: ${CMDNAME} [-h|--help] [-d data_dir] [solr_home]" 1>&2
    77    exit 1
    88}
     
    1010SOLR_PATH=@solr_path@
    1111SOLR_HOME=@solr_home@
     12SOLR_DATA=${SOLR_HOME}/data
    1213
    1314while test -n "$1"; do
    1415    case "$1" in
    1516        -h|--help) usage ;;
    16         *)         SOLR_HOME="$1";    shift ;;
     17        -d|--datadir) shift
     18                   SOLR_DATA=$1;;
     19        *)         SOLR_HOME="$1";;
    1720    esac
     21    shift
    1822done
    1923
    2024java -Dsolr.clustering.enabled=true \
    2125     -Dsolr.solr.home="${SOLR_HOME}" \
     26     -Dsolr.data.dir="${SOLR_DATA}" \
    2227     -Djetty.home="${SOLR_PATH}" \
    2328     -jar ${SOLR_PATH}/start.jar
Note: See TracChangeset for help on using the changeset viewer.