Date: Tue, 6 Nov 2018 17:17:33 +0000 (UTC) From: Renato Botelho <garga@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484310 - head/net/tcpdump Message-ID: <201811061717.wA6HHX1W059208@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: garga Date: Tue Nov 6 17:17:33 2018 New Revision: 484310 URL: https://svnweb.freebsd.org/changeset/ports/484310 Log: - Do not include deprecated header sys/capability.h [1] - Remove unnecessary include of bsd.port.pre.mk - Add LICENSE_FILE - Fix USES order - Bump PORTREVISION PR: 233008 [1] Reported by: emaste@ [1] Sponsored by: Rubicon Communications, LLC (Netgate) Modified: head/net/tcpdump/Makefile Modified: head/net/tcpdump/Makefile ============================================================================== --- head/net/tcpdump/Makefile Tue Nov 6 17:01:09 2018 (r484309) +++ head/net/tcpdump/Makefile Tue Nov 6 17:17:33 2018 (r484310) @@ -3,7 +3,7 @@ PORTNAME= tcpdump PORTVERSION= 4.9.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net ipv6 MASTER_SITES= http://www.tcpdump.org/release/ @@ -11,12 +11,13 @@ MAINTAINER= garga@FreeBSD.org COMMENT= Ubiquitous network traffic analysis tool LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpcap.so.1:net/libpcap -GNU_CONFIGURE= yes USES= gmake +GNU_CONFIGURE= yes UNPRIV_USER?= tcpdump CHROOTDIR?= /var/run/tcpdump @@ -44,7 +45,9 @@ CHROOT_CONFIGURE_ON= --with-chroot=${CHROOTDIR} PLIST_FILES= sbin/tcpdump \ man/man1/tcpdump.1.gz -.include <bsd.port.pre.mk> +post-patch: + @${REINPLACE_CMD} -e 's,sys/capability.h,sys/capsicum.h,' \ + ${WRKSRC}/tcpdump.c post-configure: @${REINPLACE_CMD} -e "s,\./\.\./${LIBPCAP_FORCE_VER}/libpcap\.a,${LOCALBASE}/lib/libpcap.so.1," \ @@ -54,4 +57,4 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tcpdump ${STAGEDIR}/${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/tcpdump.1 ${STAGEDIR}/${MAN1PREFIX}/man/man1 -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811061717.wA6HHX1W059208>