diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-11-06 14:35:03 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2012-11-06 14:35:19 +0000 |
commit | 290a7aa3b0da4cb480b9f094efe4da2b13cd359d (patch) | |
tree | 1e9148bf5d8f7da29e450fc7131e30b07c01cbcc /main/bacula/APKBUILD | |
parent | 2c17ee9aea2a01012b65dc322138dbc522523c2a (diff) | |
download | aports-290a7aa3b0da4cb480b9f094efe4da2b13cd359d.tar.bz2 aports-290a7aa3b0da4cb480b9f094efe4da2b13cd359d.tar.xz |
main/bacula: fix backend libraries
Diffstat (limited to 'main/bacula/APKBUILD')
-rw-r--r-- | main/bacula/APKBUILD | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/main/bacula/APKBUILD b/main/bacula/APKBUILD index 321de9dbf2..a892474aa6 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=0 +pkgrel=1 pkgdesc="Enterprise ready, network based backup program" url="http://www.bacula.org" arch="all" @@ -107,18 +107,15 @@ package() { chown bacula.bacula "$pkgdir"$dir || return 1 done find "$pkgdir" -iname *.la -delete - # Backend is dinamically linked when subpackage is installed - #rm "$pkgdir"/usr/lib/libbaccats.so - #rm "$pkgdir"/usr/lib/libbaccats-5.2.1.so } _mv_backend() { mkdir -p "$subpkgdir"/usr/lib mkdir -p "$subpkgdir"/etc/bacula/scripts mv "$pkgdir"/usr/lib/libbaccats-${1}-${pkgver}.so \ - "$subpkgdir"/usr/lib || return 1 + "$subpkgdir"/usr/lib/libbaccats-${pkgver}.so || return 1 mv "$pkgdir"/usr/lib/libbaccats-${1}.so \ - "$subpkgdir"/usr/lib || return 1 + "$subpkgdir"/usr/lib/libbaccats.so || return 1 mv "$pkgdir"/etc/bacula/scripts/*_${1}_* \ "$subpkgdir"/etc/bacula/scripts || return 1 } @@ -126,14 +123,12 @@ _mv_backend() { mysql() { pkgdesc="Bacula MySQL backend" depends="bacula" - install="$pkgname.post-install" _mv_backend mysql } pgsql() { pkgdesc="Bacula PGSQL backend" depends="bacula" - install="$pkgname.post-install" pkgusers="postgres" _mv_backend postgresql for file in create_postgresql_database make_postgresql_tables \ @@ -146,7 +141,6 @@ pgsql() { sqlite() { pkgdesc="Bacula SQLite backend" depends="bacula" - install="$pkgname.post-install" _mv_backend sqlite3 } |