Index: head/net/tcping/Makefile =================================================================== --- head/net/tcping/Makefile (revision 514082) +++ head/net/tcping/Makefile (revision 514083) @@ -1,34 +1,31 @@ # Created by: Dryice Liu # $FreeBSD$ 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 ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Index: head/net/tcping/pkg-descr =================================================================== --- head/net/tcping/pkg-descr (revision 514082) +++ head/net/tcping/pkg-descr (revision 514083) @@ -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