Index: head/textproc/elasticsearch7/Makefile =================================================================== --- head/textproc/elasticsearch7/Makefile +++ head/textproc/elasticsearch7/Makefile @@ -2,11 +2,11 @@ # $FreeBSD$ PORTNAME= elasticsearch -PORTVERSION= 7.10.0 +PORTVERSION= 7.10.1 CATEGORIES= textproc java devel MASTER_SITES= https://artifacts.elastic.co/downloads/${PORTNAME}/ PKGNAMESUFFIX= 7 -DISTNAME= ${PORTNAME}-${PORTVERSION}-no-jdk-linux-x86_64 +DISTNAME= ${PORTNAME}-${PORTVERSION}-no-jdk-darwin-x86_64 MAINTAINER= elastic@FreeBSD.org COMMENT= Full-text search engine for Java @@ -18,70 +18,44 @@ jna>0:devel/jna USES= cpe shebangfix +USE_JAVA= yes +JAVA_VERSION= 8+ +USE_RC_SUBR= ${PORTNAME} +SHEBANG_FILES= bin/elasticsearch bin/elasticsearch-certgen \ + bin/elasticsearch-certutil bin/elasticsearch-cli \ + bin/elasticsearch-croneval bin/elasticsearch-env \ + bin/elasticsearch-env-from-file bin/elasticsearch-keystore \ + bin/elasticsearch-migrate bin/elasticsearch-node \ + bin/elasticsearch-plugin bin/elasticsearch-saml-metadata \ + bin/elasticsearch-setup-passwords bin/elasticsearch-shard \ + bin/elasticsearch-sql-cli bin/elasticsearch-syskeygen \ + bin/elasticsearch-users bin/x-pack-env bin/x-pack-security-env \ + bin/x-pack-watcher-env + CONFLICTS= elasticsearch[56]-[0-9]* NO_ARCH= yes -USE_JAVA= yes NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -JAVA_VERSION= 8+ -USE_RC_SUBR= ${PORTNAME} -SHEBANG_FILES= bin/elasticsearch \ - bin/elasticsearch-certgen \ - bin/elasticsearch-certutil \ - bin/elasticsearch-cli \ - bin/elasticsearch-croneval \ - bin/elasticsearch-env \ - bin/elasticsearch-env-from-file \ - bin/elasticsearch-keystore \ - bin/elasticsearch-migrate \ - bin/elasticsearch-node \ - bin/elasticsearch-plugin \ - bin/elasticsearch-saml-metadata \ - bin/elasticsearch-setup-passwords \ - bin/elasticsearch-shard \ - bin/elasticsearch-sql-cli \ - bin/elasticsearch-syskeygen \ - bin/elasticsearch-users \ - bin/x-pack-env \ - bin/x-pack-security-env \ - bin/x-pack-watcher-env OPTIONS_DEFINE= DOCS .include -CONFIG_FILES= elasticsearch.yml \ - jvm.options \ - log4j2.properties \ - role_mapping.yml \ - roles.yml -BINS= elasticsearch \ - elasticsearch-certgen \ - elasticsearch-certutil \ - elasticsearch-cli \ - elasticsearch-croneval \ - elasticsearch-env \ - elasticsearch-env-from-file \ - elasticsearch-keystore \ - elasticsearch-migrate \ - elasticsearch-node \ - elasticsearch-plugin \ - elasticsearch-saml-metadata \ - elasticsearch-setup-passwords \ - elasticsearch-shard \ - elasticsearch-sql-cli \ +CONFIG_FILES= elasticsearch.yml jvm.options log4j2.properties \ + role_mapping.yml roles.yml +BINS= elasticsearch elasticsearch-certgen elasticsearch-certutil \ + elasticsearch-cli elasticsearch-croneval elasticsearch-env \ + elasticsearch-env-from-file elasticsearch-keystore \ + elasticsearch-migrate elasticsearch-node elasticsearch-plugin \ + elasticsearch-saml-metadata elasticsearch-setup-passwords \ + elasticsearch-shard elasticsearch-sql-cli \ elasticsearch-sql-cli-${PORTVERSION}.jar \ - elasticsearch-syskeygen \ - elasticsearch-users \ - x-pack-env \ - x-pack-security-env \ - x-pack-watcher-env + elasticsearch-syskeygen elasticsearch-users x-pack-env \ + x-pack-security-env x-pack-watcher-env -PORTDOCS= LICENSE.txt \ - NOTICE.txt \ - README.asciidoc +PORTDOCS= LICENSE.txt NOTICE.txt README.asciidoc SIGAR_ARCH= ${ARCH:S|i386|x86|} SEARCHUSER?= elasticsearch @@ -89,12 +63,13 @@ USERS= ${SEARCHUSER} GROUPS= ${SEARCHGROUP} -SUB_LIST= ETCDIR=${ETCDIR} JAVA_HOME=${JAVA_HOME} SUB_FILES= pkg-message +SUB_LIST= ETCDIR=${ETCDIR} \ + JAVA_HOME=${JAVA_HOME} post-patch: ${RM} ${WRKSRC}/lib/jna-*.jar - # ML plugin not supported on FreeBSD +# ML plugin not supported on FreeBSD ${RM} -rf ${WRKSRC}/modules/x-pack/x-pack-ml do-install: Index: head/textproc/elasticsearch7/distinfo =================================================================== --- head/textproc/elasticsearch7/distinfo +++ head/textproc/elasticsearch7/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1605452048 -SHA256 (elasticsearch-7.10.0-no-jdk-linux-x86_64.tar.gz) = 446e810113f51c048212b9b89b1e7f35ea37ce6292312d60f678266fdd43409a -SIZE (elasticsearch-7.10.0-no-jdk-linux-x86_64.tar.gz) = 164353416 +TIMESTAMP = 1609277185 +SHA256 (elasticsearch-7.10.1-no-jdk-darwin-x86_64.tar.gz) = 269189ce606b071a30724fa678cca42dcbdea88134770070d043927b2a748dac +SIZE (elasticsearch-7.10.1-no-jdk-darwin-x86_64.tar.gz) = 162046388