Bug 276634 - sysutils/bareos-client: ${BAREOS_DIR} not preserved in sysutils/bareos-server/files/pkg-deinstall.client.in
Summary: sysutils/bareos-client: ${BAREOS_DIR} not preserved in sysutils/bareos-server...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jose Alonso Cardenas Marquez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-26 07:38 UTC by Trond Endrestøl
Modified: 2024-05-02 06:57 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (acm)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Trond Endrestøl 2024-01-26 07:38:19 UTC
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=/".
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-05-02 06:56:57 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=903a740d76e97a408f6eb80d006fdc077f48d361

commit 903a740d76e97a408f6eb80d006fdc077f48d361
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2024-05-02 06:54:07 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2024-05-02 06:54:07 +0000

    sysutils/bareos-*: update to 23.0.2

    - Replace BACULA_DIR/BAREOS_DIR into pkg-deinstall.client.in [1]

    ChangeLog at:   https://github.com/bareos/bareos/blob/Release/23.0.2/CHANGELOG.md
    PR:             276634
    Reported by:    Trond.Endrestol __at_ ximalas.info [1]

 sysutils/bareos-server/Makefile                      | 4 ++--
 sysutils/bareos-server/distinfo                      | 6 +++---
 sysutils/bareos-server/files/pkg-deinstall.client.in | 2 +-
 sysutils/py-python-bareos/Makefile                   | 2 +-
 sysutils/py-python-bareos/distinfo                   | 6 +++---
 www/bareos-webui/Makefile                            | 2 +-
 www/bareos-webui/distinfo                            | 6 +++---
 7 files changed, 14 insertions(+), 14 deletions(-)
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-05-02 06:56:59 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c0297686589d3fee102341d97a841290457a373d

commit c0297686589d3fee102341d97a841290457a373d
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2024-05-02 06:46:37 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2024-05-02 06:46:37 +0000

    sysutils/bareos21-*: update to 21.1.9

    - Replace BACULA_DIR/BAREOS_DIR into pkg-deinstall.client.in [1]

    ChangeLog at:   https://github.com/bareos/bareos/blob/Release/21.1.9/CHANGELOG.md
    PR:             276634
    Reported by:    Trond.Endrestol@ximalas.info [1]

 sysutils/bareos21-server/Makefile                  |  6 +-
 sysutils/bareos21-server/distinfo                  |  6 +-
 ...patch-core-cmake_BareosInstallConfigFiles.cmake | 77 ++++++++++++----------
 ...atch-core-cmake_BareosSetVariableDefaults.cmake | 14 ++--
 .../bareos21-server/files/pkg-deinstall.client.in  |  2 +-
 www/bareos21-webui/Makefile                        |  2 +-
 www/bareos21-webui/distinfo                        |  6 +-
 7 files changed, 60 insertions(+), 53 deletions(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-05-02 06:57:00 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=507488d128d447270bcaf2e1aeb604b26614defc

commit 507488d128d447270bcaf2e1aeb604b26614defc
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2024-05-02 06:50:06 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2024-05-02 06:50:06 +0000

    sysutils/bareos22-*: Update to 22.1.4

    - Replace BACULA_DIR to BAREOS_DIR into pkg-deinstall.client.in

    ChangeLog at:   https://github.com/bareos/bareos/blob/Release/22.1.4/CHANGELOG.md
    PR:             276634
    Reported by:    Trond.Endrestol _at_ ximalas.info [1]

 sysutils/bareos22-server/Makefile                      | 4 ++--
 sysutils/bareos22-server/distinfo                      | 6 +++---
 sysutils/bareos22-server/files/pkg-deinstall.client.in | 2 +-
 www/bareos22-webui/Makefile                            | 2 +-
 www/bareos22-webui/distinfo                            | 6 +++---
 5 files changed, 10 insertions(+), 10 deletions(-)
Comment 4 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2024-05-02 06:57:22 UTC
Committed thanks!