Bug 217876 - sysutils/rsyslog8: added Elasticseatch support for rsyslog8
Summary: sysutils/rsyslog8: added Elasticseatch support for rsyslog8
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Matthew Seaman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-17 18:24 UTC by ru_M1cRO
Modified: 2017-03-18 00:44 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (matthew)


Attachments
rsyslog8 Elasticsearch support (1.22 KB, patch)
2017-03-17 18:24 UTC, ru_M1cRO
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ru_M1cRO 2017-03-17 18:24:54 UTC
Created attachment 180911 [details]
rsyslog8 Elasticsearch support

* added option to enable Elasticsearch support
* fix portlint warning about: "WARN: Makefile: "BUILD_DEPENDS" has to appear earlier"

Information about rsyslog+elasticsearch:
 - http://www.rsyslog.com/doc/v8-stable/configuration/modules/omelasticsearch.html
 - http://wiki.rsyslog.com/index.php/HOWTO:_rsyslog_%2B_elasticsearch

portlint: OK(have 1 WARN, but it's ok)
testport: OK(FreeBSD 12.0-CURRENT, r307649)
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-03-18 00:42:14 UTC
A commit references this bug:

Author: matthew
Date: Sat Mar 18 00:41:39 UTC 2017
New revision: 436368
URL: https://svnweb.freebsd.org/changeset/ports/436368

Log:
  Add ELASTIC option to allow elastic search as an output destination. (1)

  Add dependency on libcurl.so when ELASTIC selected, missing from
  original submission

  Switch from implicit USE_MYSQL=yes to uses= mysql

  PR:		217876
  Submitted by:	rum1cro@yandex.ru

Changes:
  head/sysutils/rsyslog8/Makefile
Comment 2 Matthew Seaman freebsd_committer freebsd_triage 2017-03-18 00:43:42 UTC
I had to add:

ELASTIC_LIB_DEPENDS=    libcurl.so:ftp/curl

but...

Committed with minor changes, thanks!