Ticket #31274: apache-solr-3.4.0.patch
File apache-solr-3.4.0.patch, 1.8 KB (added by hayato_1980@…, 13 years ago) |
---|
-
files/solr.in
3 3 CMDNAME=`basename "$0"` 4 4 5 5 usage() { 6 echo "Usage: ${CMDNAME} [-h|--help] [ solr_home]" 1>&26 echo "Usage: ${CMDNAME} [-h|--help] [-d solr.data.dir] [solr_home]" 1>&2 7 7 exit 1 8 8 } 9 9 10 10 SOLR_PATH=@solr_path@ 11 11 SOLR_HOME=@solr_home@ 12 SOLR_DATA=${SOLR_HOME}/data 12 13 13 14 while test -n "$1"; do 14 15 case "$1" in 15 16 -h|--help) usage ;; 16 *) SOLR_HOME="$1"; shift ;; 17 -d|--datadir) shift 18 SOLR_DATA=$1;; 19 *) SOLR_HOME="$1";; 17 20 esac 21 shift 18 22 done 19 23 20 24 java -Dsolr.clustering.enabled=true \ 21 25 -Dsolr.solr.home="${SOLR_HOME}" \ 26 -Dsolr.data.dir="${SOLR_DATA}" \ 22 27 -Djetty.home="${SOLR_PATH}" \ 23 28 -jar ${SOLR_PATH}/start.jar -
Portfile
4 4 PortSystem 1.0 5 5 6 6 name apache-solr 7 version 3. 3.08 revision 17 version 3.4.0 8 revision 0 9 9 categories java textproc 10 10 platforms darwin 11 11 maintainers gmail.com:haya10.ito hum openmaintainer … … 18 18 19 19 master_sites apache:lucene/solr/${version}/ 20 20 extract.suffix .tgz 21 checksums sha1 e6017419051e5eda9cb222e3b17006eeed682db9\22 rmd160 ef2c2e58d44a9d8786c2fc5b2f19f59bf9e1f70c21 checksums sha1 4dc9bdbf3c49c4907c91d1bd75c40fccb4b430ba \ 22 rmd160 5b4058f78b60fb270da6114b6648253fa3b06dbc 23 23 24 24 # set the destination paths. 25 25 set java_basepath ${prefix}/share/java