From owner-freebsd-questions@freebsd.org Mon Sep 9 20:31:01 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E72C8E01BD for ; Mon, 9 Sep 2019 20:31:01 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46S0DN5tPqz4bWH for ; Mon, 9 Sep 2019 20:31:00 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([188.102.101.54]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPA (Nemesis) id 1MwPfX-1iO7qT0vn3-00sJbB; Mon, 09 Sep 2019 22:30:44 +0200 Date: Mon, 9 Sep 2019 22:30:43 +0200 From: Polytropon To: "@lbutlr" Cc: Aleksandr via freebsd-questions Subject: Re: pkg lock Message-Id: <20190909223043.7c8cfec5.freebsd@edvax.de> In-Reply-To: <8907C44D-15BE-4F1C-B2F9-8AADB4FFB1E4@kreme.com> References: <7C016F5C-FEA9-4EF0-9F5C-D0838A6CD2FF@kreme.com> <20190909165653.4806f5643d6b46cc8ee21550@sohara.org> <8907C44D-15BE-4F1C-B2F9-8AADB4FFB1E4@kreme.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:XZ71zZxQZoPcYgl2k/T+MvY9PRq1cgi+0fyPA5iw4mD5HIVv8hs KQjraCphcDA4A2HVsEHHkRv6lNbCneb66SP9lT0oOg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Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 217.72.192.75) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.64 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:217.72.192.0/20, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[54.101.102.188.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.70)[0.701,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.998,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[75.192.72.217.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.54)[ip: (0.32), ipnet: 217.72.192.0/20(0.22), asn: 8560(2.16), country: DE(-0.01)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Sep 2019 20:31:02 -0000 On Mon, 9 Sep 2019 10:10:08 -0600, @lbutlr wrote: > On 9 Sep 2019, at 09:56, Steve O'Hara-Smith wrote: > > It is perhaps worth mentioning the benefits of make missing to get > > a list of dependencies before compiling a port so that you can > > minimise what gets compiled by installing the dependencies first > > (make missing | xargs pkg install -A) or thereabouts. > > Thanks for this, I had no idea this existed. Will read some man pages. Of course "man 7 ports" is a good point to start. The "make missing | xargs pkg install" trick is known for a long time, and it was also used before pkg (i. e., with pkg_add), especially on systems where installing a binary package was faster than compiling stuff yourself. But note: It _might_ be possible that if you select an option in port A, its dependency port B might need a custom option, too, and additionally port C needs to be installed - nothing of that applies when you leave the default options intact. That's why it's important that you test your software before declaring "all done". ;-) > > I rely on 'that which is locked came from ports’. > > Yes, going forward that will work fine, but starting off… not so much. When you start, all options are the default options. Change something, remember to lock the package (!), and this approach works just right. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...