aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2022-01-05 09:25:55 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2022-01-05 09:27:45 +0000
commit2818e07a7ae6be927c81969e7bd96dbd5f26913d (patch)
tree8c9c464298d9f9702fc6f9d1fe4d0b3427062a60
parenta270607efb874e66657f72fa93203c050a3b0125 (diff)
main/bacula: re-enable
Now it builds on x86_64 at least
-rw-r--r--main/bacula/APKBUILD24
1 files changed, 1 insertions, 23 deletions
diff --git a/main/bacula/APKBUILD b/main/bacula/APKBUILD
index 0bb20c11ac7..91a391c1b81 100644
--- a/main/bacula/APKBUILD
+++ b/main/bacula/APKBUILD
@@ -5,7 +5,7 @@ pkgver=9.6.7
pkgrel=2
pkgdesc="Enterprise ready, network based backup program"
url="https://www.bacula.org"
-#arch="all"
+arch="all"
license="AGPL-3.0-or-later WITH OpenSSL-Exception"
makedepends="autoconf automake libtool mariadb-connector-c-dev ncurses-dev openssl1.1-compat-dev libpq-dev
sqlite-dev zlib-dev lzo-dev acl-dev"
@@ -23,22 +23,10 @@ source="https://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkg
bacula-7.4.0-path-mounted.patch
"
options="!check" #no test suite provided
-builddir="$srcdir/$pkgname-$pkgver"
_bworkdir="/var/lib/$pkgname"
-prepare () {
- default_prepare
-
- cd "$builddir"/autoconf
- autoconf
- autoreconf -fi
- cp configure ../
-}
-
build() {
- cd "$builddir"
-
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -73,8 +61,6 @@ build() {
}
package() {
- cd "$builddir"
-
make DESTDIR="$pkgdir" install
local daemon; for daemon in dir sd fd; do
@@ -134,16 +120,8 @@ mysql() {
pgsql() {
pkgdesc="Bacula PGSQL backend"
depends="$pkgname"
- pkgusers="postgres"
_mv_backend postgresql
-
- local file
- for file in create_postgresql_database make_postgresql_tables \
- grant_postgresql_privileges
- do
- chown postgres "$subpkgdir"/etc/$pkgname/scripts/$file
- done
}
sqlite() {