Created attachment 163666 [details] update to 2.1.0 - update to 2.1.0 - use GIT_HUB - simplify Makefile use ${VAR:S|^|...} instead .for loop use COPYTREE_SHARE instead listing all jar's replace "${SED} -i .bak" with ${REINPLACE_CMD} - mute MKDIR - move softlink creation back to post-install (from do-install-DOCS) create softlink without `cd' before into target dir - create var/{log,db}/elesticsearch dirs with owner and mode - sort pkg-plist - use postunexec in pkg-plist (see ports/CHANGES:20150926)
Doesn't build for me after applying the patch. Am I missing anything? # make ===> License APACHE20 accepted by the user ===> Found saved configuration for elasticsearch2-2.0.0 ===> elasticsearch2-2.1.0 depends on file: /usr/local/sbin/pkg - found => elastic-elasticsearch-2.1.0-72cd1f1_GH0.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch https://codeload.github.com/elastic/elasticsearch/tar.gz/72cd1f1?dummy=/elastic-elasticsearch-2.1.0-72cd1f1_GH0.tar.gz elastic-elasticsearch-2.1.0-72cd1f1_GH0.tar.gz100% of 16 MB 2383 kBps 00m07s ===> Fetching all distfiles required by elasticsearch2-2.1.0 for building ===> Extracting for elasticsearch2-2.1.0 => SHA256 Checksum OK for elastic-elasticsearch-2.1.0-72cd1f1_GH0.tar.gz. ===> Patching for elasticsearch2-2.1.0 ===> Applying FreeBSD patches for elasticsearch2-2.1.0 File to patch:
Created attachment 163726 [details] update to 2.1.0 Sorry, I've attached the wrong diff ... I shaped a new patch that will apply clean.
Confirmed, it worked now. Thanks!(In reply to Olli Hauer from comment #2)
One tiny edit: diff -ru elasticsearch2.orig/pkg-descr elasticsearch2/pkg-descr --- elasticsearch2.orig/pkg-descr 2012-12-08 20:48:41.000000000 +0000 +++ elasticsearch2/pkg-descr 2015-12-12 04:38:10.892251764 +0000 @@ -1,4 +1,4 @@ Elasticsearch aims to be a Distributed, RESTful, Search Engine built on top of Apache Lucene. -WWW: http://www.elasticsearch.org/ +WWW: https://www.elastic.co/
A commit references this bug: Author: tj Date: Tue Dec 15 17:06:12 UTC 2015 New revision: 403794 URL: https://svnweb.freebsd.org/changeset/ports/403794 Log: Update to 2.1. Changes: https://www.elastic.co/guide/en/elasticsearch/reference/2.1/release-notes-2.1.0.html - Fix path to allow service to start at boot - Misc cleanup from ohauer PR: 195861, 204821, 204902, 204910 Changes: head/textproc/elasticsearch2/Makefile head/textproc/elasticsearch2/distinfo head/textproc/elasticsearch2/files/patch-bin-elasticsearch.in.sh head/textproc/elasticsearch2/pkg-descr head/textproc/elasticsearch2/pkg-plist