Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2019 14:54:57 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r514083 - head/net/tcping
Message-ID:  <201910081454.x98EsvJ9048744@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910081454.x98EsvJ9048744>