freebsd-ports/textproc/apache-solr
Larry Rosenman 54c9fec60a Stock apache-solr scripts use lsof during startup to check if Solr started properly.
When deploying Apache Solr in Jail lsof needs access to /dev/mem which is not allowed by default. Lack of the access makes the startup script run in the loop for 3 minutes and then it assumes that it might have succeed.

Allowing access to /dev/mem makes running Solr in Jail a bit pointless.

Following patch changes the behaviour of Solr startup script to use sockstat instead of lsof to check if Solr has already started. This also makes the dependency on lsof obsolete.

While here, pet portlint.

PR:	218654
Submitted by:	Wiktor Niesiobedzki <bsd@vink.pl>
Approved by:	 idefix@fechner.net (maintainer), adamw (mentor)
Differential Revision:	https://reviews.freebsd.org/D10416
2017-04-18 01:37:21 +00:00
..
files Stock apache-solr scripts use lsof during startup to check if Solr started properly. 2017-04-18 01:37:21 +00:00
distinfo - Update to 6.5.0 2017-04-17 15:16:35 +00:00
Makefile Stock apache-solr scripts use lsof during startup to check if Solr started properly. 2017-04-18 01:37:21 +00:00
pkg-descr
pkg-plist - Update to 6.5.0 2017-04-17 15:16:35 +00:00