Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
3.0.2
-
None
-
None
Description
The LInux distributions have a joint effort to get all open source software build in a reproducible manner to increase the security and auditability of that distributed binaries actually stem from the source code they claim. See https://reproducible-builds.org/ for details.
MariaDB Connector C stores the build architecture inside mariadb_version.h which breaks the reproducibility. See details at https://tests.reproducible-builds.org/debian/rb-pkg/unstable/i386/diffoscope-results/mariadb-connector-c.html
}}
|
./usr/include/mariadb/mariadb_version.h
|
Offset 17, 15 lines modified Offset 17, 15 lines modified
|
17 #define·MARIADB_PORT» ········» 3306 17 #define·MARIADB_PORT» ········» 3306
|
18 #define·MARIADB_UNIX_ADDR···············"/tmp/mysql.sock" 18 #define·MARIADB_UNIX_ADDR···············"/tmp/mysql.sock"
|
19 #define·MYSQL_CONFIG_NAME» » "my" 19 #define·MYSQL_CONFIG_NAME» » "my"
|
|
20 #define·MARIADB_PACKAGE_VERSION·"3.0.3" 20 #define·MARIADB_PACKAGE_VERSION·"3.0.3"
|
21 #define·MARIADB_PACKAGE_VERSION_ID·30003 21 #define·MARIADB_PACKAGE_VERSION_ID·30003
|
22 #define·MARIADB_SYSTEM_TYPE·"Linux" 22 #define·MARIADB_SYSTEM_TYPE·"Linux"
|
23 #define·MARIADB_MACHINE_TYPE·"x86_64" 23 #define·MARIADB_MACHINE_TYPE·"i686"
|
24 #define·MARIADB_PLUGINDIR·"lib/i386-linux-gnu/mariadb/plugin" 24 #define·MARIADB_PLUGINDIR·"lib/i386-linux-gnu/mariadb/plugin"
|
|
25 /*·mysqld·compile·time·options·*/ 25 /*·mysqld·compile·time·options·*/
|
26 #ifndef·MYSQL_CHARSET 26 #ifndef·MYSQL_CHARSET
|
27 #define·MYSQL_CHARSET» » » "" 27 #define·MYSQL_CHARSET» » » ""
|
28 #endif 28 #endif
|
29 #endif 29 #endif
|
{{
|