From nobody Fri Nov 18 21:27:56 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NDVHw4F55z4hMRV; Fri, 18 Nov 2022 21:27:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NDVHw3gscz3vy4; Fri, 18 Nov 2022 21:27:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668806876; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5Ldzs1azkZR1P/0q06WyFdLq4S6mZhxchCfnSRTJcvI=; b=eIfSdQq7HIWP7ngN4uDYcKHUhKlD7NVtnGik78xLLWpMNGCyWx30LmKuofi8y5sh+5UzC+ oXBXn6kP3vHktkmwnbSNe0Ty5i1c/5I2YGIsDxNSQbtt4rPPB0gLSJODAGtGxcjDd2yLU6 hGBl+KsISDXkpBZOOzeTa25gCbYmluDmpKybLy10eK3F96vBjvAJbuxwaMuf1p2hodwiRV zOaPkvCB1fLS7vCK57OV8ygzGxlG68+NKFZYFtuMFYNl9lyw0U6kWV0UdkWOx8oS3JiUiY H5Fx++7y6zltk1V9qow1bjkZDwuyN4CEY2qd1zD6VbQt8aAwYq6HZu2pR7fNBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668806876; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5Ldzs1azkZR1P/0q06WyFdLq4S6mZhxchCfnSRTJcvI=; b=LMNGouLh/jX9i0C9mmfkN2caxQs7Ir7HlGGv6i1iVA7skE2sTOXbSbNFbAK7CzsMV8HFPw xDkToIe0BL1/3+eBVkUxIbFEHkMX1UhcYaUwWdI2GConcLJGFQt5Br7Zm6lgnLO1yPF9aa m2xYYz5uS4cvAaCZM6qXrcGAhfwES41dErdWv4v/pYZ1Xad4dzGn4OjK9cek9Polxigq17 0KeZdafhcsen+Csv5Kgg/gai//0rdtP2bQnIqDtpx/r8l6GQPmtU9eaME+B6cgdNRJLvNC 4nqmPFQw++N2cOCnrjau+kYviqee7GcfoUM6pK4cQSxFEaPKJS1CGzQW9FwvUg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668806876; a=rsa-sha256; cv=none; b=DHdfxJYroiFRruhFPCMbgQVMf5ck8JTURj4nhPean3Q6RpulpUrmAFHDLc/T5cl/S2e9YW 3JvVzBBYYTRrQaaWnzJPgF+1Zlr+GgQwlFLotXg/aT35yvBnaezxhKR9kGUggi4pmFXImw kN0uDaPEeB9RjDXoe2yMC1F+9R1ecLZ3V0UjqBNjFCoZ7Wa9p2ZjU1aBqy1Vj9wJlFvxoE 2clyEnpIzxUQYVptKLciRKanORchLggg5RSnkDj69ZhJL6D3DzI6ko+UyXqaYl4O5z8f6N TkfEH87i73ruwfXiDdsGwCxCx95AJZHekW6Qgx9Bk+E5W4boskw5H0LrM4Gp2Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NDVHw2hFwzLtJ; Fri, 18 Nov 2022 21:27:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2AILRuXK086736; Fri, 18 Nov 2022 21:27:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AILRugr086735; Fri, 18 Nov 2022 21:27:56 GMT (envelope-from git) Date: Fri, 18 Nov 2022 21:27:56 GMT Message-Id: <202211182127.2AILRugr086735@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Emanuel Haupt Subject: git: c4acd5432a12 - main - net/go-tcping: Add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ehaupt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c4acd5432a124ed947a8a31e480aa2ce98c2e6e3 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=c4acd5432a124ed947a8a31e480aa2ce98c2e6e3 commit c4acd5432a124ed947a8a31e480aa2ce98c2e6e3 Author: Emanuel Haupt AuthorDate: 2022-11-18 21:27:00 +0000 Commit: Emanuel Haupt CommitDate: 2022-11-18 21:27:52 +0000 net/go-tcping: Add new port A cross-platform ping program for TCP ports. This program will send TCP probes to an IP address or a hostname specified by you and prints the result. It works with both IPv4 and IPv6. --- net/Makefile | 1 + net/go-tcping/Makefile | 27 +++++++++++++++++++++++++++ net/go-tcping/distinfo | 7 +++++++ net/go-tcping/pkg-descr | 5 +++++ 4 files changed, 40 insertions(+) diff --git a/net/Makefile b/net/Makefile index bcfc9d5d68e7..7ba7eca16610 100644 --- a/net/Makefile +++ b/net/Makefile @@ -199,6 +199,7 @@ SUBDIR += gnu-radius SUBDIR += go-bapu SUBDIR += go-cs + SUBDIR += go-tcping SUBDIR += gobgp SUBDIR += gofish SUBDIR += google-cloud-sdk diff --git a/net/go-tcping/Makefile b/net/go-tcping/Makefile new file mode 100644 index 000000000000..d0aeb5f25c79 --- /dev/null +++ b/net/go-tcping/Makefile @@ -0,0 +1,27 @@ +PORTNAME= tcping +PORTVERSION= 1.12.1 +DISTVERSIONPREFIX= v +CATEGORIES= net +PKGNAMEPREFIX= go- + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= Command-line utility to ping TCP ports written in Go +WWW= https://github.com/pouriyajamshidi/tcping + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules + +USE_GITHUB= yes +GH_ACCOUNT= pouriyajamshidi + +GO_MODULE= github.com/${GH_ACCOUNT}/${PORTNAME} + +PLIST_FILES= bin/gotcping + +post-install: + @${MV} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} \ + ${STAGEDIR}${PREFIX}/bin/gotcping + +.include diff --git a/net/go-tcping/distinfo b/net/go-tcping/distinfo new file mode 100644 index 000000000000..353767a734cb --- /dev/null +++ b/net/go-tcping/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1668804820 +SHA256 (go/net_go-tcping/pouriyajamshidi-tcping-v1.12.1_GH0/v1.12.1.mod) = e76f9bebf53afdcc0b584046625c31bc698b823c60562132c83944594c6723ee +SIZE (go/net_go-tcping/pouriyajamshidi-tcping-v1.12.1_GH0/v1.12.1.mod) = 576 +SHA256 (go/net_go-tcping/pouriyajamshidi-tcping-v1.12.1_GH0/v1.12.1.zip) = 470c6716bc0b4e6857d149a1af9964916c0115d31435eabc397a7c40ceceb555 +SIZE (go/net_go-tcping/pouriyajamshidi-tcping-v1.12.1_GH0/v1.12.1.zip) = 2283322 +SHA256 (go/net_go-tcping/pouriyajamshidi-tcping-v1.12.1_GH0/pouriyajamshidi-tcping-v1.12.1_GH0.tar.gz) = 66b8817dab6b3a910fe24c20e1a2d795f6a53ce1a16c265ce62ce53d8d6d0586 +SIZE (go/net_go-tcping/pouriyajamshidi-tcping-v1.12.1_GH0/pouriyajamshidi-tcping-v1.12.1_GH0.tar.gz) = 2275891 diff --git a/net/go-tcping/pkg-descr b/net/go-tcping/pkg-descr new file mode 100644 index 000000000000..3971dee3eb40 --- /dev/null +++ b/net/go-tcping/pkg-descr @@ -0,0 +1,5 @@ +A cross-platform ping program for TCP ports. + +This program will send TCP probes to an IP address or a hostname +specified by you and prints the result. It works with both IPv4 and +IPv6.