mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
textproc/apache-solr9: update from 9.1.1 -> 9.2.0
Changelog: https://solr.apache.org/news.html#apache-solrtm-920-available
This commit is contained in:
parent
8f33d68ad4
commit
79d02242b2
@ -1,5 +1,5 @@
|
||||
PORTNAME= apache-solr
|
||||
PORTVERSION= 9.1.1
|
||||
PORTVERSION= 9.2.0
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= textproc java
|
||||
MASTER_SITES= https://archive.apache.org/dist/solr/solr/${PORTVERSION}/
|
||||
@ -41,7 +41,6 @@ JTS_RUN_DEPENDS= jts>0:math/jts
|
||||
do-install:
|
||||
${FIND} ${WRKSRC} -name '*.orig' -delete
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${CPE_PRODUCT}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/bin/oom_solr.sh ${STAGEDIR}${PREFIX}/${CPE_PRODUCT}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/bin/post ${STAGEDIR}${PREFIX}/${CPE_PRODUCT}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/bin/postlogs ${STAGEDIR}${PREFIX}/${CPE_PRODUCT}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/bin/solr ${STAGEDIR}${PREFIX}/${CPE_PRODUCT}/bin
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1676718132
|
||||
SHA256 (solr-9.1.1.tgz) = 3d66aadb0afa69360da05a9124e7724539c7d5e41adecb7a736921baf6b97575
|
||||
SIZE (solr-9.1.1.tgz) = 229955064
|
||||
TIMESTAMP = 1682234904
|
||||
SHA256 (solr-9.2.0.tgz) = 8b134a13a3e7598f68565b01e755a47e24b37a88141cd2f489fc2812c96f21af
|
||||
SIZE (solr-9.2.0.tgz) = 278193419
|
||||
|
@ -1,31 +0,0 @@
|
||||
--- bin/solr.orig 2022-04-25 20:37:26 UTC
|
||||
+++ bin/solr
|
||||
@@ -2269,13 +2269,12 @@ function start_solr() {
|
||||
echo ""
|
||||
fi
|
||||
# no lsof on cygwin though
|
||||
- if lsof -v 2>&1 | grep -q revision; then
|
||||
echo -n "Waiting up to $SOLR_START_WAIT seconds to see Solr running on port $SOLR_PORT"
|
||||
# Launch in a subshell to show the spinner
|
||||
(loops=0
|
||||
while true
|
||||
do
|
||||
- running=$(lsof -t -PniTCP:$SOLR_PORT -sTCP:LISTEN || :)
|
||||
+ running=$(sockstat -ls -P tcp -p $SOLR_PORT | grep LISTEN)
|
||||
if [ -z "${running:-}" ]; then
|
||||
slept=$((loops * 2))
|
||||
if [ $slept -lt $SOLR_START_WAIT ]; then
|
||||
@@ -2293,13 +2292,6 @@ function start_solr() {
|
||||
fi
|
||||
done) &
|
||||
spinner $!
|
||||
- else
|
||||
- echo -e "NOTE: Please install lsof as this script needs it to determine if Solr is listening on port $SOLR_PORT."
|
||||
- sleep 10
|
||||
- SOLR_PID=`ps auxww | grep start\.jar | awk "/\-Djetty\.port=$SOLR_PORT/"' {print $2}' | sort -r`
|
||||
- echo -e "\nStarted Solr server on port $SOLR_PORT (pid=$SOLR_PID). Happy searching!\n"
|
||||
- return;
|
||||
- fi
|
||||
fi
|
||||
}
|
||||
|
@ -40,6 +40,10 @@ https://github.com/rohitbemax/dataimporthandler
|
||||
Make also sure to always check the manual if you need to modify your
|
||||
configs or schemas:
|
||||
https://solr.apache.org/guide/9_0/solr-upgrade-notes.html
|
||||
|
||||
Maybe you want also to check some examples:
|
||||
https://dovecot.org/pipermail/dovecot/2022-May/124701.html
|
||||
https://dovecot.org/pipermail/dovecot/2022-May/124711.html
|
||||
EOM
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user