svn commit: r329615 - in head/net/tcptraceroute: . files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Oct 6 18:30:45 UTC 2013


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 at 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 @@
- at comment $FreeBSD$
+man/man8/tcptraceroute.8.gz
+ at mode 4555
 sbin/tcptraceroute
+ at mode


More information about the svn-ports-all mailing list