Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 2025 12:04:02 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ed60cb3a1c8c - main - misc/far2l: allow to build NetRocks plugin with AWS S3 support.
Message-ID:  <6922f832.b290.7789b639@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by danfe:

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

commit ed60cb3a1c8cb81063a88d1717bc128222687f2d
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2025-11-23 12:02:38 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2025-11-23 12:02:38 +0000

    misc/far2l: allow to build NetRocks plugin with AWS S3 support.
---
 misc/far2l/Makefile  | 7 +++++--
 misc/far2l/pkg-plist | 1 +
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/misc/far2l/Makefile b/misc/far2l/Makefile
index c4bdeb62c5e7..7025d0a89fd4 100644
--- a/misc/far2l/Makefile
+++ b/misc/far2l/Makefile
@@ -23,10 +23,13 @@ SHEBANG_FILES=	far2l/bootstrap/view.sh
 
 CMAKE_OFF=	UNRAR	# libarchive handles *.rar files just fine
 
-OPTIONS_DEFINE=	NFS SFTP SMB WEBDAV WXGTK X11
+OPTIONS_DEFINE=	AWS NFS SFTP SMB WEBDAV WXGTK X11
 OPTIONS_DEFAULT=	NFS SFTP WEBDAV WXGTK X11
 OPTIONS_SUB=	yes
 
+AWS_DESC=	AWS S3 protocol support
+AWS_LIB_DEPENDS=	libaws-cpp-sdk-s3.so:devel/aws-sdk-cpp
+
 NFS_LIB_DEPENDS=	libnfs.so:net/libnfs
 
 SFTP_DESC=	SFTP file transfer support
@@ -52,7 +55,7 @@ post-patch:
 			${WRKSRC}/CMakeLists.txt
 	@${GREP} -Rl --null --include=\*.cpp /bin/bash ${WRKSRC} | ${XARGS} \
 		-0 ${REINPLACE_CMD} -e 's,/bin/bash,${LOCALBASE}&,'
-# https://github.com/elfmz/far2l/issues/1143
+# Show icon in graphical mode (https://github.com/elfmz/far2l/issues/1143)
 	@${REINPLACE_CMD} -e '/SetBackgroundColour/ { x; \
 		s|^|SetIcon(wxIcon(wxStandardPaths::Get().GetInstallPrefix()\
 		+ "/share/icons/far2l.svg", wxBITMAP_TYPE_ICO));|; H; x; }' \
diff --git a/misc/far2l/pkg-plist b/misc/far2l/pkg-plist
index 00a5be922f1c..bd38b140f5f3 100644
--- a/misc/far2l/pkg-plist
+++ b/misc/far2l/pkg-plist
@@ -1,5 +1,6 @@
 bin/far2l
 bin/far2ledit
+%%AWS%%lib/far2l/Plugins/NetRocks/plug/NetRocks-AWS.broker
 lib/far2l/Plugins/NetRocks/plug/NetRocks-FILE.broker
 lib/far2l/Plugins/NetRocks/plug/NetRocks-FTP.broker
 %%NFS%%lib/far2l/Plugins/NetRocks/plug/NetRocks-NFS.broker


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6922f832.b290.7789b639>