From nobody Wed Mar 23 15:57:07 2022 X-Original-To: dev-commits-src-all@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 78C5A1A221AF; Wed, 23 Mar 2022 15:57:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KNtJz2tczz52Tq; Wed, 23 Mar 2022 15:57:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648051027; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4oADBMeiZdyUGb2GA4Ysrt72erms+OkclKXjrZcRvLg=; b=YNn9IeglqdU3gjCZhBTNUYwfHz5DmoHpsZNJPkTbvgzoKNa52cjvi7cChuz150yHhVyyl1 qpeuauYgcyCF11KymwlyS8AMR6RBww+WUHD6T1tW/z5sSSoHmsxiResYFR+GQ77rjiuMt9 2TXJa4IkeoJ2COwVCRyOiM8mxzVDZSqGOBJfFtvUzUFzdPQzfhFFwriTqmUKisoTneHi9o 46Xrd1S7e9h6gQcATuHwrGbyxIFB/yGyCLAlJShInes5QO1t+c/VHwjiD25D4gT7sIPnjE B09eHQeisEk8M0ruZP0YzeHuGA67f8sFNrD+ZOdN+/cM+ksHe2wiehzxgVQORA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 430B3262FC; Wed, 23 Mar 2022 15:57:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 22NFv7di095913; Wed, 23 Mar 2022 15:57:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 22NFv7Ro095912; Wed, 23 Mar 2022 15:57:07 GMT (envelope-from git) Date: Wed, 23 Mar 2022 15:57:07 GMT Message-Id: <202203231557.22NFv7Ro095912@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Alfonso S. Siciliano" Subject: git: 0e5c72c3cc54 - main - bsdinstall time: Replace dialog with bsddialog List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: asiciliano X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0e5c72c3cc5471dfa8cb42b018d623b1ef15dbe8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648051027; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4oADBMeiZdyUGb2GA4Ysrt72erms+OkclKXjrZcRvLg=; b=CkvtjIVrac3NTrRuDA0mb206rWdMLtbQuEKPpOFMkPsQGezO0YkvDhmLJ6RMP0LxJqeLKN v3LIzpVY7n1YRyKw0PmD8IQ6WcPZKPWTVfCGgs7HKiZpQCmDSCbUwYsGJYRlbbTtrZonNY 57fBnQ/riHcfkrSIAxeexBQQwoj4n7vDvxhuhFwYuMOy0IXrZtmxFti0oU5QxicjRLpQJA 6L46aN4/owVmHqyVG1ewpi5ipY8yTNygWkaBA9Aa4+d+rQ/3RijMQR3/bOiiXXpPl8LcKn HjXM4ejKTyLqZVjOu4Pck7g4gZzdWPIK8E7xWDe/cN3QweSVe1pJV3G+Rrm/ZA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648051027; a=rsa-sha256; cv=none; b=sI4LDN5HEYPEPXbtN5XEh2hdtt+SjKhQkH6kyoZfnkYMhlK1QzOgHYBmYxy5Ys3+A063c9 eIP8P7EaHHQT+OkDCT7Yh+H1z8VoHS6Q40Z1Bt+0tPxhIWuyQX4AlarGJwXqRCVIed/Igg idG8T1LIcUYUZ0b/4obiVx5Wl/4LKWI2hx9SPZrV/GN3WemedJefTXwgzLqf7UfCpbl7WT Bxz5IrfNd47B5NgNs04uKWJUAWbPdAEpbUpEoSK/ZWt7DTbD1OYFPIslo83q65Wai1ArcL 8q+5xJITGRwNTd38Jrgw/nm9HUcnpQ1IPp/lL0WvCi1H/pkHrRKDGd1zw3l2Iw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by asiciliano: URL: https://cgit.FreeBSD.org/src/commit/?id=0e5c72c3cc5471dfa8cb42b018d623b1ef15dbe8 commit 0e5c72c3cc5471dfa8cb42b018d623b1ef15dbe8 Author: Alfonso S. Siciliano AuthorDate: 2022-03-23 15:52:39 +0000 Commit: Alfonso S. Siciliano CommitDate: 2022-03-23 15:56:37 +0000 bsdinstall time: Replace dialog with bsddialog Replace (LGPL) dialog utility with (BSD-2-Clause) bsddialog utility, 'dialog --calendar' is replaced by 'bsddialog --datebox' with same features but different User Interface. Approved by: bapt (mentor) Differential Revision: https://reviews.freebsd.org/D34583 --- usr.sbin/bsdinstall/scripts/time | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/usr.sbin/bsdinstall/scripts/time b/usr.sbin/bsdinstall/scripts/time index cccd5999a035..5db4b48f7531 100755 --- a/usr.sbin/bsdinstall/scripts/time +++ b/usr.sbin/bsdinstall/scripts/time @@ -36,23 +36,23 @@ export TZ # Set date exec 3>&1 -DATE=$(dialog --backtitle 'FreeBSD Installer' \ - --title 'Time & Date' \ +DATE=$(bsddialog --backtitle 'FreeBSD Installer' \ + --title ' Date ' \ --ok-label 'Set Date' \ --cancel-label 'Skip' \ - --defaultno \ + --default-no \ --date-format '%Y%m%d%H%M.%S' \ - --calendar '' 0 40 \ + --datebox '' 0 40 \ 2>&1 1>&3) && date $DATE exec 3>&- # Set time exec 3>&1 -TIME=$(dialog --backtitle 'FreeBSD Installer' \ - --title 'Time & Date' \ +TIME=$(bsddialog --backtitle 'FreeBSD Installer' \ + --title ' Time ' \ --ok-label 'Set Time' \ --cancel-label 'Skip' \ - --defaultno \ + --default-no \ --time-format '%H%M.%S' \ --timebox '' 0 40 \ 2>&1 1>&3) && date $TIME