From owner-svn-ports-all@freebsd.org Sat Jun 15 15:03:11 2019 Return-Path: Delivered-To: svn-ports-all@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 F041315C962A; Sat, 15 Jun 2019 15:03:10 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay112.isp.belgacom.be (mailrelay112.isp.belgacom.be [195.238.20.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign Organization Validation CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AC3CB80046; Sat, 15 Jun 2019 15:03:09 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2ASAADCBwVd/1H1sVtlGgEBAQEBAgE?= =?us-ascii?q?BAQEHAgEBAQGBUQUBAQEBCwGCEEcSEVEBIBIUFIwyX4l7AoIMNQGKCo4kFIF?= =?us-ascii?q?nCQEBAgEBAQEBKwwBAYRAAoJLJDQJDgEDAQEFAQEBAQRtHAyFSwEFOhwjEAs?= =?us-ascii?q?OBgQJJQ9IBgESgyOCDguofYQyAQsBhF6BCgaBNAGLdIF/hCM+hCwLhW8EjBy?= =?us-ascii?q?ICZU2CYIShkiMfieXMIQNiRCHIpE5OIFYTTAIO4JsixOFQT0DMI1+glABAQ?= X-IPAS-Result: =?us-ascii?q?A2ASAADCBwVd/1H1sVtlGgEBAQEBAgEBAQEHAgEBAQGBU?= =?us-ascii?q?QUBAQEBCwGCEEcSEVEBIBIUFIwyX4l7AoIMNQGKCo4kFIFnCQEBAgEBAQEBK?= =?us-ascii?q?wwBAYRAAoJLJDQJDgEDAQEFAQEBAQRtHAyFSwEFOhwjEAsOBgQJJQ9IBgESg?= =?us-ascii?q?yOCDguofYQyAQsBhF6BCgaBNAGLdIF/hCM+hCwLhW8EjByICZU2CYIShkiMf?= =?us-ascii?q?ieXMIQNiRCHIpE5OIFYTTAIO4JsixOFQT0DMI1+glABAQ?= Received: from 81.245-177-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.177.245.81]) by relay.skynet.be with ESMTP; 15 Jun 2019 17:02:00 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id x5FF1wOl042914; Sat, 15 Jun 2019 17:01:59 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Sat, 15 Jun 2019 17:01:58 +0200 From: =?UTF-8?B?VMSzbA==?= Coosemans To: Mathieu Arnold , bapt@FreeBSD.org Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r503385 - head/Mk/Scripts Message-ID: <20190615170158.489616a4@kalimero.tijl.coosemans.org> In-Reply-To: <201906031257.x53Cvi9P092541@repo.freebsd.org> References: <201906031257.x53Cvi9P092541@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: AC3CB80046 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.99)[-0.991,0]; NEURAL_HAM_SHORT(-0.96)[-0.961,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:5432, ipnet:195.238.0.0/19, country:BE] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Jun 2019 15:03:11 -0000 On Mon, 3 Jun 2019 12:57:44 +0000 (UTC) Mathieu Arnold wrote: > Author: mat > Date: Mon Jun 3 12:57:44 2019 > New Revision: 503385 > URL: https://svnweb.freebsd.org/changeset/ports/503385 > > Log: > Use UCL for pkg-message > > Remain backward compatible but use ucl for the pkg-messages, which allows to: > - append messages one after the other > - only print message on delete, install, upgrade from a version to another > > If pkg-message starts with a [ we consider it should be a valid ucl file > > The format is the following: > [ > { message: "Always print" }, > { message: "package being removed", type: remove }, > { message: "package being installed", type: install }, > { message: "package is being upgraded", type: upgrade }, > { message: "Upgrading from lower than 1.0", maximum_version: "1.0", type: upgrade }, > { message: "Upgrading from higher than 1.0", minimum_version: "1.0", type: upgrade }, > { message: "Upgrading from >1.0 < 3.0", maximum_version: "3.0", minimum_version: "1.0", > ] > > Because it is ucl one can use some sugar like: > [ > { message = < formatted > message 'with fancy things' > EOD > }, > } Can this be extended to include these fields: opsys: osversion: arch: options: