[PATCH] Properly introduce wsrep_sst_backup script in project packaging
authorOtto Kekäläinen <otto@kekalainen.net>
Sun, 22 May 2022 17:13:33 +0000 (10:13 -0700)
committerOtto Kekäläinen <otto@debian.org>
Mon, 14 Nov 2022 06:27:08 +0000 (06:27 +0000)
The script wsrep_sst_backup was introduced on MariaDB 10.3 in commit
9b2fa2a. The new script was automatically included in RPM packages but not
in Debian packages (which started to fail on waring about stray file).

Include wsrep_sst_backup in the mariadb-server-10.{3..8} package, and
also include a stub man page so that packaging of a new script is complete.

Gbp-Pq: Name 2129-new-script-wsrep-sst-backup-fixes.patch

man/CMakeLists.txt
man/wsrep_sst_backup.1 [new file with mode: 0644]

index e9df857d6bfbf374e573957a1607a4de107da64d..889e8db8fc6fadbd3a3758df8be51c207180f846 100644 (file)
@@ -13,7 +13,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1335 USA
 SET(MAN1_WSREP wsrep_sst_rsync.1 wsrep_sst_common.1 wsrep_sst_mariabackup.1
-    wsrep_sst_rsync_wan.1)
+    wsrep_sst_rsync_wan.1 wsrep_sst_backup.1)
 SET(MAN1_SERVER innochecksum.1 myisam_ftdump.1 myisamchk.1
                 aria_chk.1 aria_dump_log.1 aria_ftdump.1 aria_pack.1 aria_read_log.1
                 aria_s3_copy.1
diff --git a/man/wsrep_sst_backup.1 b/man/wsrep_sst_backup.1
new file mode 100644 (file)
index 0000000..d7b1455
--- /dev/null
@@ -0,0 +1,16 @@
+'\" t
+.\"
+.TH "\FBWSREP_SST_BACKUP\FR" "1" "22 May 2022" "MariaDB 10\&.3" "MariaDB Database System"
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.SH NAME
+wsrep_sst_backup \- backup helper script for the MariaDB Galera Cluster
+.SH DESCRIPTION
+Use: See source code of script\.
+.PP
+For more information, please refer to the MariaDB Knowledge Base, available online at https://mariadb.com/kb/