From owner-freebsd-questions@freebsd.org Thu Aug 12 17:17:06 2021 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 5093666FCB2 for ; Thu, 12 Aug 2021 17:17:06 +0000 (UTC) (envelope-from lumiwa@dismail.de) Received: from mx1.dismail.de (mx1.dismail.de [78.46.223.134]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mx1.dismail.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gltf92WcXz3KTG for ; Thu, 12 Aug 2021 17:17:05 +0000 (UTC) (envelope-from lumiwa@dismail.de) Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 7cfd445d; Thu, 12 Aug 2021 19:17:03 +0200 (CEST) Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id ccafa578; Thu, 12 Aug 2021 19:17:03 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id de216c42; Thu, 12 Aug 2021 19:17:03 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 22acb307 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 12 Aug 2021 19:17:02 +0200 (CEST) Date: Thu, 12 Aug 2021 13:17:00 -0400 From: LuMiWa To: Valeri Galtsev Cc: freebsd-questions@freebsd.org Subject: Re: pkg lock Message-ID: <20210812131700.61659f72@dismail.de> In-Reply-To: References: <20210812125424.47ab3bb9@dismail.de> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Gltf92WcXz3KTG X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.10 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[dismail.de:s=20190914]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:78.46.223.134:c]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_LOW(-1.00)[dismail.de:dkim]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[dismail.de:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[dismail.de,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:78.46.0.0/15, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[78.46.223.134:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Aug 2021 17:17:06 -0000 On Thu, 12 Aug 2021 12:11:15 -0500 Valeri Galtsev wrote: >=20 >=20 > On 8/12/21 11:54 AM, LuMiWa via freebsd-questions wrote: > > Hi! > >=20 > > I am using binary packages (latest) on FreeBSD 13.0-RELEASE. > > I have 8 applications where I have my own settings. Is it correct > > when I built the and install that I should use "pkg lock name" of > > port/package, please? Or is something other. > >=20 >=20 > If you build your own packages with custom settings using poudriere,=20 > then somewhere in: /usr/local/etc/pkg/repos/ you will have pointer to=20 > your poudriere repository. Then, poudriere repository's supplied .pkg=20 > will take precedence over central FreeBSD repository's one, unless=20 > poudriere has older than FreeBSD repository version of package. This > is the advantage of using poudriere. >=20 > If you just build port, you do need to lock these packages, and their=20 > dependencies affected by your custom config. I'm sure there are > experts who do it this way who will provide better guidance for this > case. >=20 > Valeri >=20 > > Thank you. > >=20 >=20 Thank you. I lock packages because I do not want to build on my machine anymore. --=20 "Everyone thinks of changing the world, but no one thinks of changing himself.=E2=80=9D Leo Tolstoy