pkgsrc/sysutils/bareos/options.mk
kardel d71cbbfb81 sysutils/bareos: import bareos-19.2.8
Backup Archiving REcovery Open Sourced

Bareos is a set of computer programs that permits the system administrator
to manage backup, recovery, and verfication of computer data
across a network of computers of different kinds. Bareos can
also run entirely upon a single computer and can backup to various types
of media, including tape and disk.

Bareos is a fork of Bacula 5.2 around 2010.

Features (partial list)
	LTO hardware encryption support
	bandwidth limitation
	encrypted communication
	distributed data replication across sites
	cloud storage support (not yet fully part of pkgsrc)
2020-07-28 06:36:29 +00:00

24 lines
746 B
Makefile

# $NetBSD: options.mk,v 1.1 2020/07/28 06:36:29 kardel Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.bareos
PKG_SUPPORTED_OPTIONS= scsi-crypto
PKG_OPTIONS_REQUIRED_GROUPS= database
PKG_OPTIONS_GROUP.database= catalog-sqlite3 catalog-pgsql catalog-mysql
PKG_SUGGESTED_OPTIONS= catalog-pgsql
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mcatalog-sqlite3)
. include "../../databases/sqlite3/buildlink3.mk"
CMAKE_ARGS+= -Dsqlite3=yes
.elif !empty(PKG_OPTIONS:Mcatalog-pgsql)
. include "../../mk/pgsql.buildlink3.mk"
CMAKE_ARGS+= -Dpostgresql=yes
.elif !empty(PKG_OPTIONS:Mcatalog-mysql)
. include "../../mk/mysql.buildlink3.mk"
CMAKE_ARGS+= -Dmysql=yes
.endif
.if !empty(PKG_OPTIONS:Mscsi-crypto)
CMAKE_ARGS+= -Dscsi-crypto=yes
.endif