Bug 231295 - Upgrade net/kafka to version 2.0.0
Summary: Upgrade net/kafka to version 2.0.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Kurt Jaeger
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2018-09-10 23:45 UTC by pete
Modified: 2018-09-30 14:38 UTC (History)
5 users (show)

See Also:
pi: maintainer-feedback+


Attachments
Patch to upgrade existing kafka v1 port to v2 (10.58 KB, patch)
2018-09-10 23:45 UTC, pete
no flags Details | Diff
port patch (20.28 KB, patch)
2018-09-22 21:12 UTC, Pavel Timofeev
timp87: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description pete 2018-09-10 23:45:46 UTC
Created attachment 197018 [details]
Patch to upgrade existing kafka v1 port to v2

Hello,
Kafka v2.0.0 has recently been released.  I'm submitting this bug report to request that we either upgrade the existing port to use version 2.0.0, or probably create a kafka2 package until v1 reaches EOL.  I've attached a diff against the current kafka port to support version 2.0.0.  

I will be running this version in development and eventually production scenarios, so there will be at least one user of this version out there :)
Comment 1 Pavel Timofeev 2018-09-11 12:01:26 UTC
Hello. Thanks a lot, sir! I'll take care of it in a couple of days.
It's nice to hear someone is using this port!
Comment 2 pete 2018-09-11 18:15:59 UTC
(In reply to timp87 from comment #1)
oh awesome thanks!

i haven't tested upgrading a running system from v1 to v2 fwiw, so i'm not sure if that's a concern.  hence me mentioning that maybe a kafka2 port would need to be created.  

regardless of the direction you want to take i'll be more than happy to have this upstream so i can deprecate another pkg from my in-house repository :)
Comment 3 Nathan 2018-09-11 23:26:27 UTC
Taggin Wen since there was a bug#227186 to regarding an update(older, than this one)
Comment 4 Pavel Timofeev 2018-09-22 21:12:52 UTC
Created attachment 197376 [details]
port patch

- update net/kafka to 2.0.0
- use kafka binary build based on scala-2.11 as it's recommended officially
- rework rc script
- remove useless patch
Comment 5 Kurt Jaeger freebsd_committer freebsd_triage 2018-09-30 12:36:38 UTC
testbuilds at work, after gnome update.
Comment 6 commit-hook freebsd_committer freebsd_triage 2018-09-30 14:37:26 UTC
A commit references this bug:

Author: pi
Date: Sun Sep 30 14:37:05 UTC 2018
New revision: 480956
URL: https://svnweb.freebsd.org/changeset/ports/480956

Log:
  net/kafka: update 1.0.0 -> 2.0.0

  PR:		231295
  Submitted by:	pete@nomadlogic.org, timp87@gmail.com (maintainer)
  Relnotes:	https://www.apache.org/dist/kafka/2.0.0/RELEASE_NOTES.html

Changes:
  head/net/kafka/Makefile
  head/net/kafka/distinfo
  head/net/kafka/files/kafka.in
  head/net/kafka/files/patch-bin_kafka-run-class.sh
  head/net/kafka/pkg-plist
Comment 7 Kurt Jaeger freebsd_committer freebsd_triage 2018-09-30 14:38:51 UTC
Committed, thanks!