- remove USERGROUP_PHASE=pre-install. Makes binary packages usable on
systems other than the build host. - don't install dvd-handler -- DVD support is disabled since version 5. - install query.sql in client-only package too.
This commit is contained in:
parent
21d330423f
commit
234d0d22c3
4 changed files with 8 additions and 11 deletions
|
@ -1,9 +1,9 @@
|
|||
# $NetBSD: Makefile,v 1.21 2013/02/06 23:23:47 jperkin Exp $
|
||||
# $NetBSD: Makefile,v 1.22 2013/04/25 20:41:33 shattered Exp $
|
||||
|
||||
PKGNAME= ${DISTNAME:S/-/-clientonly-/}
|
||||
COMMENT= The Network Backup Solution (client only)
|
||||
|
||||
PKGREVISION= 1
|
||||
PKGREVISION= 2
|
||||
|
||||
CONFLICTS= bacula-[0-9]* bacula-client-[0-9]*
|
||||
|
||||
|
@ -27,7 +27,7 @@ RCD_SCRIPTS= bacula-fd
|
|||
.include "../../sysutils/bacula/Makefile.common"
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/scripts/dvd-handler ${DESTDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/src/dird/query.sql ${DESTDIR}${PREFIX}/libexec/bacula/query.sql
|
||||
|
||||
.include "options.mk"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# $NetBSD: Makefile,v 1.46 2013/03/02 20:33:33 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.47 2013/04/25 20:41:33 shattered Exp $
|
||||
|
||||
PKGREVISION= 4
|
||||
PKGREVISION= 5
|
||||
|
||||
CONFLICTS+= bacula-client-[0-9]* bacula-clientonly-[0-9]*
|
||||
|
||||
|
@ -28,7 +28,6 @@ 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}
|
||||
USERGROUP_PHASE= pre-install
|
||||
|
||||
CONF_FILES+= ${EXAMPLESDIR}/bacula-fd.conf ${PKG_SYSCONFDIR}/bacula-fd.conf
|
||||
CONF_FILES+= ${EXAMPLESDIR}/bconsole.conf ${PKG_SYSCONFDIR}/bconsole.conf
|
||||
|
@ -42,7 +41,6 @@ REPLACE_PERL+= src/cats/make_catalog_backup.pl.in
|
|||
.include "Makefile.common"
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/scripts/dvd-handler ${DESTDIR}${EXAMPLESDIR}
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/chio-changer \
|
||||
${DESTDIR}${PREFIX}/libexec/bacula/
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@comment $NetBSD: PLIST.common,v 1.15 2012/10/25 21:45:27 christos Exp $
|
||||
@comment $NetBSD: PLIST.common,v 1.16 2013/04/25 20:41:33 shattered Exp $
|
||||
lib/bpipe-fd.la
|
||||
lib/libbac.la
|
||||
lib/libbaccfg.la
|
||||
|
@ -16,6 +16,7 @@ libexec/bacula/btraceback.mdb
|
|||
libexec/bacula/disk-changer
|
||||
libexec/bacula/mtx-changer
|
||||
libexec/bacula/mtx-changer.conf
|
||||
libexec/bacula/query.sql
|
||||
man/man1/bacula-bwxconsole.1
|
||||
man/man1/bacula-tray-monitor.1
|
||||
man/man1/bat.1
|
||||
|
@ -49,5 +50,4 @@ share/doc/bacula/VERIFYING
|
|||
share/doc/bacula/technotes
|
||||
share/examples/bacula/bacula-fd.conf
|
||||
share/examples/bacula/bconsole.conf
|
||||
share/examples/bacula/dvd-handler
|
||||
share/examples/rc.d/bacula-fd
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@comment $NetBSD: PLIST.server,v 1.10 2013/01/04 23:25:49 dholland Exp $
|
||||
@comment $NetBSD: PLIST.server,v 1.11 2013/04/25 20:41:33 shattered Exp $
|
||||
lib/libbaccats.la
|
||||
lib/libbaccats-${BACULA_DB}.la
|
||||
lib/libbacsql.la
|
||||
|
@ -16,7 +16,6 @@ libexec/bacula/make_${BACULA_DB}_tables
|
|||
libexec/bacula/make_bacula_tables
|
||||
libexec/bacula/make_catalog_backup
|
||||
libexec/bacula/make_catalog_backup.pl
|
||||
libexec/bacula/query.sql
|
||||
libexec/bacula/update_${BACULA_DB}_tables
|
||||
libexec/bacula/update_bacula_tables
|
||||
sbin/bacula-dir
|
||||
|
|
Loading…
Reference in a new issue