git: ca315f3588c8 - main - ftp/sftpgo: update to 2.6.0

From: Serhii (Sergey) Kozlov <skozlov_at_FreeBSD.org>
Date: Sun, 19 May 2024 21:33:49 UTC
The branch main has been updated by skozlov:

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

commit ca315f3588c8b15b93646a100ff3e15b7bc7af5d
Author:     Serhii (Sergey) Kozlov <skozlov@FreeBSD.org>
AuthorDate: 2024-05-19 21:32:47 +0000
Commit:     Serhii (Sergey) Kozlov <skozlov@FreeBSD.org>
CommitDate: 2024-05-19 21:32:47 +0000

    ftp/sftpgo: update to 2.6.0
    
    Changelog:      https://github.com/drakkan/sftpgo/releases/tag/v2.6.0
---
 ftp/sftpgo/Makefile  |   4 +-
 ftp/sftpgo/distinfo  |   6 +--
 ftp/sftpgo/pkg-plist | 136 ++++++++++++++++++---------------------------------
 3 files changed, 53 insertions(+), 93 deletions(-)

diff --git a/ftp/sftpgo/Makefile b/ftp/sftpgo/Makefile
index 3fa816806f96..0fc7c03f99ba 100644
--- a/ftp/sftpgo/Makefile
+++ b/ftp/sftpgo/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	sftpgo
-PORTVERSION=	2.5.6
+PORTVERSION=	2.6.0
 CATEGORIES=	ftp www
 MASTER_SITES=	https://github.com/drakkan/${PORTNAME}/releases/download/v${DISTVERSION}/
 DISTNAME=	${PORTNAME}_v${PORTVERSION}_src_with_deps
@@ -11,7 +11,7 @@ WWW=		https://github.com/drakkan/sftpgo
 LICENSE=	AGPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		go:modules tar:xz
+USES=		go:1.22,modules tar:xz
 USE_RC_SUBR=	${PORTNAME}
 
 NO_WRKSUBDIR=	yes
diff --git a/ftp/sftpgo/distinfo b/ftp/sftpgo/distinfo
index f3d3cbebb788..d4079c62c5dc 100644
--- a/ftp/sftpgo/distinfo
+++ b/ftp/sftpgo/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1715642091
-SHA256 (sftpgo_v2.5.6_src_with_deps.tar.xz) = e935340abe8f39853c9108a77f368a8d458fee1cd55ebdabf3db59adb2e1e755
-SIZE (sftpgo_v2.5.6_src_with_deps.tar.xz) = 12156860
+TIMESTAMP = 1716152831
+SHA256 (sftpgo_v2.6.0_src_with_deps.tar.xz) = 13699ff48204610b1c0d01241963e7adb3f3fa1540b060a9d3ab963d8a109953
+SIZE (sftpgo_v2.6.0_src_with_deps.tar.xz) = 10589920
diff --git a/ftp/sftpgo/pkg-plist b/ftp/sftpgo/pkg-plist
index 7c19e736487b..c47d14dfb9d0 100644
--- a/ftp/sftpgo/pkg-plist
+++ b/ftp/sftpgo/pkg-plist
@@ -21,95 +21,65 @@ bin/sftpgo
 %%MANPAGES%%share/man/man1/sftpgo-startsubsys.1.gz
 %%MANPAGES%%share/man/man1/sftpgo.1.gz
 %%FISH%%share/fish/completions/sftpgo.fish
-%%DATADIR%%/static/css/sb-admin-2.min.css
+%%DATADIR%%/static/assets/css/style.bundle.css
+%%DATADIR%%/static/assets/js/scripts.bundle.js
+%%DATADIR%%/static/assets/plugins/custom/datatables/datatables.bundle.css
+%%DATADIR%%/static/assets/plugins/custom/datatables/datatables.bundle.js
+%%DATADIR%%/static/assets/plugins/custom/flatpickr/l10n/it.js
+%%DATADIR%%/static/assets/plugins/custom/formrepeater/formrepeater.bundle.js
+%%DATADIR%%/static/assets/plugins/global/fonts/keenicons/keenicons-duotone.eot
+%%DATADIR%%/static/assets/plugins/global/fonts/keenicons/keenicons-duotone.svg
+%%DATADIR%%/static/assets/plugins/global/fonts/keenicons/keenicons-duotone.ttf
+%%DATADIR%%/static/assets/plugins/global/fonts/keenicons/keenicons-duotone.woff
+%%DATADIR%%/static/assets/plugins/global/fonts/keenicons/keenicons-outline.eot
+%%DATADIR%%/static/assets/plugins/global/fonts/keenicons/keenicons-outline.svg
+%%DATADIR%%/static/assets/plugins/global/fonts/keenicons/keenicons-outline.ttf
+%%DATADIR%%/static/assets/plugins/global/fonts/keenicons/keenicons-outline.woff
+%%DATADIR%%/static/assets/plugins/global/fonts/keenicons/keenicons-solid.eot
+%%DATADIR%%/static/assets/plugins/global/fonts/keenicons/keenicons-solid.svg
+%%DATADIR%%/static/assets/plugins/global/fonts/keenicons/keenicons-solid.ttf
+%%DATADIR%%/static/assets/plugins/global/fonts/keenicons/keenicons-solid.woff
+%%DATADIR%%/static/assets/plugins/global/plugins.bundle.css
+%%DATADIR%%/static/assets/plugins/global/plugins.bundle.js
 %%DATADIR%%/static/favicon.ico
 %%DATADIR%%/static/img/login_image.png
 %%DATADIR%%/static/img/logo.png
-%%DATADIR%%/static/js/sb-admin-2.min.js
-%%DATADIR%%/static/vendor/bootstrap-select/css/bootstrap-select.min.css
-%%DATADIR%%/static/vendor/bootstrap-select/js/bootstrap-select.min.js
-%%DATADIR%%/static/vendor/bootstrap/js/bootstrap.bundle.min.js
-%%DATADIR%%/static/vendor/bootstrap/js/bootstrap.min.js
-%%DATADIR%%/static/vendor/codemirror/addon/dialog/dialog.css
-%%DATADIR%%/static/vendor/codemirror/addon/dialog/dialog.js
-%%DATADIR%%/static/vendor/codemirror/addon/scroll/annotatescrollbar.js
-%%DATADIR%%/static/vendor/codemirror/addon/search/jump-to-line.js
-%%DATADIR%%/static/vendor/codemirror/addon/search/match-highlighter.js
-%%DATADIR%%/static/vendor/codemirror/addon/search/matchesonscrollbar.css
-%%DATADIR%%/static/vendor/codemirror/addon/search/matchesonscrollbar.js
-%%DATADIR%%/static/vendor/codemirror/addon/search/search.js
-%%DATADIR%%/static/vendor/codemirror/addon/search/searchcursor.js
-%%DATADIR%%/static/vendor/codemirror/addon/selection/active-line.js
-%%DATADIR%%/static/vendor/codemirror/codemirror.css
-%%DATADIR%%/static/vendor/codemirror/codemirror.js
-%%DATADIR%%/static/vendor/codemirror/meta.js
-%%DATADIR%%/static/vendor/datatables/buttons.bootstrap4.min.css
-%%DATADIR%%/static/vendor/datatables/buttons.bootstrap4.min.js
-%%DATADIR%%/static/vendor/datatables/buttons.colVis.min.js
-%%DATADIR%%/static/vendor/datatables/colReorder.bootstrap4.min.css
-%%DATADIR%%/static/vendor/datatables/dataTables.bootstrap4.min.css
-%%DATADIR%%/static/vendor/datatables/dataTables.bootstrap4.min.js
-%%DATADIR%%/static/vendor/datatables/dataTables.buttons.min.js
-%%DATADIR%%/static/vendor/datatables/dataTables.checkboxes.css
-%%DATADIR%%/static/vendor/datatables/dataTables.checkboxes.min.js
-%%DATADIR%%/static/vendor/datatables/dataTables.colReorder.min.js
-%%DATADIR%%/static/vendor/datatables/dataTables.fixedHeader.min.js
-%%DATADIR%%/static/vendor/datatables/dataTables.responsive.min.js
-%%DATADIR%%/static/vendor/datatables/dataTables.select.min.js
-%%DATADIR%%/static/vendor/datatables/ellipsis.js
-%%DATADIR%%/static/vendor/datatables/fixedHeader.bootstrap4.min.css
-%%DATADIR%%/static/vendor/datatables/jquery.dataTables.min.js
-%%DATADIR%%/static/vendor/datatables/responsive.bootstrap4.min.css
-%%DATADIR%%/static/vendor/datatables/responsive.bootstrap4.min.js
-%%DATADIR%%/static/vendor/datatables/select.bootstrap4.min.css
-%%DATADIR%%/static/vendor/daterangepicker/daterangepicker.css
-%%DATADIR%%/static/vendor/daterangepicker/daterangepicker.min.js
-%%DATADIR%%/static/vendor/filepond/filepond.min.css
-%%DATADIR%%/static/vendor/filepond/filepond.min.js
-%%DATADIR%%/static/vendor/fontawesome-free/css/fontawesome.min.css
-%%DATADIR%%/static/vendor/fontawesome-free/css/regular.min.css
-%%DATADIR%%/static/vendor/fontawesome-free/css/solid.min.css
-%%DATADIR%%/static/vendor/fontawesome-free/webfonts/fa-regular-400.eot
-%%DATADIR%%/static/vendor/fontawesome-free/webfonts/fa-regular-400.svg
-%%DATADIR%%/static/vendor/fontawesome-free/webfonts/fa-regular-400.ttf
-%%DATADIR%%/static/vendor/fontawesome-free/webfonts/fa-regular-400.woff
-%%DATADIR%%/static/vendor/fontawesome-free/webfonts/fa-regular-400.woff2
-%%DATADIR%%/static/vendor/fontawesome-free/webfonts/fa-solid-900.eot
-%%DATADIR%%/static/vendor/fontawesome-free/webfonts/fa-solid-900.svg
-%%DATADIR%%/static/vendor/fontawesome-free/webfonts/fa-solid-900.ttf
-%%DATADIR%%/static/vendor/fontawesome-free/webfonts/fa-solid-900.woff
-%%DATADIR%%/static/vendor/fontawesome-free/webfonts/fa-solid-900.woff2
-%%DATADIR%%/static/vendor/fonts/LICENSE.txt
-%%DATADIR%%/static/vendor/fonts/README.txt
-%%DATADIR%%/static/vendor/fonts/Roboto-Bold-webfont.woff
-%%DATADIR%%/static/vendor/fonts/Roboto-Light-webfont.woff
-%%DATADIR%%/static/vendor/fonts/Roboto-Regular-webfont.woff
-%%DATADIR%%/static/vendor/jquery-easing/jquery.easing.compatibility.js
-%%DATADIR%%/static/vendor/jquery-easing/jquery.easing.min.js
-%%DATADIR%%/static/vendor/jquery/jquery.min.js
-%%DATADIR%%/static/vendor/lightbox2/css/lightbox.min.css
-%%DATADIR%%/static/vendor/lightbox2/images/close.png
-%%DATADIR%%/static/vendor/lightbox2/images/loading.gif
-%%DATADIR%%/static/vendor/lightbox2/images/next.png
-%%DATADIR%%/static/vendor/lightbox2/images/prev.png
-%%DATADIR%%/static/vendor/lightbox2/js/lightbox.min.js
-%%DATADIR%%/static/vendor/moment/js/moment.min.js
+%%DATADIR%%/static/img/openid-logo.png
+%%DATADIR%%/static/locales/en/translation.json
+%%DATADIR%%/static/locales/it/translation.json
+%%DATADIR%%/static/vendor/codemirror/cm6.bundle.min.js
+%%DATADIR%%/static/vendor/fonts/inter/v12/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa0ZL7SUc.woff2
+%%DATADIR%%/static/vendor/fonts/inter/v12/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1ZL7.woff2
+%%DATADIR%%/static/vendor/fonts/inter/v12/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa1pL7SUc.woff2
+%%DATADIR%%/static/vendor/fonts/inter/v12/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa25L7SUc.woff2
+%%DATADIR%%/static/vendor/fonts/inter/v12/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa2JL7SUc.woff2
+%%DATADIR%%/static/vendor/fonts/inter/v12/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa2ZL7SUc.woff2
+%%DATADIR%%/static/vendor/fonts/inter/v12/UcC73FwrK3iLTeHuS_fvQtMwCp50KnMa2pL7SUc.woff2
+%%DATADIR%%/static/vendor/glightbox/glightbox.min.css
+%%DATADIR%%/static/vendor/glightbox/glightbox.min.js
+%%DATADIR%%/static/vendor/humanize-duration/humanize-duration.min.js
+%%DATADIR%%/static/vendor/i18next/i18next.min.js
+%%DATADIR%%/static/vendor/i18next/i18nextBrowserLanguageDetector.min.js
+%%DATADIR%%/static/vendor/i18next/i18nextChainedBackend.min.js
+%%DATADIR%%/static/vendor/i18next/i18nextHttpBackend.min.js
+%%DATADIR%%/static/vendor/i18next/i18nextLocalStorageBackend.min.js
+%%DATADIR%%/static/vendor/i18next/jquery-i18next.min.js
 %%DATADIR%%/static/vendor/pdfobject/pdfobject.min.js
-%%DATADIR%%/static/vendor/tempusdominus/css/tempusdominus-bootstrap-4.min.css
-%%DATADIR%%/static/vendor/tempusdominus/js/tempusdominus-bootstrap-4.min.js
-%%DATADIR%%/static/vendor/video-js/video-js.min.css
-%%DATADIR%%/static/vendor/video-js/video.min.js
+%%DATADIR%%/templates/common/base.html
+%%DATADIR%%/templates/common/baselogin.html
+%%DATADIR%%/templates/common/changepassword.html
 %%DATADIR%%/templates/common/forgot-password.html
+%%DATADIR%%/templates/common/login.html
+%%DATADIR%%/templates/common/message.html
 %%DATADIR%%/templates/common/reset-password.html
-%%DATADIR%%/templates/common/sftpgo.css
+%%DATADIR%%/templates/common/twofactor-recovery.html
+%%DATADIR%%/templates/common/twofactor.html
 %%DATADIR%%/templates/email/password-expiration.html
 %%DATADIR%%/templates/email/reset-password.html
 %%DATADIR%%/templates/webadmin/admin.html
 %%DATADIR%%/templates/webadmin/admins.html
 %%DATADIR%%/templates/webadmin/adminsetup.html
 %%DATADIR%%/templates/webadmin/base.html
-%%DATADIR%%/templates/webadmin/baselogin.html
-%%DATADIR%%/templates/webadmin/changepassword.html
 %%DATADIR%%/templates/webadmin/configs.html
 %%DATADIR%%/templates/webadmin/connections.html
 %%DATADIR%%/templates/webadmin/defender.html
@@ -127,32 +97,22 @@ bin/sftpgo
 %%DATADIR%%/templates/webadmin/iplists.html
 %%DATADIR%%/templates/webadmin/login.html
 %%DATADIR%%/templates/webadmin/maintenance.html
-%%DATADIR%%/templates/webadmin/message.html
 %%DATADIR%%/templates/webadmin/mfa.html
 %%DATADIR%%/templates/webadmin/profile.html
 %%DATADIR%%/templates/webadmin/role.html
 %%DATADIR%%/templates/webadmin/roles.html
-%%DATADIR%%/templates/webadmin/sharedcomponents.html
 %%DATADIR%%/templates/webadmin/status.html
-%%DATADIR%%/templates/webadmin/twofactor-recovery.html
-%%DATADIR%%/templates/webadmin/twofactor.html
 %%DATADIR%%/templates/webadmin/user.html
 %%DATADIR%%/templates/webadmin/users.html
 %%DATADIR%%/templates/webclient/base.html
-%%DATADIR%%/templates/webclient/baselogin.html
-%%DATADIR%%/templates/webclient/changepassword.html
 %%DATADIR%%/templates/webclient/editfile.html
 %%DATADIR%%/templates/webclient/files.html
-%%DATADIR%%/templates/webclient/login.html
-%%DATADIR%%/templates/webclient/message.html
 %%DATADIR%%/templates/webclient/mfa.html
 %%DATADIR%%/templates/webclient/profile.html
 %%DATADIR%%/templates/webclient/share.html
-%%DATADIR%%/templates/webclient/sharefiles.html
+%%DATADIR%%/templates/webclient/sharedownload.html
 %%DATADIR%%/templates/webclient/sharelogin.html
 %%DATADIR%%/templates/webclient/shares.html
 %%DATADIR%%/templates/webclient/shareupload.html
-%%DATADIR%%/templates/webclient/twofactor-recovery.html
-%%DATADIR%%/templates/webclient/twofactor.html
 %%DATADIR%%/templates/webclient/viewpdf.html
 %%ZSH%%share/zsh/site-functions/_sftpgo