git: Rework automatic backup (bug 2527)

John Marino marino at
Tue Apr 16 14:42:36 PDT 2013

commit 2decc9b9d580a7e83c7f252b45601652a746c818
Author: John Marino <draco at>
Date:   Tue Apr 16 02:42:13 2013 +0200 Rework automatic backup (bug 2527)
    There were three main problems with the recently added backup feature:
    1. It didn't work over NFS
    2. It didn't work when a non-root built world the second time
    3. It didn't use DESTDIR which had potential to conflict backups
    It also previously featured "NO_BACKUP" which turned off the automatic
    backup feature.  To fix the #2 problem, the install timestamp has been
    removed, so to avoid unwanted backups for multiple installworlds after
    one buildworld, the user needs to pass NO_BACKUP in the command line.
    This patch was contributed by Thomas Nikolajsen with minor modifications
    added by John Marino.

Summary of changes:
 Makefile                   |   8 ++++
 Makefile.inc1              | 103 ++++++++++++++++++---------------------------
 etc/defaults/make.conf     |   3 ++
 share/man/man5/make.conf.5 |  31 +++++++++++---
 share/man/man7/build.7     |  32 ++++++++++++--
 5 files changed, 105 insertions(+), 72 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list