git: nrelease: Support to use binary packages

Aaron LI aly at crater.dragonflybsd.org
Thu Oct 31 16:18:32 PDT 2019


commit 632d862bfe6cdce5646d4828a0be26ee441e45c3
Author: Aaron LI <aly at aaronly.me>
Date:   Sun Mar 3 21:19:11 2019 +0800

    nrelease: Support to use binary packages
    
    Add the new optional target "binpkgs" to allow to use binary packages,
    i.e., installing them with pkg(8), instead of building them from
    dports(7).  This can be handy for end users who want to quickly build
    a custom image with custom packages.
    
    As pointed out by Sascha Wildner, one port may have multiple binary
    packages (e.g., Python flavors) or have a different name that may not be
    found by pkg(8).  Therefore, allow to specify the exact binary package
    name for a port by setting 'PKG_<port>=<pkg-name>'.
    
    This feature is disabled by default, as suggested by Sascha Wildner,
    because the release process should be self-contained as much as possible.
    
    Update the help text and man page accordingly.

Summary of changes:
 nrelease/Makefile        | 35 +++++++++++++++++++++++++++++++++--
 share/man/man7/release.7 | 10 +++++++++-
 2 files changed, 42 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/632d862bfe6cdce5646d4828a0be26ee441e45c3


-- 
DragonFly BSD source repository



More information about the Commits mailing list