elasticsearch is a search engine written in Java. It supports indexing data in JSON over HTTP, is schema-free and document-oriented. It presents a REST API, and supports various sharding and replication schemes. WWW: http://elasticsearch.org Included are diffs against UIDs and GIDs from ports as of when `portsnap cron` ran today (2012-05-31). I chose UID/GID 148, the first available pair, though I am not attached to these numbers.
Responsible Changed From-To: freebsd-ports-bugs->jgh I'll take it.
Been using this port to get an install done and came across a few issues. 1. The depends should be RUN_DEPENDS not BUILD_DEPENDS 2. Elasticsearch actually depends on a build of lucene with CONTRIB selected. IIRC the only way to solve this is to create a dependent port e.g. lucene-contrib that configures lucene to build with CONTRB and then depend on that port. 3. Version is a little out of date, its now 0.19.8 4. As fetch doesn't support redirects the github url fails, changing it to http://cloud.github.com/downloads/elasticsearch/elasticsearch/ works. 5. sigar can still be used on 8.X releases so I'd suggest:- .include <bsd.port.pre.mk> .if ${OSVERSION} < 900007 RUN_DEPENDS+= ${JAVALIBDIR}/sigar.jar:${PORTSDIR}/sysutils/hyperic-sigar .endif ... .include <bsd.port.post.mk> 6. pkg-plist should use the port version e.g. %%JAVAJARDIR%%/elasticsearch-%%PORTVERSION%%.jar which also requires adding an additional PLIST_SUB to the Makefile PLIST_SUB+= PORTVERSION=${PORTVERSION} 7. I don't think the pid file should really go in the ES_HOME /var/run/elasticsearch/elasticsearch.pid is more FreeBSD like. Hope this helps. ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.
Hi, there is a hyperic-sigar patch by Ed Schouten at https://github.com/hyperic/sigar/pull/11 . I installed a patched version of sigar for testing elasticsearch (no port), I have no problems. It seemed the patch was not accepted by the sigar developers yet. How about to configure the port using it? Mit freundlichen Grüßen Stefan Witzel _______________________________________ Georg-August-Universität Göttingen Stiftung Öffentlichen Rechts Abteilung IT Goßlerstraße 5/7 37073 Göttingen Telefon: 0551 / 39-4160 Fax: 0551 / 39-184160 E-Mail: stefan.witzel@zvw.uni-goettingen.de
Responsible Changed From-To: jgh->tj Taking over from jgh with permission.
State Changed From-To: open->closed New port commited as textproc/elasticsearch.