summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2025-10-12 21:49:13 +0900
committerHiroki Tagato <tagattie@FreeBSD.org>2025-10-12 22:51:21 +0900
commit2af6ccc8e98fb366726bd4b505a7d69bd86d8e3c (patch)
treed1935ff289e14a9b2d26fc6051406747e4ee74d8
parentnet/ortp: Take maintainership (diff)
sysutils/elephant: update to 2.1.4
While here, add aarch64 and armv7 to unsupported architectures since buildmode=plugin is not supported on them on FreeBSD. Changelog: - https://github.com/abenz1267/elephant/releases/tag/v1.3.3 - https://github.com/abenz1267/elephant/releases/tag/v2.0.0 - https://github.com/abenz1267/elephant/releases/tag/v2.1.0 - https://github.com/abenz1267/elephant/releases/tag/v2.1.1 - https://github.com/abenz1267/elephant/releases/tag/v2.1.2 - https://github.com/abenz1267/elephant/releases/tag/v2.1.3 - https://github.com/abenz1267/elephant/releases/tag/v2.1.4 Reported by: GitHub (watch releases)
-rw-r--r--sysutils/elephant/Makefile13
-rw-r--r--sysutils/elephant/distinfo10
2 files changed, 9 insertions, 14 deletions
diff --git a/sysutils/elephant/Makefile b/sysutils/elephant/Makefile
index 0d8774e9f236..8f34d8eeb2f1 100644
--- a/sysutils/elephant/Makefile
+++ b/sysutils/elephant/Makefile
@@ -1,7 +1,6 @@
PORTNAME= elephant
DISTVERSIONPREFIX= v
-DISTVERSION= 1.3.2
-PORTREVISION= 1
+DISTVERSION= 2.1.4
CATEGORIES= sysutils
MAINTAINER= tagattie@FreeBSD.org
@@ -11,12 +10,12 @@ WWW= https://github.com/abenz1267/elephant
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
-NOT_FOR_ARCHS= i386
-NOT_FOR_ARCHS_REASON= -buildmode=plugin not supported on freebsd/386
+NOT_FOR_ARCHS= aarch64 armv7 i386
+NOT_FOR_ARCHS_REASON= -buildmode=plugin not supported on these architectures
USES= go:1.25,modules
-GO_MODULE= github.com/abenz1267/elephant
+GO_MODULE= github.com/abenz1267/elephant/v2
GO_TARGET= ./cmd/elephant
PLIST_FILES= bin/${PORTNAME}
@@ -64,10 +63,6 @@ WEBSEARCH_PLIST_FILES= etc/xdg/elephant/providers/websearch.so
ENABLED_PROVIDERS= ${SELECTED_OPTIONS:NDOCS:tl}
-post-patch:
- @${REINPLACE_CMD} -e 's|/etc|${PREFIX}&|' \
- ${GO_WRKSRC}/internal/providers/load.go
-
post-build:
.for provider in ${ENABLED_PROVIDERS}
@${ECHO_MSG} "===> Building ${provider} from ./internal/providers/${provider}"
diff --git a/sysutils/elephant/distinfo b/sysutils/elephant/distinfo
index 57668f983e71..13a6693cb46e 100644
--- a/sysutils/elephant/distinfo
+++ b/sysutils/elephant/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1759455617
-SHA256 (go/sysutils_elephant/elephant-v1.3.2/v1.3.2.mod) = 272874130a90b2beac5b65820bf759b9a1f2b29dbd9d4347aaf0410dfddf5a76
-SIZE (go/sysutils_elephant/elephant-v1.3.2/v1.3.2.mod) = 965
-SHA256 (go/sysutils_elephant/elephant-v1.3.2/v1.3.2.zip) = c3e4e98de4dfa14bd1bbfae4a74050e529bb0dfbbe556e5a7f7a9f451d686a82
-SIZE (go/sysutils_elephant/elephant-v1.3.2/v1.3.2.zip) = 7132904
+TIMESTAMP = 1760271169
+SHA256 (go/sysutils_elephant/elephant-v2.1.4/v2.1.4.mod) = 4b93d08796d6e98c1f458096d8375c6cc1b02f46fdf735f83143267fda8c93dc
+SIZE (go/sysutils_elephant/elephant-v2.1.4/v2.1.4.mod) = 968
+SHA256 (go/sysutils_elephant/elephant-v2.1.4/v2.1.4.zip) = 992d96de206fe1cb6cc9f37e8bd1f91b8b7d0cf1da8eafa6504bad8a0f519ccc
+SIZE (go/sysutils_elephant/elephant-v2.1.4/v2.1.4.zip) = 7134346