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 | |
parent | 2c17ee9aea2a01012b65dc322138dbc522523c2a (diff) | |
download | aports-290a7aa3b0da4cb480b9f094efe4da2b13cd359d.tar.bz2 aports-290a7aa3b0da4cb480b9f094efe4da2b13cd359d.tar.xz |
main/bacula: fix backend libraries
Diffstat (limited to 'main/bacula')
-rw-r--r-- | main/bacula/APKBUILD | 12 | ||||
-rw-r--r-- | main/bacula/bacula-mysql.post-install | 2 | ||||
-rw-r--r-- | main/bacula/bacula-pgsql.post-install | 2 | ||||
-rw-r--r-- | main/bacula/bacula-sqlite.post-install | 2 |
4 files changed, 3 insertions, 15 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 } diff --git a/main/bacula/bacula-mysql.post-install b/main/bacula/bacula-mysql.post-install deleted file mode 100644 index 8d78bad570..0000000000 --- a/main/bacula/bacula-mysql.post-install +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -cp /usr/lib/libbaccats-mysql.so /usr/lib/libbaccats-5.2.1.so diff --git a/main/bacula/bacula-pgsql.post-install b/main/bacula/bacula-pgsql.post-install deleted file mode 100644 index c1c8cf15fb..0000000000 --- a/main/bacula/bacula-pgsql.post-install +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -cp /usr/lib/libbaccats-postgresql.so /usr/lib/libbaccats-5.2.1.so diff --git a/main/bacula/bacula-sqlite.post-install b/main/bacula/bacula-sqlite.post-install deleted file mode 100644 index 9487d4e470..0000000000 --- a/main/bacula/bacula-sqlite.post-install +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -cp /usr/lib/libbaccats-sqlite3.so /usr/lib/libbaccats-5.2.1.so |