From 72d125dde8fae3a742868803102e3813a243eb30 Mon Sep 17 00:00:00 2001 From: starlet-dx <15929766099@163.com> Date: Wed, 31 Jan 2024 17:29:21 +0800 Subject: [PATCH] Remove unused -t option in dbcheck.c --- ...t-option-in-dbcheck.c-fixes-bug-2453.patch | 24 +++++++++++++++++++ bacula.spec | 7 +++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 Remove-unused-t-option-in-dbcheck.c-fixes-bug-2453.patch diff --git a/Remove-unused-t-option-in-dbcheck.c-fixes-bug-2453.patch b/Remove-unused-t-option-in-dbcheck.c-fixes-bug-2453.patch new file mode 100644 index 0000000..0094de2 --- /dev/null +++ b/Remove-unused-t-option-in-dbcheck.c-fixes-bug-2453.patch @@ -0,0 +1,24 @@ +From 5a064f40a393193d057bd5a6d649ff4102aad742 Mon Sep 17 00:00:00 2001 +From: Kern Sibbald +Date: Sat, 2 May 2020 11:18:11 +0200 +Subject: [PATCH 1/1] Remove unused -t option in dbcheck.c -- fixes bug #2453 + +--- + src/tools/dbcheck.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/src/tools/dbcheck.c b/src/tools/dbcheck.c +index b7ee37106..1257adbed 100644 +--- a/src/tools/dbcheck.c ++++ b/src/tools/dbcheck.c +@@ -104,7 +104,6 @@ PROG_COPYRIGHT + " -d set debug level to \n" + " -dt print a timestamp in debug output\n" + " -f fix inconsistencies\n" +-" -t test if client library is thread-safe\n" + " -v verbose\n" + " -? print this message\n" + "\n", 2002, "", VERSION, BDATE); +-- +2.33.0 + diff --git a/bacula.spec b/bacula.spec index 9475552..d875503 100644 --- a/bacula.spec +++ b/bacula.spec @@ -3,7 +3,7 @@ Name: bacula Version: 9.4.4 -Release: 4 +Release: 5 Summary: Cross platform network backup for Linux, Unix, Mac and Windows License: AGPLv3 with exceptions URL: http://www.bacula.org @@ -19,6 +19,8 @@ Patch0001: bacula-sqlite-priv.patch Patch0002: bacula-seg-fault.patch Patch0003: bacula-autoconf.patch Patch0004: bacula-stop-the-service-and-the-process-exits-normally.patch +# https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/commit/5a064f40a393193d057bd5a6d649ff4102aad742 +Patch0005: Remove-unused-t-option-in-dbcheck.c-fixes-bug-2453.patch BuildRequires: desktop-file-utils perl-generators sed autoconf automake lzo-devel zlib-devel BuildRequires: gcc gcc-c++ glibc-devel ImageMagick libacl-devel libstdc++-devel libxml2-devel @@ -319,6 +321,9 @@ fi %{_mandir}/man* %changelog +* Wed Jan 31 2024 yaoxin - 9.4.4-5 +- Remove unused -t option in dbcheck.c + * Tue Mar 9 2021 zhangjaipeng - 9.4.4-4 - Stop the service and the process exits normally -- Gitee