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.
Contents
BSDDialog components in FreeBSD src:
dialog:
- License: LGPL
Utility https://cgit.freebsd.org/src/tree/gnu/usr.bin/dialog
Step |
Review |
Commit |
Note |
lib with _XOPEN_SOURCE_EXTENDED |
|
||
import contrib/bsddialog 0.2 |
fix WARN in Makefile |
||
build /usr/bin/bsddialog |
|
||
import contrib/bsddialog 0.3 |
|
fix Makefile typo |
|
import contrib/bsddialog 0.4 |
|
utility integration in BASE |
Roadmap
Library
tool |
Review |
Commit |
Note |
tzsetup(8) |
|
|
|
kbdmap(8) |
|
|
bsdinstall
tool |
Review |
Commit |
Note |
distfetch |
|||
distextract |
|
||
partedit / sade(8) |
Utility (scripts)
tool |
Review |
Commit |
Note |
convert spkrtest(8) |
|
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 |
|
bsdconfig
bsdinstall/scripts (alphabetical order):
Script |
Review |
Commit |
Note |
auto |
|
|
bsdconfig |
bootconfig |
|
|
bsdconfig |
checksum |
|
||
docsinstall |
|
|
bsdconfig |
fetchmissingdists |
|
||
hardening |
|
||
hostname |
bsdconfig, bsddialog 0.3 restores focus on button |
||
jail |
bsdconfig |
||
keymap |
|
|
PR248968, bsdconfig |
mirrorselect |
|
||
mount |
|
||
netconfig |
|
||
netconfig_ipv4 |
bsdconfig |
||
netconfig_ipv6 |
bsdconfig |
||
services |
|
||
time |
|||
wlanconfig |
|
|
bsdconfig |
zfsboot |
|
|
bsdconfig |
Ports
Port on LGPL-dialog |
Port on bsddialog |
Note |
|
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 |
|
|
|