dsynth - Add manual page, change configuration directory, more

Operating Systems / DragonFlyBSD - Matthew Dillon [apollo.backplane.com] - 22 August 2019 01:49 EDT

- Change the configuration location from /usr/local/etc/synth.ini to /etc/dsynth/dsynth.ini and (as an alternate) /usr/local/etc/dsynth/dsynth.ini

- Add 'dsynth debug ' directive. This will build all dependencies and then build the specified port and freeze its worker slot with mounts still intact.

- Add the 'dsynth init' directive. This will initialize the /etc/dsynth directory and default configuration files. This directive will refuse to do anything if /etc/dsynth or /usr/local/etc/dsynth already exists.

- Allow 'Number_of_builders' and/or 'Max_jobs_per_builder' to be specified as 0. If 0, these parameters will be auto-configured.

- Add the dsynth(1) manual page.

- Include a procfs (/proc) mount in the worker chroot.

- Change a 'cpdup' to a 'cp' to improve portability. Also change how the Template is generated a bit.

8ec23ca1bf dsynth - Add manual page, change configuration directory, more
usr.bin/dsynth/Makefile | 1 -
usr.bin/dsynth/build.c | 49 ++++++-
usr.bin/dsynth/config.c | 38 +++--
usr.bin/dsynth/dsynth.1 | 331 +++++++++++++++++++++++++++++++++++++++++++
usr.bin/dsynth/dsynth.c | 99 ++++++++++++-
usr.bin/dsynth/dsynth.h | 10 +-
usr.bin/dsynth/gui.c | 3 +
usr.bin/dsynth/mktemplate.sh | 1 +
usr.bin/dsynth/mount.c | 54 +++++--
9 files changed, 548 insertions(+), 38 deletions(-)

Upstream: gitweb.dragonflybsd.org


  • Share