Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 586B87A21A for ; Wed, 22 Feb 2017 19:05:46 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id C6B57855DA; Wed, 22 Feb 2017 19:05:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 5753D855D1 for ; Wed, 22 Feb 2017 19:05:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id OMz3n19m6syZ for ; Wed, 22 Feb 2017 19:05:45 +0000 (UTC) Received: from cvs.NetBSD.org (unknown [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id B62E484CEE for ; Wed, 22 Feb 2017 19:05:44 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id AD5E1FBE4; Wed, 22 Feb 2017 19:05:44 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_148779034477120" MIME-Version: 1.0 Date: Wed, 22 Feb 2017 19:05:44 +0000 From: "Maya Rashish" Subject: CVS commit: pkgsrc/net/tcpdump To: pkgsrc-changes@NetBSD.org Reply-To: maya@netbsd.org X-Mailer: log_accum Message-Id: <20170222190544.AD5E1FBE4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk This is a multi-part message in MIME format. --_----------=_148779034477120 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: maya Date: Wed Feb 22 19:05:44 UTC 2017 Modified Files: pkgsrc/net/tcpdump: Makefile Log Message: tcpdump: when running, drop privileges to a _tcpdump user and run in a chroot remove duplicate openssl include (it's also in options.mk depending on ssl option) pointed out by pkglint PKGREVISION->1 To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 pkgsrc/net/tcpdump/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_148779034477120 Content-Disposition: inline Content-Length: 950 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/net/tcpdump/Makefile diff -u pkgsrc/net/tcpdump/Makefile:1.43 pkgsrc/net/tcpdump/Makefile:1.44 --- pkgsrc/net/tcpdump/Makefile:1.43 Thu Feb 2 18:08:29 2017 +++ pkgsrc/net/tcpdump/Makefile Wed Feb 22 19:05:44 2017 @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.43 2017/02/02 18:08:29 maya Exp $ +# $NetBSD: Makefile,v 1.44 2017/02/22 19:05:44 maya Exp $ DISTNAME= tcpdump-4.9.0 +PKGREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.tcpdump.org/release/ @@ -12,8 +13,15 @@ LICENSE= modified-bsd GNU_CONFIGURE= yes CONFIGURE_ARGS.Darwin+= --disable-universal +BUILD_DEFS+= VARBASE +PKG_USERS= _tcpdump +OWN_DIRS= ${VARBASE}/tcpdump + +# drop privileges when running +CONFIGURE_ARGS+= --with-user=_tcpdump +CONFIGURE_ARGS+= --with-chroot=${VARBASE}/tcpdump + .include "options.mk" .include "../../net/libpcap/buildlink3.mk" -.include "../../security/openssl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" --_----------=_148779034477120--