Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
Bacula is a set of computer programs that permit you (or the system
administrator) to manage backup, recovery, and verification of computer data
across a network of computers of different kinds. In technical terms, it is
a network client/server based backup program. Bacula is relatively easy to
use and efficient, while offering many advanced storage management features
that make it easy to find and recover lost or damaged files. Bacula source
code has been released under the GPL version 2 license.
This package provides a client-only setup (the bacula file daemon and
console). For a complete setup (including the bacula director and storage
daemon) you should install the bacula package.

View File

@@ -0,0 +1,34 @@
# $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= 2
CONFLICTS= bacula-[0-9]* bacula-client-[0-9]*
DISTINFO_FILE= ${.CURDIR}/../../sysutils/bacula/distinfo
PATCHDIR= ${.CURDIR}/../../sysutils/bacula/patches
FILESDIR= ${.CURDIR}/../../sysutils/bacula/files
PLIST_SRC= ${.CURDIR}/../../sysutils/bacula/PLIST.common
CONFIGURE_ARGS+= --enable-client-only
OWN_DIRS_PERMS+= ${BACULA_WORKINGDIR} root ${BACULA_GROUP} 770
PKG_GROUPS= ${BACULA_GROUP}
CONF_FILES+= ${EXAMPLESDIR}/bacula-fd.conf ${PKG_SYSCONFDIR}/bacula-fd.conf
CONF_FILES+= ${EXAMPLESDIR}/bconsole.conf ${PKG_SYSCONFDIR}/bconsole.conf
RCD_SCRIPTS= bacula-fd
.include "../../sysutils/bacula/Makefile.common"
post-install:
${INSTALL_DATA} ${WRKSRC}/src/dird/query.sql ${DESTDIR}${PREFIX}/libexec/bacula/query.sql
.include "options.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,26 @@
# $NetBSD: options.mk,v 1.8 2012/09/08 12:36:57 shattered Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.bacula-clientonly
# bacula-static is broken -- see PR 42954
PKG_SUPPORTED_OPTIONS= ssl
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mbacula-static)
CONFIGURE_ARGS+= --enable-static-cons
CONFIGURE_ARGS+= --enable-static-dir
CONFIGURE_ARGS+= --enable-static-fd
CONFIGURE_ARGS+= --enable-static-sd
CONFIGURE_ARGS+= --enable-static-tools
CONFIGURE_ARGS+= --disable-libtool
PLIST_SUBST+= STATIC=
.else
PLIST_SUBST+= STATIC="@comment "
.endif
.if !empty(PKG_OPTIONS:Mssl)
. include "../../security/openssl/buildlink3.mk"
CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
.else
CONFIGURE_ARGS+= --without-openssl
.endif