From owner-freebsd-arch@FreeBSD.ORG Sun Oct 26 00:01:04 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2CBC4E09 for ; Sun, 26 Oct 2014 00:01:04 +0000 (UTC) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0114.outbound.protection.outlook.com [157.56.111.114]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C6E44C1B for ; Sun, 26 Oct 2014 00:01:02 +0000 (UTC) Received: from CO2PR05CA011.namprd05.prod.outlook.com (10.141.241.139) by BL2PR05MB114.namprd05.prod.outlook.com (10.255.232.24) with Microsoft SMTP Server (TLS) id 15.0.1054.13; Sat, 25 Oct 2014 23:45:50 +0000 Received: from BY2FFO11FD058.protection.gbl (2a01:111:f400:7c0c::134) by CO2PR05CA011.outlook.office365.com (2a01:111:e400:1429::11) with Microsoft SMTP Server (TLS) id 15.1.6.9 via Frontend Transport; Sat, 25 Oct 2014 23:45:49 +0000 Received: from P-EMF01-SAC.jnpr.net (66.129.239.15) by BY2FFO11FD058.mail.protection.outlook.com (10.1.15.178) with Microsoft SMTP Server (TLS) id 15.0.1049.20 via Frontend Transport; Sat, 25 Oct 2014 23:45:49 +0000 Received: from magenta.juniper.net (172.17.27.123) by P-EMF01-SAC.jnpr.net (172.24.192.21) with Microsoft SMTP Server (TLS) id 14.3.146.0; Sat, 25 Oct 2014 16:45:48 -0700 Received: from chaos.jnpr.net (chaos.jnpr.net [172.21.16.28]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id s9PNjlR96232; Sat, 25 Oct 2014 16:45:47 -0700 (PDT) (envelope-from sjg@juniper.net) Received: from chaos (localhost [127.0.0.1]) by chaos.jnpr.net (Postfix) with ESMTP id D871D580A3; Sat, 25 Oct 2014 16:45:46 -0700 (PDT) To: =?us-ascii?Q?=3D=3Futf-8=3FQ=3FDag-Erling=5FSm=3DC3=3DB8rgrav=3F=3D?= Subject: Re: Retiring WITH_INSTALL_AS_USER In-Reply-To: <86k33o7ziu.fsf@nine.des.no> References: <96C0B2BE-0621-4162-BBB7-7D34AEAB5FD0@gmail.com> <21044.1414038558@chaos> <9250.1414076335@chaos> <86wq7p4zcx.fsf@nine.des.no> <10072.1414165996@chaos> <86k33o7ziu.fsf@nine.des.no> Comments: In-reply-to: =?us-ascii?Q?=3D=3Futf-8=3FQ=3FDag-Erling=5FSm=3DC3?= =?us-ascii?Q?=3DB8rgrav=3F=3D?= message dated "Sat, 25 Oct 2014 20:52:25 +0200." From: "Simon J. Gerraty" X-Mailer: MH-E 8.0.3; nmh 1.3; GNU Emacs 22.3.1 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Sat, 25 Oct 2014 16:45:46 -0700 Message-ID: <15245.1414280746@chaos> X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:66.129.239.15; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(189002)(24454002)(199003)(76506005)(93886004)(62966002)(76482002)(87936001)(23756003)(19580395003)(46102003)(105596002)(47776003)(95666004)(117636001)(20776003)(106466001)(57986006)(80022003)(64706001)(77156001)(99396003)(81156004)(31966008)(87286001)(93916002)(84676001)(107046002)(21056001)(120916001)(104166001)(110136001)(44976005)(92726001)(92566001)(6806004)(89996001)(86362001)(68736004)(102836001)(33716001)(85852003)(97736003)(69596002)(4396001)(50466002)(50226001)(88136002)(19580405001)(85306004)(76176999)(50986999)(42262002)(62816006); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2PR05MB114; H:P-EMF01-SAC.jnpr.net; FPR:; MLV:sfv; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BL2PR05MB114; X-Exchange-Antispam-Report-Test: UriScan:; X-Forefront-PRVS: 0375972289 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning juniper.net discourages use of 66.129.239.15 as permitted sender) Authentication-Results: spf=softfail (sender IP is 66.129.239.15) smtp.mailfrom=sjg@juniper.net; X-OriginatorOrg: juniper.net Cc: FreeBSD Arch X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2014 00:01:04 -0000 Dag-Erling Sm=F8rgrav wrote: > NO_ROOT solves it in a much better fashion, by modifying install(1)'s > behavior so that instead of performing the chown / chgrp / chmod, it > records it in a file which can then be used to generate a package > manifest or something like that. Right, so my only concern is running mtree=20 during the build to create staging tree. Most makefiles rely on the dir they are going to install into existing, and install cannot tell from its arguments whether the destination should be a file or a directory. So I'm curios as to why the filtering that made it safe to use mtree was removed and what if anything replaced it.