From owner-freebsd-ports@freebsd.org Wed Jun 27 23:22:36 2018 Return-Path: Delivered-To: freebsd-ports@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 047D0101AF91 for ; Wed, 27 Jun 2018 23:22:36 +0000 (UTC) (envelope-from rde@tavi.co.uk) Received: from kipling.tavi.co.uk (kipling.tavi.co.uk [81.187.145.130]) by mx1.freebsd.org (Postfix) with ESMTP id 93A7F78756 for ; Wed, 27 Jun 2018 23:22:35 +0000 (UTC) (envelope-from rde@tavi.co.uk) Received: from kipling.tavi.co.uk (localhost [127.0.0.1]) by kipling.tavi.co.uk (Postfix) with ESMTP id B27A4892BD for ; Thu, 28 Jun 2018 00:22:27 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=tavi.co.uk; h=date:from:to :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=selector1; bh=afIHCqN YcvLLlzQs+SJdoqzwanE=; b=tN3sXWEXozn6N/yUMAlqIq10gmLJhjRzEhnNblC oOiyyCap+d63UsNQjHZKICQBor9OD+7Xez/LAx8Jp9gFyN/E5k1TrhYnDm5Gsheh dahUfeMMGA21L9RyXBcL/i3MXHQY3tqiNzvWHVRlJ0U8giVTt6YPt4OIhGPkuDSb IVew= Received: from raksha.tavi.co.uk (raksha.tavi.co.uk [81.187.145.139]) (Authenticated sender: rde@tavi.co.uk) by kipling.tavi.co.uk (Postfix) with ESMTPA id 7C824892BA for ; Thu, 28 Jun 2018 00:22:27 +0100 (BST) Date: Thu, 28 Jun 2018 00:22:27 +0100 From: Bob Eager To: freebsd-ports@freebsd.org Subject: Re: Any way to prevent do-extract chmod and chown? Message-ID: <20180628002227.6a829860@raksha.tavi.co.uk> In-Reply-To: References: X-Mailer: Claws Mail 3.15.0 (GTK+ 2.24.31; i386-portbld-freebsd11.0) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEUwXjFLc0vD0cS7y7zw9PDZ4tkWSRaVrZZ+m39qi2tXfVj////7+/utwK4IPggAOAAJUUA7AAABKklEQVQ4jWPYjQMwDFYJp0NKEKCNJmEf9h8CsimXiL2e33s3/e7F7K2Cs3f3dCMkQkMKj4YuCY3K3iR+e7fMaiSjvkX0/5cFGrWpe2uLzOpaExUVqMS/8PX/Re5ey960OLBTZpFA8+IlSBKPQ92zNyUUBsosN58uIY0k8f+/ONCoYytkVuhWzVwNkYiYbqk5M3NmOVBi41YZ8RsGF7shEtFb5KJ3r969CyixM7OTPeFUxG2IxLO8/9/SvqXlc+/x3h295YzLlj2nIRJQj//nRvc5TEIal8RsXBLVuCQwIgoq/u80DomP6HEOk/iOS+IJLonZOCT+ReOQ+Lkbh0QKLonbOCR+7MYhsRqHBJrVcIl/1TgklqKLQyQ+tGKIgyQOqXpjig94diZRAgAXmDX6jyWafAAAAABJRU5ErkJggg====== MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 23:22:36 -0000 On Wed, 27 Jun 2018 19:06:44 -0400 Joseph Ward wrote: > When I "make extract", the "do-extract" target is performing a chmod > and chown on everything, as seen from the following excerpt from the > bsd.port.mk file: . . . > Short of commenting those lines out (which I really don't want to do > because I have 0 idea why it's there or what I'd break with other > ports) is there any way at all to maintain the ownership of the > files?=A0 If the ownership is well defined and not complex, you could add a post-extract: target in your Makefile and fix up the ownerships then. Or, you could override the do-extract: target with your own, and extract the files as you want (probably replicating part of the real do-extract: target).