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

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Oct 17 10:22:45 PDT 2021


commit 753e4c44e66c52cff57375aa1cbd8b451b1e0bd0
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/753e4c44e66c52cff57375aa1cbd8b451b1e0bd0


-- 
DragonFly BSD source repository


More information about the Commits mailing list