Package Details: bacula-console 15.0.2-2

Git Clone URL: https://aur.archlinux.org/bacula.git (read-only, click to copy)
Package Base: bacula
Description: Bacula - A Network Backup Tool (management CLI)
Upstream URL: https://www.bacula.org
Licenses: AGPL3
Submitter: None
Maintainer: lifespirit
Last Packager: lifespirit
Votes: 36
Popularity: 0.45
First Submitted: 2014-04-25 13:59 (UTC)
Last Updated: 2024-06-05 06:28 (UTC)

Pinned Comments

lifespirit commented on 2024-06-04 10:13 (UTC)

If you have error "GPG check failed" when you install, run

gpg --recv-keys C0BE2A5FE9DF3643

for user who build package.

Latest Comments

1 2 3 4 5 6 .. 10 Next › Last »

lifespirit commented on 2024-06-05 06:29 (UTC)

@pharaoh, fixed.

pharaoh commented on 2024-06-04 15:04 (UTC)

@lifespirit: great, but the bacula-dir-* packages do not set permissions of /etc/bacula, so there's still a mismatch:

bacula-common: all files match mtree
bacula-console: all files match mtree
bacula-dir: all files match mtree
bacula-dir-postgresql: '/etc/bacula' permission mismatch (expected 770)
bacula-fd: all files match mtree
bacula-sd: all files match mtree

example fix for bacula-dir-postgresql:

diff --git a/PKGBUILD b/PKGBUILD
index 0138a0e..5610fbb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -225,6 +225,8 @@ package_bacula-dir-postgresql() {
   for file in etc/${pkgbase}/scripts/*postgresql*; do
     cp --parents -a "${file}" "${pkgdir}"
   done
+
+  chmod 755 "${pkgdir}/etc/${pkgbase}"
 }

lifespirit commented on 2024-06-04 10:13 (UTC)

If you have error "GPG check failed" when you install, run

gpg --recv-keys C0BE2A5FE9DF3643

for user who build package.

lifespirit commented on 2024-06-04 10:04 (UTC)

@pharaoh, all fixed. Thanks.

pharaoh commented on 2024-05-20 12:13 (UTC) (edited on 2024-05-20 12:19 (UTC) by pharaoh)

the gpg signature should be checked:

diff --git a/PKGBUILD b/PKGBUILD
index 48b980b..5c40f83 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,16 +23,20 @@ url="https://www.${pkgbase}.org"
 license=('AGPL3')
 makedepends=(sqlite libmariadbclient postgresql-libs qt5-base openssl readline lzo)
 install="bacula.install"
-source=("https://downloads.sourceforge.net/sourceforge/${pkgbase}/${pkgbase}-${pkgver}.tar.gz"
+source=("https://downloads.sourceforge.net/sourceforge/${pkgbase}/${pkgbase}-${pkgver}.tar.gz"{,.sig}
         'bacula-dir.service'
         'bacula-fd.service'
         'bacula-sd.service')

 sha256sums=('55515c2a66af9a86b955daea4089378b864d051b2e6e30383bef36e693acea7a'
-            'd1f06403b3460ad8cb7bd063ec31108d87c77dc58bb8a916229262d2bac4a565'
+            'SKIP'
+            '9a1c3fca9ac71f3bb72d100d328f265317404b226396e3a4030cdb3e4e69bd9f'
             '072a408b136f27251e9420f801d162e828218306ee74c0c5ba83b24f558e5e39'
             'a5e75ee945479f9e38415d2841cf3485200d9d9374d5a68c19c13b39467ca5bb')

+# Bacula 4096 Distribution Verification Key (www.bacula.org)
+validpgpkeys=('5235F5B668D81DB61704A82DC0BE2A5FE9DF3643')
+
 _workdir="/var/lib/${pkgbase}"

 build() {

bacula-bconsole sets 0755 for /etc/bacula but all other packages 0770, which gives either a mismatch on bconsole package or on the daemon packages:

# paccheck --file-properties | grep bacula
bacula-common: all files match mtree
bacula-console: '/etc/bacula' permission mismatch (expected 755)
bacula-dir: all files match mtree
bacula-dir-postgresql: all files match mtree
bacula-fd: all files match mtree
bacula-sd: all files match mtree

Hi-Angel commented on 2024-05-20 08:14 (UTC)

Turns out, the files are not executable by "others", but are executable by root. Idk if that's intended, but if so, then I'm sorry for the noise.

lifespirit commented on 2024-05-20 07:41 (UTC)

OK. I will try fix than tomorrow. Thanks.

Hi-Angel commented on 2024-05-20 07:38 (UTC) (edited on 2024-05-20 07:39 (UTC) by Hi-Angel)

Thank you!

Another one, which may be an upstream issue though: after having everything installed, the files /usr/bin/bacula-dir, /usr/bin/bacula-fd, /usr/bin/bacula-sd are not executable.

lifespirit commented on 2024-05-20 07:25 (UTC) (edited on 2024-05-20 07:25 (UTC) by lifespirit)

Fixed. Thanks for report, @Hi-Angel .

Hi-Angel commented on 2024-05-20 07:11 (UTC)

Fails with:

[…]
==> Validating source files with sha256sums...
    bacula-15.0.2.tar.gz ... Passed
    bacula-dir.service ... FAILED