Summary: | [NEW PORT] textproc/elasticsearch5-search-guard: Elasticsearch Search Guard plugin | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Miroslav Lachman <000.fbsd> | ||||||
Component: | Individual Port(s) | Assignee: | Torsten Zuehlsdorff <tz> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | koobs, tj, tz | ||||||
Priority: | --- | Keywords: | feature, needs-qa | ||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
URL: | https://github.com/floragunncom/search-guard | ||||||||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219738 | ||||||||
Attachments: |
|
Description
Miroslav Lachman
2017-06-02 20:24:10 UTC
Since some time has gone: can you please update it to the newest version? Regarding your PORTVERSION questions. Its a hard one. Other ports just use DIST_VERSION. Have a look for example at www/drupal7-wysiwyg. (In reply to Torsten Zuehlsdorff from comment #1) There is no newer version for Elastic 5.3.0. https://oss.sonatype.org/content/repositories/releases/com/floragunn/search-guard-5/ Version 14 was released for Elastic 5.3.3 and newer but FreeBSD ports tree has 5.3.0 DISTVERSION will derive/produce a correct PORTVERSION (In reply to Miroslav Lachman from comment #2) > There is no newer version for Elastic 5.3.0. Ah, i see now. Thanks for the explanation. portlint -C shows up with some messages. Most of them will go away when using DISTVERSION. Please also regenerate the patch with make makepatch. FATAL: Makefile: PKGNAMEPREFIX appears out-of-order. FATAL: Makefile: order must be PORTNAME/PORTVERSION/DISTVERSIONPREFIX/DISTVERSION/DISTVERSIONSUFFIX/PORTREVISION/PORTEPOCH/CATEGORIES/MASTER_SITES/MASTER_SITE_SUBDIR/PROJECTHOST/PKGNAMEPREFIX/PKGNAMESUFFIX/DISTNAME/EXTRACT_SUFX/DISTFILES/DIST_SUBDIR/EXTRACT_ONLY. WARN: Makefile: using hyphen in PORTNAME. consider using PKGNAMEPREFIX and/or PKGNAMESUFFIX. WARN: /usr/ports/textproc/elasticsearch5-search-guard/distinfo: [1]: TIMESTAMP is over 30 days old WARN: /usr/ports/textproc/elasticsearch5-search-guard/files/patch-elasticsearch-tools-install_demo_configuration.sh: patch was not generated using ``make makepatch''. It is recommended to use ``make makepatch'' when you need to [re-]generate a patch to ensure proper patch format. The rest of the port looks fine. If you fix the issues i will commit it. Created attachment 186410 [details]
shar with fixed portlint warnings
I fixed some warnings, recreated patch with make makepatch but I still think it is better to use fixed string
DISTNAME= search-guard-5-5.3.0-12
instead of messing with PORTVERSION / DISTVERSIONPREFIX / DISTVERSION / DISTVERSIONSUFFIX combinations like this:
PORTVERSION= 5.3.0
DISTVERSIONPREFIX= 5-
#DISTVERSION= 5.3.0
DISTVERSIONSUFFIX= -12
So now portlint -C complaints just for this
WARN: Makefile: using hyphen in PORTNAME. consider using PKGNAMEPREFIX and/or PKGNAMESUFFIX.
But hypen in PORTNAME is intentional
A commit references this bug: Author: tz Date: Tue Nov 21 15:13:32 UTC 2017 New revision: 454614 URL: https://svnweb.freebsd.org/changeset/ports/454614 Log: New port: textproc/elasticsearch5-search-guard Search Guard() is an Elasticsearch plugin that offers encryption, authentication, and authorization. It builds on Search Guard SSL and provides pluggable authentication and authorization modules in addition. Search Guard is fully compatible with Kibana, Logstash and Beats. As an alternative to other security solutions for Elasticsearch, Search Guard offers the following main features: TLS on transport- and REST-layer Fine-grained role- and index-based access control HTTP Basic Authentication LDAP / Active Directory Kerberos / SPNEGO JSON web token Document- and Field-level security Audit logging Kibana multi-tenancy REST management API Proxy support User impersonation WWW: https://github.com/floragunncom/search-guard PR: 219739 Submitted by: Miroslav Lachman <000.fbsd@quip.cz> Changes: head/textproc/Makefile head/textproc/elasticsearch5-search-guard/ head/textproc/elasticsearch5-search-guard/Makefile head/textproc/elasticsearch5-search-guard/distinfo head/textproc/elasticsearch5-search-guard/files/ head/textproc/elasticsearch5-search-guard/files/patch-elasticsearch-tools-install_demo_configuration.sh head/textproc/elasticsearch5-search-guard/pkg-descr head/textproc/elasticsearch5-search-guard/pkg-message head/textproc/elasticsearch5-search-guard/pkg-plist Finally committed. I changed MASTER_SITE and DISTNAME a little, but the rest is taken like submitted. Thanks! Torsten Thank you! |