git: bcf86b3dc26e - main - net/gsocket: add missing run-time dependency on GNU Bash

Alexey Dokuchaev danfe at FreeBSD.org
Wed May 19 08:57:51 UTC 2021


The branch main has been updated by danfe:

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

commit bcf86b3dc26e59be6fa313ed2ce91a0423b311b6
Author:     Alexey Dokuchaev <danfe at FreeBSD.org>
AuthorDate: 2021-05-19 08:56:12 +0000
Commit:     Alexey Dokuchaev <danfe at FreeBSD.org>
CommitDate: 2021-05-19 08:56:25 +0000

    net/gsocket: add missing run-time dependency on GNU Bash
    
    This port installs a number of shell scripts riddled with bashisms,
    most notably, double bracket expressions, so fixing them to become
    POSIX shell-compliant does not look feasible or, rather, practical.
    
    While here, shorten the COMMENT without sacrificing its meaning so
    ``pkg search gsocket'' or ``pkg info | grep gsocket'' would fit in
    standard 80-character terminal and fix one minor whitespace nit.
    
    PR:     255409
---
 net/gsocket/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/net/gsocket/Makefile b/net/gsocket/Makefile
index 5346aed9a402..16f996cd6815 100644
--- a/net/gsocket/Makefile
+++ b/net/gsocket/Makefile
@@ -1,17 +1,20 @@
 PORTNAME=	gsocket
 PORTVERSION=	1.4.28
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	https://github.com/hackerschoice/gsocket/releases/download/v${PORTVERSION}/
 
 MAINTAINER=	arr at watson.org
-COMMENT=	Allows two users behind NAT/Firewall to establish a TCP connection
+COMMENT=	Connect two users behind NAT/firewall via TCP/IP
 
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+RUN_DEPENDS=	bash:shells/bash
+
 USES=		shebangfix ssl
 
-SHEBANG_FILES=  tools/blitz \
+SHEBANG_FILES=	tools/blitz \
 		tools/gsocket \
 		tools/gs_funcs \
 		tools/gs-mount \


More information about the dev-commits-ports-all mailing list