Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Oct 2013 18:30:44 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r329615 - in head/net/tcptraceroute: . files
Message-ID:  <201310061830.r96IUidw022745@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Oct  6 18:30:43 2013
New Revision: 329615
URL: http://svnweb.freebsd.org/changeset/ports/329615

Log:
  - Add LICENSE
  - Support STAGEDIR
  - Cleanup Makefile
  - Update WWW

Modified:
  head/net/tcptraceroute/Makefile
  head/net/tcptraceroute/files/patch-Makefile   (contents, props changed)
  head/net/tcptraceroute/pkg-descr   (contents, props changed)
  head/net/tcptraceroute/pkg-plist   (contents, props changed)

Modified: head/net/tcptraceroute/Makefile
==============================================================================
--- head/net/tcptraceroute/Makefile	Sun Oct  6 18:28:48 2013	(r329614)
+++ head/net/tcptraceroute/Makefile	Sun Oct  6 18:30:43 2013	(r329615)
@@ -11,18 +11,11 @@ MASTER_SITES=	http://michael.toren.net/c
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Traceroute implementation using TCP packets
 
-BUILD_DEPENDS=	${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10
+LICENSE=	GPLv2
 
-MAN8=	tcptraceroute.8
+BUILD_DEPENDS=	${LOCALBASE}/bin/libnet10-config:${PORTSDIR}/net/libnet10
 
-LIBNET_CONFIG?=	${LOCALBASE}/bin/libnet10-config
-
-NO_STAGE=	yes
 post-patch:
-	@${REINPLACE_CMD} -e 's|libnet-config|${LIBNET_CONFIG}|' \
-		${WRKSRC}/${MAKEFILE}
-
-post-install:
-	@${CHMOD} u+s ${PREFIX}/sbin/tcptraceroute
+	@${REINPLACE_CMD} -e 's|libnet-config|libnet10-config|' ${WRKSRC}/Makefile
 
 .include <bsd.port.mk>

Modified: head/net/tcptraceroute/files/patch-Makefile
==============================================================================
--- head/net/tcptraceroute/files/patch-Makefile	Sun Oct  6 18:28:48 2013	(r329614)
+++ head/net/tcptraceroute/files/patch-Makefile	Sun Oct  6 18:30:43 2013	(r329615)
@@ -29,8 +29,8 @@
  
  install: tcptraceroute
 -	install -D tcptraceroute $(DESTDIR)/tcptraceroute
-+	install -c -s tcptraceroute $(BINDIR)/tcptraceroute
-+	install -c -m 444 tcptraceroute.8 $(MANDIR)/man8/tcptraceroute.8
++	install -c -s tcptraceroute $(DESTDIR)$(BINDIR)/tcptraceroute
++	install -c -m 444 tcptraceroute.8 $(DESTDIR)$(MANDIR)/man8/tcptraceroute.8
  
  distrib: clean changelog man
  

Modified: head/net/tcptraceroute/pkg-descr
==============================================================================
--- head/net/tcptraceroute/pkg-descr	Sun Oct  6 18:28:48 2013	(r329614)
+++ head/net/tcptraceroute/pkg-descr	Sun Oct  6 18:30:43 2013	(r329615)
@@ -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: https://github.com/mct/tcptraceroute

Modified: head/net/tcptraceroute/pkg-plist
==============================================================================
--- head/net/tcptraceroute/pkg-plist	Sun Oct  6 18:28:48 2013	(r329614)
+++ head/net/tcptraceroute/pkg-plist	Sun Oct  6 18:30:43 2013	(r329615)
@@ -1,2 +1,4 @@
-@comment $FreeBSD$
+man/man8/tcptraceroute.8.gz
+@mode 4555
 sbin/tcptraceroute
+@mode



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