aboutsummaryrefslogtreecommitdiffstats
path: root/main/bacula-client/APKBUILD
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2012-09-20 14:16:28 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2012-09-20 14:43:12 +0000
commitf40ec382aa642921d4332b3a766b4a5bf09574ac (patch)
treee371a7c9e324724d84af47a82814315bfd841237 /main/bacula-client/APKBUILD
parent7b146401dc8402e66c1919b00979b4687c01bfff (diff)
downloadaports-f40ec382aa642921d4332b3a766b4a5bf09574ac.tar.bz2
aports-f40ec382aa642921d4332b3a766b4a5bf09574ac.tar.xz
main/bacula-client: upgrade to 5.2.12
Diffstat (limited to 'main/bacula-client/APKBUILD')
-rw-r--r--main/bacula-client/APKBUILD24
1 files changed, 16 insertions, 8 deletions
diff --git a/main/bacula-client/APKBUILD b/main/bacula-client/APKBUILD
index 67c08ea9a9..5750c8a4b5 100644
--- a/main/bacula-client/APKBUILD
+++ b/main/bacula-client/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname="bacula-client"
_realname="bacula"
-pkgver=5.2.10
+pkgver=5.2.12
pkgrel=0
pkgdesc="Client (File Daemon) of Bacula, a network based backup program"
url="http://www.bacula.org"
@@ -10,16 +10,20 @@ arch="all"
license="GPL2"
depends=""
makedepends="autoconf automake libstdc++ openssl-dev ncurses-dev zlib-dev"
-install="$pkgname.pre-install $pkgname.post-install"
+install="$pkgname.pre-install"
subpackages="$pkgname-doc"
+pkgusers="bacula"
+pkggroups="bacula"
source="http://downloads.sourceforge.net/project/$_realname/$_realname/$pkgver/$_realname-$pkgver.tar.gz
bacula-fd-init
bacula-fd-conf
bacula-5.0.2-config.patch
bacula-5.0.2-openssl.patch
bacula-5.0.3-Makefile.patch
- bacula-5.0.3-log-path.patch
bacula-5.0.3-sqlite-priv.patch
+ bacula-5.2.3-as-needed.patch
+ bacula-5.2.3-ldflags.patch
+ bacula-5.2.3-lib-search-path.patch
configure.in.patch
cxx.patch
os.m4.patch"
@@ -52,13 +56,14 @@ build() {
--infodir=/usr/share/info \
--with-pid-dir=/var/run \
--with-subsys-dir=/var/lock/subsys \
+ --with-logdir=/var/log/bacula \
--enable-largefile \
--enable-client-only \
--enable-smartalloc \
--disable-nls \
--with-openssl=/usr/include/openssl \
--with-scriptdir=/etc/bacula/scripts \
- --with-working-dir=/var/bacula \
+ --with-working-dir=/var/lib/bacula \
--with-fd-user=root \
--with-fd-group=root
make || return 1
@@ -69,20 +74,23 @@ package() {
make DESTDIR="$pkgdir" install
install -Dm755 $srcdir/bacula-fd-init \
- $pkgdir/etc/init.d/bacula-fd
+ "$pkgdir"/etc/init.d/bacula-fd
install -Dm644 $srcdir/bacula-fd-conf \
- $pkgdir/etc/conf.d/bacula-fd
+ "$pkgdir"/etc/conf.d/bacula-fd
+ chown bacula.bacula "$pkgdir"/var/lib/bacula
find "$pkgdir" -iname *.la -delete
}
-md5sums="19207d7049cf11a54dee5585689044ec bacula-5.2.10.tar.gz
+md5sums="b04c22b128b73359e4bbc9de06652c38 bacula-5.2.12.tar.gz
38b0fe78acdc5e65aec3a59578e98a20 bacula-fd-init
4500ce2d62bf9df33c07f70dc40f7b85 bacula-fd-conf
71f7f9c041eff045b2e97d141316c059 bacula-5.0.2-config.patch
4e310e84c7aba5b8d043758e0fa0088f bacula-5.0.2-openssl.patch
0ec20df57bb632ed729cfaf5d0a3ee33 bacula-5.0.3-Makefile.patch
-9bde1e9d43146af8985ff62d491d7218 bacula-5.0.3-log-path.patch
9def0e68e3eb2f5f8b4c34108a248efd bacula-5.0.3-sqlite-priv.patch
+5fb1ef3f9fae381b64aa3226351f91a5 bacula-5.2.3-as-needed.patch
+5ff321fee690e6a3b48ae41f9860558c bacula-5.2.3-ldflags.patch
+fe1fe1df51c3e57343e2e7794447a763 bacula-5.2.3-lib-search-path.patch
ebc9c2bbc9be95c920723a3f142d8e19 configure.in.patch
1bfdbfea7a36d5503753414dffb953eb cxx.patch
cf7a2a4e972697f54364654c4e282b8b os.m4.patch"