Page MenuHomeFreeBSD

[NEW] ftp/sftpgo: SFTP, FTP/S, and WebDAV server
ClosedPublic

Authored by skozlov on Jun 6 2021, 4:16 PM.

Details

Summary
[NEW] ftp/sftpgo: SFTP, FTP/S, and WebDAV server

Fully featured and highly configurable SFTP server with optional FTP/S
and WebDAV support, written in Go. Several storage backends are
supported: local filesystem, encrypted local filesystem,
S3 (compatible) Object Storage, Google Cloud Storage,
Azure Blob Storage, SFTP.

WWW: https://github.com/drakkan/sftpgo

Reviewed_by: koobs (ports)
Differential_Revision: D30661
Test Plan
  • portlint -AC *OK*
  • rclint *OK*
  • poudriere testport (amd64: 13.0, 12.2, 11.4; i386: 13.0) *OK*
  • Smoke tested the app by hand *OK*
  • Unit tests are _NOT_ passing, working on it

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

koobs added a reviewer: koobs.
ftp/sftpgo/Makefile
5

Not sure this is the best DISTNAME. I see upstream git repo tags with vX.Y.Z. Might be better just to USE_GITHUB=yes for this, letting that handle the distname bits.

skozlov added inline comments.
ftp/sftpgo/Makefile
5

This was the first thing I tried, but if I use the source from the tag - I have to download all the dependencies myself, add a gigantic GH_TUPLE into the Makefile, and make a huge distinfo. Also, for every new version I will most probably have to re-generate the GH_TUPLE. Instead, *_src_with_deps is a convenient package provided by the developers, that encapsulates all the deps into it, so it becomes much easier to download and build it.

I'd agree with @skozlov here. IIRC, it is even recommended to use GitHub releases instead of tags, if releases are available.

I'd agree with @skozlov here. IIRC, it is even recommended to use GitHub releases instead of tags, if releases are available.

Sure, was just asking the question as it wasn't clear/explained and stood out as odd.

Do we not have ports helpers for github /releases/ ?

This revision is now accepted and ready to land.Jun 8 2021, 12:03 AM

Do we not have ports helpers for github /releases/ ?

Not that I'm aware of, but I don't think we need any - putting correct MASTER_SITES is really straight forward.