From nobody Mon Dec 13 08:10:39 2021 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 6772718DDFD5; Mon, 13 Dec 2021 08:10:40 +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 4JCDhw19Ygz3lpw; Mon, 13 Dec 2021 08:10:40 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 080151140F; Mon, 13 Dec 2021 08:10:40 +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 1BD8AdL9083868; Mon, 13 Dec 2021 08:10:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BD8Adcx083866; Mon, 13 Dec 2021 08:10:39 GMT (envelope-from git) Date: Mon, 13 Dec 2021 08:10:39 GMT Message-Id: <202112130810.1BD8Adcx083866@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Baptiste Daroussin Subject: git: 8c4f402881b3 - main - bsddialog: import version 0.0.1 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: bapt X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8c4f402881b3a926f1bafdf275b015c6d76a31b2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639383040; 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=AXYHec8ePs6Q1TurPnCRTAipPV5PvfT+RxceWk12wms=; b=jpjlcvLx+1jprobmcEqOuprDzwE5OJYuTZDVet9zxhx68iSiikxGcw/56HYa7+50CpMhY+ SM952eGzSCiokdFks6RF3xcjF6I73ufgbI5jFRqi//Bi3YxE8PTwlqWCE6dKkgxt6t/i7+ yBZ3/945CSOcNGFioRXMUN3xfvxtNja+zWO6d7OkA4VHin+0h66Xr77l3bvujJuBJRZxWd r7pRDtzo74RlLMnLy11GcNt3MarESCZ3tIKHz5ovEcsuPZSg7oyZDd1Yzp3LadIHHJrG42 pNGBUdBKHcTG2AhhOo+cDmzO5MeToW5XxzbqAqOuMerAGi5giMBCCKqZlqq9AA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639383040; a=rsa-sha256; cv=none; b=l9DcgJVNUjC7LZCaJ4AnXrAHC8dKP/QL9H9811d1gbR21uagX9dqr/S048bF/oISlGAriC 4b2rym6TBiVMj3QpMW9xkZi4FIbDFPnsZxGYrKNhdqYZxUXAPdC5kVpGci1bwtL2zHa1JT HHN0TIQHJPRAckwwqULNZqjqF05u0Oz22y4oigoWGW1iKxpSSrXaEvSF3J8UgqYEZprY9M 3aFW4C756yy2cs3/8n1rk30Go4GwgZz43ySzjQVkAb3z6DriHU2vT33S6AfnH5pqupJ69J /c+PKLjNeowwhC1qgnX+kjd+D++tLDDKnw/JZY45HwKeAx28DOhKoKNKp1nLXQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/src/commit/?id=8c4f402881b3a926f1bafdf275b015c6d76a31b2 commit 8c4f402881b3a926f1bafdf275b015c6d76a31b2 Merge: 4626aa7fda0a e41955dd2d86 Author: Baptiste Daroussin AuthorDate: 2021-12-13 08:01:21 +0000 Commit: Baptiste Daroussin CommitDate: 2021-12-13 08:01:39 +0000 bsddialog: import version 0.0.1 contrib/bsddialog/.gitignore | 2 +- contrib/bsddialog/README.md | 12 +- contrib/bsddialog/bsdconfig/Makefile | 33 - contrib/bsddialog/bsdconfig/Makefile.depend | 11 - contrib/bsddialog/bsdconfig/USAGE | 47 - contrib/bsddialog/bsdconfig/bsdconfig | 428 ---- contrib/bsddialog/bsdconfig/bsdconfig.8 | 256 --- contrib/bsddialog/bsdconfig/console/INDEX | 70 - contrib/bsddialog/bsdconfig/console/Makefile | 11 - .../bsddialog/bsdconfig/console/Makefile.depend | 11 - contrib/bsddialog/bsdconfig/console/USAGE | 37 - contrib/bsddialog/bsdconfig/console/console | 146 -- contrib/bsddialog/bsdconfig/console/font | 193 -- .../bsddialog/bsdconfig/console/include/Makefile | 6 - .../bsdconfig/console/include/Makefile.depend | 11 - .../bsdconfig/console/include/messages.subr | 270 --- contrib/bsddialog/bsdconfig/console/keymap | 338 --- contrib/bsddialog/bsdconfig/console/repeat | 143 -- contrib/bsddialog/bsdconfig/console/saver | 195 -- contrib/bsddialog/bsdconfig/console/screenmap | 155 -- contrib/bsddialog/bsdconfig/console/ttys | 207 -- contrib/bsddialog/bsdconfig/diskmgmt/INDEX | 57 - contrib/bsddialog/bsdconfig/diskmgmt/Makefile | 11 - .../bsddialog/bsdconfig/diskmgmt/Makefile.depend | 11 - contrib/bsddialog/bsdconfig/diskmgmt/USAGE | 37 - contrib/bsddialog/bsdconfig/diskmgmt/diskmgmt | 85 - .../bsddialog/bsdconfig/diskmgmt/include/Makefile | 6 - .../bsdconfig/diskmgmt/include/Makefile.depend | 11 - .../bsdconfig/diskmgmt/include/messages.subr | 27 - contrib/bsddialog/bsdconfig/docsinstall/INDEX | 57 - contrib/bsddialog/bsdconfig/docsinstall/Makefile | 11 - .../bsdconfig/docsinstall/Makefile.depend | 11 - contrib/bsddialog/bsdconfig/docsinstall/USAGE | 37 - .../bsddialog/bsdconfig/docsinstall/docsinstall | 97 - .../bsdconfig/docsinstall/include/Makefile | 6 - .../bsdconfig/docsinstall/include/Makefile.depend | 11 - .../bsdconfig/docsinstall/include/messages.subr | 28 - contrib/bsddialog/bsdconfig/dot/INDEX | 57 - contrib/bsddialog/bsdconfig/dot/Makefile | 11 - contrib/bsddialog/bsdconfig/dot/Makefile.depend | 11 - contrib/bsddialog/bsdconfig/dot/USAGE | 143 -- contrib/bsddialog/bsdconfig/dot/dot | 678 ------ contrib/bsddialog/bsdconfig/dot/include/Makefile | 6 - .../bsdconfig/dot/include/Makefile.depend | 11 - .../bsddialog/bsdconfig/dot/include/messages.subr | 31 - contrib/bsddialog/bsdconfig/examples/Makefile | 6 - .../bsddialog/bsdconfig/examples/Makefile.depend | 11 - .../bsdconfig/examples/add_some_packages.sh | 13 - .../bsdconfig/examples/browse_packages_http.sh | 32 - contrib/bsddialog/bsdconfig/examples/bsdconfigrc | 42 - contrib/bsddialog/bsdconfig/include/Makefile | 7 - .../bsddialog/bsdconfig/include/Makefile.depend | 11 - contrib/bsddialog/bsdconfig/include/bsdconfig.hlp | 12 - contrib/bsddialog/bsdconfig/include/media.hlp | 54 - contrib/bsddialog/bsdconfig/include/messages.subr | 464 ---- .../bsddialog/bsdconfig/include/network_device.hlp | 58 - contrib/bsddialog/bsdconfig/include/options.hlp | 115 - contrib/bsddialog/bsdconfig/include/tcp.hlp | 33 - contrib/bsddialog/bsdconfig/include/usage.hlp | 64 - contrib/bsddialog/bsdconfig/includes/INDEX | 57 - contrib/bsddialog/bsdconfig/includes/Makefile | 11 - .../bsddialog/bsdconfig/includes/Makefile.depend | 11 - contrib/bsddialog/bsdconfig/includes/USAGE | 71 - .../bsddialog/bsdconfig/includes/include/Makefile | 6 - .../bsdconfig/includes/include/Makefile.depend | 11 - .../bsdconfig/includes/include/messages.subr | 28 - contrib/bsddialog/bsdconfig/includes/includes.sh | 205 -- contrib/bsddialog/bsdconfig/mouse/INDEX | 62 - contrib/bsddialog/bsdconfig/mouse/Makefile | 11 - contrib/bsddialog/bsdconfig/mouse/Makefile.depend | 11 - contrib/bsddialog/bsdconfig/mouse/USAGE | 37 - contrib/bsddialog/bsdconfig/mouse/disable | 97 - contrib/bsddialog/bsdconfig/mouse/enable | 128 -- contrib/bsddialog/bsdconfig/mouse/flags | 95 - contrib/bsddialog/bsdconfig/mouse/include/Makefile | 6 - .../bsdconfig/mouse/include/Makefile.depend | 11 - .../bsdconfig/mouse/include/messages.subr | 91 - contrib/bsddialog/bsdconfig/mouse/mouse | 144 -- contrib/bsddialog/bsdconfig/mouse/port | 150 -- contrib/bsddialog/bsdconfig/mouse/type | 170 -- contrib/bsddialog/bsdconfig/networking/INDEX | 64 - contrib/bsddialog/bsdconfig/networking/Makefile | 12 - .../bsddialog/bsdconfig/networking/Makefile.depend | 11 - contrib/bsddialog/bsdconfig/networking/USAGE | 37 - .../bsddialog/bsdconfig/networking/defaultrouter | 76 - contrib/bsddialog/bsdconfig/networking/devices | 164 -- contrib/bsddialog/bsdconfig/networking/hostname | 76 - .../bsdconfig/networking/include/Makefile | 6 - .../bsdconfig/networking/include/Makefile.depend | 11 - .../bsdconfig/networking/include/messages.subr | 107 - contrib/bsddialog/bsdconfig/networking/nameservers | 76 - contrib/bsddialog/bsdconfig/networking/networking | 153 -- .../bsddialog/bsdconfig/networking/share/Makefile | 7 - .../bsdconfig/networking/share/Makefile.depend | 11 - .../bsdconfig/networking/share/common.subr | 58 - .../bsdconfig/networking/share/device.subr | 403 ---- .../bsdconfig/networking/share/hostname.subr | 162 -- .../bsdconfig/networking/share/ipaddr.subr | 219 -- .../bsdconfig/networking/share/media.subr | 247 --- .../bsdconfig/networking/share/netmask.subr | 137 -- .../bsdconfig/networking/share/resolv.subr | 502 ----- .../bsdconfig/networking/share/routing.subr | 133 -- .../bsdconfig/networking/share/services.subr | 55 - contrib/bsddialog/bsdconfig/networking/wlanconfig | 78 - contrib/bsddialog/bsdconfig/packages/INDEX | 56 - contrib/bsddialog/bsdconfig/packages/Makefile | 11 - .../bsddialog/bsdconfig/packages/Makefile.depend | 11 - contrib/bsddialog/bsdconfig/packages/USAGE | 37 - .../bsddialog/bsdconfig/packages/include/Makefile | 6 - .../bsdconfig/packages/include/Makefile.depend | 11 - .../bsdconfig/packages/include/messages.subr | 27 - contrib/bsddialog/bsdconfig/packages/packages | 82 - contrib/bsddialog/bsdconfig/password/INDEX | 57 - contrib/bsddialog/bsdconfig/password/Makefile | 11 - .../bsddialog/bsdconfig/password/Makefile.depend | 11 - contrib/bsddialog/bsdconfig/password/USAGE | 37 - .../bsddialog/bsdconfig/password/include/Makefile | 6 - .../bsdconfig/password/include/Makefile.depend | 11 - .../bsdconfig/password/include/messages.subr | 35 - contrib/bsddialog/bsdconfig/password/password | 85 - .../bsddialog/bsdconfig/password/share/Makefile | 6 - .../bsdconfig/password/share/Makefile.depend | 11 - .../bsdconfig/password/share/password.subr | 124 -- contrib/bsddialog/bsdconfig/security/INDEX | 58 - contrib/bsddialog/bsdconfig/security/Makefile | 11 - .../bsddialog/bsdconfig/security/Makefile.depend | 11 - contrib/bsddialog/bsdconfig/security/USAGE | 37 - .../bsddialog/bsdconfig/security/include/Makefile | 6 - .../bsdconfig/security/include/Makefile.depend | 11 - .../bsdconfig/security/include/messages.subr | 50 - .../bsdconfig/security/include/securelevel.hlp | 40 - .../bsddialog/bsdconfig/security/kern_securelevel | 175 -- contrib/bsddialog/bsdconfig/security/security | 179 -- contrib/bsddialog/bsdconfig/share/Makefile | 10 - contrib/bsddialog/bsdconfig/share/Makefile.depend | 11 - contrib/bsddialog/bsdconfig/share/common.subr | 1046 --------- contrib/bsddialog/bsdconfig/share/device.subr | 1393 ------------ contrib/bsddialog/bsdconfig/share/dialog.subr | 2339 -------------------- contrib/bsddialog/bsdconfig/share/geom.subr | 430 ---- contrib/bsddialog/bsdconfig/share/keymap.subr | 266 --- contrib/bsddialog/bsdconfig/share/media/Makefile | 8 - .../bsdconfig/share/media/Makefile.depend | 11 - contrib/bsddialog/bsdconfig/share/media/any.subr | 149 -- contrib/bsddialog/bsdconfig/share/media/cdrom.subr | 217 -- .../bsddialog/bsdconfig/share/media/common.subr | 155 -- .../bsddialog/bsdconfig/share/media/directory.subr | 151 -- contrib/bsddialog/bsdconfig/share/media/dos.subr | 165 -- .../bsddialog/bsdconfig/share/media/floppy.subr | 229 -- contrib/bsddialog/bsdconfig/share/media/ftp.subr | 897 -------- contrib/bsddialog/bsdconfig/share/media/http.subr | 688 ------ .../bsddialog/bsdconfig/share/media/httpproxy.subr | 463 ---- .../bsddialog/bsdconfig/share/media/network.subr | 182 -- contrib/bsddialog/bsdconfig/share/media/nfs.subr | 258 --- .../bsddialog/bsdconfig/share/media/options.subr | 327 --- contrib/bsddialog/bsdconfig/share/media/tcpip.subr | 1713 -------------- contrib/bsddialog/bsdconfig/share/media/ufs.subr | 198 -- contrib/bsddialog/bsdconfig/share/media/usb.subr | 176 -- contrib/bsddialog/bsdconfig/share/media/wlan.subr | 1392 ------------ contrib/bsddialog/bsdconfig/share/mustberoot.subr | 424 ---- .../bsddialog/bsdconfig/share/packages/Makefile | 6 - .../bsdconfig/share/packages/Makefile.depend | 11 - .../bsdconfig/share/packages/categories.subr | 209 -- .../bsddialog/bsdconfig/share/packages/index.subr | 416 ---- .../bsdconfig/share/packages/musthavepkg.subr | 91 - .../bsdconfig/share/packages/packages.subr | 1194 ---------- contrib/bsddialog/bsdconfig/share/script.subr | 219 -- contrib/bsddialog/bsdconfig/share/strings.subr | 577 ----- contrib/bsddialog/bsdconfig/share/struct.subr | 206 -- contrib/bsddialog/bsdconfig/share/sysrc.subr | 758 ------- contrib/bsddialog/bsdconfig/share/variable.subr | 315 --- contrib/bsddialog/bsdconfig/startup/INDEX | 62 - contrib/bsddialog/bsdconfig/startup/Makefile | 11 - .../bsddialog/bsdconfig/startup/Makefile.depend | 11 - contrib/bsddialog/bsdconfig/startup/USAGE | 37 - .../bsddialog/bsdconfig/startup/include/Makefile | 6 - .../bsdconfig/startup/include/Makefile.depend | 11 - .../bsdconfig/startup/include/messages.subr | 108 - contrib/bsddialog/bsdconfig/startup/misc | 369 --- contrib/bsddialog/bsdconfig/startup/rcadd | 149 -- contrib/bsddialog/bsdconfig/startup/rcconf | 264 --- contrib/bsddialog/bsdconfig/startup/rcdelete | 414 ---- contrib/bsddialog/bsdconfig/startup/rcedit | 72 - contrib/bsddialog/bsdconfig/startup/rcvar | 220 -- contrib/bsddialog/bsdconfig/startup/share/Makefile | 6 - .../bsdconfig/startup/share/Makefile.depend | 11 - .../bsddialog/bsdconfig/startup/share/rcconf.subr | 500 ----- .../bsddialog/bsdconfig/startup/share/rcedit.subr | 90 - .../bsddialog/bsdconfig/startup/share/rcvar.subr | 236 -- contrib/bsddialog/bsdconfig/startup/startup | 140 -- contrib/bsddialog/bsdconfig/timezone/INDEX | 57 - contrib/bsddialog/bsdconfig/timezone/Makefile | 11 - .../bsddialog/bsdconfig/timezone/Makefile.depend | 11 - contrib/bsddialog/bsdconfig/timezone/USAGE | 46 - .../bsddialog/bsdconfig/timezone/include/Makefile | 6 - .../bsdconfig/timezone/include/Makefile.depend | 11 - .../bsdconfig/timezone/include/messages.subr | 78 - .../bsddialog/bsdconfig/timezone/share/Makefile | 7 - .../bsdconfig/timezone/share/Makefile.depend | 11 - .../bsdconfig/timezone/share/continents.subr | 166 -- .../bsdconfig/timezone/share/countries.subr | 105 - .../bsdconfig/timezone/share/iso3166.subr | 202 -- .../bsddialog/bsdconfig/timezone/share/menus.subr | 225 -- .../bsddialog/bsdconfig/timezone/share/zones.subr | 523 ----- contrib/bsddialog/bsdconfig/timezone/timezone | 457 ---- contrib/bsddialog/bsdconfig/ttys/INDEX | 57 - contrib/bsddialog/bsdconfig/ttys/Makefile | 11 - contrib/bsddialog/bsdconfig/ttys/Makefile.depend | 11 - contrib/bsddialog/bsdconfig/ttys/USAGE | 37 - contrib/bsddialog/bsdconfig/ttys/include/Makefile | 6 - .../bsdconfig/ttys/include/Makefile.depend | 11 - .../bsddialog/bsdconfig/ttys/include/messages.subr | 31 - contrib/bsddialog/bsdconfig/ttys/ttys | 128 -- contrib/bsddialog/bsdconfig/usermgmt/INDEX | 64 - contrib/bsddialog/bsdconfig/usermgmt/Makefile | 11 - .../bsddialog/bsdconfig/usermgmt/Makefile.depend | 11 - contrib/bsddialog/bsdconfig/usermgmt/USAGE | 37 - contrib/bsddialog/bsdconfig/usermgmt/groupadd | 77 - contrib/bsddialog/bsdconfig/usermgmt/groupdel | 100 - contrib/bsddialog/bsdconfig/usermgmt/groupedit | 100 - .../bsddialog/bsdconfig/usermgmt/include/Makefile | 6 - .../bsdconfig/usermgmt/include/Makefile.depend | 11 - .../bsdconfig/usermgmt/include/messages.subr | 119 - .../bsdconfig/usermgmt/include/usermgmt.hlp | 76 - .../bsddialog/bsdconfig/usermgmt/share/Makefile | 6 - .../bsdconfig/usermgmt/share/Makefile.depend | 11 - .../bsddialog/bsdconfig/usermgmt/share/group.subr | 518 ----- .../bsdconfig/usermgmt/share/group_input.subr | 596 ----- .../bsddialog/bsdconfig/usermgmt/share/user.subr | 1183 ---------- .../bsdconfig/usermgmt/share/user_input.subr | 1341 ----------- contrib/bsddialog/bsdconfig/usermgmt/useradd | 77 - contrib/bsddialog/bsdconfig/usermgmt/userdel | 100 - contrib/bsddialog/bsdconfig/usermgmt/useredit | 100 - contrib/bsddialog/bsdconfig/usermgmt/usermgmt | 168 -- contrib/bsddialog/bsddialog.1 | 48 +- contrib/bsddialog/bsddialog.c | 185 +- contrib/bsddialog/bsdinstall/Makefile | 9 - contrib/bsddialog/bsdinstall/Makefile.depend | 11 - contrib/bsddialog/bsdinstall/Makefile.inc | 1 - contrib/bsddialog/bsdinstall/README.txt | 20 - contrib/bsddialog/bsdinstall/bsdinstall | 90 - contrib/bsddialog/bsdinstall/bsdinstall.8 | 639 ------ contrib/bsddialog/bsdinstall/distextract/Makefile | 9 - .../bsdinstall/distextract/Makefile.depend | 30 - .../bsddialog/bsdinstall/distextract/distextract.c | 334 --- contrib/bsddialog/bsdinstall/distfetch/Makefile | 9 - .../bsddialog/bsdinstall/distfetch/Makefile.depend | 23 - contrib/bsddialog/bsdinstall/distfetch/distfetch.c | 225 -- contrib/bsddialog/bsdinstall/partedit/Makefile | 52 - .../bsddialog/bsdinstall/partedit/Makefile.depend | 24 - .../bsddialog/bsdinstall/partedit/Makefile_ORIG | 26 - contrib/bsddialog/bsdinstall/partedit/diskeditor.c | 292 --- contrib/bsddialog/bsdinstall/partedit/diskeditor.h | 49 - contrib/bsddialog/bsdinstall/partedit/diskmenu.c | 99 - contrib/bsddialog/bsdinstall/partedit/diskmenu.h | 58 - contrib/bsddialog/bsdinstall/partedit/gpart_ops.c | 1460 ------------ .../bsddialog/bsdinstall/partedit/part_wizard.c | 366 --- contrib/bsddialog/bsdinstall/partedit/partedit.c | 606 ----- contrib/bsddialog/bsdinstall/partedit/partedit.h | 108 - .../bsddialog/bsdinstall/partedit/partedit_efi.c | 106 - .../bsdinstall/partedit/partedit_generic.c | 81 - .../bsdinstall/partedit/partedit_powerpc.c | 147 -- .../bsddialog/bsdinstall/partedit/partedit_x86.c | 155 -- contrib/bsddialog/bsdinstall/partedit/sade.8 | 73 - contrib/bsddialog/bsdinstall/partedit/scripted.c | 218 -- contrib/bsddialog/bsdinstall/scripts/Makefile | 11 - .../bsddialog/bsdinstall/scripts/Makefile.depend | 11 - contrib/bsddialog/bsdinstall/scripts/adduser | 34 - contrib/bsddialog/bsdinstall/scripts/auto | 444 ---- contrib/bsddialog/bsdinstall/scripts/bootconfig | 97 - contrib/bsddialog/bsdinstall/scripts/checksum | 79 - contrib/bsddialog/bsdinstall/scripts/config | 63 - contrib/bsddialog/bsdinstall/scripts/docsinstall | 167 -- contrib/bsddialog/bsdinstall/scripts/entropy | 34 - .../bsddialog/bsdinstall/scripts/fetchmissingdists | 132 -- contrib/bsddialog/bsdinstall/scripts/hardening | 91 - contrib/bsddialog/bsdinstall/scripts/hostname | 126 -- contrib/bsddialog/bsdinstall/scripts/jail | 159 -- contrib/bsddialog/bsdinstall/scripts/keymap | 233 -- contrib/bsddialog/bsdinstall/scripts/mirrorselect | 179 -- contrib/bsddialog/bsdinstall/scripts/mount | 55 - contrib/bsddialog/bsdinstall/scripts/netconfig | 217 -- .../bsddialog/bsdinstall/scripts/netconfig_ipv4 | 103 - .../bsddialog/bsdinstall/scripts/netconfig_ipv6 | 160 -- contrib/bsddialog/bsdinstall/scripts/rootpass | 37 - contrib/bsddialog/bsdinstall/scripts/script | 182 -- contrib/bsddialog/bsdinstall/scripts/services | 70 - contrib/bsddialog/bsdinstall/scripts/time | 67 - contrib/bsddialog/bsdinstall/scripts/umount | 44 - contrib/bsddialog/bsdinstall/scripts/wlanconfig | 365 --- contrib/bsddialog/bsdinstall/scripts/zfsboot | 1814 --------------- contrib/bsddialog/examples_library/datebox.c | 6 +- contrib/bsddialog/examples_library/msgbox.c | 2 +- contrib/bsddialog/examples_library/pause.c | 4 +- contrib/bsddialog/examples_library/sade.c | 6 +- contrib/bsddialog/examples_library/theme.c | 11 +- contrib/bsddialog/examples_library/timebox.c | 6 +- contrib/bsddialog/examples_library/treeview.c | 2 +- contrib/bsddialog/examples_utility/mixedgauge.sh | 27 +- contrib/bsddialog/lib/Makefile | 11 +- contrib/bsddialog/lib/barbox.c | 75 +- contrib/bsddialog/lib/bsddialog.h | 80 +- contrib/bsddialog/lib/bsddialog_theme.h | 46 +- contrib/bsddialog/lib/formbox.c | 57 +- contrib/bsddialog/lib/infobox.c | 12 +- contrib/bsddialog/lib/lib_util.c | 190 +- contrib/bsddialog/lib/lib_util.h | 2 - contrib/bsddialog/lib/libbsddialog.c | 52 +- contrib/bsddialog/lib/menubox.c | 194 +- contrib/bsddialog/lib/messagebox.c | 19 +- contrib/bsddialog/lib/textbox.c | 16 +- contrib/bsddialog/lib/theme.c | 266 ++- contrib/bsddialog/lib/timebox.c | 18 +- 312 files changed, 793 insertions(+), 48159 deletions(-) diff --cc contrib/bsddialog/.gitignore index bc53650512de,000000000000..ee80e5f5a073 mode 100644,000000..100644 --- a/contrib/bsddialog/.gitignore +++ b/contrib/bsddialog/.gitignore @@@ -1,25 -1,0 +1,25 @@@ +bsddialog +*.o +*~ +examples_library/buildlist +examples_library/checklist +examples_library/datebox +examples_library/form +examples_library/menu +examples_library/mixedlist +examples_library/radiolist +examples_library/theme +examples_library/treeview +examples_library/infobox +examples_library/msgbox +examples_library/pause +examples_library/rangebox +examples_library/sade +examples_library/timebox +examples_library/yesno +*.gz +lib/libbsddialog.so* +BSDDIALOG.geany +BSDDIALOG.tags +*.core - bsdinstall/partedit/sade ++bsdinstall/* diff --cc contrib/bsddialog/README.md index 112d8934f432,000000000000..31579f519ab6 mode 100644,000000..100644 --- a/contrib/bsddialog/README.md +++ b/contrib/bsddialog/README.md @@@ -1,173 -1,0 +1,167 @@@ +# BSDDialog + +**Work In Progress!** + +This project provides **bsddialog** and **libbsddialog**, an utility and a +library to build scripts and tools with *TUI Widgets*. + +Description: + + ++Screenshots: ++ ++ + +## Getting Started + +FreeBSD: + +``` +% git clone https://gitlab.com/alfix/bsddialog.git +% cd bsddialog +% make +% ./bsddialog --msgbox "Hello World!" 8 20 +``` + +If you are using XFCE install +[devel/ncurses](https://www.freshports.org/devel/ncurses/) + +``` +% sudo pkg install ncurses +% git clone https://gitlab.com/alfix/bsddialog.git +% cd bsddialog +% make -DPORTNCURSES +% ./bsddialog --msgbox "Hello World!" 8 20 +``` + - Linux: - - ``` - % git clone https://gitlab.com/alfix/bsddialog.git - % cd bsddialog - % make -GNUMakefile - % ./bsddialog --msgbox "Hello World!" 8 20 - ``` - +Output: + +![screenshot](screenshot.png) + + +Examples utility: +``` +% ./bsddialog --title msgbox --msgbox "Hello World!" 5 30 +% ./bsddialog --theme default --title msgbox --msgbox "Hello World!" 5 30 +% ./bsddialog --begin-y 2 --title yesno --yesno "Hello World!" 5 30 +% ./bsddialog --ascii-lines --pause "Hello World!" 8 50 5 +% ./bsddialog --checklist "Space to select" 0 0 0 Name1 Desc1 off Name2 Desc2 on Name3 Desc3 off +% ./bsddialog --backtitle "TITLE" --title yesno --hline "bsddialog" --yesno "Hello World!" 5 25 +% ./bsddialog --extra-button --help-button --defaultno --yesno "Hello World!" 0 0 +``` +and +``` +% sh ./examples_utility/buildlist.sh +% sh ./examples_utility/checklist.sh +% sh ./examples_utility/form.sh +% sh ./examples_utility/gauge.sh +% sh ./examples_utility/infobox.sh +% sh ./examples_utility/inputbox.sh +% sh ./examples_utility/menu.sh +% sh ./examples_utility/mixedform.sh +% sh ./examples_utility/mixedgauge.sh +% sh ./examples_utility/msgbox.sh +% sh ./examples_utility/passwordbox.sh +% sh ./examples_utility/passwordform.sh +% sh ./examples_utility/radiolist.sh +% sh ./examples_utility/treeview.sh +% sh ./examples_utility/yesno.sh +``` + +Examples library: +``` +% cd examples_library +% sh compile +% ./buildlist +% ./compile +% ./datebox +% ./form +% ./infobox +% ./menu +% ./mixedlist +% ./msgbox +% ./pause +% ./radiolist +% ./rangebox +% ./sade +% ./theme +% ./timebox +% ./treeview +% ./yesno +``` + +Use Cases: + + - [portconfig](https://gitlab.com/alfix/portconfig) + + +## Features + +**Common Options:** + +--ascii-lines, --aspect *ratio* (for infobox, msgbox and yesno), +--backtitle *backtitle*, --begin-x *x* (--begin *y y*), +(--begin *y x*), --cancel-label *string*, -clear (test with multiple widgets), +--colors, --date-format *format*, --default-button *string*, --defaultno, +--default-item *string*, +--exit-label *string*, --extra-button, --extra-label *string*, +--hfile *filename* (for completed widgets), --help, --help-button, +--help-label *string*, --help-status, --help-tags, --hline *string*, --ignore, +--insecure, --item-help, --max-input *size*, --no-cancel, --nocancel, +--no-label *string*, --no-items, --no-lines, --no-ok, +--nook, --no-shadow, --no-tags, --ok-label *string*, --output-fd *fd*, +--output-separator *string*, --print-version, +--print-size (todo move lib -> utility), --quoted (quotes all != dialog), +--print-maxsize, --shadow, --single-quoted (add --quote-with *ch*?), +--separator *string* (alias --output-separator *string*), +--separate-output (rename --separate-output-withnl?), --sleep *secs*, --stderr, +--stdout, --theme *string* ("bsddialog", "dialog", "blackwhite"), +--time-format *format*, --title *title*, --version, --yes-label *string*. + +**Widgets:** + + infobox (do not clear the screen), msgbox, + yesno (dialog renames "yes/no" -> "ok/cancel" with --extra-button --help-button). + checklist, radiolist, menu, mixedlist, treeview, textbox, mixedgauge, datebox, + timebox, gauge, rangebox, pause. + + + Without resize: + + form, inputbox, mixedform, passwordbox, passwordform. + + + Without autosize, resize, F1: + + buildlist + + + +## TODO + + +**Common Options:** + +| Option | Status | Note | +| ---------------------------- | ----------- | ------------------------------- | +| --cr-wrap | In progress | text | +| --no-collapse | In progress | text | +| --no-nl-expand | In progress | text | +| --trim | In progress | text | + + +To evaluate / Not planned in the short term / not in bsdinstall: + +--create-rc *file*, --iso-week, --no-mouse, --print-text-only *str h w*, +--print-text-size *str h w*, --reorder, -scrollbar, --separate-widget *string*, +--size-err, --timeout *secs*,--trace *filename*, --visit-items, +--week-start *day*, --keep-tite, --keep-window, --last-key, --no-kill, +--column-separator *string*, --input-fd *fd*, --tab-correct, --tab-len *n* + + +**Widgets:** + +To evaluate / Not planned in the short term: + +tailbox (textbox/fseek), tailboxbg, dselect, fselect, inputmenu, editbox, +calendar (use datebox), prgbox, programbox, progressbox. diff --cc contrib/bsddialog/lib/Makefile index 99dfea4d77e0,000000000000..08d8db5191dc mode 100644,000000..100644 --- a/contrib/bsddialog/lib/Makefile +++ b/contrib/bsddialog/lib/Makefile @@@ -1,72 -1,0 +1,77 @@@ +# Any copyright is dedicated to the Public Domain, see: +# +# +# Written in 2021 by Alfonso Sabato Siciliano + - VERSION = 0.1 ++VERSION = 0.0.1 +LIBRARY = bsddialog +LIBRARY_SO = lib${LIBRARY:=.so} +HEADERS = bsddialog.h bsddialog_theme.h +SOURCES = barbox.c formbox.c infobox.c libbsddialog.c lib_util.c menubox.c \ + messagebox.c textbox.c theme.c timebox.c +OBJECTS= ${SOURCES:.c=.o} +FBSDFLAGS= -O2 -pipe -std=gnu99 -Wno-format-zero-length \ + -fstack-protector-strong -Qunused-arguments - CFLAGS = -I/usr/local/include -fPIC -Wall -Wextra ${FBSDFLAGS} ++CFLAGS = -fPIC -Wall -Wextra ++.if defined(DEBUG) ++CFLAGS += -g ++.else ++CFLAGS += ${FBSDFLAGS} ++.endif +LDFLAGS = -fstack-protector-strong -shared -Wl,-x -Wl,--fatal-warnings \ + -Wl,--warn-shared-textrel -Wl,-soname,${LIBRARY_SO}.${VERSION} + +INSTALL_PREFIX=/usr/local +LN = ln -s -f +RM = rm -f +CP = cp +GZIP = gzip -cn +LDCONFIG = /sbin/ldconfig -m + +.if defined(PORTNCURSES) - # PORT ncurses `make -DPORTNCURSES` or `make -D PORTNCURSES` ++# PORT ncurses `make -DPORTNCURSES` +CFLAGS += -DPORTNCURSES -I/usr/local/include +LDFLAGS += -L/usr/local/lib -lform -lncurses -ltinfo +.else +# BASE ncurses +LDFLAGS += -L/usr/lib -lform -lncurses -ltinfo +.endif + +MAN= ${OUTPUT}.3 +GZIP= gzip -cn +MANDIR= /usr/local/share/man/man3 + +INSTALL= install +RM= rm -f + +#all : man ${LIBRARY} +all : ${LIBRARY} + +${LIBRARY}: ${OBJECTS} + ${CC} ${LDFLAGS} ${.ALLSRC} -o ${LIBRARY_SO}.${VERSION} + # LN for devel + ${LN} ${LIBRARY_SO}.${VERSION} ${LIBRARY_SO} + +.c.o: + ${CC} ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET} + +man: + ${GZIP} ${LIBRARY}.3 > ${LIBRARY}.3.gz + +clean: + ${RM} ${LIBRARY_SO}* *.o *~ *.gz + + +install: + ${CP} ${LIBRARY}.h ${INSTALL_PREFIX}/include + ${CP} ${LIBRARY_SO}.${VERSION} ${INSTALL_PREFIX}/lib/ + ${LN} ${INSTALL_PREFIX}/lib/${LIBRARY_SO}.${VERSION} ${INSTALL_PREFIX}/lib/${LIBRARY_SO} + ${LDCONFIG} ${INSTALL_PREFIX}/lib + ${CP} ${LIBRARY}.3.gz ${INSTALL_PREFIX}/man/man3/ + +unistall: + ${RM} ${INSTALL_PREFIX}/include/${LIBRARY}.h + ${RM} ${INSTALL_PREFIX}/lib/${LIBRARY_SO} + ${RM} ${INSTALL_PREFIX}/lib/${LIBRARY_SO}.${VERSION} + ${LDCONFIG} ${INSTALL_PREFIX}/lib + ${RM} ${INSTALL_PREFIX}/man/man3/${LIBRARY}.3.gz