Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/bareos-clientonly sysutils/bareos-clientonly:...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/37a0c4c21573
branches:  trunk
changeset: 436162:37a0c4c21573
user:      kardel <kardel%pkgsrc.org@localhost>
date:      Tue Jul 28 06:37:25 2020 +0000

description:
sysutils/bareos-clientonly: import bareos-clientonly-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)

This the just the file daemon client installation part.

diffstat:

 sysutils/bareos-clientonly/DESCR              |  18 +++++++++
 sysutils/bareos-clientonly/Makefile           |  37 ++++++++++++++++++++
 sysutils/bareos-clientonly/PLIST.client       |  49 +++++++++++++++++++++++++++
 sysutils/bareos-clientonly/files/bareos-fd.sh |  23 ++++++++++++
 4 files changed, 127 insertions(+), 0 deletions(-)

diffs (143 lines):

diff -r 324a13531a89 -r 37a0c4c21573 sysutils/bareos-clientonly/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bareos-clientonly/DESCR  Tue Jul 28 06:37:25 2020 +0000
@@ -0,0 +1,18 @@
+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)
+
+This the just the file daemon client installation part.
diff -r 324a13531a89 -r 37a0c4c21573 sysutils/bareos-clientonly/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bareos-clientonly/Makefile       Tue Jul 28 06:37:25 2020 +0000
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1 2020/07/28 06:37:25 kardel Exp $
+
+PKGNAME=               ${DISTNAME:S/-/-clientonly-/}
+
+COMMENT=               Backup Archiving REcovery Open Sourced - client
+
+CONFLICTS=             bareos-[0-9]* bacula-[0-9]* bacula-clientonly-[0-9]*
+
+PATCHDIR=              ${.CURDIR}/../../sysutils/bareos/patches
+FILESDIR=              ${.CURDIR}/../../sysutils/bareos/files
+DISTINFO_FILE=         ${.CURDIR}/../../sysutils/bareos/distinfo
+
+PLIST_SRC=             PLIST.client
+
+CMAKE_ARGS?=
+CMAKE_ARGS+=           -Dclient-only=true
+
+RCD_SCRIPTS=           bareos-fd
+
+.include "../../sysutils/bareos/Makefile.common"
+
+# needs to be here to get ${EGREP} defined
+.include "../../mk/bsd.pkg.mk"
+
+CONFIG_TEMPLATES!=     ${EGREP} "^"${CONFIG_TEMPLATE_PATH:Q} PLIST.client 2>/dev/null | sed -e 's/ /\\ /g'
+CONF_FILES?=
+
+.for l in ${CONFIG_TEMPLATES}
+CONF_FILES+=   ${l} ${PKG_SYSCONFDIR}${l:S/^${CONFIG_TEMPLATE_PATH}//}
+.endfor
+
+BUILD_DEFS+=   VARBASE # to keep pkglint happy
+
+MAKE_DIRS?=
+MAKE_DIRS+=    ${CONFIG_TEMPLATES:H:O:u:S/^${CONFIG_TEMPLATE_PATH}/${PKG_SYSCONFDIR}/}
+MAKE_DIRS+=    ${VARBASE}/db/${PKG_SYSCONFSUBDIR}
+MAKE_DIRS+=    ${VARBASE}/db/${PKG_SYSCONFSUBDIR}/working
diff -r 324a13531a89 -r 37a0c4c21573 sysutils/bareos-clientonly/PLIST.client
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bareos-clientonly/PLIST.client   Tue Jul 28 06:37:25 2020 +0000
@@ -0,0 +1,49 @@
+@comment $NetBSD: PLIST.client,v 1.1 2020/07/28 06:37:25 kardel Exp $
+bin/bconsole
+lib/bareos/plugins/BareosFdPluginBaseclass.py
+lib/bareos/plugins/BareosFdPluginLDAP.py
+lib/bareos/plugins/BareosFdPluginLocalFileset.py
+lib/bareos/plugins/BareosFdPluginOvirt.py
+lib/bareos/plugins/BareosFdPluginPerconaXtraBackup.py
+lib/bareos/plugins/BareosFdWrapper.py
+lib/bareos/plugins/bareos-fd-ldap.py
+lib/bareos/plugins/bareos-fd-local-fileset.py
+lib/bareos/plugins/bareos-fd-mock-test.py
+lib/bareos/plugins/bareos-fd-ovirt.py
+lib/bareos/plugins/bareos-fd-percona-xtrabackup.py
+lib/bareos/plugins/bareos-fd.py.template
+lib/bareos/plugins/bareos_fd_consts.py
+lib/bareos/plugins/bpipe-fd.so
+lib/bareos/plugins/python-fd.so
+lib/bareos/scripts/bareos
+lib/bareos/scripts/bareos-config
+lib/bareos/scripts/bareos-config-lib.sh
+lib/bareos/scripts/bareos-ctl-fd
+lib/bareos/scripts/bareos-ctl-funcs
+lib/bareos/scripts/btraceback.dbx
+lib/bareos/scripts/btraceback.gdb
+lib/bareos/scripts/btraceback.mdb
+lib/libbareos.so
+lib/libbareos.so.19
+lib/libbareos.so.${PKGVERSION}
+lib/libbareosfastlz.so
+lib/libbareosfastlz.so.19
+lib/libbareosfastlz.so.${PKGVERSION}
+lib/libbareosfind.so
+lib/libbareosfind.so.19
+lib/libbareosfind.so.${PKGVERSION}
+lib/libbareoslmdb.so
+lib/libbareoslmdb.so.19
+lib/libbareoslmdb.so.${PKGVERSION}
+man/man1/bconsole.1
+man/man8/bareos-fd.8
+man/man8/bareos.8
+sbin/bareos
+sbin/bareos-fd
+sbin/bconsole
+sbin/btraceback
+share/examples/bareos/configtemplates/bareos-fd.d/client/myself.conf
+share/examples/bareos/configtemplates/bareos-fd.d/director/bareos-dir.conf
+share/examples/bareos/configtemplates/bareos-fd.d/director/bareos-mon.conf
+share/examples/bareos/configtemplates/bareos-fd.d/messages/Standard.conf
+share/examples/bareos/configtemplates/bconsole.conf
diff -r 324a13531a89 -r 37a0c4c21573 sysutils/bareos-clientonly/files/bareos-fd.sh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bareos-clientonly/files/bareos-fd.sh     Tue Jul 28 06:37:25 2020 +0000
@@ -0,0 +1,23 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# PROVIDE: bareos-fd
+# REQUIRE: DAEMON
+
+if [ -f /etc/rc.subr ]; then
+       . /etc/rc.subr
+fi
+
+name="bareosfd"
+rcvar=$name
+command="@PREFIX@/sbin/bareos-fd"
+required_dirs="@BAREOS_ETCDIR@/bareos-fd.d"
+pidfile="@BAREOS_PIDDIR@/bareos-fd.9102.pid"
+command_args="-g @BAREOS_GROUP@"
+
+if [ -f /etc/rc.subr ]; then
+       load_rc_config $name
+       run_rc_command "$1"
+else
+       echo -n " ${name}"
+       ${command} ${bareosfd_flags} -c ${required_files}
+fi



Home | Main Index | Thread Index | Old Index