git: upgrade: Avoid confussion.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Sat Nov 11 04:34:06 PST 2017


commit 45f54b1a67c1e5d430868780d312014362d426a9
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Sat Nov 11 12:53:10 2017 +0200

    upgrade: Avoid confussion.
    
    Some people tend to skip over entries in UPDATING and miss important details.
    Convert REMOVE_OPENSSL_FILES to an action that actually warns user about it.
    
    Files being removed(optionally) are peformed as a last step in make upgrade
    step in constrast to standard TO_REMOVE that does it before updating /etc/ dir.
    
    It should be assumed that users are allowed and will use REMOVE_DEPRECATED=yes
    in their /etc/make.conf, so anything requiring user intervention should still
    go in etc/Makefile: upgrade_check: target (like it already does for mailers).
    Addition is not a magic fix for all problems and should be used responsibly!
    
    While there, convert old pam removal using csh to plain TO_REMOVE.
    
    Approved-after-very-long-discussions-by: swildner

Summary of changes:
 Makefile_upgrade.inc | 37 ++++++++++++++++++++++++-------------
 etc/Makefile         | 35 +++++++++++++++++++++++++++++++----
 2 files changed, 55 insertions(+), 17 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/45f54b1a67c1e5d430868780d312014362d426a9


-- 
DragonFly BSD source repository


More information about the Commits mailing list