git: dsynth - Fix prepare-system directive

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jan 12 18:51:39 PST 2020


commit eea2aa9a5431b1196b3c1a0a559b9e5afc0df764
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Jan 12 18:48:39 2020 -0800

    dsynth - Fix prepare-system directive
    
    * prepare-system was using 'pkg info -a -o' but this command does not
      conveniently list the flavors of installed packages, resulting in
      truncated origins and duplicates.
    
    * Use a more complete 'pkg info -a -o -A' and parse the more sophisticated
      output.
    
    * If some of the top-level packages no longer exist in dports (a common
      occurance), allow the user to choose to proceed with the build anyway.
    
    Reported-by: xiwang

Summary of changes:
 usr.bin/dsynth/pkglist.c | 122 +++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 102 insertions(+), 20 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/eea2aa9a5431b1196b3c1a0a559b9e5afc0df764


-- 
DragonFly BSD source repository


More information about the Commits mailing list