svn commit: r514083 - head/net/tcping

Emanuel Haupt ehaupt at FreeBSD.org
Tue Oct 8 14:54:57 UTC 2019


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 at FreeBSD.org
+MAINTAINER=	ehaupt at 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


More information about the svn-ports-head mailing list