diff --git a/ftp/sftpgo/Makefile b/ftp/sftpgo/Makefile index 3fa816806f96..0fc7c03f99ba 100644 --- a/ftp/sftpgo/Makefile +++ b/ftp/sftpgo/Makefile @@ -1,67 +1,67 @@ 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 MAINTAINER= skozlov@FreeBSD.org COMMENT= Fully featured and highly configurable SFTP, FTP/S, and WebDAV server 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 OPTIONS_DEFINE= BASH FISH ZSH MANPAGES OPTIONS_DEFAULT= BASH FISH ZSH MANPAGES OPTIONS_SUB= yes USERS= sftpgo GROUPS= sftpgo post-patch: ${REINPLACE_CMD} -e 's|"templates"|"${DATADIR}/templates"|; \ s|"static"|"${DATADIR}/static"|; \ s|"sftpgo.db"|"/var/db/${PORTNAME}/${PORTNAME}.db"|' \ ${WRKSRC}/${PORTNAME}.json post-build-BASH-on: ${GO_WRKDIR_BIN}/${PORTNAME} gen completion bash > ${WRKDIR}/bash_completions post-build-FISH-on: ${GO_WRKDIR_BIN}/${PORTNAME} gen completion fish > ${WRKDIR}/fish_completions post-build-ZSH-on: ${GO_WRKDIR_BIN}/${PORTNAME} gen completion zsh > ${WRKDIR}/zsh_completions post-build-MANPAGES-on: ${MKDIR} ${WRKDIR}/manpages ${GO_WRKDIR_BIN}/${PORTNAME} gen man --dir ${WRKDIR}/manpages post-install: @${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC} && \ ${COPYTREE_SHARE} templates ${STAGEDIR}${DATADIR} && \ ${COPYTREE_SHARE} static ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.json ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.json.sample post-install-BASH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_DATA} ${WRKDIR}/bash_completions ${STAGEDIR}${PREFIX}/etc/bash_completion.d/${PORTNAME} post-install-FISH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions ${INSTALL_DATA} ${WRKDIR}/fish_completions ${STAGEDIR}${PREFIX}/share/fish/completions/${PORTNAME}.fish post-install-ZSH-on: @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKDIR}/zsh_completions ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_${PORTNAME} post-install-MANPAGES-on: ${FIND} ${WRKDIR}/manpages -type f -execdir ${INSTALL_MAN} {} ${STAGEDIR}${PREFIX}/share/man/man1 \; .include 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 @@ -1,158 +1,118 @@ bin/sftpgo %%BASH%%etc/bash_completion.d/sftpgo @sample etc/sftpgo.json.sample %%MANPAGES%%share/man/man1/sftpgo-acme-run.1.gz %%MANPAGES%%share/man/man1/sftpgo-acme.1.gz %%MANPAGES%%share/man/man1/sftpgo-gen-completion-bash.1.gz %%MANPAGES%%share/man/man1/sftpgo-gen-completion-fish.1.gz %%MANPAGES%%share/man/man1/sftpgo-gen-completion-powershell.1.gz %%MANPAGES%%share/man/man1/sftpgo-gen-completion-zsh.1.gz %%MANPAGES%%share/man/man1/sftpgo-gen-completion.1.gz %%MANPAGES%%share/man/man1/sftpgo-gen-man.1.gz %%MANPAGES%%share/man/man1/sftpgo-gen.1.gz %%MANPAGES%%share/man/man1/sftpgo-initprovider.1.gz %%MANPAGES%%share/man/man1/sftpgo-ping.1.gz %%MANPAGES%%share/man/man1/sftpgo-portable.1.gz %%MANPAGES%%share/man/man1/sftpgo-resetpwd.1.gz %%MANPAGES%%share/man/man1/sftpgo-resetprovider.1.gz %%MANPAGES%%share/man/man1/sftpgo-revertprovider.1.gz %%MANPAGES%%share/man/man1/sftpgo-serve.1.gz %%MANPAGES%%share/man/man1/sftpgo-smtptest.1.gz %%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 %%DATADIR%%/templates/webadmin/eventaction.html %%DATADIR%%/templates/webadmin/eventactions.html %%DATADIR%%/templates/webadmin/eventrule.html %%DATADIR%%/templates/webadmin/eventrules.html %%DATADIR%%/templates/webadmin/events.html %%DATADIR%%/templates/webadmin/folder.html %%DATADIR%%/templates/webadmin/folders.html %%DATADIR%%/templates/webadmin/fsconfig.html %%DATADIR%%/templates/webadmin/group.html %%DATADIR%%/templates/webadmin/groups.html %%DATADIR%%/templates/webadmin/iplist.html %%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