bareos: master 5539f32c

Author Committer Branch Timestamp Parent
joergs joergs master 2025-09-29 13:33 master 0be55f19 Pending
Changeset freebsd: try to keep @sample file during upgrade

based on FreeBSD man page pkg-script the script order on upgrade is:
     1. new pre-install
     2. old pre-deinstall
     3. replace binaries
     4. new post-install

Based on this, we implemented saving the old configuration
(@sample files that are no longer defined) before they got deleted by
post-deinstall.

Spoiler:
this does not work, as on upgrade the old package gots complete removed,
including running post-deinstall, before any script of the new package
is called.
rm - core/platforms/freebsd/bareos-freebsd/bareos.com-common/pkg-deinstall Diff File
rm - core/platforms/freebsd/bareos-freebsd/bareos.com-common/pkg-install Diff File
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/pkg-plist.bconsole Diff File
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/pkg-plist.common Diff File
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/pkg-plist.filedaemon Diff File
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/pkg-plist.filedaemon-ldap-python-plugin Diff File
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/pkg-plist.storage Diff File
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/pkg-plist.storage-dplcompat Diff File
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/pkg-plist.storage-fifo Diff File
mod - core/platforms/freebsd/bareos-freebsd/bareos.com-common/pkg-plist.storage-tape Diff File
add - core/platforms/freebsd/bareos-freebsd/bareos.com-common/pkg-post-deinstall Diff File
add - core/platforms/freebsd/bareos-freebsd/bareos.com-common/pkg-post-install Diff File
add - core/platforms/freebsd/bareos-freebsd/bareos.com-common/pkg-pre-deinstall Diff File
add - core/platforms/freebsd/bareos-freebsd/bareos.com-common/pkg-pre-install Diff File