aboutsummaryrefslogtreecommitdiffstats
path: root/main/bacula
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2012-11-19 11:01:15 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2012-11-19 11:01:15 +0000
commita35c83d0624a0383545f6bd26fceaecff16e8d1e (patch)
treeeaec627bd684491b4ab9b607df8958cf38ea8488 /main/bacula
parentfa21217aef997cf2074821562dac11f5fdde28b0 (diff)
downloadaports-a35c83d0624a0383545f6bd26fceaecff16e8d1e.tar.bz2
aports-a35c83d0624a0383545f6bd26fceaecff16e8d1e.tar.xz
main/bacula: ignore libaccats.so
Diffstat (limited to 'main/bacula')
-rw-r--r--main/bacula/APKBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/main/bacula/APKBUILD b/main/bacula/APKBUILD
index c043344d03..84cd62d4d2 100644
--- a/main/bacula/APKBUILD
+++ b/main/bacula/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname="bacula"
pkgver=5.2.12
-pkgrel=3
+pkgrel=4
pkgdesc="Enterprise ready, network based backup program"
url="http://www.bacula.org"
arch="all"
@@ -15,6 +15,7 @@ install="$pkgname.pre-install $pkgname.post-upgrade"
subpackages="$pkgname-doc $pkgname-mysql $pkgname-pgsql $pkgname-sqlite"
pkgusers="bacula"
pkggroups="bacula"
+somask="libbaccats-${pkgver}.so"
source="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz
bacula-dir-init
bacula-dir-conf
@@ -108,16 +109,17 @@ package() {
chown bacula.bacula "$pkgdir"$dir || return 1
done
find "$pkgdir" -iname *.la -delete
- rm "$pkgdir"/usr/lib/libbaccats-${pkgver}.so
- rm "$pkgdir"/usr/lib/libbaccats.so
+ find "$pkgdir"/usr/lib -iname libbaccats* -type l -delete
}
_mv_backend() {
mkdir -p "$subpkgdir"/usr/lib
mkdir -p "$subpkgdir"/etc/bacula/scripts
mv "$pkgdir"/usr/lib/libbaccats-${1}-${pkgver}.so \
- "$subpkgdir"/usr/lib/libbaccats-${pkgver}.so || return 1
+ "$subpkgdir"/usr/lib || return 1
ln -s libbaccats-${pkgver}.so "$subpkgdir"/usr/lib/libbaccats.so
+ ln -s libbaccats-${1}-${pkgver}.so \
+ "$subpkgdir"/usr/lib/libbaccats-${pkgver}.so
#mv "$pkgdir"/usr/lib/libbaccats-${1}.so \
# "$subpkgdir"/usr/lib/libbaccats.so || return 1
mv "$pkgdir"/etc/bacula/scripts/*_${1}_* \