Page MenuHomeFreeBSD

Update ELK stack to 5.6.7
AbandonedPublic

Authored by pi on Jan 20 2018, 9:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 22, 11:38 PM
Unknown Object (File)
Mon, Apr 8, 8:08 PM
Unknown Object (File)
Sun, Apr 7, 7:19 AM
Unknown Object (File)
Sun, Mar 31, 2:24 AM
Unknown Object (File)
Mar 17 2024, 11:52 AM
Unknown Object (File)
Mar 10 2024, 1:22 PM
Unknown Object (File)
Mar 3 2024, 1:37 AM
Unknown Object (File)
Mar 3 2024, 1:37 AM

Details

Reviewers
john_saltant.com
Summary

Changelogs

sysutils/logstash5

  • Update to 5.6.7
  • Constrain to amd64 due to embedded JRuby C extensions
  • DRY for install directory in PLIST
  • Avoid installing JNI libs for foreign archs
  • Strip embedded JNI libs
  • Purge non-7bit chars from pkg-descr
  • Remove stray spaces from Makefile

textproc/elasticsearch5-x-pack

  • Update to 5.6.7
  • Define LICENSE variables
  • DRY in RUN_DEPENDS
  • Mark port architecture-neutral
  • Avoid installing embedded libs for foreign archs

textproc/elasticsearch5

  • Update to 5.6.7
  • Use relative symlink to plugin directory
  • Depend on devel/jna instead of bundled JAR
  • Discard deprecated, duplicative unexec lines from PLIST

textproc/kibana5-x-pack

  • Update to 5.6.7
  • Define LICENSE variables
  • DRY in RUN_DEPENDS
  • DRY for install directory in PLIST

textproc/kibana5

  • Update to 5.6.7
  • Sort PLIST

QA

  • portlint: OK
  • poudriere: OK -- testport and bulk
Test Plan

textproc/elasticsearch5
textproc/kibana5
sysutils/logstash5

Smoke test:

  1. perform fresh install and minimal config
  2. start all three services
  3. send a log line to logstash
  4. verify indexed logline is visible via kibana

textproc/elasticsearch5-x-pack
textproc/kibana5-x-pack

Aside from verifying that I can install and remove the packages cleanly, I need help from someone who is familiar with these ports and can help to test this update.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

john_saltant.com edited the summary of this revision. (Show Details)
  • textproc/elasticsearch5: Depend on devel/jna instead of jna shipped with ES
  • textproc/elasticsearch5: Eliminate deprecated unexec lines from PLIST.
  • textproc/kibana5: Reset PORTREVISION to 0
john_saltant.com retitled this revision from Update ELK stack to 5.6.6 to Update ELK stack to 5.6.7.
john_saltant.com edited the summary of this revision. (Show Details)
  • All: bump from 5.6.6 to 5.6.7
  • sysutils/logstash5: Remove stray spaces from Makefile
  • textproc/kibana5: Sort PLIST

Could you use devel/arcanist, or at least generate a diff with full context like it does, with svn diff -x -U9999 or git diff -U9999.

Regenerate diff using:

cd /usr/ports
svn diff \
    --diff-cmd=diff -x -U999999 \
    sysutils/logstash5 \
    textproc/elasticsearch5-x-pack \
    textproc/elasticsearch5 \
    textproc/kibana5-x-pack \
    textproc/kibana5 \
    > ~/patch-elk-5.6.7-1.txt
textproc/elasticsearch5/Makefile
87

Please, use ${RLN}:

${RLN} ${STAGEDIR}${PREFIX}/lib/elasticsearch/bin/elasticsearch-plugin ${STAGEDIR}${PREFIX}/bin/elasticsearch-plugin
john_saltant.com added a reviewer: pi.

Incorporate @mat's suggestion to use the RLN macro.

pi edited reviewers, added: john_saltant.com; removed: pi.

A similar update was done by feld@ in r462830