pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/bareos-clientonly



Module Name:    pkgsrc
Committed By:   kardel
Date:           Tue Jul 28 06:37:25 UTC 2020

Added Files:
        pkgsrc/sysutils/bareos-clientonly: DESCR Makefile PLIST.client
        pkgsrc/sysutils/bareos-clientonly/files: bareos-fd.sh

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/bareos-clientonly/DESCR \
    pkgsrc/sysutils/bareos-clientonly/Makefile \
    pkgsrc/sysutils/bareos-clientonly/PLIST.client
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/bareos-clientonly/files/bareos-fd.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/sysutils/bareos-clientonly/DESCR
diff -u /dev/null pkgsrc/sysutils/bareos-clientonly/DESCR:1.1
--- /dev/null   Tue Jul 28 06:37:25 2020
+++ pkgsrc/sysutils/bareos-clientonly/DESCR     Tue Jul 28 06:37:25 2020
@@ -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.
Index: pkgsrc/sysutils/bareos-clientonly/Makefile
diff -u /dev/null pkgsrc/sysutils/bareos-clientonly/Makefile:1.1
--- /dev/null   Tue Jul 28 06:37:25 2020
+++ pkgsrc/sysutils/bareos-clientonly/Makefile  Tue Jul 28 06:37:25 2020
@@ -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
Index: pkgsrc/sysutils/bareos-clientonly/PLIST.client
diff -u /dev/null pkgsrc/sysutils/bareos-clientonly/PLIST.client:1.1
--- /dev/null   Tue Jul 28 06:37:25 2020
+++ pkgsrc/sysutils/bareos-clientonly/PLIST.client      Tue Jul 28 06:37:25 2020
@@ -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

Index: pkgsrc/sysutils/bareos-clientonly/files/bareos-fd.sh
diff -u /dev/null pkgsrc/sysutils/bareos-clientonly/files/bareos-fd.sh:1.1
--- /dev/null   Tue Jul 28 06:37:25 2020
+++ pkgsrc/sysutils/bareos-clientonly/files/bareos-fd.sh        Tue Jul 28 06:37:25 2020
@@ -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