@comment PKG_FORMAT_REVISION:1.1
@name bacula-client-static-5.2.12_3
@comment ORIGIN:sysutils/bacula-client-static
@cwd /usr/local
@pkgdep lzo2-2.06
@comment DEPORIGIN:archivers/lzo2
@exec echo "===> Creating users and/or groups."
@exec if ! /usr/sbin/pw groupshow bacula >/dev/null 2>&1; then  echo "Creating group 'bacula' with gid '910'.";  /usr/sbin/pw groupadd bacula -g 910; else echo "Using existing group 'bacula'."; fi
@exec if ! /usr/sbin/pw usershow bacula >/dev/null 2>&1; then  echo "Creating user 'bacula' with uid '910'.";  /usr/sbin/pw useradd bacula -u 910 -g 910  -c "Bacula Daemon" -d /var/db/bacula -s /usr/sbin/nologin;  else echo "Using existing user 'bacula'."; fi
@exec install -d -g 910 -o 910 /var/db/bacula
sbin/bacula-fd-static
@comment MD5:f7a8623b061131f28479d3d146127a25
sbin/bconsole-static
@comment MD5:418ba1aa34616a536b61cebda4ff537d
@exec /sbin/ldconfig -m /usr/local/lib
@unexec /sbin/ldconfig -R
@comment OPTIONS:+NLS +OPENSSL
@unexec if /usr/sbin/pw usershow bacula >/dev/null 2>&1; then  echo "==> You should manually remove the \"bacula\" user. "; fi
@comment Build details:  ||||
