pkgsrc/sysutils/bacula/Makefile.common

82 lines
2.4 KiB
Text
Raw Normal View History

# $NetBSD: Makefile.common,v 1.65 2014/10/05 16:41:08 wiz Exp $
#
# used by sysutils/bacula-clientonly/Makefile
# used by sysutils/bacula-tray-monitor/Makefile
# used by sysutils/bacula-wx-console/Makefile
# used by sysutils/bacula-qt-console/Makefile
Update bacula to 5.2.13 Important changes since last release: 19Feb13 - Fix build/configure problems with bpluginfo.c - Refactor lock_volumes so most lock a vol rather than globally - Add virtualfull-extreme test - Apply patch for chio-changer-openbsd -- Implements listall - Add bat Mac patch - Fix bug cannot run Copy/Migrate jobs from bat - Fix loading of bat translations. - Fix text input in bat. - Remove Device from show command as it is not used or updated - Fix update enabled keyword in help command - Fix update_postgresql_tables 10 to 11 - Clean after building doc binaries - Require Qt version 4.8.4 - Fix bug that OK to run? does not retry on bad response - Backport new lock calls + debug for SD - Fix bug new label ignored when first is duplicate. - Pull src/lib changes from master - Pull SD files from master - Turn off prune-test - Add logdir and bsrdir to regression config - Add bsrdir and logdir to regress-config - Changed default directories from /var/bacula to /opt/bacula - Make spool size max message more explicit - Display more info when maximum spool size is reached - Fix TERM defs for Solaris 11 in conio.c - Allow group to cd to sysconfdir - Make sysconfdir belong to Bacula user/group and exclude others - Fix Virtual Full file close bug -- race condition - Enhance mount message to include read/append - Improve vol_mgr swap messages - Enhance output of Using Device to include for read/write - Add jobid to Pmsg output - Fix bug input validation on delete of jobs. - Fix bug Authorization Errors false - Add workaround for where autoprune and reload are in deadlock - Allow conf file quoted strings to be used in a list - Make bfgets handle very long lines - Avoid seg fault by checking for NULL client -- reported by Arno - Fix bug MailOnSuccess get executed on error. - Fix missing index on Media table - Fix bug no message storage on closed database connection. - Fix bug Fix problem with MySQL with big Base jobs. - Reduce wait time in regression RunScripts - Implement a timeout on regression tests of 15 minutes - Fix .bvfs_lsfiles and .bvfs_restore to handle deleted files - Fix spooldata, accurate and ingnoreduplicate run argument - Fix messages segfault - fix about PATH_MAX on hurd - fix about MAXPATHLEN on hurd - Fix bug OpenBSD autochanger example script - Fix about MaxRunTime canceling the job too early - Fix bug Wrong values at media list in BAT - Fix race condition in close_msg that causes seg fault - Fix double unlink - More tests for freeing NULL pointers - Add MaximumConcurrentReadJobs directive to Storage resource - Add ujobid to .bvfs_get_jobids - Avoid problem when stripping a relative path - Fix about HIDDEN attribute set to parent directory during restore
2014-01-14 11:58:17 +01:00
DISTNAME= bacula-5.2.13
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bacula/}
#PATCH_SITES= ${MASTER_SITE_SOURCEFORGE:=bacula/}
#PATCHFILES=
#DIST_SUBDIR= ${DISTNAME}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://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_FILES.egdir+= src/gnome2-console/Makefile.in
SUBST_FILES.egdir+= src/wx-console/Makefile.in
SUBST_FILES.egdir+= src/tray-monitor/Makefile.in
SUBST_SED.egdir= -e 's,%%EXAMPLESDIR%%,${EXAMPLESDIR},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
.if ${OPSYS} == "Linux"
CONFIGURE_ARGS+= --enable-smartalloc
.endif
.if ${OPSYS} == "DragonFly"
CONFIGURE_ARGS+= --disable-xattr
.endif
PTHREAD_OPTS+= require
PTHREAD_AUTO_VARS= yes
EXAMPLESDIR= ${PREFIX}/share/examples/bacula
INSTALLATION_DIRS+= ${EXAMPLESDIR}
.include "../../mk/readline.buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"