svn commit: r370621 - in head/net: . tcptraceroute-devel

Matthias Andree mandree at FreeBSD.org
Sat Oct 11 01:00:47 UTC 2014


Author: mandree
Date: Sat Oct 11 01:00:45 2014
New Revision: 370621
URL: https://svnweb.freebsd.org/changeset/ports/370621
QAT: https://qat.redports.org/buildarchive/r370621/

Log:
  Revive net/tcptraceroute-devel port, with a new maintainer.
  Update MASTER_SITES, add LICENSE.
  
  NOTE: this has some minor changes over the original submission, detailed
  in the PR.
  
  PR:		193511
  Submitted by:	C. Hutchinson <portmaster at bsdforge.com>

Added:
  head/net/tcptraceroute-devel/
     - copied from r366966, head/net/tcptraceroute-devel/
Modified:
  head/net/Makefile
  head/net/tcptraceroute-devel/Makefile
  head/net/tcptraceroute-devel/pkg-descr
  head/net/tcptraceroute-devel/pkg-plist

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Sat Oct 11 00:28:30 2014	(r370620)
+++ head/net/Makefile	Sat Oct 11 01:00:45 2014	(r370621)
@@ -1143,6 +1143,7 @@
     SUBDIR += tcpstat
     SUBDIR += tcptrace
     SUBDIR += tcptraceroute
+    SUBDIR += tcptraceroute-devel
     SUBDIR += tcpview
     SUBDIR += tcpwatch
     SUBDIR += tcpxd

Modified: head/net/tcptraceroute-devel/Makefile
==============================================================================
--- head/net/tcptraceroute-devel/Makefile	Mon Sep  1 22:01:24 2014	(r366966)
+++ head/net/tcptraceroute-devel/Makefile	Sat Oct 11 01:00:45 2014	(r370621)
@@ -5,41 +5,33 @@ PORTNAME=	tcptraceroute
 DISTVERSION=	1.5beta7
 PORTREVISION=	1
 CATEGORIES=	net
-MASTER_SITES=	http://michael.toren.net/code/tcptraceroute/ \
+MASTER_SITES=	http://BSDforge.com/projects/source/net/tcptraceroute/ \
 		http://pflog.net/tcptraceroute/
 PKGNAMESUFFIX=	-devel
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	portmaster at bsdforge.com
 COMMENT=	Traceroute implementation using TCP packets
 
+LICENSE=	GPLv2
+
 LIB_DEPENDS=	libnet.so:${PORTSDIR}/net/libnet
 
 CONFLICTS=	tcptraceroute-1.4*
 
+PORTDOCS=	tcptraceroute.1.html tcptraceroute.lsm AUTHORS \
+		COPYING ChangeLog NEWS README examples.txt
+
+OPTIONS_DEFINE=	DOCS
 USES=		gmake
 GNU_CONFIGURE=	yes
 
-MAN1=	tcptraceroute.1
-
 LIBNET_CONFIG?=	${LOCALBASE}/bin/libnet11-config
 
-CONFIGURE_ARGS=		--with-libpcap=/usr --bindir=${PREFIX}/sbin
-
-INSTALL_TARGET=	install-exec-am install-man
+CONFIGURE_ARGS=	--with-libpcap=/usr --bindir=${PREFIX}/sbin
 
-NO_STAGE=	yes
 post-install:
-	@${CHMOD} u+s ${PREFIX}/sbin/tcptraceroute
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/tcptraceroute.1.html ${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/tcptraceroute.lsm ${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/AUTHORS ${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/COPYING ${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/ChangeLog ${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/NEWS ${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/examples.txt ${DOCSDIR}
-.endif
+	@${CHMOD} u+s ${STAGEDIR}${PREFIX}/sbin/tcptraceroute
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>

Modified: head/net/tcptraceroute-devel/pkg-descr
==============================================================================
--- head/net/tcptraceroute-devel/pkg-descr	Mon Sep  1 22:01:24 2014	(r366966)
+++ head/net/tcptraceroute-devel/pkg-descr	Sat Oct 11 01:00:45 2014	(r370621)
@@ -15,4 +15,4 @@ listening for connections on. By sending
 UDP  or ICMP  ECHO packets,  tcptraceroute is  able to  bypass the  most
 common firewall filters.
 
-WWW: http://michael.toren.net/code/tcptraceroute/
+WWW: http://BSDforge.com/projects/net/tcptraceroute/

Modified: head/net/tcptraceroute-devel/pkg-plist
==============================================================================
--- head/net/tcptraceroute-devel/pkg-plist	Mon Sep  1 22:01:24 2014	(r366966)
+++ head/net/tcptraceroute-devel/pkg-plist	Sat Oct 11 01:00:45 2014	(r370621)
@@ -1,10 +1,2 @@
 sbin/tcptraceroute
-%%PORTDOCS%%%%DOCSDIR%%/tcptraceroute.1.html
-%%PORTDOCS%%%%DOCSDIR%%/tcptraceroute.lsm
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/examples.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+man/man1/tcptraceroute.1.gz


More information about the svn-ports-head mailing list