diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-02-16 12:59:29 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-02-16 12:59:29 +0000 |
commit | 79599515788b85b18aa655e7b7f8cc05c1bbddd8 (patch) | |
tree | ade7cb031f363fad64c77139dea7aa3d81908537 /app-backup/bareos/files | |
parent | 6bc2e4d7c5906e46a8f275a876ead6ec41aca5bb (diff) |
gentoo resync : 16.02.1018
Diffstat (limited to 'app-backup/bareos/files')
-rw-r--r-- | app-backup/bareos/files/bareos-cmake-gentoo.patch | 11 | ||||
-rw-r--r-- | app-backup/bareos/files/bareos-cmake-rados.patch | 21 | ||||
-rw-r--r-- | app-backup/bareos/files/bareos-cmake-symlink-default-db-backend.patch | 9 | ||||
-rw-r--r-- | app-backup/bareos/files/bareos-dir.confd | 17 | ||||
-rw-r--r-- | app-backup/bareos/files/bareos-fd.confd | 7 | ||||
-rw-r--r-- | app-backup/bareos/files/bareos-sd.confd | 10 |
6 files changed, 75 insertions, 0 deletions
diff --git a/app-backup/bareos/files/bareos-cmake-gentoo.patch b/app-backup/bareos/files/bareos-cmake-gentoo.patch new file mode 100644 index 000000000000..0f67a9e5d9de --- /dev/null +++ b/app-backup/bareos/files/bareos-cmake-gentoo.patch @@ -0,0 +1,11 @@ +--- core/cmake/distname.sh.orig 2019-01-31 12:39:26.000000000 +0100 ++++ core/cmake/distname.sh 2019-02-05 10:26:43.258936535 +0100 +@@ -134,7 +134,7 @@ + elif test -f /etc/gentoo-release + then + DISTNAME=gentoo +- DISTVER=`awk '/version / { print $5 }' < /etc/gentoo-release` ++ DISTVER=`awk '/release / { print $5 }' < /etc/gentoo-release` + elif test -f /etc/debian_version + then + if `test -f /etc/apt/sources.list && grep -q ubuntu /etc/apt/sources.list`; then diff --git a/app-backup/bareos/files/bareos-cmake-rados.patch b/app-backup/bareos/files/bareos-cmake-rados.patch new file mode 100644 index 000000000000..c9a0c176692e --- /dev/null +++ b/app-backup/bareos/files/bareos-cmake-rados.patch @@ -0,0 +1,21 @@ +--- core/cmake/BareosCheckSymbols.cmake.orig 2018-12-05 23:39:37.307627387 +0100 ++++ core/cmake/BareosCheckSymbols.cmake 2018-12-05 23:40:00.999464771 +0100 +@@ -21,7 +21,7 @@ + + + CHECK_SYMBOL_EXISTS(__stub_lchmod features.h LCHMOD_IS_A_STUB1) +-CHECK_SYMBOL_EXISTS(__stub___lchmod features_h LCHMOD_IS_A_STUB2) ++#CHECK_SYMBOL_EXISTS(__stub___lchmod features_h LCHMOD_IS_A_STUB2) + + + +@@ -43,7 +43,9 @@ + + cmake_push_check_state() + SET(CMAKE_REQUIRED_LIBRARIES ${RADOS_LIBRARIES}) ++if ("${HAVE_RADOS}") + CHECK_SYMBOL_EXISTS(rados_ioctx_set_namespace rados/librados.h HAVE_RADOS_NAMESPACES) + CHECK_SYMBOL_EXISTS(rados_nobjects_list_open rados/librados.h HAVE_RADOS_NOBJECTS_LIST) ++endif() + cmake_pop_check_state() + diff --git a/app-backup/bareos/files/bareos-cmake-symlink-default-db-backend.patch b/app-backup/bareos/files/bareos-cmake-symlink-default-db-backend.patch new file mode 100644 index 000000000000..8c46fdf0dc86 --- /dev/null +++ b/app-backup/bareos/files/bareos-cmake-symlink-default-db-backend.patch @@ -0,0 +1,9 @@ +--- work/bareos-Release-18.2.5/core/cmake/bareos-symlink-default-db-backend.cmake.orig 2019-01-31 12:39:26.000000000 +0100 ++++ work/bareos-Release-18.2.5/core/cmake/bareos-symlink-default-db-backend.cmake 2019-02-05 11:00:24.559983661 +0100 +@@ -19,5 +19,5 @@ + MESSAGE(STATUS "${CMAKE_COMMAND} -E create_symlink ${libdir}/libbareoscats${CMAKE_SHARED_LIBRARY_SUFFIX} ${backenddir}/libbareoscats-${default_db_backend}${CMAKE_SHARED_LIBRARY_SUFFIX}") + 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} ++ $ENV{DESTDIR}/${libdir}/libbareoscats${CMAKE_SHARED_LIBRARY_SUFFIX}.${BAREOS_NUMERIC_VERSION} + ) diff --git a/app-backup/bareos/files/bareos-dir.confd b/app-backup/bareos/files/bareos-dir.confd new file mode 100644 index 000000000000..6d755bf93344 --- /dev/null +++ b/app-backup/bareos/files/bareos-dir.confd @@ -0,0 +1,17 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Config file for /etc/init.d/bareos-dir + +# Bareos can use more than one catalog database and each one can +# be of any supported type. +# If a database server where you store a bareos catalog +# is on a different machine, you might want to remove the corresponding +# type from the rc_need variable. +rc_need="%databasetypes%" + +# Options for the director daemon. +# The director can be run as a non-root user, however +# please ensure that this user has proper permissions to +# access your backup devices. +DIR_OPTIONS="-u bareos -g bareos" diff --git a/app-backup/bareos/files/bareos-fd.confd b/app-backup/bareos/files/bareos-fd.confd new file mode 100644 index 000000000000..5e429a6bd31c --- /dev/null +++ b/app-backup/bareos/files/bareos-fd.confd @@ -0,0 +1,7 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Config file for /etc/init.d/bareos-fd + +# Options for the file daemon. +FD_OPTIONS="-u root -g bareos" diff --git a/app-backup/bareos/files/bareos-sd.confd b/app-backup/bareos/files/bareos-sd.confd new file mode 100644 index 000000000000..d0153b2b30b5 --- /dev/null +++ b/app-backup/bareos/files/bareos-sd.confd @@ -0,0 +1,10 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Config file for /etc/init.d/bareos-sd + +# Options for the storage daemon. +# The storage daemon can be run as a non-root user, however +# please ensure that this user has proper permissions to +# access your backup devices. +SD_OPTIONS="-u bareos -g bareos" |