From nobody Sun Oct 10 17:48:55 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9438717E5554; Sun, 10 Oct 2021 17:48:57 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HS8Yj3s1kz3jn7; Sun, 10 Oct 2021 17:48:57 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from aniel.nours.eu (nours.eu [176.31.115.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4B7132DAA0; Sun, 10 Oct 2021 17:48:57 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id B2F4761BA8; Sun, 10 Oct 2021 19:48:55 +0200 (CEST) Date: Sun, 10 Oct 2021 19:48:55 +0200 From: Baptiste Daroussin To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: 6f5d234138dc - main - framework: new USES trigger Message-ID: <20211010174855.zfl6c4u5s66xrfgg@aniel.nours.eu> References: <202110101747.19AHlkNY070760@gitrepo.freebsd.org> List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202110101747.19AHlkNY070760@gitrepo.freebsd.org> X-ThisMailContainsUnwantedMimeParts: N On Sun, Oct 10, 2021 at 05:47:46PM +0000, Baptiste Daroussin wrote: > The branch main has been updated by bapt: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=6f5d234138dcb857baea070853fbc9a7736f408b > > commit 6f5d234138dcb857baea070853fbc9a7736f408b > Author: Baptiste Daroussin > AuthorDate: 2021-09-14 15:24:59 +0000 > Commit: Baptiste Daroussin > CommitDate: 2021-10-10 17:43:02 +0000 > > framework: new USES trigger > > Triggers are a new feature from pkg 1.17 (stable in 1.17.2) > they are script that are executed at the end of a transaction if > anything triggered them. > > To trigger them a files should have been installed in a location which > matches predefined pattern (glob, regexp, or exact matching) > > When a package is installed in a cross root installation for example: > pkg -r XXX install something > and if it triggers a trigger, then the execution will be deferred. > > The pkg trigger command will execute the deferred triggers > > Reviewed by: tcberner > Differential Revision: https://reviews.freebsd.org/D31960 Woops the gnome.mk part ended up in the wrong commit Bapt