git: dsynth - Add profile selection options

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Nov 24 14:34:55 PST 2019


commit 9e1d0b12605e23e90c2a5f15398b434861709c58
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Nov 24 14:16:22 2019 -0800

    dsynth - Add profile selection options
    
    * Allow the profile to be specified via the DSYNTH_PROFILE env
      variable or via the -p profile option, overriding the default
      in /etc/dsynth.ini.
    
      NOTE: If running more than one dsynth simultaneously on the same
    	machine, the following directives in dsynth.ini must be
    	different:
    
    	Directory_packages
    	Directory_repository
    	Directory_buildbase
    	Directory_logs
    
      NOTE: The Directory_distfiles directive can be shared across
    	any number of running instances without running afoul
    	of colliding fetches.
    
    * Allows easy selection from multiple profiles specified in
      dsynth.ini.
    
    * Create an active .lock file in the buildbase and complain if
      another dsynth is running.

Summary of changes:
 usr.bin/dsynth/build.c  | 68 +++++++++++++++++++++++++++++++------------------
 usr.bin/dsynth/config.c | 14 +++++++---
 usr.bin/dsynth/dsynth.c | 38 +++++++++++++++++++++++++--
 usr.bin/dsynth/dsynth.h |  2 +-
 4 files changed, 91 insertions(+), 31 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9e1d0b12605e23e90c2a5f15398b434861709c58


-- 
DragonFly BSD source repository


More information about the Commits mailing list