pkgsrc/sysutils/bacula/Makefile.common
jnemeth e99f5e403f bacula: update to 9.6.7
====== ReleaseNotes =====
03Dec20
 - Restore custom permission of symlink on FreeBSD and MacOS
 - Fix #2582 bextract is broken for sparse gzip and compressed streams
 - Fix org#2567 device capabilities overwritten
 - baculum: Update script version
 - Fix org#2573 About Syntax error in granting privileges script with
MySQL if --with-db-password parameter is used
 - Fix org#2471 About deleted files are listed as being present in an
accurate backup by various sample queries
 - Fix org#2571 About errors in es_AR.po file
 - Fix org#2568 About compilation issue on gcc10
 - Fix org#2584 About inconsitancies in the make_mysql_tables script
 - baculum: Fix English text noticed by Peter McDonald
 - baculum: Update Russian translations
 - baculum: Update Portuguese translations
 - baculum: Implement graphical status storage
 - baculum: Add gauge.js library
 - baculum: Add json output option to show storages and show single storage
  endpoints
 - baculum: Add path field to restore wizard to narrow down search file
results to specific path - idea proposed by Wanderlei Huttel
 - baculum: Add path parameter to job files API endpoint
 - baculum: Fix #2565 status icon overlaps action buttons in API wizard
 - baculum: Add Sergey Zhidkov to AUTHORS
 - baculum: Add Russian translations
 - baculum: Fix access to job resources if no job assigned to user
 - baculum: Update Portuguese translations
 - baculum: Ajax queue improvement in framework
 - baculum: Fix renaming config resources
 - baculum: Add graphs to job view page
 - baculum: Fix using offset in job file list query with MySQL catalog
database
 - baculum: Show more detailed job file list - idea proposed by
Wanderlei Huttel
 - baculum: Rework job file list API endpoint
 - baculum: Add searching jobs by filename in restore wizard - idea
proposed by Wanderlei Huttel
 - baculum: Add job files API endpoint
 - Add code to retry a MySQL query after a deadlock
 - baculum: Update Portuguese translations
 - baculum: Add default days and limit values to status schedules API
endpoint
 - baculum: Fix displaying multitextbox and multicombobox directive controls
 - baculum: Fix date filter on status schedule page
 - baculum: Fix #2570 fileset excludes settings with PHP 7.4
 - baculum: Rework job file list API endpoint
 - baculum: Add searching jobs by filename in restore wizard - idea
proposed by Wanderlei Huttel
 - baculum: Add job files API endpoint
 - Add code to retry a MySQL query after a deadlock
 - baculum: Update Portuguese translations
 - baculum: Add default days and limit values to status schedules API
endpoint
 - baculum: Fix displaying multitextbox and multicombobox directive controls
 - baculum: Fix date filter on status schedule page
 - baculum: Fix #2570 fileset excludes settings with PHP 7.4
 - baculum: New features and improvements to multi-user interface and
restricted access
2020-12-12 23:51:19 +00:00

83 lines
2.5 KiB
Text

# $NetBSD: Makefile.common,v 1.74 2020/12/12 23:51:19 jnemeth Exp $
#
# used by sysutils/bacula-clientonly/Makefile
# used by sysutils/bacula-tray-monitor/Makefile
# used by sysutils/bacula-tray-monitor-qt5/Makefile
# used by sysutils/bacula-qt-console/Makefile
# used by sysutils/bacula-qt5-console/Makefile
DISTNAME= bacula-9.6.7
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bacula/}
#PATCH_SITES= ${MASTER_SITE_SOURCEFORGE:=bacula/}
#PATCHFILES=
#DIST_SUBDIR= ${DISTNAME}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.bacula.org/
COMMENT?= The Network Backup Solution
LICENSE= gnu-agpl-v3
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= msgfmt
GNU_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
BACULA_GROUP?= bacula
BACULA_DIR_USER?= bacula-dir
BACULA_SD_USER?= bacula-sd
PKG_GROUPS_VARS+= BACULA_GROUP
PKG_USERS_VARS= BACULA_DIR_USER BACULA_SD_USER
PKG_SYSCONFSUBDIR?= bacula
BACULA_PIDDIR?= ${VARBASE}/run
BACULA_WORKINGDIR?= ${VARBASE}/spool/bacula
BUILD_DEFS+= VARBASE BACULA_PIDDIR BACULA_WORKINGDIR
FILES_SUBST+= BACULA_ETCDIR=${PKG_SYSCONFDIR}
FILES_SUBST+= BACULA_PIDDIR=${BACULA_PIDDIR}
FILES_SUBST+= BACULA_GROUP=${BACULA_GROUP}
FILES_SUBST+= BACULA_DIR_USER=${BACULA_DIR_USER}
FILES_SUBST+= BACULA_SD_USER=${BACULA_SD_USER}
SUBST_CLASSES+= egdir
SUBST_STAGE.egdir= pre-configure
SUBST_FILES.egdir= src/dird/Makefile.in
SUBST_FILES.egdir+= src/console/Makefile.in
SUBST_FILES.egdir+= src/filed/Makefile.in
SUBST_FILES.egdir+= src/stored/Makefile.in
SUBST_SED.egdir= -e 's,%%EXAMPLESDIR%%,${EXAMPLESDIR},g'
SUBST_CLASSES+= fixwrap
SUBST_STAGE.fixwrap= post-build
SUBST_FILES.fixwrap= scripts/bacula_config
SUBST_SED.fixwrap= -e "s,${WRAPPER_BINDIR}/[^[:space:]]*,${CXXPATH},g"
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+= --with-scriptdir=${PREFIX}/libexec/bacula
CONFIGURE_ARGS+= --with-sbin-perm=0755
CONFIGURE_ARGS+= --with-working-dir=${BACULA_WORKINGDIR}
CONFIGURE_ARGS+= --with-pid-dir=${BACULA_PIDDIR}
CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.editlinereadline}/include/readline
CONFIGURE_ARGS+= --disable-docker-plugin
CONFIGURE_ARGS.Linux+= --enable-smartalloc
CONFIGURE_ARGS.DragonFly+= --disable-xattr
PTHREAD_OPTS+= require
PTHREAD_AUTO_VARS= yes
EXAMPLESDIR= ${PREFIX}/share/examples/bacula
INSTALLATION_DIRS+= ${EXAMPLESDIR}
.include "../../mk/readline.buildlink3.mk"
.include "../../archivers/lzo/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"