Table of Contents

Replacing dialog with bsddialog

Task Completed

This page is obsoleted as the dialog/bsddialog replacement is complete in FreeBSD 15.0 CURRENT. No utility in BASE uses dialog(1), dpv(1) → dpv(3) → dialog(3) anyway no component in BASE uses dpv.

Introduction

This page describes the project to replace LGPL-Licensed dialog (utility and library) in FreeBSD Base with a BSD-Licensed alternative: bsddialog, as part of a broader effort to remove GPL-Licensed code in FreeBSD.

BSDDialog components in FreeBSD src:

dialog:

Step Review Commit Note
lib with _XOPEN_SOURCE_EXTENDED D34419 d746ab215cc85d8f7ab05c5f866c338782c390ec
import contrib/bsddialog 0.2 D34458 2f8d4418415511460bd7b3b3e532f6b328cf993f fix WARN in Makefile
build /usr/bin/bsddialog D34101 e031614d59288e898e17a2bd3eeb4fb06b799798
import contrib/bsddialog 0.3 b319d934379f5b819cd195be7e03dbd407566fd4 fix Makefile typo
import contrib/bsddialog 0.4 84823cc70824c8d842f503d8c2e6d7b0c2d95b61 utility integration in BASE

Roadmap

Library

bsdinstall

Utility (scripts)

tool Review Commit Note
convert spkrtest(8) D34459 8cdecdecb4319a9fe23afa2ac4e167fe454ebaf1

release/rc.local

Topic Mailing List Note
TERMS ansi, vt100, vt220, cons25w https://lists.freebsd.org/archives/freebsd-arch/2022-March/000153.html
Script Review Commit Note
rc.local D34678 d6e7b1af305e640e7521c5ba11c4723d81e8791f

bsdconfig

Script Review Commit Note
bsdconfig D37480 D34755

bsdinstall/scripts (alphabetical order):

Ports

Port on LGPL-dialog Port on bsddialog Note
ports-mgmt/dialog4port ports-mgmt/portconfig

Final Steps

dialog deps

Topic hackers@ arch@ current@ ports@ Note
dpv
PORTS

Delete LGPL dialog

Step Review Commit Note
delete dialog-utility
delete dialog-library