summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD30
-rw-r--r--bacula-fd.service2
3 files changed, 22 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4362f202301b..451f88b795ad 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = bacula5-client
pkgdesc = A network backup tool for Linux, Unix, Mac and Windows - client edition
pkgver = 5.2.13
- pkgrel = 3
+ pkgrel = 4
url = http://www.bacula.org/
arch = i686
arch = x86_64
@@ -10,13 +10,15 @@ pkgbase = bacula5-client
license = GPL2
depends = openssl
provides = bacula5-client=5.2.13
- conflicts = bacula bacula-client bacula-fd
+ conflicts = bacula
+ conflicts = bacula-client
+ conflicts = bacula-fd
backup = etc/bacula/bconsole.conf
backup = etc/bacula/bacula-fd.conf
source = https://kent.dl.sourceforge.net/project/bacula/bacula/5.2.13/bacula-5.2.13.tar.gz
source = bacula-fd.service
sha256sums = a4bed458bf001889bd06bf31671b5d9908055a1d1e8113fd750ae4d326607ad8
- sha256sums = 37cdab95a99142a7e8494f0a49e54a5bfb1dca28561d0ce70ea64bf98e0c50fd
+ sha256sums = 45d71c8118e08c0939c87cf2c8e20bb31d1b344fa24ba3f0ac41ae50bc12b7e4
pkgname = bacula5-client
diff --git a/PKGBUILD b/PKGBUILD
index 7889bc3e7f9f..eab4d8e6a1d9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=bacula5-client
pkgver=5.2.13
-pkgrel=3
+pkgrel=4
pkgdesc='A network backup tool for Linux, Unix, Mac and Windows - client edition'
conflicts=('bacula' 'bacula-client' 'bacula-fd')
depends=('openssl')
@@ -19,23 +19,25 @@ backup=('etc/bacula/bconsole.conf'
# verification fails for DSA signatures, so disabled for now...
#validpgpkeys=('2CA9F510CA5CCAF61AB529F59E98BF3210A792AD') # Bacula Distribution Verification Key (www.bacula.org)
source=("https://kent.dl.sourceforge.net/project/bacula/bacula/${pkgver}/bacula-${pkgver}.tar.gz" #{,.sig}
- 'bacula-fd.service')
+ "bacula-fd.service")
sha256sums=('a4bed458bf001889bd06bf31671b5d9908055a1d1e8113fd750ae4d326607ad8'
- '37cdab95a99142a7e8494f0a49e54a5bfb1dca28561d0ce70ea64bf98e0c50fd')
+ '45d71c8118e08c0939c87cf2c8e20bb31d1b344fa24ba3f0ac41ae50bc12b7e4')
build() {
cd bacula-${pkgver}/
-
- ./configure \
- --prefix=/usr \
- --sbindir=/usr/bin \
- --enable-client-only \
- --with-systemd=/usr/lib/systemd/system/ \
- --with-openssl \
- --sysconfdir=/etc/bacula \
- --with-scriptdir=/etc/bacula/scripts
-
- make
+ CPPFLAGS=-I/usr/include/openssl-1.0/
+ LIBS=-L/usr/lib/openssl-1.0/
+
+ ./configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --enable-client-only \
+ --with-systemd=/usr/lib/systemd/system/ \
+ --with-openssl=/usr/lib/openssl-1.0/ \
+ --sysconfdir=/etc/bacula \
+ --with-scriptdir=/etc/bacula/scripts
+
+ make
}
package() {
diff --git a/bacula-fd.service b/bacula-fd.service
index 90bd6a9ab36a..85978c6655f4 100644
--- a/bacula-fd.service
+++ b/bacula-fd.service
@@ -13,7 +13,7 @@ Type=forking
Restart=always
ExecStart=/usr/bin/bacula-fd -c /etc/bacula/bacula-fd.conf
IOSchedulingClass=idle
-PIDFile=/run/bacula-fd.9102.pid
+PIDFile=/run/bacula-fd.5213.pid
[Install]
WantedBy=multi-user.target