39d004ad15
* Bug fixes. * Check for job_canceled() in fd_plugin code. * Update Win32 table creation to have new DB version 11 format * Remove illegal Options in Exclude of default Win32/64 bacula-dir.conf * Remove "Reposition" message when restoring * Update projects file * Modify insertion of read Volumes in SD to be done before the drive reservation. This ensures that a Volume to be read will not be reserved for writing. Significant enhancement. Changes 3.0.0: * Fix Win32 make clean to clean correctly * Separate object/binaries in Win32 and Win64 builds. More to be done. * Add bconsole to Win64 installer. * Enhance Job messages from SD when the FD->SD protocol is incorrect and the SD hangs up. Previously this looked like a comm error. * Fixed problem in xattr and acl code trying to send empty acl or xattr streams. * Fix for bug #1261 where we send out a null stream when a file only an acl and xattr support is also turned on. * Added some warnings to configure when using libtool and static in one configure. * Fix small memory leak in fileregexp bsr code * Correct bacula32.def entry point as specified by James. * Add code to FD plugin driver to make a copy of the plugin filename to be saved to avoid save_file from zaping it. * Directly mark all files saved by plugin as being seen for Accurate. * more...
79 lines
2.3 KiB
Text
79 lines
2.3 KiB
Text
# $NetBSD: Makefile.common,v 1.50 2009/05/15 10:29:05 adam Exp $
|
|
#
|
|
# used by sysutils/bacula-clientonly/Makefile
|
|
# used by sysutils/bacula-gnome-console/Makefile
|
|
# used by sysutils/bacula-tray-monitor/Makefile
|
|
# used by sysutils/bacula-wx-console/Makefile
|
|
|
|
DISTNAME= bacula-3.0.1
|
|
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
|
|
|
|
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= post-patch
|
|
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=${PREFIX}/include/readline
|
|
|
|
.if ${OPSYS} == "Linux"
|
|
CONFIGURE_ARGS+= --enable-smartalloc
|
|
.endif
|
|
|
|
PTHREAD_OPTS+= require
|
|
PTHREAD_AUTO_VARS= yes
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/bacula
|
|
|
|
pre-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${EXAMPLESDIR}
|
|
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|