Summary: | sysutils/bacula*-server: fix filename of the rc scripts to comply to the rc scripting recommendations + service jails options | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Alexander Leidinger <netchild> | ||||
Component: | Individual Port(s) | Assignee: | Dan Langille <dvl> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | dvl | ||||
Priority: | --- | Flags: | dvl:
maintainer-feedback+
|
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Alexander Leidinger
2024-07-05 09:00:16 UTC
I think the path also needs to update bacula-fd (In reply to Dan Langille from comment #1) *patch I do not see bacula-fd in RC_SUBR in bacula*-server. # grep RC_SUBR sysutils/bacula*-server/Makefile sysutils/bacula11-server/Makefile:USE_RC_SUBR?= bacula_dir bacula_sd sysutils/bacula13-server/Makefile:USE_RC_SUBR?= bacula_dir bacula_sd sysutils/bacula15-server/Makefile:USE_RC_SUBR?= bacula_dir bacula_sd sysutils/bacula9-server/Makefile:USE_RC_SUBR?= bacula_dir bacula_sd It took me a while to find it too. It's over here. No action required. I'm nearly done my testports. [13:22 pkg01 dvl ~/ports/head] % git diff sysutils/bacula9-client/Makefile diff --git a/sysutils/bacula9-client/Makefile b/sysutils/bacula9-client/Makefile index 57ae8f72a757..19359d0fea42 100644 --- a/sysutils/bacula9-client/Makefile +++ b/sysutils/bacula9-client/Makefile @@ -7,7 +7,7 @@ BROKEN_aarch64= Fails to link: missing sbrk BROKEN_riscv64= Fails to link: missing sbrk WITH_CLIENT_ONLY=yes -USE_RC_SUBR= bacula-fd +USE_RC_SUBR= bacula_fd PLIST= ${PKGDIR}/pkg-plist.client MASTERDIR= ${.CURDIR}/../../sysutils/bacula9-server [13:22 pkg01 dvl ~/ports/head] % How should we name the UPDATING entry? sysutils/bacula*-server|client I think it needs to be a proper glob. This seems to work: [13:43 pkg01 dvl ~/ports/head] % ls -d sysutils/bacula*-{client,server} sysutils/bacula11-client/ sysutils/bacula13-client/ sysutils/bacula15-client/ sysutils/bacula9-client/ sysutils/bacula11-server/ sysutils/bacula13-server/ sysutils/bacula15-server/ sysutils/bacula9-server/ This is my proposed UPDATING entry: 20240705: AFFECTS: sysutils/bacula*-{client,server} AUTHOR: netchildFreeBSD.org The start scripts of bacula have been renamed to bacula_fd, bacula_dir and bacula_sd for improved compatibility with other parts of the system. The automatic start at boot (rc.conf variable settings) is not affected, but if you have some other automatism you may want to change ".../etc/rc.d/bacula-fd" to ".../etc/rc.d/bacula_fd" ".../etc/rc.d/bacula-dir" to ".../etc/rc.d/bacula_dir" ".../etc/rc.d/bacula-sd" to ".../etc/rc.d/bacula_sd" or "service bacula-fd ..." to "service bacula_fd ..." "service bacula-dir ..." to "service bacula_dir ..." "service bacula-sd ..." to "service bacula_sd ..." Whatever pleases you for the UPDATING part. :-) I suggest to add a line to bacula_fd for the svcj_options similar to the others... : ${bacula_fd_svcj_options:="net_basic"} A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8636c2e7142ea93b5c23609c5f06f4e52aa0ad31 commit 8636c2e7142ea93b5c23609c5f06f4e52aa0ad31 Author: Dan Langille <dvl@FreeBSD.org> AuthorDate: 2024-07-05 14:34:34 +0000 Commit: Dan Langille <dvl@FreeBSD.org> CommitDate: 2024-07-05 14:36:51 +0000 sysutils/bacula*-{client,server}: fix rc script names The filenames now comply with the rc scripting recommendations and service jails options. Users may have to update any personal scripts they have which depend upon those rc.d script names. See UPDATING for 20240705 PR: 280137 UPDATING | 17 +++++++++++++++++ sysutils/bacula11-client/Makefile | 2 +- sysutils/bacula11-server/Makefile | 4 ++-- .../files/{bacula-dir.in => bacula_dir.in} | 1 + .../bacula-fd.in => bacula11-server/files/bacula_fd.in} | 1 + .../bacula-sd.in => bacula11-server/files/bacula_sd.in} | 1 + sysutils/bacula13-client/Makefile | 2 +- sysutils/bacula13-server/Makefile | 4 ++-- .../files/bacula_dir.in} | 1 + .../bacula-fd.in => bacula13-server/files/bacula_fd.in} | 1 + .../bacula-sd.in => bacula13-server/files/bacula_sd.in} | 1 + sysutils/bacula15-client/Makefile | 2 +- sysutils/bacula15-server/Makefile | 4 ++-- .../files/bacula_dir.in} | 1 + .../files/{bacula-fd.in => bacula_fd.in} | 1 + .../bacula-sd.in => bacula15-server/files/bacula_sd.in} | 1 + sysutils/bacula9-client/Makefile | 2 +- sysutils/bacula9-server/Makefile | 2 +- .../files/bacula_dir.in} | 1 + .../bacula9-server/files/{bacula-fd.in => bacula_fd.in} | 1 + .../bacula-sd.in => bacula9-server/files/bacula_sd.in} | 1 + 21 files changed, 40 insertions(+), 11 deletions(-) (In reply to Alexander Leidinger from comment #7) Thank you for that suggestion. I included it in the commit. Thank you for the work on this. It made it much easier. |