From owner-svn-ports-all@freebsd.org Tue Nov 6 17:17:35 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26C68112A81B; Tue, 6 Nov 2018 17:17:35 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E8BB880FF7; Tue, 6 Nov 2018 17:17:33 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C62E519B8; Tue, 6 Nov 2018 17:17:33 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wA6HHXS7059209; Tue, 6 Nov 2018 17:17:33 GMT (envelope-from garga@FreeBSD.org) Received: (from garga@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wA6HHX1W059208; Tue, 6 Nov 2018 17:17:33 GMT (envelope-from garga@FreeBSD.org) Message-Id: <201811061717.wA6HHX1W059208@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: garga set sender to garga@FreeBSD.org using -f From: Renato Botelho Date: Tue, 6 Nov 2018 17:17:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r484310 - head/net/tcpdump X-SVN-Group: ports-head X-SVN-Commit-Author: garga X-SVN-Commit-Paths: head/net/tcpdump X-SVN-Commit-Revision: 484310 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: E8BB880FF7 X-Spamd-Result: default: False [-103.08 / 200.00]; ALLOW_DOMAIN_WHITELIST(-100.00)[FreeBSD.org]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mx1.FreeBSD.org]; NEURAL_HAM_SHORT(-0.99)[-0.986,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.989,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[FreeBSD.org] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2018 17:17:35 -0000 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 +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 +.include