Re: git: 16caf3eca160 - main - ftp/surge: New port: TUI download manager for power users

From: George L. Yermulnik <yz_at_yz.kiev.ua>
Date: Fri, 05 Jun 2026 12:54:43 UTC
Hello!

I guess the same but outdated version from www/surge should better be
deprecated then?

On Fri, 05 Jun 2026 at 06:28:27 (+0000), Yuri Victorovich wrote:

> The branch main has been updated by yuri:

> URL: https://cgit.FreeBSD.org/ports/commit/?id=16caf3eca16016785c3deb69118979ffde23c9df

> commit 16caf3eca16016785c3deb69118979ffde23c9df
> Author:     Yuri Victorovich <yuri@FreeBSD.org>
> AuthorDate: 2026-06-05 04:14:12 +0000
> Commit:     Yuri Victorovich <yuri@FreeBSD.org>
> CommitDate: 2026-06-05 06:28:17 +0000

>     ftp/surge: New port: TUI download manager for power users
> ---
>  ftp/Makefile        |  1 +
>  ftp/surge/Makefile  | 21 +++++++++++++++++++++
>  ftp/surge/distinfo  |  5 +++++
>  ftp/surge/pkg-descr |  6 ++++++
>  4 files changed, 33 insertions(+)

> diff --git a/ftp/Makefile b/ftp/Makefile
> index 86155710b717..e53c67a44ce8 100644
> --- a/ftp/Makefile
> +++ b/ftp/Makefile
> @@ -79,6 +79,7 @@
>      SUBDIR += sftpgo
>      SUBDIR += smbftpd
>      SUBDIR += spegla
> +    SUBDIR += surge
>      SUBDIR += termscp
>      SUBDIR += tftp-hpa
>      SUBDIR += tnftp
> diff --git a/ftp/surge/Makefile b/ftp/surge/Makefile
> new file mode 100644
> index 000000000000..99c0525f93c9
> --- /dev/null
> +++ b/ftp/surge/Makefile
> @@ -0,0 +1,21 @@
> +PORTNAME=	surge
> +DISTVERSIONPREFIX=	v
> +DISTVERSION=	0.8.7
> +CATEGORIES=	ftp
> +PKGNAMESUFFIX=	-download-manager
> +
> +MAINTAINER=	yuri@FreeBSD.org
> +COMMENT=	TUI download manager for power users
> +WWW=		https://surgedm.github.io/ \
> +		https://github.com/SurgeDM/Surge
> +
> +LICENSE=	MIT
> +LICENSE_FILE=	${WRKSRC}/LICENSE
> +
> +USES=		go:1.25+,modules
> +
> +GO_MODULE=	github.com/SurgeDM/Surge
> +
> +PLIST_FILES=	bin/${PORTNAME}
> +
> +.include <bsd.port.mk>
> diff --git a/ftp/surge/distinfo b/ftp/surge/distinfo
> new file mode 100644
> index 000000000000..a796400dc9ee
> --- /dev/null
> +++ b/ftp/surge/distinfo
> @@ -0,0 +1,5 @@
> +TIMESTAMP = 1780632557
> +SHA256 (go/ftp_surge/surge-v0.8.7/v0.8.7.mod) = aaeedca7132d244b75f7d3507623653331fef547a82a71bd84f35a2dac0edecc
> +SIZE (go/ftp_surge/surge-v0.8.7/v0.8.7.mod) = 2628
> +SHA256 (go/ftp_surge/surge-v0.8.7/v0.8.7.zip) = 43b80756b0d95c9a77a2bb15a98a75ba68fb0ab45484e8c5b7dd58f6a225f760
> +SIZE (go/ftp_surge/surge-v0.8.7/v0.8.7.zip) = 3482189
> diff --git a/ftp/surge/pkg-descr b/ftp/surge/pkg-descr
> new file mode 100644
> index 000000000000..3ab50c6a2cc7
> --- /dev/null
> +++ b/ftp/surge/pkg-descr
> @@ -0,0 +1,6 @@
> +Surge is a high-performance, terminal-based download manager designed for power
> +users. It features a headless daemon architecture and a TUI interface. Surge
> +accelerates downloads by splitting files into parallel chunks and supporting
> +multiple mirrors simultaneously. It also offers a keyboard-driven workflow,
> +remote management via CLI or browser extensions, and a "Streaming Mode" for
> +previewing media while downloading.

-- 
George L. Yermulnik
[YZ-RIPE]