Bug 274149 - [new port] net/akhq: Web GUI for Apache Kafka
Summary: [new port] net/akhq: Web GUI for Apache Kafka
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Li-Wen Hsu
URL: https://github.com/tchiotludo/akhq
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-28 18:10 UTC by Sven Ruediger
Modified: 2024-10-25 22:06 UTC (History)
1 user (show)

See Also:


Attachments
new port patch (4.27 KB, text/plain)
2023-09-28 18:10 UTC, Sven Ruediger
no flags Details
akhq poudriere testport (4.64 KB, application/x-gzip)
2023-10-02 12:46 UTC, Sven Ruediger
no flags Details
akhq port (4.15 KB, patch)
2023-11-03 19:42 UTC, Sven Ruediger
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Ruediger 2023-09-28 18:10:58 UTC
Created attachment 245313 [details]
new port patch

This is an initial draft for net/akhq port, a Web GUI for Apache Kafka.

https://github.com/tchiotludo/akhq
Comment 1 Li-Wen Hsu freebsd_committer freebsd_triage 2023-09-30 08:57:30 UTC
The distinfo seems needing updating, also, it fails on staging:

===>  Staging for akhq-0.24.0
===>   akhq-0.24.0 depends on file: /usr/local/openjdk8/bin/java - found
===>   Generating temporary packing list
/bin/mkdir -p /wrkdirs/usr/ports/net/akhq/work/stage/usr/local/etc/akhq
/bin/mkdir -p /wrkdirs/usr/ports/net/akhq/work/stage/usr/local/share/java/akhq
install  -m 0644 /portdistfiles/akhq-0.24.0-all.jar /wrkdirs/usr/ports/net/akhq/work/stage/usr/local/share/java/akhq/akhq.jar
install  -m 0644 /usr/ports/net/akhq/files/application.yml /wrkdirs/usr/ports/net/akhq/work/stage/usr/local/etc/akhq/application.yml.sample
echo "@sample /usr/local/etc/akhq/application.yml.sample" >> /wrkdirs/usr/ports/net/akhq/work/.PLIST.mktmp
/bin/sh: Syntax error: end of file unexpected (expecting "fi")
*** Error code 2

Stop.
make: stopped in /usr/ports/net/akhq
Comment 2 Sven Ruediger 2023-10-02 12:46:17 UTC
(In reply to Li-Wen Hsu from comment #1)
I can't reproduce that error. 
It tried a vanilla 13.2 AMD64 jail and poudriere testport, both built without any issue.
I just noticed, that port 8080 should be used by default oder another user added to :www to listen on port 80. But that's more relevant for final port or at least added to pkg-desc.




=>> Checking for extra files and directories
[01:54:02] Installing from package
[132amd64-default] Installing akhq-0.24.0...
[132amd64-default] Extracting akhq-0.24.0: ...... done
[01:54:18] Cleaning up
===>  Cleaning for akhq-0.24.0
[01:54:19] Deinstalling package
Updating database digests format: . done
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
        akhq: 0.24.0

Number of packages to be removed: 1

The operation will free 169 MiB.
[132amd64-default] [1/1] Deinstalling akhq-0.24.0...
[132amd64-default] [1/1] Deleting files for akhq-0.24.0: ...... done
build of net/akhq | akhq-0.24.0 ended at Mon Oct  2 10:57:23 UTC 2023
build time: 00:02:22
Comment 3 Sven Ruediger 2023-10-02 12:46:45 UTC
Created attachment 245378 [details]
akhq poudriere testport
Comment 4 Sven Ruediger 2023-11-03 19:42:35 UTC
Created attachment 246086 [details]
akhq port

updated to use unprivileged port 8080 and JDK17
Comment 5 Li-Wen Hsu freebsd_committer freebsd_triage 2024-06-03 21:57:23 UTC
new patch: https://reviews.freebsd.org/D45479