Package Details: bacula-client 9.0.5-1

Git Clone URL: https://aur.archlinux.org/bacula-client.git (read-only)
Package Base: bacula-client
Description: A network backup tool for Linux, Unix, Mac and Windows - client edition
Upstream URL: http://www.bacula.org/
Licenses: GPL2
Conflicts: bacula
Provides: bacula-fd=9.0.5
Submitter: None
Maintainer: eworm
Last Packager: eworm
Votes: 32
Popularity: 0.205504
First Submitted: 2008-01-25 15:17
Last Updated: 2017-11-06 11:30

Latest Comments

andreas_baumann commented on 2017-11-05 12:21

Ok.

You have to change PKGBUILD in the following way:

CPPFLAGS=-I/usr/include/openssl-1.0/ \
LIBS=-L/usr/lib/openssl-1.0/ \
./configure \
...

I can build this way.

I also get:

sudo ldd /usr/bin/bacula-fd:
libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0x00007f0e56da0000)
libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0x00007f0e5692b000)

Can you try and report back if it worked for you?

andreas_baumann commented on 2017-11-05 12:04

/usr/lib/libcrypto.so points to the 1.1 version.
/usr/lib/openssl-1.0/libcrypto.so points to ../libcrypto.so.1.0.0

So it's actually linking with -lcrypto to the wrong version.

andreas_baumann commented on 2017-11-05 11:58

Yep, this doesn't work: the OpenSSL check in autoconf checks for the
CRYPTO_set_id_callback function in include <openssl/ssl.h> only.
But it links directly to -lssl -lcrypto (whatever that is).

The same applies most likely to all other bacula AUR packages..?

RhizomaticNomad commented on 2017-10-31 01:09

Unfortunately this package doesn't compile the OpenSSL part in bacula. When I replace the "-I" in PKGBUILD "CPPFLAGS=-I/usr/include/openssl-1.0/ ./configure \" with an "-L" it says during the install process that it enables the SSL Part, but actually doesn't get installed due to an error during the compiling.

Does the SSL / PKI /TLS work in you setup?

keithw commented on 2017-04-27 20:15

No longer builds for me after the upgrade to openssl 1.1.0.e-1; this patch works for me with the openssl-1.0 package:

--- PKGBUILD 2017-04-27 15:06:30.748735396 -0500
+++ PKGBUILD.kw 2017-04-27 15:09:01.730930174 -0500
@@ -8,7 +8,7 @@
pkgrel=1
pkgdesc='A network backup tool for Linux, Unix, Mac and Windows - client edition'
conflicts=('bacula')
-depends=('openssl')
+depends=('openssl-1.0')
provides=("bacula-fd=${pkgver}")
arch=('i686' 'x86_64' 'arm' 'armv6h')
url='http://www.bacula.org/'
@@ -25,12 +25,12 @@
build() {
cd bacula-${pkgver}/

- ./configure \
+ env CPPFLAGS=-I/usr/include/openssl-1.0 ./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--enable-client-only \
--with-systemd=/usr/lib/systemd/system/ \
- --with-openssl \
+ --with-openssl=/usr/lib/openssl-1.0/ \
--sysconfdir=/etc/bacula \
--with-scriptdir=/etc/bacula/scripts

CptnChristo commented on 2015-05-26 21:12

Please update the PKGBUILD "provides" assignment to include "bacula-common=${pkgver}"

I encountered problems installing this package and bacula-bat on the same machine (i.e. a backup client capable of controlling a remote director). There were 'file already exists' conflicts for whichever package I tried to install second. The conflicting files were limited to those found in bacula-common.

Thank you for your time and effort maintaining this package.

Anonymous comment on 2013-06-10 20:47

I cannot get this package to work as a daemon. When I try to restart with sudo systemctl restart bacula-fd or bacula-fd.service I receive the following error:

Failed to issue method call: Unit var-run.mount failed to load: No such file or directory.

I checked the journalctl and it produces no noticeable errors, only the command output.

kiven commented on 2013-05-21 08:30

Please add

* "armv6h" to arch list,
*--with-systemd \
--with-fd-user=root \
--with-fd-group=root \
to configure section

* install -D -m 0644 ${srcdir}/${_basename}-${pkgver}/platforms/systemd/bacula-fd.service ${pkgdir}/usr/lib/systemd/system/bacula-fd.service
in package() section

Is it safe now to remove bacula-fd.service source file, it is included in bacula sources.

Anonymous comment on 2013-05-14 21:16

Hi all,

I haven't used Arch for some months now (I switched to Debian), so I totally forgot about this pkg. Sorry about that. And since I no longer have Arch I can't build and test it, so I'm disowning it.

If anybody wants to maintain it and needs help about how to do it, feel free to email me. It's really easy and takes no time.

kiven commented on 2013-05-07 08:51

Please add a systemd service :
/etc/systemd/system/bacula-fd.service
[Unit]
Description=Bacula File Deaemon
Requires=network.target
After=network.target

[Service]
Type=forking
ExecStart=/usr/sbin/bacula-fd
IOSchedulingClass=idle
Restart=always

[Install]
WantedBy=multi-user.target

All comments