Commit e370ec7d authored by Leonardo Arena's avatar Leonardo Arena

main/bacula-client: use random generated passwd, automake in mdepends, minor cosmetic fixes.

(cherry picked from commit fb7df658)
parent 6946709c
......@@ -3,34 +3,33 @@
pkgname="bacula-client"
_realname="bacula"
pkgver=5.0.3
pkgrel=3
pkgrel=4
pkgdesc="Client (File Daemon) of Bacula, a network based backup program"
url="http://www.bacula.org"
license="GPL2"
depends=""
makedepends="autoconf libstdc++ openssl-dev ncurses-dev zlib-dev"
makedepends="autoconf automake libstdc++ openssl-dev ncurses-dev zlib-dev"
install="$pkgname.pre-install $pkgname.post-install"
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/project/$_realname/$_realname/$pkgver/$_realname-$pkgver.tar.gz
bacula-fd-init
bacula-fd-conf
configure.in.patch
os.m4.patch"
bacula-fd-init
bacula-fd-conf
configure.in.patch
os.m4.patch"
_builddir="$srcdir/$_realname-$pkgver"
prepare () {
cd "$srcdir/$_realname-$pkgver"
cd "$_builddir"
patch -p1 < ../../configure.in.patch
patch -p1 < ../../os.m4.patch
}
build() {
cd "$srcdir/$_realname-$pkgver"
cd "$_builddir"
export LDFLAGS=
# Need to run configure at least once
# in order to do not go into an infinite loop
./configure
make configure
make distclean
aclocal && autoconf && automake
./configure --prefix=/usr \
--sysconfdir=/etc/bacula \
......@@ -48,13 +47,12 @@ build() {
--with-scriptdir=/etc/bacula/scripts \
--with-working-dir=/var/bacula \
--with-fd-user=root \
--with-fd-group=root \
--with-fd-password=ca4pheexie1aeC1hee3i
--with-fd-group=root
make || return 1
}
package() {
cd "$srcdir/$_realname-$pkgver"
cd "$_builddir"
make DESTDIR="$pkgdir" install
install -Dm755 $srcdir/bacula-fd-init \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment