mirror of
https://github.com/MariaDB/server.git
synced 2025-01-26 08:44:33 +01:00
MDEV-9566 MariaBackup packaging
This commit is contained in:
parent
ce4c56db0c
commit
1991411f16
4 changed files with 22 additions and 2 deletions
|
@ -23,10 +23,14 @@ SET(CPACK_COMPONENT_SHAREDLIBRARIES_GROUP "shared")
|
|||
SET(CPACK_COMPONENT_COMMON_GROUP "common")
|
||||
SET(CPACK_COMPONENT_CLIENTPLUGINS_GROUP "common")
|
||||
SET(CPACK_COMPONENT_COMPAT_GROUP "compat")
|
||||
SET(CPACK_COMPONENT_BACKUP_GROUP "backup")
|
||||
|
||||
SET(CPACK_COMPONENTS_ALL Server ManPagesServer IniFiles Server_Scripts
|
||||
SupportFiles Development ManPagesDevelopment
|
||||
ManPagesTest Readme ManPagesClient Test
|
||||
Common Client SharedLibraries ClientPlugins)
|
||||
Common Client SharedLibraries ClientPlugins
|
||||
backup
|
||||
)
|
||||
|
||||
SET(CPACK_RPM_PACKAGE_NAME ${CPACK_PACKAGE_NAME})
|
||||
SET(CPACK_PACKAGE_FILE_NAME "${CPACK_RPM_PACKAGE_NAME}-${VERSION}-${RPM}-${CMAKE_SYSTEM_PROCESSOR}")
|
||||
|
@ -98,6 +102,7 @@ SET(CPACK_RPM_client_USER_FILELIST ${ignored} "%config(noreplace) ${INSTALL_SYSC
|
|||
SET(CPACK_RPM_compat_USER_FILELIST ${ignored})
|
||||
SET(CPACK_RPM_devel_USER_FILELIST ${ignored})
|
||||
SET(CPACK_RPM_test_USER_FILELIST ${ignored})
|
||||
SET(CPACK_RPM_backup_USER_FILELIST ${ignored})
|
||||
|
||||
# "set/append array" - append a set of strings, separated by a space
|
||||
MACRO(SETA var)
|
||||
|
|
8
debian/control
vendored
8
debian/control
vendored
|
@ -10,6 +10,7 @@ Build-Depends: bison,
|
|||
dh-apparmor,
|
||||
dpatch,
|
||||
libaio-dev,
|
||||
libarchive-dev,
|
||||
libboost-dev,
|
||||
libjudy-dev,
|
||||
libkrb5-dev,
|
||||
|
@ -443,3 +444,10 @@ Section: database
|
|||
Architecture: any
|
||||
Depends: libgssapi-krb5-2, mariadb-client-10.1
|
||||
Description: GSSAPI authentication plugin for MariaDB client
|
||||
|
||||
|
||||
Package: mariadb-backup-10.1
|
||||
Section: database
|
||||
Architecture: any
|
||||
Depends: libarchive12 | libarchive13
|
||||
Description: Backup tool for MariaDB server
|
2
debian/mariadb-backup-10.1.files
vendored
Normal file
2
debian/mariadb-backup-10.1.files
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
usr/bin/mariabackup
|
||||
usr/bin/mbstream
|
|
@ -9,7 +9,7 @@ IF(ESSENTIALS)
|
|||
ENDIF()
|
||||
ELSE()
|
||||
SET(CPACK_COMPONENTS_USED
|
||||
"Server;Client;Development;SharedLibraries;Embedded;Documentation;IniFiles;Readme;Debuginfo;Common;connect-engine;ClientPlugins;gssapi-server;gssapi-client;aws-key-management")
|
||||
"Server;Client;Development;SharedLibraries;Embedded;Documentation;IniFiles;Readme;Debuginfo;Common;connect-engine;ClientPlugins;gssapi-server;gssapi-client;aws-key-management;backup")
|
||||
ENDIF()
|
||||
|
||||
SET( WIX_FEATURE_MySQLServer_EXTRA_FEATURES "DBInstance;SharedClientServerComponents")
|
||||
|
@ -55,6 +55,11 @@ SET(CPACK_COMPONENT_GROUP_MYSQLSERVER_DESCRIPTION "Install server")
|
|||
"Debug/trace versions of executables and libraries" )
|
||||
#SET(CPACK_COMPONENT_DEBUGBINARIES_WIX_LEVEL 2)
|
||||
|
||||
# Subfeature "Backup"
|
||||
SET(CPACK_COMPONENT_BACKUP_GROUP "MySQLServer")
|
||||
SET(CPACK_COMPONENT_BACKUP_DISPLAY_NAME "Backup utilities")
|
||||
SET(CPACK_COMPONENT_BACKUP_DESCRIPTION "Installs backup utilities(mariabackup and mbstream)")
|
||||
|
||||
|
||||
#Miscellaneous (hidden) components, part of server / or client programs
|
||||
FOREACH(comp connect-engine ClientPlugins gssapi-server gssapi-client aws-key-management)
|
||||
|
|
Loading…
Add table
Reference in a new issue