Date: Fri, 14 Nov 2025 05:38:14 GMT From: Hiroki Tagato <tagattie@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 4db213374677 - main - sysutils/elephant: Update to 2.15.0 Message-ID: <202511140538.5AE5cETE042134@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=4db213374677a3d4895ff83115ddec463d026372 commit 4db213374677a3d4895ff83115ddec463d026372 Author: Hiroki Tagato <tagattie@FreeBSD.org> AuthorDate: 2025-11-14 05:06:37 +0000 Commit: Hiroki Tagato <tagattie@FreeBSD.org> CommitDate: 2025-11-14 05:38:05 +0000 sysutils/elephant: Update to 2.15.0 Changelog: - https://github.com/abenz1267/elephant/releases/tag/v2.14.4 - https://github.com/abenz1267/elephant/releases/tag/v2.15.0 Reported by: GitHub (watch releases) --- sysutils/elephant/Makefile | 11 ++-- sysutils/elephant/distinfo | 10 ++-- ..._github.com_neurlang_wayland_os_scm__freebsd.go | 69 ++++++++++++++++++++++ ...or_github.com_neurlang_wayland_os_scm__linux.go | 10 ++++ 4 files changed, 91 insertions(+), 9 deletions(-) diff --git a/sysutils/elephant/Makefile b/sysutils/elephant/Makefile index 7d5c56a95706..1da7b335da49 100644 --- a/sysutils/elephant/Makefile +++ b/sysutils/elephant/Makefile @@ -1,6 +1,6 @@ PORTNAME= elephant DISTVERSIONPREFIX= v -DISTVERSION= 2.14.3 +DISTVERSION= 2.15.0 CATEGORIES= sysutils MAINTAINER= tagattie@FreeBSD.org @@ -24,11 +24,12 @@ PORTDOCS= README.md OPTIONS_DEFINE= DOCS OPTIONS_DEFAULT= ${OPTIONS_GROUP_PROVIDERS:NNIRISESSIONS} OPTIONS_GROUP= PROVIDERS -OPTIONS_GROUP_PROVIDERS=BOOKMARKS CALC CLIPBOARD DESKTOPAPPLICATIONS FILES \ - MENUS NIRISESSIONS PROVIDERLIST RUNNER SNIPPETS SYMBOLS \ - TODO UNICODE WEBSEARCH WINDOWS +OPTIONS_GROUP_PROVIDERS=1PASSWORD BOOKMARKS CALC CLIPBOARD DESKTOPAPPLICATIONS \ + FILES MENUS NIRISESSIONS PROVIDERLIST RUNNER SNIPPETS \ + SYMBOLS TODO UNICODE WEBSEARCH WINDOWS PROVIDERS_DESC= Enabled providers +1PASSWORD_DESC= Access your 1Password vaults BOOKMARKS_DESC= URL bookmark manager CALC_DESC= Perform calculation and unit-conversions CLIPBOARD_DESC= Store clipboard history @@ -45,6 +46,8 @@ UNICODE_DESC= Search for unicode symbols WEBSEARCH_DESC= Search web with custom defined search engines WINDOWS_DESC= Find and focus opened windows +1PASSWORD_RUN_DEPENDS= op:security/1password-client2 +1PASSWORD_PLIST_FILES= etc/xdg/elephant/providers/1password.so BOOKMARKS_RUN_DEPENDS= jq:textproc/jq BOOKMARKS_USES= sqlite BOOKMARKS_PLIST_FILES= etc/xdg/elephant/providers/bookmarks.so diff --git a/sysutils/elephant/distinfo b/sysutils/elephant/distinfo index 9799f748a7e9..c4ee050bcf19 100644 --- a/sysutils/elephant/distinfo +++ b/sysutils/elephant/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1762483994 -SHA256 (go/sysutils_elephant/elephant-v2.14.3/v2.14.3.mod) = 14e8da63cfb407de89f4ce5605d78d048b3f77bdef62aa33ee29aabbcfd9dace -SIZE (go/sysutils_elephant/elephant-v2.14.3/v2.14.3.mod) = 2725 -SHA256 (go/sysutils_elephant/elephant-v2.14.3/v2.14.3.zip) = cbe97bc5e61da51d6c7862eefd77935c6857aa9d99b31775e13b4abd69807296 -SIZE (go/sysutils_elephant/elephant-v2.14.3/v2.14.3.zip) = 7562507 +TIMESTAMP = 1763094271 +SHA256 (go/sysutils_elephant/elephant-v2.15.0/v2.15.0.mod) = 0df5afad597346ffb501e93b1a722cbbfb8bea76532dc04167c7d238ae0ecade +SIZE (go/sysutils_elephant/elephant-v2.15.0/v2.15.0.mod) = 2414 +SHA256 (go/sysutils_elephant/elephant-v2.15.0/v2.15.0.zip) = 26aa623a7c4d6abb37ff89862180ecb61032f1f82ba56257d78f8b1dd1612c3f +SIZE (go/sysutils_elephant/elephant-v2.15.0/v2.15.0.zip) = 7563466 diff --git a/sysutils/elephant/files/patch-vendor_github.com_neurlang_wayland_os_scm__freebsd.go b/sysutils/elephant/files/patch-vendor_github.com_neurlang_wayland_os_scm__freebsd.go new file mode 100644 index 000000000000..080a3e55fead --- /dev/null +++ b/sysutils/elephant/files/patch-vendor_github.com_neurlang_wayland_os_scm__freebsd.go @@ -0,0 +1,69 @@ +--- vendor/github.com/neurlang/wayland/os/scm_freebsd.go.orig 2025-11-14 04:42:13 UTC ++++ vendor/github.com/neurlang/wayland/os/scm_freebsd.go +@@ -0,0 +1,66 @@ ++//go:build freebsd ++// +build freebsd ++ ++package os ++ ++import "golang.org/x/sys/unix" ++import "syscall" ++ ++// SocketControlMessage is a socket control message ++type SocketControlMessage = syscall.SocketControlMessage ++ ++// Sockaddr is a socket address ++type Sockaddr = unix.Sockaddr ++ ++// ParseSocketControlMessage calls a system call to parse a Socket Control Message ++func ParseSocketControlMessage(b []byte) ([]SocketControlMessage, error) { ++ scms, err := syscall.ParseSocketControlMessage(b) ++ return []SocketControlMessage(scms), err ++} ++ ++// ParseUnixRights calls a system call to parse unix rights ++func ParseUnixRights(m *SocketControlMessage) (fds []int, err error) { ++ return syscall.ParseUnixRights(m) ++} ++ ++func fallocate(fd int, mode uint32, off int64, size int64) error { ++ return syscall.Ftruncate(fd, off+size) ++} ++ ++ ++// UnixRights calls a system call ++func UnixRights(fd int) []byte { ++ return syscall.UnixRights(fd) ++} ++ ++// Sendmsg sends information on fd using a Sendmsg system call ++func Sendmsg(fd int, msg []byte, oob []byte, sockaddr Sockaddr, z int) error { ++ return unix.Sendmsg(fd, msg, oob, sockaddr, z) ++} ++ ++// Mmap calls the system call to map memory on a fd ++func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error) { ++ return syscall.Mmap(fd, offset, length, prot, flags) ++} ++ ++// Munmap calls the system call to unmap memory ++func Munmap(data []byte) error { ++ return syscall.Munmap(data) ++} ++ ++// Close closes the fd ++func Close(fd int) error { ++ return syscall.Close(fd) ++} ++ ++// ProtRead Pages may be read ++const ProtRead = syscall.PROT_READ ++ ++// ProtWrite Pages may be written ++const ProtWrite = syscall.PROT_WRITE ++ ++// MapShared Share this mapping ++const MapShared = syscall.MAP_SHARED ++ ++// MapPrivate Private mapping ++const MapPrivate = syscall.MAP_PRIVATE diff --git a/sysutils/elephant/files/patch-vendor_github.com_neurlang_wayland_os_scm__linux.go b/sysutils/elephant/files/patch-vendor_github.com_neurlang_wayland_os_scm__linux.go new file mode 100644 index 000000000000..0944ac60ff75 --- /dev/null +++ b/sysutils/elephant/files/patch-vendor_github.com_neurlang_wayland_os_scm__linux.go @@ -0,0 +1,10 @@ +--- vendor/github.com/neurlang/wayland/os/scm_linux.go.orig 2025-11-14 04:42:08 UTC ++++ vendor/github.com/neurlang/wayland/os/scm_linux.go +@@ -1,5 +1,5 @@ +-//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris +-// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris ++//go:build aix || darwin || dragonfly || linux || netbsd || openbsd || solaris ++// +build aix darwin dragonfly linux netbsd openbsd solaris + + package os +home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202511140538.5AE5cETE042134>
