Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
ab3a6ca6
Commit
ab3a6ca6
authored
Jul 07, 2019
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup: CPACK_RPM_* package description
add cmake helper macro SET_IF_UNSET() and use it for CPACK_* variables
parent
e47a143f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
21 deletions
+21
-21
cmake/cpack_rpm.cmake
cmake/cpack_rpm.cmake
+1
-10
cmake/misc.cmake
cmake/misc.cmake
+6
-0
cmake/mysql_version.cmake
cmake/mysql_version.cmake
+14
-11
No files found.
cmake/cpack_rpm.cmake
View file @
ab3a6ca6
...
...
@@ -45,17 +45,8 @@ SET(CPACK_RPM_PACKAGE_LICENSE "GPLv2")
SET
(
CPACK_RPM_PACKAGE_RELOCATABLE FALSE
)
SET
(
CPACK_PACKAGE_RELOCATABLE FALSE
)
SET
(
CPACK_RPM_PACKAGE_GROUP
"Applications/Databases"
)
SET
(
CPACK_RPM_PACKAGE_SUMMARY
${
CPACK_PACKAGE_SUMMARY
}
)
SET
(
CPACK_RPM_PACKAGE_URL
${
CPACK_PACKAGE_URL
}
)
SET
(
CPACK_RPM_PACKAGE_DESCRIPTION
"
${
CPACK_RPM_PACKAGE_SUMMARY
}
It is GPL v2 licensed, which means you can use the it free of charge under the
conditions of the GNU General Public License Version 2 (http://www.gnu.org/licenses/).
MariaDB documentation can be found at https://mariadb.com/kb
MariaDB bug reports should be submitted through https://jira.mariadb.org
"
)
SET
(
CPACK_RPM_PACKAGE_DESCRIPTION
"
${
CPACK_PACKAGE_DESCRIPTION
}
"
)
SET
(
CPACK_RPM_shared_PACKAGE_VENDOR
"MariaDB Corporation Ab"
)
SET
(
CPACK_RPM_shared_PACKAGE_LICENSE
"LGPLv2.1"
)
...
...
cmake/misc.cmake
View file @
ab3a6ca6
...
...
@@ -11,3 +11,9 @@ ELSE()
SET
(
__msg1_
${
id
}
${
hash
}
CACHE INTERNAL
""
)
ENDFUNCTION
()
ENDIF
()
MACRO
(
SET_IF_UNSET VAR VAL
)
IF
(
NOT DEFINED
${
VAR
}
)
SET
(
${
VAR
}
${
VAL
}
)
ENDIF
()
ENDMACRO
()
cmake/mysql_version.cmake
View file @
ab3a6ca6
...
...
@@ -70,24 +70,27 @@ ENDMACRO()
GET_MYSQL_VERSION
()
SET
(
MYSQL_TCP_PORT_DEFAULT 0
)
IF
(
NOT MYSQL_TCP_PORT
)
SET
(
MYSQL_TCP_PORT 3306
)
ENDIF
()
SET_IF_UNSET
(
MYSQL_TCP_PORT 3306
)
IF
(
NOT COMPILATION_COMMENT
)
SET
(
COMPILATION_COMMENT
"Source distribution"
)
ENDIF
()
SET_IF_UNSET
(
COMPILATION_COMMENT
"Source distribution"
)
INCLUDE
(
package_name
)
IF
(
NOT CPACK_PACKAGE_FILE_NAME
)
GET_PACKAGE_FILE_NAME
(
CPACK_PACKAGE_FILE_NAME
)
ENDIF
()
IF
(
NOT CPACK_SOURCE_PACKAGE_FILE_NAME
)
SET
(
CPACK_SOURCE_PACKAGE_FILE_NAME
"mariadb-
${
VERSION
}
"
)
ENDIF
()
SET
(
CPACK_PACKAGE_CONTACT
"MariaDB Developers <maria-developers@lists.launchpad.net>"
)
SET
(
CPACK_PACKAGE_VENDOR
"MariaDB Foundation"
)
SET_IF_UNSET
(
CPACK_SOURCE_PACKAGE_FILE_NAME
"mariadb-
${
VERSION
}
"
)
SET_IF_UNSET
(
CPACK_PACKAGE_CONTACT
"MariaDB Developers <maria-developers@lists.launchpad.net>"
)
SET_IF_UNSET
(
CPACK_PACKAGE_VENDOR
"MariaDB Foundation"
)
SET_IF_UNSET
(
CPACK_PACKAGE_DESCRIPTION
"
${
CPACK_PACKAGE_DESCRIPTION_SUMMARY
}
It is GPL v2 licensed, which means you can use the it free of charge under the
conditions of the GNU General Public License Version 2 (http://www.gnu.org/licenses/).
MariaDB documentation can be found at https://mariadb.com/kb
MariaDB bug reports should be submitted through https://jira.mariadb.org
"
)
SET
(
CPACK_SOURCE_GENERATOR
"TGZ"
)
# Defintions for windows version resources
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment