pkgsrc/sysutils/bacula/Makefile.common
adam acfcd1d701 Changes 2.4.3:
* Apply 2.4.2-cancel-non-running-jobs.patch to be able to cancel
  a non created job faster.
* Fix typo in configure.in that breaks --with-db-password option
* Remove all double quotes from SQLite creating script and
  replace by single quotes as suggested by John Huttley.
* Fix SQL case problem that may cause the failure of DiskToCatalog.
* Copy missing storage name into edit buffer. As far as I can tell
  this never caused a bug.
* Remove catalog dependency for bcopy
* Modify catalog scripts to have an easier packaging integration,
  using default variables.
  Make difference between SQLite3 and SQLite in db_get_type()
  job when reading from one autochanger and writing to another.
* Add more information to SD acquire.c INFO messages.
* Fix NULL Volume name error when reading and the drive must
  be switched.
* Fix a Verify InitCatalog problem where in certain cases
  a garbage filename may be entered in the verification database.
* Add space after version before date in bat about dialog.
* Fix seg fault in Dir during estimate command with no level value given.
* Add message to migration job when the target job is already migrated.
2008-11-21 14:09:30 +00:00

74 lines
2.1 KiB
Makefile

# $NetBSD: Makefile.common,v 1.46 2008/11/21 14:09:30 adam Exp $
DISTNAME= bacula-2.4.3
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bacula/}
PATCH_SITES= ${MASTER_SITE_SOURCEFORGE:=bacula/}
PATCHFILES= 2.4.3-orphaned-jobs.patch \
2.4.3-cancel-after-network-outage.patch \
2.4.3-update-slots.patch
DIST_SUBDIR= ${DISTNAME}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.bacula.org/
COMMENT?= The Network Backup Solution
USE_LANGUAGES= c c++
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/zlib/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"