git: 33527426ec01 - main - net-mgmt/harica: [NEW PORT] Go client for the HARICA API

From: Älven <alven_at_FreeBSD.org>
Date: Thu, 01 Oct 2026 22:14:28 UTC
The branch main has been updated by alven:

URL: https://cgit.FreeBSD.org/ports/commit/?id=33527426ec014a17846c5acf28eb3e352300394e

commit 33527426ec014a17846c5acf28eb3e352300394e
Author:     Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>
AuthorDate: 2026-10-01 18:47:19 +0000
Commit:     Älven <alven@FreeBSD.org>
CommitDate: 2026-10-01 22:10:26 +0000

    net-mgmt/harica: [NEW PORT] Go client for the HARICA API
    
    harica is a Go package for interacting with the HARICA API - the current
    TLS certificate service provider for the GÉANT community
    
    PR:            299024
    Sponsored by:  PANS Jarosław
---
 net-mgmt/Makefile         |  1 +
 net-mgmt/harica/Makefile  | 19 +++++++++++++++++++
 net-mgmt/harica/distinfo  |  5 +++++
 net-mgmt/harica/pkg-descr |  3 +++
 4 files changed, 28 insertions(+)

diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile
index 2e8890b156e2..de8e4c7e83ed 100644
--- a/net-mgmt/Makefile
+++ b/net-mgmt/Makefile
@@ -86,6 +86,7 @@
     SUBDIR += grok_exporter
     SUBDIR += gsnmp
     SUBDIR += guifi-snpservices
+    SUBDIR += harica
     SUBDIR += icinga-ipl-i18n
     SUBDIR += icinga-php-library
     SUBDIR += icinga-php-thirdparty
diff --git a/net-mgmt/harica/Makefile b/net-mgmt/harica/Makefile
new file mode 100644
index 000000000000..d2c053d78525
--- /dev/null
+++ b/net-mgmt/harica/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	harica
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.12.2
+CATEGORIES=	net-mgmt
+
+MAINTAINER=	zarychtam@plan-b.pwste.edu.pl
+COMMENT=	Go client for the HARICA API
+WWW=		https://github.com/hm-edu/harica
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		go:modules
+
+GO_MODULE=	github.com/hm-edu/harica
+
+PLIST_FILES=	bin/harica
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/harica/distinfo b/net-mgmt/harica/distinfo
new file mode 100644
index 000000000000..925fd7b8d0b6
--- /dev/null
+++ b/net-mgmt/harica/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1790877245
+SHA256 (go/net-mgmt_harica/harica-v1.12.2/v1.12.2.mod) = 12dc3aa8f51209bd7eba77cbdd90f09f7afd85bf4f355b121758ce0741d95705
+SIZE (go/net-mgmt_harica/harica-v1.12.2/v1.12.2.mod) = 1456
+SHA256 (go/net-mgmt_harica/harica-v1.12.2/v1.12.2.zip) = ebfb844ce7d3e065b91d560b798902408dd470c15cec5bfebfa0511e1612935e
+SIZE (go/net-mgmt_harica/harica-v1.12.2/v1.12.2.zip) = 44069
diff --git a/net-mgmt/harica/pkg-descr b/net-mgmt/harica/pkg-descr
new file mode 100644
index 000000000000..48115f92a502
--- /dev/null
+++ b/net-mgmt/harica/pkg-descr
@@ -0,0 +1,3 @@
+harica is a Go package for interacting with the HARICA API. It provides an
+unofficial CLI interface to most API commands. The project was started at
+Munich University of Applied Sciences.