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

Operating Systems / DragonFlyBSD - Matthew Dillon [apollo.backplane.com] - 17 October 2021 17:17 UTC

- When scanning for binary packages, check for .pkg suffixed files unconditionally in addition to checking for the older . 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.

753e4c44e6 dsynth - Support pkg 1.17 (.pkg suffix for packages)
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(-)

Upstream: gitweb.dragonflybsd.org


  • Share