pkgsrc/sysutils/bacula/Makefile
adam 390dc12805 Changes 3.0.2:
* Fix 1323 about a problem when mounting a requested volume during a restore.
* Add more example SD Device configurations.
* Force the client_encoding to SQL_ASCII when database is already using this
  mode.
* Fix 1335 about postgresql error message during copy session
* Cleanup old job records when starting the director (Created/Running -> Failed)
* Apply patch in bug 1315 by McMichaeli that fixes scripts/logwatch
* Add more output when spooling and no space left
* Fix postgresql driver bug that displayed <NULL> rows from time to time.
* Implement the project 'restore' menu: enter a JobId, automatically
  select dependents
* Should fix 1323 about verify accurate jobs and deleted files.
* more...
2009-08-24 08:23:41 +00:00

40 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.33 2009/08/24 08:23:41 adam Exp $
CONFLICTS+= bacula-client-[0-9]* bacula-clientonly-[0-9]*
PKG_DESTDIR_SUPPORT= destdir
.include "options.mk"
PLIST_SRC= PLIST.common
PLIST_SRC+= PLIST.server
PLIST_SUBST+= BACULA_DB=${BACULA_DB}
MESSAGE_SUBST+= PREFIX=${PREFIX}
MESSAGE_SUBST+= PKGNAME_NOREV=${PKGNAME_NOREV}
CONFIGURE_ARGS+= --with-dir-group=${BACULA_GROUP}
CONFIGURE_ARGS+= --with-dir-user=${BACULA_DIR_USER}
CONFIGURE_ARGS+= --with-sd-group=${BACULA_GROUP}
CONFIGURE_ARGS+= --with-sd-user=${BACULA_SD_USER}
OWN_DIRS_PERMS+= ${BACULA_WORKINGDIR} ${ROOT_USER} ${BACULA_GROUP} 770
PKG_USERS= ${BACULA_DIR_USER}:${BACULA_GROUP}
PKG_USERS+= ${BACULA_SD_USER}:${BACULA_GROUP}
PKG_GROUPS= ${BACULA_GROUP}
CONF_FILES+= ${EXAMPLESDIR}/bacula-fd.conf ${PKG_SYSCONFDIR}/bacula-fd.conf
CONF_FILES+= ${EXAMPLESDIR}/bconsole.conf ${PKG_SYSCONFDIR}/bconsole.conf
CONF_FILES+= ${EXAMPLESDIR}/bacula-dir.conf ${PKG_SYSCONFDIR}/bacula-dir.conf
CONF_FILES+= ${EXAMPLESDIR}/bacula-sd.conf ${PKG_SYSCONFDIR}/bacula-sd.conf
RCD_SCRIPTS= bacula bacula-dir bacula-sd bacula-fd
.include "Makefile.common"
post-install:
${INSTALL_DATA} ${WRKSRC}/scripts/dvd-handler ${DESTDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${FILESDIR}/chio-changer ${DESTDIR}${PREFIX}/libexec/bacula/
.include "../../mk/bsd.pkg.mk"