commit: 9cd534404378c3efa83fb42d45e6836cd1be7bc4 Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> AuthorDate: Fri Nov 10 10:03:46 2023 +0000 Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org> CommitDate: Fri Nov 10 10:07:41 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cd53440
app-backup/bacula: Add comment When changing port numbers of baculas components one needs to adapt the pidfile naming in init.d scripts. Add a comment to emphasize this. Thanks chris <AT> novazur.fr for pointing to the problem. Closes: https://bugs.gentoo.org/915613 Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org> app-backup/bacula/bacula-11.0.6-r4.ebuild | 5 +++++ app-backup/bacula/bacula-11.0.6-r5.ebuild | 5 +++++ app-backup/bacula/bacula-13.0.2-r2.ebuild | 5 +++++ app-backup/bacula/bacula-13.0.3-r1.ebuild | 5 +++++ app-backup/bacula/files/newscripts/bacula-dir.initd | 4 +++- app-backup/bacula/files/newscripts/bacula-fd.initd | 3 ++- app-backup/bacula/files/newscripts/bacula-sd.initd | 4 +++- 7 files changed, 28 insertions(+), 3 deletions(-) diff --git a/app-backup/bacula/bacula-11.0.6-r4.ebuild b/app-backup/bacula/bacula-11.0.6-r4.ebuild index c0f320e5816f..e71c03f5e34f 100644 --- a/app-backup/bacula/bacula-11.0.6-r4.ebuild +++ b/app-backup/bacula/bacula-11.0.6-r4.ebuild @@ -414,4 +414,9 @@ pkg_postinst() { einfo einfo "/var/lib/bacula/tmp was configured for archivedir. This dir will be used during" einfo "restores, so be sure to set it to an appropriate in dir in the bacula config." + + einfo + einfo "If you adapt the port numbers for baculas components in the config files" + einfo "make sure to adapt the file names for the pidfile accordingly" + einfo "(see init.d scripts)." } diff --git a/app-backup/bacula/bacula-11.0.6-r5.ebuild b/app-backup/bacula/bacula-11.0.6-r5.ebuild index 2f5e5150e17d..a607a5387633 100644 --- a/app-backup/bacula/bacula-11.0.6-r5.ebuild +++ b/app-backup/bacula/bacula-11.0.6-r5.ebuild @@ -424,4 +424,9 @@ pkg_postinst() { einfo einfo "/var/lib/bacula/tmp was configured for archivedir. This dir will be used during" einfo "restores, so be sure to set it to an appropriate in dir in the bacula config." + + einfo + einfo "If you adapt the port numbers for baculas components in the config files" + einfo "make sure to adapt the file names for the pidfile accordingly" + einfo "(see init.d scripts)." } diff --git a/app-backup/bacula/bacula-13.0.2-r2.ebuild b/app-backup/bacula/bacula-13.0.2-r2.ebuild index 8477869b3cab..8369e48a2977 100644 --- a/app-backup/bacula/bacula-13.0.2-r2.ebuild +++ b/app-backup/bacula/bacula-13.0.2-r2.ebuild @@ -423,4 +423,9 @@ pkg_postinst() { einfo einfo "/var/lib/bacula/tmp was configured for archivedir. This dir will be used during" einfo "restores, so be sure to set it to an appropriate in dir in the bacula config." + + einfo + einfo "If you adapt the port numbers for baculas components in the config files" + einfo "make sure to adapt the file names for the pidfile accordingly" + einfo "(see init.d scripts)." } diff --git a/app-backup/bacula/bacula-13.0.3-r1.ebuild b/app-backup/bacula/bacula-13.0.3-r1.ebuild index 732e14167c2b..887471c4753f 100644 --- a/app-backup/bacula/bacula-13.0.3-r1.ebuild +++ b/app-backup/bacula/bacula-13.0.3-r1.ebuild @@ -424,4 +424,9 @@ pkg_postinst() { einfo einfo "/var/lib/bacula/tmp was configured for archivedir. This dir will be used during" einfo "restores, so be sure to set it to an appropriate in dir in the bacula config." + + einfo + einfo "If you adapt the port numbers for baculas components in the config files" + einfo "make sure to adapt the file names for the pidfile accordingly" + einfo "(see init.d scripts)." } diff --git a/app-backup/bacula/files/newscripts/bacula-dir.initd b/app-backup/bacula/files/newscripts/bacula-dir.initd index fdcfc7ef2b65..df76a70ca3ee 100644 --- a/app-backup/bacula/files/newscripts/bacula-dir.initd +++ b/app-backup/bacula/files/newscripts/bacula-dir.initd @@ -1,8 +1,10 @@ #!/sbin/openrc-run -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 + command=/usr/sbin/bacula-dir command_args="${DIR_OPTIONS}" +# make sure the following line matches the portnumber from bacula-dir.conf pidfile=/var/run/bacula-dir.9101.pid depend() { diff --git a/app-backup/bacula/files/newscripts/bacula-fd.initd b/app-backup/bacula/files/newscripts/bacula-fd.initd index fe6a8815b9fd..5063df0f9198 100644 --- a/app-backup/bacula/files/newscripts/bacula-fd.initd +++ b/app-backup/bacula/files/newscripts/bacula-fd.initd @@ -1,9 +1,10 @@ #!/sbin/openrc-run -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 command=/usr/sbin/bacula-fd command_args="${FD_OPTIONS}" +# make sure the following line matches the portnumber from bacula-fd.conf pidfile=/var/run/bacula-fd.9102.pid depend() { diff --git a/app-backup/bacula/files/newscripts/bacula-sd.initd b/app-backup/bacula/files/newscripts/bacula-sd.initd index 07facefbb4a4..15aa6d1c6205 100644 --- a/app-backup/bacula/files/newscripts/bacula-sd.initd +++ b/app-backup/bacula/files/newscripts/bacula-sd.initd @@ -1,8 +1,10 @@ #!/sbin/openrc-run -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 + command=/usr/sbin/bacula-sd command_args="${SD_OPTIONS}" +# make sure the following line matches the portnumber from bacula-sd.conf pidfile=/var/run/bacula-sd.9103.pid depend() {