git: DragonFly_RELEASE_6_0 dsynth - Support pkg 1.17 (.pkg suffix for packages)

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Nov 26 08:50:52 PST 2021


commit 245d70dd80e7afb9407fb0cdefaba1c02f256c32
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Oct 17 10:17:56 2021 -0700

    dsynth - Support pkg 1.17 (.pkg suffix for packages)
    
    * When scanning for binary packages, check for .pkg suffixed
      files unconditionally in addition to checking for the older
      .<compression_fmt> files.
    
    * Use the template-generated pkg-static when regenerating the
      repo, otherwise an older pkg or pkg-static installed on the
      system will be used and cause problems with the new .pkg
      suffix format.
    
    * Also give a 'reason' for why the template gets regenerated,
      when dsynth decides it needs to.

Summary of changes:
 usr.bin/dsynth/dsynth.h  |  3 +++
 usr.bin/dsynth/mount.c   | 20 +++++++++++++++-----
 usr.bin/dsynth/pkglist.c | 29 ++++++++++++++++++++++++++---
 usr.bin/dsynth/repo.c    | 14 ++++++++++++--
 4 files changed, 56 insertions(+), 10 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/245d70dd80e7afb9407fb0cdefaba1c02f256c32


-- 
DragonFly BSD source repository


More information about the Commits mailing list