diff --git a/MOVED b/MOVED index 9cae14ccc136c..939a836b51f81 100644 --- a/MOVED +++ b/MOVED @@ -7907,3 +7907,7 @@ security/fwbuilder||2023-09-30|Has expired: Abandonware since Jan 2021 sysutils/istatserver||2023-09-30|Has expired: Upstream last activity was in 2018 sysutils/logstash-forwarder||2023-09-30|Has expired: Migrate to sysutils/beats8 textproc/libextractor||2023-09-30|Has expired: does not compile with exiv2 0.28, and no ports tree users +www/bareos19-webui|www/bareos20-webui|2023-09-30|Has expired: Upstream EOL reached +sysutils/bareos19-traymonitor|sysutils/bareos20-traymonitor|2023-09-30|Has expired: Upstream EOL reached +sysutils/bareos19-client|sysutils/bareos20-client|2023-09-30|Has expired: Upstream EOL reached +sysutils/bareos19-server|sysutils/bareos20-server|2023-09-30|Has expired: Upstream EOL reached diff --git a/sysutils/Makefile b/sysutils/Makefile index 587dd0f6009da..c14923b1a4d67 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -106,9 +106,6 @@ SUBDIR += bareos-client SUBDIR += bareos-server SUBDIR += bareos-traymonitor - SUBDIR += bareos19-client - SUBDIR += bareos19-server - SUBDIR += bareos19-traymonitor SUBDIR += bareos20-client SUBDIR += bareos20-server SUBDIR += bareos20-traymonitor diff --git a/sysutils/bareos19-client/Makefile b/sysutils/bareos19-client/Makefile deleted file mode 100644 index c427cd66771de..0000000000000 --- a/sysutils/bareos19-client/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -PORTNAME= bareos -PKGNAMESUFFIX= 19-client - -COMMENT= Backup archiving recovery open sourced (client) - -CONFLICTS= bareos18-client bareos17-client bareos-client - -WITH_CLIENT_ONLY=yes -USE_RC_SUBR= bareos-fd - -PLIST= ${PKGDIR}/pkg-plist.client -MASTERDIR= ${.CURDIR}/../../sysutils/bareos19-server - -OPTIONS_GROUP= PLUGINS -OPTIONS_GROUP_PLUGINS= CEPHFS GFAPI RADOS -OPTIONS_DEFINE= NLS PYTHON LMDB SCSICRYPTO - -CEPHFS_DESC= CEPHFS fd plugin support -GFAPI_DESC= GFAPI fd plugin support -RADOS_DESC= RADOS fd plugin support -LMDB_DESC= Enable build of LMDB support - -.include "${MASTERDIR}/Makefile" diff --git a/sysutils/bareos19-server/Makefile b/sysutils/bareos19-server/Makefile deleted file mode 100644 index f9dacbc935514..0000000000000 --- a/sysutils/bareos19-server/Makefile +++ /dev/null @@ -1,242 +0,0 @@ -PORTNAME= bareos -DISTVERSIONPREFIX= Release/ -DISTVERSION= 19.2.13 -PORTREVISION?= 0 -CATEGORIES?= sysutils -PKGNAMEPREFIX?= # -PKGNAMESUFFIX?= 19-server - -MAINTAINER= acm@FreeBSD.org -COMMENT?= Backup archiving recovery open sourced (server) -WWW= https://www.bareos.org/ - -LICENSE= AGPLv3 LGPL3 -LICENSE_COMB= multi - -DEPRECATED= Upstream EOL reached -EXPIRATION_DATE= 2023-09-30 - -CONFLICTS?= bareos18-server bareos17-server - -LIB_DEPENDS+= liblzo2.so:archivers/lzo2 \ - libjansson.so:devel/jansson - -USES+= cmake compiler:c++11-lang cpe localbase:ldflags perl5 pkgconfig readline \ - shebangfix -USE_GITHUB= yes -USE_PERL5= run - -USERS= bareos -GROUPS= ${USERS} - -PLIST_SUB+= LIB_VERSION=${PORTVERSION} - -USE_LDCONFIG= yes -SHEBANG_LANG= perl -SHEBANG_FILES= ${WRKSRC}/core/src/cats/make_catalog_backup.pl.in - -CPPFLAGS+= -I${LOCALBASE}/readline - -OPTIONS_DEFAULT= OPENSSL -OPTIONS_SINGLE= CRYPTO -OPTIONS_SINGLE_CRYPTO= OPENSSL GNUTLS -OPTIONS_SUB= yes -CRYPTO_DESC= Cryptographic library -MTX_DESC= Install mtx for control of autochanger devices -NDMP_DESC= Enable build of NDMP support -SCSICRYPTO_DESC= Build LTO AME crypto plugin - -.if ${PKGNAMESUFFIX} == "19-server" -OPTIONS_GROUP= BACKENDS -OPTIONS_GROUP_BACKENDS= CEPHFS GFAPI RADOS -OPTIONS_DEFINE= MTX NDMP NLS PYTHON SCSICRYPTO -OPTIONS_DEFAULT+= PGSQL SCSICRYPTO -OPTIONS_SINGLE_DATABASE= MYSQL PGSQL SQLITE3 -OPTIONS_SINGLE+= DATABASE -BACKENDS_DESC= Storage backends -DATABASE_DESC= Database support -CEPHFS_DESC= CEPHFS backend support -GFAPI_DESC= GFAPI backend support -RADOS_DESC= RADOS backend support - -NDMP_CMAKE_ON= -Dndmp=ON -NDMP_CMAKE_OFF= -Dndmp=OFF -.endif - -GNUTLS_CONFIGURE_WITH= gnutls=${LOCALBASE} -GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls - -OPENSSL_USES= ssl -OPENSSL_CMAKE_ON= -Dopenssl=ON -OPENSSL_CMAKE_OFF= -Dopenssl=OFF - -SCSICRYPTO_CMAKE_ON= -Dscsi-crypto=ON -SCSICRYPTO_CMAKE_OFF= -Dscsi-crypto=OFF - -.if ${PKGNAMESUFFIX} == "19-client" || ${PKGNAMESUFFIX} == "19-server" #Till end of the file -PYTHON_USES= python -PYTHON_CMAKE_ON= -Dpython=ON -PYTHON_CMAKE_OFF= -Dpython=OFF -PYTHON_PLUGIN= yes - -.if !defined(WITH_CLIENT_ONLY) -LIB_DEPENDS+= libbareos.so:sysutils/bareos19-client -USE_RC_SUBR?= bareos-dir bareos-sd -.endif - -.if defined(WITH_CLIENT_ONLY) -SUB_FILES+= pkg-install.client pkg-deinstall.client pkg-message.client -.else -SUB_FILES+= pkg-message.server -.endif - -CMAKE_ARGS+= -Dtcp-wrappers=ON \ - -Dsmartalloc=ON \ - -Dsysconfdir=${PREFIX}/etc \ - -Darchivedir=${BAREOS_DIR}/storage \ - -Dworkingdir=${BAREOS_DIR} \ - -Dconfdir=${PREFIX}/etc/bareos \ - -Dlibdir=${PREFIX}/lib \ - -Dlogdir=/var/log/bareos \ - -Dincludedir=${PREFIX}/include/bareos \ - -Dreadline=ON \ - -Ddisable-conio=ON \ - -Dbatch-insert=ON \ - -Dhave_plugins=ON \ - -Dplugindir=${PREFIX}/lib/bareos/plugins \ - -Dscriptdir=${PREFIX}/lib/bareos/scripts \ - -Dbackenddir=${PREFIX}/lib/bareos/backends \ - -Ddump_email=root@localhost \ - -Djob_email=root@localhost \ - -Ddb_name=bareos \ - -Dsbin-perm=755 \ - -Ddb_user=bareos \ - -Dbaseport=9101 \ - -Dpiddir=/var/run/bareos - -.if defined(WITH_CLIENT_ONLY) -LMDB_CMAKE_ON= -Dlmdb=ON -LMDB_CMAKE_OFF= -Dlmdb=OFF -LMDB_CFLAGS+= -DMDB_DSYNC=O_SYNC -DMDB_USE_POSIX_SEM=1 - -CMAKE_ARGS+= -Dfd-user=root \ - -Dfd-group=wheel -.else -CMAKE_ARGS+= -Ddir-user=${BAREOS_USER} \ - -Ddir-group=${BAREOS_GROUP} \ - -Dsd-user=${BAREOS_USER} \ - -Dsd-group=operator \ - -Dlmdb=OFF -.endif - -# The user/group IDs below are registered, see -# http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html#DADS-UID -# -BAREOS_USER?= bareos -BAREOS_GROUP?= ${BAREOS_USER} -BAREOS_UID?= 997 -BAREOS_GID?= ${BAREOS_UID} -BAREOS_DIR?= /var/db/bareos - -PLIST_SUB+= BAREOS_DIR=${BAREOS_DIR} - -SUB_LIST= BAREOS_USER=${BAREOS_USER} \ - BAREOS_GROUP=${BAREOS_GROUP} \ - BAREOS_UID=${BAREOS_UID} \ - BAREOS_GID=${BAREOS_GID} \ - BAREOS_DIR=${BAREOS_DIR} - -NLS_USES= gettext -NLS_CMAKE_ON= -Dnls=ON -CEPHFS_CMAKE_ON= -Dcephfs=ON -CEPHFS_LIB_DEPENDS= libcephfs.so:net/ceph14 -GFAPI_CMAKE_ON= -Dgfapi=ON -GFAPI_LIB_DEPENDS= libglusterfs.so:net/glusterfs -RADOS_CMAKE_ON= -Drados=ON -Dcephfs=ON -RADOS_LIB_DEPENDS= librados.so:net/ceph14 - -# Client only or full server version -.if defined(WITH_CLIENT_ONLY) -CONFFILES= fd -CMAKE_ARGS+= -Dclient-only=ON - -PKGDEINSTALL= ${FILESDIR}/pkg-deinstall.client -PKGINSTALL= ${FILESDIR}/pkg-install.client -.else -# Server only Options -CONFFILES= sd dir -CMAKE_ARGS+= -Dbuild-dird=ON \ - -Dbuild-stored=ON \ - -Dbuild_client_only=OFF -# Server default database - -MTX_RUN_DEPENDS= ${LOCALBASE}/sbin/mtx:misc/mtx -MYSQL_CMAKE_ON= -Dmysql=ON -MYSQL_USES= mysql -MYSQL_VARS= DBTYPE=mysql -MYSQL_SUB_LIST= REQ_MYSQL=mysql REQ_PGSQL="" -SQLITE3_CMAKE_ON= -Dsqlite3=ON -SQLITE3_LIB_DEPENDS= libsqlite3.so:databases/sqlite3 -SQLITE3_VARS= DBTYPE=sqlite3 -PGSQL_CMAKE_ON= -Dpostgresql=ON -PGSQL_USES= pgsql -PGSQL_VARS= DBTYPE=postgresql -PGSQL_SUB_LIST= REQ_MYSQL="" REQ_PGSQL=postgresql - -PLIST_SUB+= DBTYPE=${DBTYPE} - -.endif - -.if defined(WITH_CLIENT_ONLY) -MP1+= bconsole.1 -MP8+= bareos-fd.8 -.else -MP8+= bareos.8 bareos-dir.8 bareos-sd.8 bcopy.8 bextract.8 bls.8 bscan.8 \ - btape.8 btraceback.8 bareos-dbcheck.8 -MP1+= bsmtp.1 bregex.1 bwild.1 bareos-tray-monitor.1 -.endif - -MAKE_ENV+= MAN8="${MP8}" MAN1="${MP1}" - -post-patch: - @${REINPLACE_CMD} '69,72d' ${WRKSRC}/CMakeLists.txt -.if ${PKGNAMESUFFIX} == "19-server" - @${REINPLACE_CMD} '24d' ${WRKSRC}/core/src/plugins/CMakeLists.txt - @${REINPLACE_CMD} '35d' ${WRKSRC}/core/src/CMakeLists.txt -.endif - -post-extract: -.if defined(WITH_CLIENT_ONLY) -. if defined(PYTHON_PLUGIN) - @${MKDIR} ${STAGEDIR}${ETCDIR}/python-ldap-conf.d/bareos-dir.d/fileset - @${MKDIR} ${STAGEDIR}${ETCDIR}/python-ldap-conf.d/bareos-dir.d/job -. endif -.endif - @${MV} ${WRKSRC}/core/src/defaultconfigs/bareos-dir.d/fileset/'Windows All Drives.conf' \ - ${WRKSRC}/core/src/defaultconfigs/bareos-dir.d/fileset/'WindowsAllDrives.conf' - -.if !target(post-install) -post-install: -.if defined(WITH_CLIENT_ONLY) - ${MKDIR} ${STAGEDIR}${ETCDIR}/bconsole.d/ - ${MV} ${STAGEDIR}${ETCDIR}/bconsole.conf ${STAGEDIR}${ETCDIR}/bconsole.d/bconsole.conf.sample -.else - ${INSTALL_SCRIPT} ${FILESDIR}/chio-bareos ${STAGEDIR}${PREFIX}/sbin - ${INSTALL_DATA} ${FILESDIR}/bareos-barcodes ${STAGEDIR}${ETCDIR}/bareos-barcodes.sample - ${CHMOD} o+x ${STAGEDIR}${PREFIX}/bin/bsmtp - ${MV} ${STAGEDIR}${ETCDIR}/mtx-changer.conf ${STAGEDIR}${ETCDIR}/mtx-changer.conf.sample - ${MV} ${STAGEDIR}${ETCDIR}/bareos-regress.conf ${STAGEDIR}${ETCDIR}//bareos-regress.conf.sample -.endif - @${MKDIR} ${STAGEDIR}/var/run/bareos -.endif -.else -.include "${MASTERDIR}/Makefile.common" -.endif # 19-client and 19-server are defined - -.include - -.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) -USES+= llvm:max=15 -.endif - -.include diff --git a/sysutils/bareos19-server/Makefile.common b/sysutils/bareos19-server/Makefile.common deleted file mode 100644 index 374ca631cb694..0000000000000 --- a/sysutils/bareos19-server/Makefile.common +++ /dev/null @@ -1,31 +0,0 @@ -post-patch: - @${REINPLACE_CMD} '69,72d' ${WRKSRC}/CMakeLists.txt - -post-build: -.if ${PKGNAMEPREFIX} == "nagios-check_" - ${MAKE_CMD} -C ${WRKSRC}/examples/nagios/check_bareos -.endif - -pre-install: -.if ${PKGNAMESUFFIX} == "19-traymonitor" -. for d in client director monitor storage - ${MKDIR} ${STAGEDIR}${ETCDIR}/tray-monitor.d/${d} - ${FIND} ${WRKSRC}/core/src/defaultconfigs/tray-monitor.d/${d} -type f -name '*.conf' -exec ${MV} -v {} {}.sample \; -. endfor -.endif - -do-install: -.if ${PKGNAMEPREFIX} == "nagios-check_" - @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios - ${INSTALL_PROGRAM} ${WRKSRC}/examples/nagios/check_bareos/check_bareos \ - ${STAGEDIR}${PREFIX}/libexec/nagios -.endif -.if ${PKGNAMESUFFIX} == "19-traymonitor" -# Install config files and preserve existing ones -.for d in client director monitor storage - ${INSTALL_SCRIPT} ${WRKSRC}/core/src/defaultconfigs/tray-monitor.d/${d}/*.sample ${STAGEDIR}${ETCDIR}/tray-monitor.d/${d}/ -.endfor - ${INSTALL_PROGRAM} ${CONFIGURE_WRKSRC}/core/src/qt-tray-monitor/bareos-tray-monitor ${STAGEDIR}${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/core/src/qt-tray-monitor/bareos-tray-monitor.xpm ${STAGEDIR}${PREFIX}/share/pixmaps - ${INSTALL_DATA} ${WRKSRC}/core/src/qt-tray-monitor/bareos-tray-monitor.desktop ${STAGEDIR}${DESKTOPDIR} -.endif diff --git a/sysutils/bareos19-server/distinfo b/sysutils/bareos19-server/distinfo deleted file mode 100644 index 2e3f070beb1ae..0000000000000 --- a/sysutils/bareos19-server/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1667249538 -SHA256 (bareos-bareos-Release-19.2.13_GH0.tar.gz) = 67ec1c48e5eb9b64e9f1c7984d6e549e3299221b1f166dfb9c8d545216007ad7 -SIZE (bareos-bareos-Release-19.2.13_GH0.tar.gz) = 12986687 diff --git a/sysutils/bareos19-server/files/bareos-barcodes b/sysutils/bareos19-server/files/bareos-barcodes deleted file mode 100644 index f42cb7f7aeeae..0000000000000 --- a/sysutils/bareos19-server/files/bareos-barcodes +++ /dev/null @@ -1,51 +0,0 @@ -# -# Bacula barcode simulation file -# used by ${PREFIX}/sbin/chio-bareos (FreeBSD) -# -# The volumenames are returned by the "changer list" command -# labeling in the console is done by "label barcodes" -# (then all volumes belog to the default pool). -# All Lines with an "#" at the bedinning are ignored -# -# !!!! If you export an tape and reinsert another one, -# !!!! don't forget to change the volume name in this file! -# -1:Volume1-100 -2:Volume1-101 -3:Volume1-102 -4:Volume1-103 -5:Volume1-104 -6:Volume1-105 -7:Volume1-106 -8:Volume1-107 -9:Volume1-108 -10:Volume1-109 -11:Volume1-110 -12:Volume1-111 -# -# Further volumes exported from the changer -# -# 36GB AIT2 tapes -#Volume1-100 -#Volume1-101 -#Volume1-102 -#Volume1-103 -#Volume1-104 -#Volume1-105 -#Volume1-106 -#Volume1-107 -#Volume1-108 -#Volume1-109 -#Volume1-110 -#Volume1-111 -#Volume1-112 -#Volume1-113 -#Volume1-114 -#Volume1-115 -# -# 50GB AIT2 tapes -#Volume2-200 -#Volume2-201 -#Volume2-202 -#Volume2-203 -#Volume2-204 diff --git a/sysutils/bareos19-server/files/bareos-dir.in b/sysutils/bareos19-server/files/bareos-dir.in deleted file mode 100644 index 86b62370cbb74..0000000000000 --- a/sysutils/bareos19-server/files/bareos-dir.in +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/sh - -# PROVIDE: bareos_dir -# REQUIRE: DAEMON %%REQ_MYSQL%% %%REQ_PGSQL%% -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf.local or /etc/rc.conf -# to enable this service: -# -# bareos_dir_enable (bool): Set to NO by default. -# Set it to YES to enable bareos_dir. -# bareos_dir_flags (params): Set params used to start bareos_dir. -# bareos_dir_config (params): Path to the config file/directory -# - -. /etc/rc.subr - -name="bareos_dir" -rcvar=${name}_enable - -load_rc_config $name - -: ${bareos_dir_enable="NO"} -: ${bareos_dir_flags="-u bareos -g bareos -v"} -: ${bareos_dir_config="%%PREFIX%%/etc/bareos/"} -: ${bareos_dir_pidfile="/var/run/bareos/bareos-dir.9101.pid"} - -command=%%PREFIX%%/sbin/bareos-dir -command_args="-c ${bareos_dir_config}" -pidfile="${bareos_dir_pidfile}" -bconsole_command=/usr/local/bin/bconsole -start_precmd="bareos_start_precmd" -restart_precmd="bareos_dir_configtest" -reload_precmd="bareos_dir_configtest" -reload_cmd="bareos_dir_reload" -configtest_cmd="bareos_dir_configtest" - -bareos_start_precmd() { - [ -d "${pidfile%/*}" ] || install -d -o bareos -g bareos ${pidfile%/*} - bareos_dir_configtest -} - -bareos_dir_configtest() { - echo "Performing sanity check on ${bareos_dir_config} configuration:" - eval ${command} -t -} - -bareos_dir_reload() { - echo "Performing a graceful reload" - # bconsole always exits with 0, so we can't check the return status for success. - echo "reload" | ${bconsole_command} -} - -extra_commands="reload configtest" -run_rc_command "$1" diff --git a/sysutils/bareos19-server/files/bareos-fd.in b/sysutils/bareos19-server/files/bareos-fd.in deleted file mode 100644 index 54647786b12c1..0000000000000 --- a/sysutils/bareos19-server/files/bareos-fd.in +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/sh - -# PROVIDE: bareos_fd -# REQUIRE: DAEMON -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf.local or /etc/rc.conf -# to enable this service: -# -# bareos_fd_enable (bool): Set to NO by default. -# Set it to YES to enable bareos_fd. -# bareos_fd_flags (params): Set params used to start bareos_fd. -# bareos_fd_config (params): Path to the config file/directory -# - -. /etc/rc.subr - -name="bareos_fd" -rcvar=${name}_enable - -load_rc_config $name - -: ${bareos_fd_enable="NO"} -: ${bareos_fd_flags="-u root -g wheel -v"} -: ${bareos_fd_config="%%PREFIX%%/etc/bareos/"} -: ${bareos_fd_pidfile="/var/run/bareos/bareos-fd.9102.pid"} - -command=%%PREFIX%%/sbin/bareos-fd -command_args="-c ${bareos_fd_config}" -pidfile="${bareos_fd_pidfile}" -start_precmd="bareos_start_precmd" - -bareos_start_precmd() { - [ -d "${pidfile%/*}" ] || { - getent passwd bareos > /dev/null 2&>1 - if [ $? -eq 0] ; then - # user bareos exists - install -d -o bareos -g bareos ${pidfile%/*} - else - # bareos_fd as solitair service - install -d -o root -g wheel ${pidfile%/*} - fi - } -} - -run_rc_command "$1" diff --git a/sysutils/bareos19-server/files/bareos-sd.in b/sysutils/bareos19-server/files/bareos-sd.in deleted file mode 100644 index a5efe78e80f72..0000000000000 --- a/sysutils/bareos19-server/files/bareos-sd.in +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh - -# PROVIDE: bareos_sd -# REQUIRE: DAEMON -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf.local or /etc/rc.conf -# to enable this service: -# -# bareos_sd_enable (bool): Set to NO by default. -# Set it to YES to enable bareos_sd. -# bareos_sd_flags (params): Set params used to start bareos_sd. -# bareos_sd_config (params): Path to the config file/directory -# - -. /etc/rc.subr - -name="bareos_sd" -rcvar=${name}_enable - -load_rc_config $name - -: ${bareos_sd_enable="NO"} -: ${bareos_sd_flags="-u bareos -g bareos -v"} -: ${bareos_sd_config="%%PREFIX%%/etc/bareos/"} -: ${bareos_sd_pidfile="/var/run/bareos/bareos-sd.9103.pid"} - -command=%%PREFIX%%/sbin/bareos-sd -command_args="-c ${bareos_sd_config}" -pidfile="${bareos_sd_pidfile}" -start_precmd="bareos_start_precmd" - -bareos_start_precmd() { - [ -d "${pidfile%/*}" ] || install -d -o bareos -g bareos ${pidfile%/*} -} - -run_rc_command "$1" diff --git a/sysutils/bareos19-server/files/chio-bareos b/sysutils/bareos19-server/files/chio-bareos deleted file mode 100644 index f006ef78e6ce8..0000000000000 --- a/sysutils/bareos19-server/files/chio-bareos +++ /dev/null @@ -1,190 +0,0 @@ -#!/bin/sh -# -# BAREOS interface to tape libraries and autoloaders for FreeBSD -# (by Rudolf Cejka , v1.2, 2012/11/14) -# -# If you set in your Device resource -# Changer Command = "path-to-this-script/chio-changer %c %o %S %a %d" -# you will have the following input to this script: -# chio-changer "changer-device" "command" "slot" "tape-device" "drive-index" -# $1 $2 $3 $4 $5 -# for example (on a FreeBSD system): -# chio-changer /dev/ch0 load 1 /dev/nsa0 0 -# -# If you change the script, take care to return either the chio exit -# code or a 0. If the script exits with a non-zero exit code, BAREOS -# will assume the request failed. -# - -PROGNAME=`basename $0` - -# Uncomment the following line, if you want to log debug output. -#DEBUG=/var/run/bareos/${PROGNAME}.log - -# Uncomment the following line, if you need to eject a tape before moving -# it from the drive. -#OFFLINE=yes - -# Uncomment one or more of the following lines, if you need to wait for -# some time (in seconds) after unloading, loading or transferring a tape. -#OFFLINE_SLEEP=10 -#LOAD_SLEEP=10 -#MOVE_SLEEP=10 - -# Uncomment the following line, if you do not have a changer with volume -# reader. -#FAKE_BARCODES=/usr/local/etc/bareos-barcodes - -usage() -{ - cat < [slot] [tape-device] [drive-index] - -Commands (): - unload Unload a tape into the slot from where it was loaded - load Load a tape from the slot (1-based) - transfer Transfer a tape from the slot to - the slot (1-based) - list List full storage slots - listall List all storage slots and drives with source information - loaded Give slot from where the tape was loaded (0 = empty drive) - slots Give number of available slots - -Example: - ${PROGNAME} /dev/ch0 load 1 Load a tape from the slot 1 - -EOF - exit 1 -} - -# Default settings -CHANGER=/dev/ch0 -TAPE=/dev/nsa0 -DRIVE=0 - -CHIO=/bin/chio -MT=/usr/bin/mt - -if [ -n "${DEBUG}" ]; then - MSG=$0 - for PAR; do MSG="${MSG} \"${PAR}\""; done - echo `date +"%Y/%m/%d %H:%M:%S"` ${MSG} >> ${DEBUG} -fi - -if [ -n "$1" ]; then - CHANGER=$1; -fi -COMMAND=$2 -SLOT=$3 -SLOTDST=$4 -if [ -n "$4" ]; then - TAPE=$4 -fi -if [ -n "$5" ]; then - DRIVE=$5 -fi - -case ${COMMAND} in -unload) - if [ "${OFFLINE}" = yes ]; then - ${MT} -f ${TAPE} offline - if [ $? = 0 -a -n "${OFFLINE_SLEEP}" ]; then - sleep ${OFFLINE_SLEEP} - fi - fi - if [ -z "${SLOT}" ]; then - ${CHIO} -f ${CHANGER} return drive ${DRIVE} - else - ${CHIO} -f ${CHANGER} move drive ${DRIVE} slot $((${SLOT} - 1)) - fi - if [ $? -ne 0 ]; then - # In case of an error, try to unload the cartridge to the first free slot - FREE=`${CHIO} -f ${CHANGER} status slot | \ - sed -ne '/FULL/d;s/^slot *\([0-9]*\):.*/\1/p' | \ - awk 'BEGIN { n = 0 } { n = $1 + 1; exit } END { print n }'` - if [ ${FREE} -gt 0 ]; then - ${CHIO} -f ${CHANGER} move drive ${DRIVE} slot $((${FREE} - 1)) - else - exit 1 - fi - fi - ;; -load) - if [ -z "${SLOT}" ]; then - usage - fi - ${CHIO} -f ${CHANGER} move slot $((${SLOT} - 1)) drive ${DRIVE} - if [ $? -ne 0 ]; then - exit 1 - fi - if [ -n "${LOAD_SLEEP}" ]; then - sleep ${LOAD_SLEEP} - fi - ;; -transfer) - if [ -z "${SLOT}" -o -z "${SLOTDST}" ]; then - usage - fi - ${CHIO} -f ${CHANGER} move slot $((${SLOT} - 1)) slot $((${SLOTDST} - 1)) - if [ $? -ne 0 ]; then - exit 1 - fi - if [ -n "${MOVE_SLEEP}" ]; then - sleep ${MOVE_SLEEP} - fi - ;; -list) - if [ -z "${FAKE_BARCODES}" ]; then - ${CHIO} -f ${CHANGER} status -v slot | \ - sed -ne 's/^slot *\([0-9]*\):.*FULL.*voltag.*<\([^:]*\):.*/\1:\2/p' | \ - awk -F: '{ print $1 + 1 ":" $2 }' - else - if [ -f "${FAKE_BARCODES}" ]; then - grep -v -e "^#" -e "^$" < ${FAKE_BARCODES} - else - echo "${PROGNAME}: Barcode file ${FAKE_BARCODES} is missing" - exit 1 - fi - fi - ;; -listall) - if [ -z "${FAKE_BARCODES}" ]; then - ${CHIO} -f ${CHANGER} status -vS | \ - sed -ne ' - s/^slot *\([0-9]*\):.*ENAB.*FULL.*voltag.*<\([^:]*\):.*/I:\1:F:\2/p;t - s/^slot *\([0-9]*\):.*FULL.*voltag.*<\([^:]*\):.*/S:\1:F:\2/p;t - s/^drive *\([0-9]*\):.*FULL.*voltag.*<\([^:]*\):.*source.*<[^0-9]*\([0-9]*\)>.*/D:\1:F:\3:\2/p;t - s/^slot *\([0-9]*\):.*ENAB.*voltag.*<\([^:]*\):.*/I:\1:E/p;t - s/^slot *\([0-9]*\):.*voltag.*<\([^:]*\):.*/S:\1:E/p;t - s/^drive *\([0-9]*\):.*voltag.*<\([^:]*\):.*/D:\1:E/p' | \ - awk -F: '{ for (n = 1; n <= NF; n++) printf "%s%s", - (n == ($1 == "D" ? 4 : 2)) ? ($n == "" ? 0 : $n + 1) : $n, - (n == NF) ? "\n" : ":" }' - else - if [ -f "${FAKE_BARCODES}" ]; then - grep -v -e "^#" -e "^$" < ${FAKE_BARCODES} | \ - awk -F: '{ print "S:" $1 (match($2, "^ *$") ? ":E" : ":F:" $2) }' - else - echo "${PROGNAME}: Barcode file ${FAKE_BARCODES} is missing" - exit 1 - fi - fi - ;; -loaded) - # If a tape is loaded, but the source slot is unknown (for example, - # after library reboot), try to report the first free slot - FREE=`${CHIO} -f ${CHANGER} status slot | \ - sed -ne '/FULL/d;s/^slot *\([0-9]*\):.*/\1/p' | \ - awk 'BEGIN { n = 0 } { n = $1 + 1; exit } END { print n }'` - ${CHIO} -f ${CHANGER} status -S drive | \ - sed -ne 's/^drive *'${DRIVE}':.*FULL.*source.*<[^0-9]*\([0-9]*\)>.*/\1/p' \ - | awk 'BEGIN { n = 0 } { n = ($1 == "") ? '${FREE}' : $1 + 1 } \ - END { print n }' - ;; -slots) - ${CHIO} -f ${CHANGER} status | grep -c "^slot " - ;; -*) - usage - ;; -esac diff --git a/sysutils/bareos19-server/files/patch-core-CMakeLists.txt b/sysutils/bareos19-server/files/patch-core-CMakeLists.txt deleted file mode 100644 index 955525c77b1c0..0000000000000 --- a/sysutils/bareos19-server/files/patch-core-CMakeLists.txt +++ /dev/null @@ -1,34 +0,0 @@ ---- core/CMakeLists.txt 2020-01-31 12:45:28.110777000 -0500 -+++ core/CMakeLists.txt 2020-01-31 12:47:41.413976000 -0500 -@@ -249,7 +249,9 @@ - set(PSCMD "ps -ax -o pid,command") - include_directories(/usr/local/include) - link_directories(/usr/local/lib) -- link_libraries(intl) -+ IF(nls) -+ link_libraries(intl) -+ ENDIF() - endif() - - if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") -@@ -316,8 +318,11 @@ - add_definitions("-D_FILE_OFFSET_BITS=64") - endif() - --include(FindIntl) - -+IF(nls) -+ INCLUDE(FindIntl) -+ENDIF() -+ - if(developer) - add_definitions("-DDEVELOPER=1") - endif() -@@ -746,7 +751,6 @@ - - add_subdirectory(scripts) - add_subdirectory(manpages) --add_subdirectory(platforms) - add_subdirectory(src) - - include(BareosLocalBuildDefinitions OPTIONAL diff --git a/sysutils/bareos19-server/files/patch-core-cmake_BareosCheckIncludes.cmake b/sysutils/bareos19-server/files/patch-core-cmake_BareosCheckIncludes.cmake deleted file mode 100644 index e7fe16ff00384..0000000000000 --- a/sysutils/bareos19-server/files/patch-core-cmake_BareosCheckIncludes.cmake +++ /dev/null @@ -1,32 +0,0 @@ ---- core/cmake/BareosCheckIncludes.cmake 2020-12-11 08:44:43.000000000 -0500 -+++ core/cmake/BareosCheckIncludes.cmake 2020-12-14 19:30:00.380545000 -0500 -@@ -100,21 +100,21 @@ - check_include_files(sys/xattr.h HAVE_SYS_XATTR_H) - check_include_files(api/glfs.h HAVE_API_GLFS_H) - -+if(cephfs) - check_include_files(cephfs/libcephfs.h HAVE_CEPHFS_LIBCEPHFS_H) -+check_include_files("sys/stat.h;cephfs/ceph_ll_client.h" HAVE_CEPH_STATX) -+endif() - --include(CheckSymbolExists) --include(CMakePushCheckState) --cmake_push_check_state() --set(CMAKE_REQUIRED_LIBRARIES cephfs) --check_symbol_exists(ceph_statx "sys/stat.h;cephfs/libcephfs.h" HAVE_CEPH_STATX) --cmake_pop_check_state() -- -+if(rados) - check_include_files(rados/librados.h HAVE_RADOS_LIBRADOS_H) - check_include_files(radosstriper/libradosstriper.h - HAVE_RADOSSTRIPER_LIBRADOSSTRIPER_H) -+endif() - - # CHECK_INCLUDE_FILES(glusterfs/glusterfs.h HAVE_GLUSTERFS_GLUSTERFS_H) --check_include_files(glusterfs/api/glfs.h HAVE_GLUSTERFS_API_GLFS_H) -+if(gfapi) -+ check_include_files(glusterfs/api/glfs.h HAVE_GLUSTERFS_API_GLFS_H) -+endif() - - check_include_files(elasto/data.h HAVE_ELASTO_DATA_H) - check_include_files(elasto/file.h HAVE_ELASTO_FILE_H) diff --git a/sysutils/bareos19-server/files/patch-core-cmake_BareosFindAllLibraries.cmake b/sysutils/bareos19-server/files/patch-core-cmake_BareosFindAllLibraries.cmake deleted file mode 100644 index fc7d187ea1ca4..0000000000000 --- a/sysutils/bareos19-server/files/patch-core-cmake_BareosFindAllLibraries.cmake +++ /dev/null @@ -1,66 +0,0 @@ ---- core/cmake/BareosFindAllLibraries.cmake 2020-01-31 11:21:18.000000000 -0500 -+++ core/cmake/BareosFindAllLibraries.cmake 2020-02-03 00:55:59.098603000 -0500 -@@ -23,20 +23,22 @@ - endif() - - if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Windows") -- # make sure we get python 2 not 3 -- set( -- Python_ADDITIONAL_VERSIONS -- 2.5 -- 2.6 -- 2.7 -- 2.8 -- 2.9 -- ) -- find_package(PythonInterp) -- include(FindPythonLibs) -+ if (python) -+ # make sure we get python 2 not 3 -+ set( -+ Python_ADDITIONAL_VERSIONS -+ 3.5 -+ 3.6 -+ 3.7 -+ 3.8 -+ 2.9 -+ ) -+ find_package(PythonInterp) -+ include(FindPythonLibs) - -- if(${PYTHONLIBS_FOUND}) -- set(HAVE_PYTHON 1) -+ if(${PYTHONLIBS_FOUND}) -+ set(HAVE_PYTHON 1) -+ endif() - endif() - - include(FindPostgreSQL) -@@ -56,13 +58,22 @@ - include(BareosFindLibraryAndHeaders) - - bareosfindlibraryandheaders("jansson" "jansson.h") --bareosfindlibraryandheaders("rados" "rados/librados.h") --bareosfindlibraryandheaders("radosstriper" "radosstriper/libradosstriper.h") --bareosfindlibraryandheaders("cephfs" "cephfs/libcephfs.h") - bareosfindlibraryandheaders("pthread" "pthread.h") - bareosfindlibraryandheaders("cap" "sys/capability.h") --bareosfindlibraryandheaders("gfapi" "glusterfs/api/glfs.h") --bareosfindlibraryandheaders("droplet" "droplet.h") -+ -+if(rados) -+ bareosfindlibraryandheaders("rados" "rados/librados.h") -+ bareosfindlibraryandheaders("radosstriper" "radosstriper/libradosstriper.h") -+endif() -+if(cephfs) -+ bareosfindlibraryandheaders("cephfs" "cephfs/libcephfs.h") -+endif() -+if(gfapi) -+ bareosfindlibraryandheaders("gfapi" "glusterfs/api/glfs.h") -+endif() -+if(droplet) -+ bareosfindlibraryandheaders("droplet" "droplet.h") -+endif() - - bareosfindlibraryandheaders("pam" "security/pam_appl.h") - diff --git a/sysutils/bareos19-server/files/patch-core-cmake_BareosInstallConfigFiles.cmake b/sysutils/bareos19-server/files/patch-core-cmake_BareosInstallConfigFiles.cmake deleted file mode 100644 index 3c89b1c8a8f7f..0000000000000 --- a/sysutils/bareos19-server/files/patch-core-cmake_BareosInstallConfigFiles.cmake +++ /dev/null @@ -1,117 +0,0 @@ ---- core/cmake/BareosInstallConfigFiles.cmake 2020-01-31 11:21:18.000000000 -0500 -+++ core/cmake/BareosInstallConfigFiles.cmake 2020-02-03 02:15:35.557127000 -0500 -@@ -60,24 +60,12 @@ - get_filename_component(resname ${resdir} NAME) - foreach(configfile ${configfiles}) - get_filename_component(fname ${configfile} NAME) -- if(EXISTS ${DESTCONFDIR}/${resname}/${fname}) -- message(STATUS "${DESTCONFDIR}/${resname}/${fname} exists") -- message(STATUS "rename ${configfile} to ${configfile}.new") -- file(RENAME "${configfile}" "${configfile}.new") -- -- message(STATUS "copy ${configfile}.new to ${DESTCONFDIR}/${resname}") -- file( -- INSTALL "${configfile}.new" -- DESTINATION "${DESTCONFDIR}/${resname}" -- ) -- file(RENAME "${configfile}.new" "${configfile}") -- else() -- message( -- STATUS -- "${resname}/${fname} as ${resname}/${fname} (new installation)" -- ) -- file(COPY "${configfile}" DESTINATION "${DESTCONFDIR}/${resname}") -- endif() -+ message(STATUS "${resname}/${fname} as ${resname}/${fname}.sample (new installation)") -+ file(RENAME "${configfile}" "${configfile}.sample") -+ file( -+ COPY "${configfile}.sample" -+ DESTINATION "${DESTCONFDIR}/${resname}" -+ ) - endforeach() - endforeach() - -@@ -114,23 +102,12 @@ - get_filename_component(dir ${configfile} DIRECTORY) - get_filename_component(fname ${configfile} NAME) - -- if(EXISTS ${DESTCONFDIR}/${configfile}) -- message(STATUS "${configfile} as ${configfile}.new (keep existing)") -- file(RENAME "${BackendConfigSrcDir}/${configfile}" -- "${BackendConfigSrcDir}/${configfile}.new") -- file( -- COPY "${BackendConfigSrcDir}/${configfile}.new" -- DESTINATION "${DESTCONFDIR}/${dir}" -- ) -- file(RENAME "${BackendConfigSrcDir}/${configfile}.new" -- "${BackendConfigSrcDir}/${configfile}") -- else() -- message(STATUS "${configfile} as ${configfile}") -- file( -- COPY "${BackendConfigSrcDir}/${configfile}" -- DESTINATION "${DESTCONFDIR}/${dir}" -- ) -- endif() -+ message(STATUS "${configfile} as ${configfile}") -+ file(RENAME "${BackendConfigSrcDir}/${configfile}" "${BackendConfigSrcDir}/${configfile}.sample") -+ file( -+ COPY "${BackendConfigSrcDir}/${configfile}.sample" -+ DESTINATION "${DESTCONFDIR}/${dir}" -+ ) - endforeach() - - file( -@@ -140,7 +117,8 @@ - ) - foreach(configfile ${configfiles}) - get_filename_component(dir ${configfile} DIRECTORY) -- # get_filename_component(fname ${configfile} NAME) -+ get_filename_component(fname ${configfile} NAME) -+ get_filename_component(fsname ${configfile} NAME_WE) - - if(EXISTS ${DESTCONFDIR}/${configfile}) - message(STATUS "overwriting ${configfile}") -@@ -148,9 +126,10 @@ - message(STATUS "${configfile} as ${configfile}") - endif() - -+ file(RENAME "${BackendConfigSrcDir}/${configfile}" "${BackendConfigSrcDir}/${fsname}.conf.sample") - file( -- COPY "${BackendConfigSrcDir}/${configfile}" -- DESTINATION "${DESTCONFDIR}/${dir}" -+ COPY "${BackendConfigSrcDir}/${fsname}.conf.sample" -+ DESTINATION "${DESTCONFDIR}/${dir}" - ) - endforeach() - -@@ -174,22 +153,14 @@ - ) - if(NOT "${IS_INFILE}" STREQUAL ".in") - get_filename_component(fname ${configfile} NAME) -- if(EXISTS ${DESTCONFDIR}/${resname}/${fname}) -- message( -- STATUS -- "${resname}/${fname} as ${resname}/${fname}.new (keep existing)" -- ) -- file(RENAME "${configfile}" "${configfile}.new") -- file( -- COPY "${configfile}.new" -- DESTINATION "${DESTCONFDIR}/${resname}" -- ) -- file(RENAME "${configfile}.new" "${configfile}") -- else() -- message(STATUS "${resname}/${fname} as ${resname}/${fname}") -- file(COPY "${configfile}" DESTINATION "${DESTCONFDIR}/${resname}") -- endif() -- else() -+ get_filename_component(fsname ${configfile} NAME_WE) -+ message(STATUS "${resname}/${fname} as ${resname}/${fname}") -+ file(RENAME "${configfile}" "${resdir}/${fsname}.conf.sample") -+ file( -+ COPY "${resdir}/${fsname}.conf.sample" -+ DESTINATION "${DESTCONFDIR}/${resname}" -+ ) -+ else() - message(STATUS "skipping .in file ${configfile}:${IS_INFILE}") - endif() - endforeach() diff --git a/sysutils/bareos19-server/files/patch-core-cmake_BareosSetVariableDefaults.cmake b/sysutils/bareos19-server/files/patch-core-cmake_BareosSetVariableDefaults.cmake deleted file mode 100644 index 935c5a5b3177e..0000000000000 --- a/sysutils/bareos19-server/files/patch-core-cmake_BareosSetVariableDefaults.cmake +++ /dev/null @@ -1,15 +0,0 @@ ---- core/cmake/BareosSetVariableDefaults.cmake 2020-01-31 16:21:15.864122000 -0500 -+++ core/cmake/BareosSetVariableDefaults.cmake 2020-01-31 16:23:58.960984000 -0500 -@@ -641,7 +641,11 @@ - set(PACKAGE_URL "\"\"") - set(PACKAGE_VERSION "\"${BAREOS_NUMERIC_VERSION}\"") - --set(ENABLE_NLS 1) -+if(nls) -+ SET(ENABLE_NLS 1) -+else() -+ SET(ENABLE_NLS 0) -+endif() - - if(HAVE_WIN32) - diff --git a/sysutils/bareos19-server/files/patch-core-manpages_CMakeLists.txt b/sysutils/bareos19-server/files/patch-core-manpages_CMakeLists.txt deleted file mode 100644 index 1a78d64effb15..0000000000000 --- a/sysutils/bareos19-server/files/patch-core-manpages_CMakeLists.txt +++ /dev/null @@ -1,14 +0,0 @@ ---- core/manpages/CMakeLists.txt 2020-01-31 11:21:18.000000000 -0500 -+++ core/manpages/CMakeLists.txt 2020-01-31 15:33:19.205416000 -0500 -@@ -17,9 +17,11 @@ - # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - # 02110-1301, USA. - -+if(client-only) - set(MAN1 bconsole.1) - - set(MAN8 bareos-fd.8 bareos.8) -+endif() - - if(NOT client-only) - set(MAN1-server diff --git a/sysutils/bareos19-server/files/patch-core-scripts_CMakeLists.txt b/sysutils/bareos19-server/files/patch-core-scripts_CMakeLists.txt deleted file mode 100644 index ae7fd0295cdfc..0000000000000 --- a/sysutils/bareos19-server/files/patch-core-scripts_CMakeLists.txt +++ /dev/null @@ -1,59 +0,0 @@ ---- core/scripts/CMakeLists.txt 2020-01-31 11:21:18.000000000 -0500 -+++ core/scripts/CMakeLists.txt 2020-01-31 15:37:16.832224000 -0500 -@@ -17,33 +17,35 @@ - # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - # 02110-1301, USA. - --install( -- FILES bareos btraceback -- PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE -- WORLD_READ WORLD_EXECUTE -- DESTINATION "${sbindir}" --) -+if(client-only) -+ install( -+ FILES bareos btraceback -+ PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE -+ WORLD_READ WORLD_EXECUTE -+ DESTINATION "${sbindir}" -+ ) - --install( -- FILES bareos-ctl-fd -- PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE -- WORLD_READ WORLD_EXECUTE -- DESTINATION "${scriptdir}" -- COMPONENT filedaemon --) -+ install( -+ FILES bareos-ctl-fd -+ PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE -+ WORLD_READ WORLD_EXECUTE -+ DESTINATION "${scriptdir}" -+ COMPONENT filedaemon -+ ) - --install( -- FILES bareos btraceback.gdb btraceback.dbx btraceback.mdb bareos-config -- bareos-config-lib.sh bareos-ctl-funcs -- PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE -- WORLD_READ WORLD_EXECUTE -- DESTINATION "${scriptdir}" --) -+ install( -+ FILES bareos btraceback.gdb btraceback.dbx btraceback.mdb bareos-config -+ bareos-config-lib.sh bareos-ctl-funcs -+ PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE -+ WORLD_READ WORLD_EXECUTE -+ DESTINATION "${scriptdir}" -+ ) -+endif() - - if(NOT client-only) - install( - FILES mtx-changer disk-changer bareos-explorer bareos-glusterfind-wrapper -- bareos-ctl-dir bareos-ctl-sd bareos-ctl-funcs -+ bareos-ctl-dir bareos-ctl-sd - PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE - WORLD_READ WORLD_EXECUTE - DESTINATION "${scriptdir}" diff --git a/sysutils/bareos19-server/files/patch-core-src-dird-dbcopy_CMakeLists.txt b/sysutils/bareos19-server/files/patch-core-src-dird-dbcopy_CMakeLists.txt deleted file mode 100644 index 7871e7d5e0f8b..0000000000000 --- a/sysutils/bareos19-server/files/patch-core-src-dird-dbcopy_CMakeLists.txt +++ /dev/null @@ -1,12 +0,0 @@ ---- core/src/dird/dbcopy/CMakeLists.txt 2020-02-01 12:39:35.841314000 -0500 -+++ core/src/dird/dbcopy/CMakeLists.txt 2020-02-01 12:39:55.280473000 -0500 -@@ -11,6 +11,9 @@ - bareossql - $<$:${PAM_LIBRARIES}> - ${LMDB_LIBS} -+ ${OPENSSL_LIBRARIES} -+ ${PTHREAD_LIBRARIES} -+ ${JANSSON_LIBRARIES} - ) - - install(TARGETS diff --git a/sysutils/bareos19-server/files/patch-core-src-dird_CMakeLists.txt b/sysutils/bareos19-server/files/patch-core-src-dird_CMakeLists.txt deleted file mode 100644 index a413103670622..0000000000000 --- a/sysutils/bareos19-server/files/patch-core-src-dird_CMakeLists.txt +++ /dev/null @@ -1,21 +0,0 @@ ---- core/src/dird/CMakeLists.txt 2020-01-31 11:21:18.000000000 -0500 -+++ core/src/dird/CMakeLists.txt 2020-01-31 15:41:53.134935000 -0500 -@@ -148,7 +148,8 @@ - add_executable(bareos-dir ${DIRDSRCS}) - - set(BAREOS_DIR_LIBRARIES dird_objects bareos bareoscats bareossql bareosfind -- ${LMDB_LIBS} ${NDMP_LIBS} -+ ${LMDB_LIBS} ${NDMP_LIBS} ${OPENSSL_LIBRARIES} -+ ${PTHREAD_LIBRARIES} ${JANSSON_LIBRARIES} - ) - - if(HAVE_WIN32) -@@ -166,7 +167,7 @@ - add_executable(bareos-dbcheck ${DBCHKSRCS}) - set(DBCHECK_LIBRARIES bareossql bareos bareosfind bareoscats) - --target_link_libraries(bareos-dbcheck ${DBCHECK_LIBRARIES}) -+target_link_libraries(bareos-dbcheck ${DBCHECK_LIBRARIES} ${OPENSSL_LIBRARIES} ${PTHREAD_LIBRARIES} ${JANSSON_LIBRARIES}) - - # is not built by default - diff --git a/sysutils/bareos19-server/files/patch-core-src-include_baconfig.h b/sysutils/bareos19-server/files/patch-core-src-include_baconfig.h deleted file mode 100644 index 00af8c5eff442..0000000000000 --- a/sysutils/bareos19-server/files/patch-core-src-include_baconfig.h +++ /dev/null @@ -1,25 +0,0 @@ ---- core/src/include/baconfig.h 2020-02-04 15:53:01.627766000 -0500 -+++ core/src/include/baconfig.h 2020-02-04 15:53:34.762711000 -0500 -@@ -119,11 +119,11 @@ - #define N_(s) (s) - #endif /* N_ */ - #else /* !ENABLE_NLS */ -+#include - #undef _ - #undef N_ - #undef textdomain - #undef bindtextdomain --#undef setlocale - - #ifndef _ - #define _(s) (s) -@@ -136,9 +136,6 @@ - #endif - #ifndef bindtextdomain - #define bindtextdomain(p, d) --#endif --#ifndef setlocale --#define setlocale(p, d) - #endif - #endif /* ENABLE_NLS */ - diff --git a/sysutils/bareos19-server/files/patch-core-src-plugins-dird_python-dir.cc b/sysutils/bareos19-server/files/patch-core-src-plugins-dird_python-dir.cc deleted file mode 100644 index c5a20c421954a..0000000000000 --- a/sysutils/bareos19-server/files/patch-core-src-plugins-dird_python-dir.cc +++ /dev/null @@ -1,61 +0,0 @@ ---- core/src/plugins/dird/python-dir.cc 2020-01-31 11:21:18.000000000 -0500 -+++ core/src/plugins/dird/python-dir.cc 2020-01-31 15:50:39.024455000 -0500 -@@ -41,6 +41,13 @@ - #error "Need at least Python version 2.6 or newer" - #endif - -+#if (PY_VERSION_HEX > 0x03050000) -+#define PyInt_AsLong PyLong_AsLong -+#define PyInt_FromLong PyLong_FromLong -+#define PyString_AsString PyUnicode_AsUTF8 -+#define PyString_FromString PyUnicode_FromString -+#endif -+ - #include "python-dir.h" - #include "lib/edit.h" - -@@ -121,6 +128,20 @@ - */ - static PyThreadState* mainThreadState; - -+#if (PY_VERSION_HEX > 0x03050000) -+static struct PyModuleDef BareosDIRModuleDef = { -+ PyModuleDef_HEAD_INIT, -+ "bareosdir", -+ NULL, -+ -1, -+ BareosDIRMethods, -+ NULL, -+ NULL, -+ NULL, -+ NULL -+}; -+#endif -+ - #ifdef __cplusplus - extern "C" { - #endif -@@ -660,7 +681,11 @@ - /* - * Make our callback methods available for Python. - */ -+#if (PY_VERSION_HEX > 0x03050000) -+ p_ctx->pInstance = PyModule_Create(&BareosDIRModuleDef); -+#else - p_ctx->pInstance = Py_InitModule("bareosdir", BareosDIRMethods); -+#endif - } - - /* -@@ -939,7 +964,11 @@ - char* value; - - ctx = PyGetbpContext(pyCtx); -+#if (PY_VERSION_HEX > 0x03050000) -+ value = strdup(PyString_AsString(pyValue)); -+#else - value = PyString_AsString(pyValue); -+#endif - if (value) { - retval = bfuncs->setBareosValue(ctx, (bwDirVariable)var, value); - } diff --git a/sysutils/bareos19-server/files/patch-core-src-plugins-filed_CMakeLists.txt b/sysutils/bareos19-server/files/patch-core-src-plugins-filed_CMakeLists.txt deleted file mode 100644 index 3757a55385cf9..0000000000000 --- a/sysutils/bareos19-server/files/patch-core-src-plugins-filed_CMakeLists.txt +++ /dev/null @@ -1,49 +0,0 @@ ---- core/src/plugins/filed/CMakeLists.txt 2020-01-31 11:21:18.000000000 -0500 -+++ core/src/plugins/filed/CMakeLists.txt 2020-01-31 15:54:40.841485000 -0500 -@@ -100,24 +100,26 @@ - install(TARGETS test-plugin-fd DESTINATION ${plugindir} COMPONENT filedaemon) - endif() - --set(PYFILES -- bareos-fd.py.template -- bareos-fd-local-fileset.py -- bareos-fd-mock-test.py -- BareosFdPluginBaseclass.py -- BareosFdPluginLocalFileset.py -- BareosFdWrapper.py -- bareos_fd_consts.py -- bareos-fd-ldap.py -- BareosFdPluginLDAP.py -- bareos-fd-ovirt.py -- BareosFdPluginOvirt.py -- bareos-fd-percona-xtrabackup.py -- BareosFdPluginPerconaXtraBackup.py --) -+if(python) -+ set(PYFILES -+ bareos-fd.py.template -+ bareos-fd-local-fileset.py -+ bareos-fd-mock-test.py -+ BareosFdPluginBaseclass.py -+ BareosFdPluginLocalFileset.py -+ BareosFdWrapper.py -+ bareos_fd_consts.py -+ bareos-fd-ldap.py -+ BareosFdPluginLDAP.py -+ bareos-fd-ovirt.py -+ BareosFdPluginOvirt.py -+ bareos-fd-percona-xtrabackup.py -+ BareosFdPluginPerconaXtraBackup.py -+ ) - --install( -- FILES ${PYFILES} -- DESTINATION ${plugindir} -- COMPONENT filedaemon --) -+ install( -+ FILES ${PYFILES} -+ DESTINATION ${plugindir} -+ COMPONENT filedaemon -+ ) -+endif() diff --git a/sysutils/bareos19-server/files/patch-core-src-plugins-filed_gfapi-fd.cc b/sysutils/bareos19-server/files/patch-core-src-plugins-filed_gfapi-fd.cc deleted file mode 100644 index 0375b4c33f7e9..0000000000000 --- a/sysutils/bareos19-server/files/patch-core-src-plugins-filed_gfapi-fd.cc +++ /dev/null @@ -1,24 +0,0 @@ ---- core/src/plugins/filed/gfapi-fd.cc 2020-02-03 00:50:05.248044000 -0500 -+++ core/src/plugins/filed/gfapi-fd.cc 2020-02-03 00:50:35.639144000 -0500 -@@ -32,7 +32,7 @@ - #include "lib/berrno.h" - #include "lib/edit.h" - --#include -+#include - - - /* avoid missing config.h problem on Debian 8 and Ubuntu 16: -@@ -41,10 +41,10 @@ - */ - #ifndef _CONFIG_H - #define _CONFIG_H --#include -+#include - #undef _CONFIG_H - #else --#include -+#include - #endif - - namespace filedaemon { diff --git a/sysutils/bareos19-server/files/patch-core-src-plugins-filed_python-fd.cc b/sysutils/bareos19-server/files/patch-core-src-plugins-filed_python-fd.cc deleted file mode 100644 index a750dbc3a213d..0000000000000 --- a/sysutils/bareos19-server/files/patch-core-src-plugins-filed_python-fd.cc +++ /dev/null @@ -1,111 +0,0 @@ ---- core/src/plugins/filed/python-fd.cc 2020-01-31 11:21:18.000000000 -0500 -+++ core/src/plugins/filed/python-fd.cc 2020-01-31 17:58:06.370789000 -0500 -@@ -46,6 +46,14 @@ - #error "Need at least Python version 2.6 or newer" - #endif - -+#if (PY_VERSION_HEX > 0x03050000) -+#define PyInt_AsLong PyLong_AsLong -+#define PyInt_FromLong PyLong_FromLong -+#define PyString_AsString PyUnicode_AsUTF8 -+#define PyString_FromString PyUnicode_FromString -+#define PyString_Check PyBytes_Check -+#endif -+ - static const int debuglevel = 150; - - #define PLUGIN_LICENSE "Bareos AGPLv3" -@@ -154,6 +162,20 @@ - */ - static PyThreadState* mainThreadState; - -+#if (PY_VERSION_HEX > 0x03050000) -+static struct PyModuleDef BareosFDModuleDef = { -+ PyModuleDef_HEAD_INIT, -+ "bareosfd", -+ NULL, -+ -1, -+ BareosFDMethods, -+ NULL, -+ NULL, -+ NULL, -+ NULL -+}; -+#endif -+ - #ifdef __cplusplus - extern "C" { - #endif -@@ -1148,7 +1170,11 @@ - /* - * Make our callback methods available for Python. - */ -+#if (PY_VERSION_HEX > 0x03050000) -+ p_ctx->pInstance = PyModule_Create(&BareosFDModuleDef); -+#else - p_ctx->pInstance = Py_InitModule("bareosfd", BareosFDMethods); -+#endif - - /* - * Fill in the slots of PyRestoreObject -@@ -2587,7 +2613,11 @@ - case bVarFileSeen: { - char* value; - -+#if (PY_VERSION_HEX > 0x03050000) -+ value = strdup(PyString_AsString(pyValue)); -+#else - value = PyString_AsString(pyValue); -+#endif - if (value) { - retval = bfuncs->setBareosValue(ctx, (bVariable)var, value); - } -@@ -2972,7 +3002,11 @@ - sp.type = pSavePkt->type; - if (pSavePkt->fname) { - if (PyString_Check(pSavePkt->fname)) { -+#if (PY_VERSION_HEX > 0x03050000) -+ sp.fname = strdup(PyString_AsString(pSavePkt->fname)); -+#else - sp.fname = PyString_AsString(pSavePkt->fname); -+#endif - } else { - goto bail_out; - } -@@ -2981,7 +3015,11 @@ - } - if (pSavePkt->link) { - if (PyString_Check(pSavePkt->link)) { -+#if (PY_VERSION_HEX > 0x03050000) -+ sp.link = strdup(PyString_AsString(pSavePkt->link)); -+#else - sp.link = PyString_AsString(pSavePkt->link); -+#endif - } else { - goto bail_out; - } -@@ -3025,7 +3063,11 @@ - */ - if (pSavePkt->fname) { - if (PyString_Check(pSavePkt->fname)) { -+#if (PY_VERSION_HEX > 0x03050000) -+ sp.fname = strdup(PyString_AsString(pSavePkt->fname)); -+#else - sp.fname = PyString_AsString(pSavePkt->fname); -+#endif - } else { - goto bail_out; - } -@@ -3101,8 +3143,11 @@ - static inline char* PyGetStringValue(PyObject* object) - { - if (!object || !PyString_Check(object)) { return (char*)""; } -- -+#if (PY_VERSION_HEX > 0x03050000) -+ return strdup(PyString_AsString(object)); -+#else - return PyString_AsString(object); -+#endif - } - - static inline char* PyGetByteArrayValue(PyObject* object) diff --git a/sysutils/bareos19-server/files/patch-core-src-plugins-stored_CMakeLists.txt b/sysutils/bareos19-server/files/patch-core-src-plugins-stored_CMakeLists.txt deleted file mode 100644 index 3dc59542df607..0000000000000 --- a/sysutils/bareos19-server/files/patch-core-src-plugins-stored_CMakeLists.txt +++ /dev/null @@ -1,13 +0,0 @@ ---- core/src/plugins/stored/CMakeLists.txt 2020-02-01 12:41:50.658146000 -0500 -+++ core/src/plugins/stored/CMakeLists.txt 2020-02-01 12:43:09.372433000 -0500 -@@ -27,6 +27,10 @@ - ${PROJECT_SOURCE_DIR}/src/win32/plugins/python/lib/${WINDOWS_BITS} - ) - add_definitions(-DMS_WIN${WINDOWS_BITS}) -+else() -+ include_directories( -+ ${PROJECT_SOURCE_DIR}/src/fastlz/include -+ ) - endif() - - add_library(autoxflate-sd MODULE autoxflate-sd.cc) diff --git a/sysutils/bareos19-server/files/patch-core-src-plugins-stored_python-sd.cc b/sysutils/bareos19-server/files/patch-core-src-plugins-stored_python-sd.cc deleted file mode 100644 index 7cbc0b4816bbc..0000000000000 --- a/sysutils/bareos19-server/files/patch-core-src-plugins-stored_python-sd.cc +++ /dev/null @@ -1,61 +0,0 @@ ---- core/src/plugins/stored/python-sd.cc 2020-01-31 11:21:18.000000000 -0500 -+++ core/src/plugins/stored/python-sd.cc 2020-01-31 16:07:55.684864000 -0500 -@@ -41,6 +41,13 @@ - #error "Need at least Python version 2.6 or newer" - #endif - -+#if (PY_VERSION_HEX > 0x03050000) -+#define PyInt_AsLong PyLong_AsLong -+#define PyInt_FromLong PyLong_FromLong -+#define PyString_AsString PyUnicode_AsUTF8 -+#define PyString_FromString PyUnicode_FromString -+#endif -+ - static const int debuglevel = 150; - - #define PLUGIN_LICENSE "Bareos AGPLv3" -@@ -119,6 +126,20 @@ - */ - static PyThreadState* mainThreadState; - -+#if (PY_VERSION_HEX > 0x03050000) -+static struct PyModuleDef BareosSDModuleDef = { -+ PyModuleDef_HEAD_INIT, -+ "bareossd", -+ NULL, -+ -1, -+ BareosSDMethods, -+ NULL, -+ NULL, -+ NULL, -+ NULL -+}; -+#endif -+ - #ifdef __cplusplus - extern "C" { - #endif -@@ -678,7 +699,11 @@ - /* - * Make our callback methods available for Python. - */ -+#if (PY_VERSION_HEX > 0x03050000) -+ p_ctx->pInstance = PyModule_Create(&BareosSDModuleDef); -+#else - p_ctx->pInstance = Py_InitModule("bareossd", BareosSDMethods); -+#endif - } - - /* -@@ -958,7 +983,11 @@ - char* value; - - ctx = PyGetbpContext(pyCtx); -+#if (PY_VERSION_HEX > 0x03050000) -+ value = strdup(PyString_AsString(pyValue)); -+#else - value = PyString_AsString(pyValue); -+#endif - if (value) { bfuncs->setBareosValue(ctx, (bsdwVariable)var, value); } - - break; diff --git a/sysutils/bareos19-server/files/patch-core-src-stored-backends_gfapi_device.h b/sysutils/bareos19-server/files/patch-core-src-stored-backends_gfapi_device.h deleted file mode 100644 index 2bd3b26759046..0000000000000 --- a/sysutils/bareos19-server/files/patch-core-src-stored-backends_gfapi_device.h +++ /dev/null @@ -1,11 +0,0 @@ ---- core/src/stored/backends/gfapi_device.h 2020-02-03 01:55:43.902693000 -0500 -+++ core/src/stored/backends/gfapi_device.h 2020-02-03 01:52:28.885974000 -0500 -@@ -28,7 +28,7 @@ - #ifndef BAREOS_STORED_BACKENDS_GFAPI_DEVICE_H_ - #define BAREOS_STORED_BACKENDS_GFAPI_DEVICE_H_ - --#include -+#include - - #if defined GLFS_FTRUNCATE_HAS_FOUR_ARGS - #define glfs_ftruncate(fd, offset) glfs_ftruncate(fd, offset, NULL, NULL) diff --git a/sysutils/bareos19-server/files/patch-core-src-stored_CMakeLists.txt b/sysutils/bareos19-server/files/patch-core-src-stored_CMakeLists.txt deleted file mode 100644 index 311f66b1cb599..0000000000000 --- a/sysutils/bareos19-server/files/patch-core-src-stored_CMakeLists.txt +++ /dev/null @@ -1,41 +0,0 @@ ---- core/src/stored/CMakeLists.txt 2021-09-13 11:07:41.000000000 -0500 -+++ core/src/stored/CMakeLists.txt 2022-03-04 20:43:08.042458000 -0500 -@@ -213,23 +213,23 @@ - list(APPEND BAREOS_SD_LIBRARIES comctl32) - endif() - --target_link_libraries(bareos-sd stored_objects ${BAREOS_SD_LIBRARIES}) -+target_link_libraries(bareos-sd stored_objects ${BAREOS_SD_LIBRARIES} ${JANSSON_LIBRARIES} ${PTHREAD_LIBRARIES}) - - add_executable(bls ${BLSSRCS}) --target_link_libraries(bls bareos bareossd bareosfind) -+target_link_libraries(bls bareos bareossd bareosfind ${JANSSON_LIBRARIES} ${PTHREAD_LIBRARIES}) - - add_executable(bextract ${BEXTRACTSRS}) --target_link_libraries(bextract bareossd bareosfind bareos) -+target_link_libraries(bextract bareossd bareosfind bareos ${JANSSON_LIBRARIES} ${PTHREAD_LIBRARIES}) - - add_executable(bscan ${BSCANSRCS}) --target_link_libraries(bscan bareos bareossd bareosfind bareossql bareoscats) -+target_link_libraries(bscan bareos bareossd bareosfind bareossql bareoscats ${JANSSON_LIBRARIES} ${PTHREAD_LIBRARIES}) - - add_executable(btape ${BTAPESRCS}) --target_link_libraries(btape bareossd bareos) -+target_link_libraries(btape bareossd bareos ${JANSSON_LIBRARIES} ${PTHREAD_LIBRARIES}) - - add_executable(bcopy ${BCOPYSRCS}) - --target_link_libraries(bcopy bareossd bareos) -+target_link_libraries(bcopy bareossd bareos ${JANSSON_LIBRARIES} ${PTHREAD_LIBRARIES}) - - install(TARGETS bareossd DESTINATION ${libdir}) - -@@ -243,7 +243,7 @@ - install(CODE "set(SRC_DIR \"${PROJECT_SOURCE_DIR}\")") - install(SCRIPT ${PROJECT_SOURCE_DIR}/cmake/install-stored-configfiles.cmake) - --install(DIRECTORY DESTINATION "../${archivedir}") -+install(DIRECTORY DESTINATION "${archivedir}") - - if(${HAVE_DYNAMIC_SD_BACKENDS}) - add_subdirectory(backends) diff --git a/sysutils/bareos19-server/files/patch-core-src_CMakeLists.txt b/sysutils/bareos19-server/files/patch-core-src_CMakeLists.txt deleted file mode 100644 index f9401574e1293..0000000000000 --- a/sysutils/bareos19-server/files/patch-core-src_CMakeLists.txt +++ /dev/null @@ -1,28 +0,0 @@ ---- core/src/CMakeLists.txt 2020-01-31 11:21:18.000000000 -0500 -+++ core/src/CMakeLists.txt 2020-02-01 12:33:06.503769000 -0500 -@@ -35,15 +35,18 @@ - add_subdirectory(tests) - endif() - --add_subdirectory(console) --if(${HAVE_LMDB}) -- add_subdirectory(lmdb) -+if(client-only) -+ add_subdirectory(console) -+ if(${HAVE_LMDB}) -+ add_subdirectory(lmdb) -+ endif() -+ add_subdirectory(lib) -+ add_subdirectory(findlib) -+ add_subdirectory(filed) -+ add_subdirectory(fastlz) - endif() --add_subdirectory(lib) --add_subdirectory(findlib) --add_subdirectory(filed) -+ - add_subdirectory(plugins) --add_subdirectory(fastlz) - - if(${traymonitor}) - add_subdirectory(qt-tray-monitor) diff --git a/sysutils/bareos19-server/files/patch-core_cmake_bareos-symlink-default-db-backend.cmake b/sysutils/bareos19-server/files/patch-core_cmake_bareos-symlink-default-db-backend.cmake deleted file mode 100644 index 11bfbd7af6035..0000000000000 --- a/sysutils/bareos19-server/files/patch-core_cmake_bareos-symlink-default-db-backend.cmake +++ /dev/null @@ -1,38 +0,0 @@ ---- core/cmake/bareos-symlink-default-db-backend.cmake.orig 2020-12-11 13:44:43 UTC -+++ core/cmake/bareos-symlink-default-db-backend.cmake -@@ -16,15 +16,33 @@ - # along with this program; if not, write to the Free Software - # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - # 02110-1301, USA. -+ -+# The ${libdir} and ${backenddir} are absolute, so figure out -+# a relative path (${backenddir} lives under ${libdir}) instead. -+# Make the link relative, placing the libbareoscats.so in ${libdir}. -+# Within this script, VERSION is set to BAREOS_NUMERIC_VERSION (see -+# core/src/cats/CMakeLists.txt). - message( - STATUS - "${CMAKE_COMMAND} -E create_symlink ${libdir}/libbareoscats${CMAKE_SHARED_LIBRARY_SUFFIX} ${backenddir}/libbareoscats-${default_db_backend}${CMAKE_SHARED_LIBRARY_SUFFIX}" - ) -+file( -+ RELATIVE_PATH -+ _rel -+ ${libdir} -+ ${backenddir}/libbareoscats-${default_db_backend}${CMAKE_SHARED_LIBRARY_SUFFIX} -+) -+message( -+ STATUS -+ ".. actually ${_rel} in $ENV{DESTDIR} v ${VERSION}" -+) -+ - execute_process( - COMMAND - ${CMAKE_COMMAND} - -E - create_symlink -- ${backenddir}/libbareoscats-${default_db_backend}${CMAKE_SHARED_LIBRARY_SUFFIX} -- ${libdir}/libbareoscats${CMAKE_SHARED_LIBRARY_SUFFIX}.${BAREOS_NUMERIC_VERSION} -+ ${_rel} -+ libbareoscats${CMAKE_SHARED_LIBRARY_SUFFIX}.${VERSION} -+ WORKING_DIRECTORY $ENV{DESTDIR}${libdir} COMMAND_ECHO STDOUT - ) diff --git a/sysutils/bareos19-server/files/pkg-deinstall.client.in b/sysutils/bareos19-server/files/pkg-deinstall.client.in deleted file mode 100644 index 3be8c2e4874c9..0000000000000 --- a/sysutils/bareos19-server/files/pkg-deinstall.client.in +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -PATH=/bin:/usr/bin:/usr/sbin - -# Note how to delete UID/GID -USER=%%BAREOS_USER%% -GROUP=%%BAREOS_GROUP%% -UID=%%BAREOS_UID%% -GID=%%BAREOS_UID%% -BACULA_DIR=%%BAREOS_DIR%% - -TMPFILE=/tmp/services-$RANDOM-$$ - -case "$2" in -"DEINSTALL") - # Delete entries in /etc/services - sed -e '/# Bareos port start/,/# Bareos port end/{' \ - -e 'd' \ - -e '}' /etc/services > $TMPFILE - mv -f $TMPFILE /etc/services - - if [ -d ${BAREOS_DIR} ]; then - echo "Check if ${BAREOS_DIR} is empty and delete it to permanently remove the bareos port." - fi - - if pw groupshow "${USER}" 2>/dev/null 1>&2; then - echo "To delete Bareos group permanently, use 'pw groupdel ${GROUP}'" - fi - ;; -esac diff --git a/sysutils/bareos19-server/files/pkg-install.client.in b/sysutils/bareos19-server/files/pkg-install.client.in deleted file mode 100644 index 70ca57028237d..0000000000000 --- a/sysutils/bareos19-server/files/pkg-install.client.in +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -PATH=/bin:/usr/bin:/usr/sbin - -# Always add lines in /etc/services -grep -q "bareos-dir" /etc/services -if [ "$?" != "0" ]; then - echo "# Bareos port start -bareos-dir 9101/tcp #Bareos director daemon -bareos-fd 9102/tcp #Bareos file daemon -bareos-sd 9103/tcp #Bareos storage daemon -# Bareos port end" >> /etc/services -fi diff --git a/sysutils/bareos19-server/files/pkg-message.client.in b/sysutils/bareos19-server/files/pkg-message.client.in deleted file mode 100644 index b3e2d5825e137..0000000000000 --- a/sysutils/bareos19-server/files/pkg-message.client.in +++ /dev/null @@ -1,17 +0,0 @@ -[ -{ type: install - message: < diff --git a/www/bareos19-webui/distinfo b/www/bareos19-webui/distinfo deleted file mode 100644 index 7b91f1e08fbd1..0000000000000 --- a/www/bareos19-webui/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1667252548 -SHA256 (bareos-bareos-Release-19.2.13_GH0.tar.gz) = 67ec1c48e5eb9b64e9f1c7984d6e549e3299221b1f166dfb9c8d545216007ad7 -SIZE (bareos-bareos-Release-19.2.13_GH0.tar.gz) = 12986687 diff --git a/www/bareos19-webui/files/pkg-message.in b/www/bareos19-webui/files/pkg-message.in deleted file mode 100644 index ec5adb5927174..0000000000000 --- a/www/bareos19-webui/files/pkg-message.in +++ /dev/null @@ -1,19 +0,0 @@ -[ -{ type: install - message: <