From owner-svn-ports-head@freebsd.org Tue Oct 8 14:54:57 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DEA8012BB84; Tue, 8 Oct 2019 14:54:57 +0000 (UTC) (envelope-from ehaupt@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46ngPF5Mfzz43lx; Tue, 8 Oct 2019 14:54:57 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8217619AD; Tue, 8 Oct 2019 14:54:57 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x98EsvBt048748; Tue, 8 Oct 2019 14:54:57 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x98EsvJ9048744; Tue, 8 Oct 2019 14:54:57 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <201910081454.x98EsvJ9048744@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ehaupt set sender to ehaupt@FreeBSD.org using -f From: Emanuel Haupt Date: Tue, 8 Oct 2019 14:54:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r514083 - head/net/tcping X-SVN-Group: ports-head X-SVN-Commit-Author: ehaupt X-SVN-Commit-Paths: head/net/tcping X-SVN-Commit-Revision: 514083 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Oct 2019 14:54:57 -0000 Author: ehaupt Date: Tue Oct 8 14:54:56 2019 New Revision: 514083 URL: https://svnweb.freebsd.org/changeset/ports/514083 Log: The original author has uploaded the same version of the code to GitHub. But has not yet tagged the release. A request to do so is pending until then keep using archived tarball. Update WWW, unbreak, and modernize port. Take maintainership. Modified: head/net/tcping/Makefile head/net/tcping/pkg-descr Modified: head/net/tcping/Makefile ============================================================================== --- head/net/tcping/Makefile Tue Oct 8 14:51:39 2019 (r514082) +++ head/net/tcping/Makefile Tue Oct 8 14:54:56 2019 (r514083) @@ -3,28 +3,25 @@ PORTNAME= tcping PORTVERSION= 1.3.5 +PORTREVISION= 1 CATEGORIES= net -MASTER_SITES= http://www.linuxco.de/tcping/ \ - http://dryice.name/computer/FreeBSD/distfiles/ +MASTER_SITES= LOCAL/ehaupt -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ehaupt@FreeBSD.org COMMENT= Do a TCP connect to the given IP/port combination LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 +OPTIONS_DEFINE= DOCS +CFLAGS+= -DHAVE_HSTRERROR + PLIST_FILES= bin/tcping PORTDOCS= README -OPTIONS_DEFINE= DOCS - do-build: - cd ${WRKSRC} && \ - ${CC} ${CFLAGS} -DHAVE_HSTRERROR -o tcping tcping.c + ${CC} ${CFLAGS} -o ${WRKSRC}/tcping ${WRKSRC}/tcping.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tcping ${STAGEDIR}${PREFIX}/bin Modified: head/net/tcping/pkg-descr ============================================================================== --- head/net/tcping/pkg-descr Tue Oct 8 14:51:39 2019 (r514082) +++ head/net/tcping/pkg-descr Tue Oct 8 14:54:56 2019 (r514083) @@ -1,10 +1,8 @@ -tcping does a TCP connect to the given ip/port combination. -The user can specify a timeout in seconds. -This is useful in shell scripts running in firewalled environments. -Often SYNs are just being dropped by firewalls, -thus connection establishment will be retried several times -(for minutes) until a TCP timeout is reached. -With tcping it is possible to check first if the desired port -is reachable and then start connection establishment. +tcping does a TCP connect to the given ip/port combination. The user can specify +a timeout in seconds. This is useful in shell scripts running in firewalled +environments. Often SYNs are just being dropped by firewalls, thus connection +establishment will be retried several times (for minutes) until a TCP timeout is +reached. With tcping it is possible to check first if the desired port is +reachable and then start connection establishment. -WWW: http://www.linuxco.de/tcping/tcping.html +WWW: https://github.com/mkirchner/tcping