Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jun 2014 10:10:44 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359491 - in head/net/etrace: . files
Message-ID:  <201406271010.s5RAAixn088254@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Fri Jun 27 10:10:43 2014
New Revision: 359491
URL: http://svnweb.freebsd.org/changeset/ports/359491
QAT: https://qat.redports.org/buildarchive/r359491/

Log:
  - Support staging
  - Add LICENSE
  - Remove indefinite article from COMMENT
  - EXTRACT_SUFX -> USES=tar:tgz
  - Use @sample in pkg-plist
  - Bump PORTREVISION
  
  Approved by:	portmgr (blanket approval)

Modified:
  head/net/etrace/Makefile
  head/net/etrace/files/patch-Makefile.in
  head/net/etrace/pkg-plist

Modified: head/net/etrace/Makefile
==============================================================================
--- head/net/etrace/Makefile	Fri Jun 27 10:05:03 2014	(r359490)
+++ head/net/etrace/Makefile	Fri Jun 27 10:10:43 2014	(r359491)
@@ -3,23 +3,22 @@
 
 PORTNAME=	etrace
 PORTVERSION=	1.1
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://www.bindshell.net/tools/etrace/
 DISTNAME=	${PORTNAME}.${PORTVERSION}
-EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	dave.ryan@gmail.com
-COMMENT=	A configurable static port network tracing tool
+COMMENT=	Configurable static port network tracing tool
+
+LICENSE=	BSD3CLAUSE
 
 BUILD_DEPENDS=	${LOCALBASE}/lib/libdnet.a:${PORTSDIR}/net/libdnet \
 		${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
 
+USES=		tar:tgz
 WRKSRC=		${WRKDIR}/etrace
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=		--with-libdnet=${PREFIX}
-
-MAN8=	etrace.8
+CONFIGURE_ARGS=	--with-libdnet=${PREFIX}
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Modified: head/net/etrace/files/patch-Makefile.in
==============================================================================
--- head/net/etrace/files/patch-Makefile.in	Fri Jun 27 10:05:03 2014	(r359490)
+++ head/net/etrace/files/patch-Makefile.in	Fri Jun 27 10:10:43 2014	(r359491)
@@ -1,11 +1,19 @@
---- ./Makefile.in.orig	Sat Jul 29 18:02:28 2006
-+++ ./Makefile.in	Sat Jul 29 18:02:54 2006
-@@ -25,7 +25,7 @@
- 	mkdir -p -m 755 ${bindir} ${mandir}/man8 ${datadir}/etrace
- 	@INSTALL_PROGRAM@ etrace ${bindir}
- 	@INSTALL_DATA@ etrace.8 ${mandir}/man8
+--- ./Makefile.in.orig	2006-07-08 12:31:44.000000000 -0400
++++ ./Makefile.in	2014-06-27 05:55:58.000000000 -0400
+@@ -22,11 +22,11 @@
+ 	${CC} ${CFLAGS} ${LDFLAGS} $< ${LDLIBS} -o $@
+ 
+ install:
+-	mkdir -p -m 755 ${bindir} ${mandir}/man8 ${datadir}/etrace
+-	@INSTALL_PROGRAM@ etrace ${bindir}
+-	@INSTALL_DATA@ etrace.8 ${mandir}/man8
 -	@INSTALL_DATA@ default.profile ${datadir}/etrace/profile
-+	@INSTALL_DATA@ default.profile ${datadir}/etrace/default.profile
- 	@INSTALL_DATA@ ${PROBE_DATA} ${datadir}/etrace/
+-	@INSTALL_DATA@ ${PROBE_DATA} ${datadir}/etrace/
++	mkdir -p -m 755 ${DESTDIR}${bindir} ${DESTDIR}${mandir}/man8 ${DESTDIR}${datadir}/etrace
++	@INSTALL_PROGRAM@ etrace ${DESTDIR}${bindir}
++	@INSTALL_DATA@ etrace.8 ${DESTDIR}${mandir}/man8
++	@INSTALL_DATA@ default.profile ${DESTDIR}${datadir}/etrace/profile.sample
++	@INSTALL_DATA@ ${PROBE_DATA} ${DESTDIR}${datadir}/etrace/
  
  clean:
+ 	rm -f ${EXES} ${OBJS} core *.core

Modified: head/net/etrace/pkg-plist
==============================================================================
--- head/net/etrace/pkg-plist	Fri Jun 27 10:05:03 2014	(r359490)
+++ head/net/etrace/pkg-plist	Fri Jun 27 10:10:43 2014	(r359491)
@@ -1,7 +1,6 @@
 bin/etrace
 %%DATADIR%%/dns
 %%DATADIR%%/ike
-@unexec if cmp -s %D/share/etrace/profile %D/share/etrace/default.profile; then rm -f %D/share/etrace/profile; fi
-%%DATADIR%%/default.profile
-@exec if [ ! -f %D/share/etrace/profile ]; then cp %D/share/etrace/default.profile %D/share/etrace/profile; fi
-@unexec rm -r %D/%%DATADIR%% || echo "etrace: if you're finished with this port, clean up %D/share/etrace"
+@sample %%DATADIR%%/profile.sample
+man/man8/etrace.8.gz
+@dirrmtry %%DATADIR%%



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