From nobody Tue Oct 10 13:49:39 2023 X-Original-To: ports@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 4S4chw4mF9z4wnGV for ; Tue, 10 Oct 2023 13:49:52 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4S4chw08pZz4LFN; Tue, 10 Oct 2023 13:49:50 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Authentication-Results: mx1.freebsd.org; none Received: from kalamity.joker.local (123-1-80-101.area1b.commufa.jp [123.1.80.101]) (authenticated bits=0) by www121.sakura.ne.jp (8.16.1/8.16.1/[SAKURA-WEB]/20201212) with ESMTPA id 39ADnelD093127; Tue, 10 Oct 2023 22:49:40 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Tue, 10 Oct 2023 22:49:39 +0900 From: Tomoaki AOKI To: Baptiste Daroussin Cc: "Herbert J. Skuhra" , ports@freebsd.org Subject: Re: git: bb63e82e8c10 - main - bsddialog(1): document the replacement of dialog(1) Message-Id: <20231010224939.011db3c3dde9d96923a04cf4@dec.sakura.ne.jp> In-Reply-To: References: <202310100725.39A7PDHJ088191@gitrepo.freebsd.org> <87jzrubxqj.wl-herbert@gojira.at> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP] X-Rspamd-Queue-Id: 4S4chw08pZz4LFN On Tue, 10 Oct 2023 13:59:09 +0200 Baptiste Daroussin wrote: > On Tue, Oct 10, 2023 at 12:03:32PM +0200, Herbert J. Skuhra wrote: > > On Tue, 10 Oct 2023 09:25:13 +0200, Baptiste Daroussin wrote: > > > > > > The branch main has been updated by bapt: > > > > > > URL: https://cgit.FreeBSD.org/src/commit/?id=bb63e82e8c109156b31e806fac8ecefbd259a0ed > > > > > > commit bb63e82e8c109156b31e806fac8ecefbd259a0ed > > > Author: Baptiste Daroussin > > > AuthorDate: 2023-10-10 07:24:25 +0000 > > > Commit: Baptiste Daroussin > > > CommitDate: 2023-10-10 07:24:25 +0000 > > > > > > bsddialog(1): document the replacement of dialog(1) > > > --- > > > RELNOTES | 3 +++ > > > UPDATING | 10 ++++++++++ > > > 2 files changed, 13 insertions(+) > > > > > > diff --git a/RELNOTES b/RELNOTES > > > index c5686a4f30fb..880cec5d3fe1 100644 > > > --- a/RELNOTES > > > +++ b/RELNOTES > > > @@ -10,6 +10,9 @@ newline. Entries should be separated by a newline. > > Herbert > > > > > > Changes to this file should not be MFCed. > > > > > > +ff01d71e48d4: > > > + dialog(1) has been replace by bsddialog(1) > > > + > > > 41582f28ddf7: > > > FreeBSD 15.0 will not include support for 32-bit platforms. > > > However, 64-bit systems will still be able to run older 32-bit > > > diff --git a/UPDATING b/UPDATING > > > index a1bcecadd357..0064e53c7a53 100644 > > > --- a/UPDATING > > > +++ b/UPDATING > > > @@ -27,6 +27,16 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 15.x IS SLOW: > > > world, or to merely disable the most expensive debugging functionality > > > at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) > > > > > > +20231010: > > > + dialog(1) has been replaced in base by bsddialog(1), while most of the > > > + time replacing a dialog(1) call by a bsddialog(1) call works out of the > > > + box, bsddialog(1) is not considered as a drop-in replacement dialog(1). > > > + > > > + If you do depend on dialog(1) functionnality, please install cdialog > > > + from ports: > > > + > > > + pkg install cdialog > > > + > > > 20230927: > > > The EARLY_AP_STARTUP kernel option is mandatory on x86. The option > > > has been added to DEFAULTS, so it should automatically be included in > > > > This breaks ports-mgmt/dialog4ports. > > > > Installing devel/cdialog (via pkg) and patching > > work/dialog4ports-0.1.6/Makefile obviously resolves this issue: > > > > -LDADD+= -ldialog > > +LDADD+= -L/usr/local/lib -lcdialog > > > > Or is the port obsolete/to be replaced? > > > > -- > > > > Oups thank you! yes this is replaced by ports-mgmt/portconfig. > > Best regards, > Bapt Is there any plan to include ports-mgmt/portconfig into base? To do so, options menu can be used out of box, witout needs to install ports-mgmt/dialog4ports manually. It's licensed as BSD2CLAUSE and working fine for me until it first appears on ports. # IIRC, dialog4ports was not incorporated to base because it requires # GNU dialog and GNU dialog was going to be removed from base. # Now we have 2 ways, portconfig to be default and incorporated into base, # and incorporating dialog4ports into base with fixing to use bsddialog. BTW, is it possible to show that each option is on default or not? It would help determining changes to default. Regards. -- Tomoaki AOKI