[Bug 276634] sysutils/bareos-client: ${BAREOS_DIR} not preserved in sysutils/bareos-server/files/pkg-deinstall.client.in

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 26 Jan 2024 07:38:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276634

            Bug ID: 276634
           Summary: sysutils/bareos-client: ${BAREOS_DIR} not preserved in
                    sysutils/bareos-server/files/pkg-deinstall.client.in
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: acm@FreeBSD.org
          Reporter: Trond.Endrestol@ximalas.info
          Assignee: acm@FreeBSD.org
             Flags: maintainer-feedback?(acm@FreeBSD.org)

During upgrade of sysutils/bareos-client the following appeared:

[18/31] Upgrading bareos-client from 23.0.1 to 23.0.1_1...
===> Creating groups.
Using existing group 'bareos'.
===> Creating users
Using existing user 'bareos'.
===> Creating homedir(s)
[18/31] Extracting bareos-client-23.0.1_1: 100%
Check if  is empty and delete it to permanently remove the bareos port.
To delete Bareos group permanently, use 'pw groupdel bareos'

Notice the value of ${BAREOS_DIR} is missing in the second to last line.

I think the easiest fix is to add the foillowing line after
BACULA_DIR=%%BAREOS_DIR%%

BAREOS_DIR=%%BAREOS_DIR%%

Or, if BACULA_DIR isn't needed, just "s/BACULA_DIR=/BAREOS_DIR=/".

-- 
You are receiving this mail because:
You are the assignee for the bug.