Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : mariadb | name : mariadb | ||||
| version : 10.1.29 | version : 10.3.8 | ||||
| release : 8 | release : 9 | ||||
| source : | source : | ||||
| - https://github.com/MariaDB/server/archive/mariadb-10.1.29.tar.gz : 578058a52b850480cf85c80306c030eb1ca93b6a84f42c81e82f4bc1c2d002f4 | - https://github.com/MariaDB/server/archive/mariadb-10.3.8.tar.gz : 245af4aedefe11a5eb6820a869465de21c29e9004bc2e63a331b7d82be0babff | ||||
| - git|https://github.com/MariaDB/mariadb-connector-c.git : ebf5db6cd0c7d10b0632a1389faa9731e3c09cf3 | |||||
| license : | license : | ||||
| - GPL-2.0 | - GPL-2.0-only | ||||
| - LGPL-2.1 | - LGPL-2.1-only | ||||
| component : | component : | ||||
| - database | - database | ||||
| - bench : database | - bench : database | ||||
| - embedded : database | - embedded : database | ||||
| - libs : programming.library | - libs : programming.library | ||||
| - server : database | - server : database | ||||
| - test : database | - test : database | ||||
| summary : | summary : | ||||
| Show All 12 Lines | - docs : | | ||||
| This package provides MariaDB documentation | This package provides MariaDB documentation | ||||
| description: | | description: | | ||||
| MariaDB server is a community developed fork of MySQL server. Started by | MariaDB server is a community developed fork of MySQL server. Started by | ||||
| core members of the original MySQL team, MariaDB actively works with | core members of the original MySQL team, MariaDB actively works with | ||||
| outside developers to deliver the most featureful, stable, and sanely | outside developers to deliver the most featureful, stable, and sanely | ||||
| licensed open SQL server in the industry. | licensed open SQL server in the industry. | ||||
| builddeps : | builddeps : | ||||
| - pkgconfig(jemalloc) | - pkgconfig(jemalloc) | ||||
| - pkgconfig(krb5-gssapi) | |||||
| - pkgconfig(libarchive) | - pkgconfig(libarchive) | ||||
| - pkgconfig(libevent) | - pkgconfig(libevent) | ||||
| - pkgconfig(liblz4) | |||||
| - pkgconfig(libpcre) | - pkgconfig(libpcre) | ||||
| - pkgconfig(liblz4) | |||||
| - pkgconfig(liblzma) | - pkgconfig(liblzma) | ||||
| - bzip2-devel | - bzip2-devel | ||||
| - lzo-devel | |||||
| - libaio-devel | - libaio-devel | ||||
| - ninja | - lzo-devel | ||||
| patterns : | patterns : | ||||
| - bench : | - bench : | ||||
| - /usr/share/sql-bench | - /usr/share/sql-bench | ||||
| - devel : | - devel : | ||||
| - /usr/share/pkgconfig | - /usr/share/pkgconfig | ||||
| - docs : | - docs : | ||||
| - /usr/share/man | - /usr/share/man | ||||
| - /usr/share/doc | - /usr/share/doc | ||||
| Show All 26 Lines | - server : | ||||
| - /usr/share/mysql/*.sql | - /usr/share/mysql/*.sql | ||||
| - /usr/share/mysql/my-*.cnf | - /usr/share/mysql/my-*.cnf | ||||
| - /usr/share/mysql/mroonga | - /usr/share/mysql/mroonga | ||||
| - /usr/share/mysql/systemd | - /usr/share/mysql/systemd | ||||
| - test : | - test : | ||||
| - /usr/bin/mysqltest | - /usr/bin/mysqltest | ||||
| - /usr/share/mysql/test | - /usr/share/mysql/test | ||||
| - embedded : | - embedded : | ||||
| - /usr/bin/*embedded* | - /usr/bin/*embedded* | ||||
| - main : | |||||
sunnyflunk: If you change this section to :
```
- main :
- /usr/bin/mysqldump… | |||||
| - /usr/bin/mysqldump | - /usr/bin/mysqldump | ||||
| - /usr/bin/mysql_find_rows | - /usr/bin/mysql_find_rows | ||||
| - /usr/bin/mysql_plugin | - /usr/bin/mysql_plugin | ||||
| - /usr/bin/mysql_waitpid | - /usr/bin/mysql_waitpid | ||||
| rundeps : | rundeps : | ||||
| - server : mariadb | - server : mariadb | ||||
| - devel : | - devel : | ||||
| - mariadb-libs | - mariadb-libs | ||||
| - mariadb-server | - mariadb-server | ||||
| setup : | | setup : | | ||||
| cp -r $sources/mariadb-connector-c.git/* libmariadb/ | |||||
| %patch -p1 < $pkgfiles/0001-support-files-Add-Solus-integration.patch | %patch -p1 < $pkgfiles/0001-support-files-Add-Solus-integration.patch | ||||
| %patch -p1 -R < $pkgfiles/fix-mroonga-lz4.patch | %patch -p1 < $pkgfiles/0002-storage-No-nope-and-even-more-nope.patch | ||||
| %patch -p1 < $pkgfiles/0001-storage-No-nope-and-even-more-nope.patch | %cmake . \ | ||||
| mkdir ninja_build && cd ninja_build | |||||
| %cmake .. -G Ninja \ | |||||
| -DPLUGIN_AUTH_GSSAPI:STRING=NO \ | -DPLUGIN_AUTH_GSSAPI:STRING=NO \ | ||||
| -WITH_SYSTEMD=yes \ | -WITH_SYSTEMD=yes \ | ||||
| -DSECURITY_HARDENED=ON \ | -DSECURITY_HARDENED=ON \ | ||||
| -DBUILD_CONFIG=mysql_release \ | -DBUILD_CONFIG=mysql_release \ | ||||
| -DWITH_JEMALLOC=yes \ | -DWITH_JEMALLOC=yes \ | ||||
| -DWITH_PCRE=system \ | -DWITH_PCRE=system \ | ||||
| -DWITH_READLINE=ON \ | -DWITH_READLINE=ON \ | ||||
| -DWITH_SSL=system \ | -DWITH_SSL=system \ | ||||
| Show All 13 Lines | setup : | | ||||
| -DINSTALL_SYSCONFDIR="/etc/mysql" \ | -DINSTALL_SYSCONFDIR="/etc/mysql" \ | ||||
| -DINSTALL_SYSCONF2DIR="/etc/mysql/my.cnf.d" \ | -DINSTALL_SYSCONF2DIR="/etc/mysql/my.cnf.d" \ | ||||
| -DINSTALL_SCRIPTDIR=bin \ | -DINSTALL_SCRIPTDIR=bin \ | ||||
| -DINSTALL_SBINDIR=sbin \ | -DINSTALL_SBINDIR=sbin \ | ||||
| -DWITH_LIBARCHIVE=ON \ | -DWITH_LIBARCHIVE=ON \ | ||||
| -DMYSQL_DATADIR=/var/db/mysql \ | -DMYSQL_DATADIR=/var/db/mysql \ | ||||
| -DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock | -DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock | ||||
| build : | | build : | | ||||
| ninja %JOBS% -C ninja_build | %make | ||||
| install : | | install : | | ||||
| DESTDIR="$installdir" ninja %JOBS% install -C ninja_build | %make_install | ||||
| install -D -m 00644 $pkgfiles/mysql.sysusers $installdir/%libdir%/sysusers.d/mysql.conf | install -D -m 00644 $pkgfiles/mysql.sysusers $installdir/%libdir%/sysusers.d/mysql.conf | ||||
| install -D -m 00644 $pkgfiles/mysql.tmpfiles $installdir/%libdir%/tmpfiles.d/mysql.conf | install -D -m 00644 $pkgfiles/mysql.tmpfiles $installdir/%libdir%/tmpfiles.d/mysql.conf | ||||
| install -m 00755 $pkgfiles/mariadb_first_install $installdir/usr/bin/mariadb_first_install | install -m 00755 $pkgfiles/mariadb_first_install $installdir/usr/bin/mariadb_first_install | ||||
| # Nuke static | # Nuke static | ||||
| rm -v $installdir/%libdir%/*.a | rm -v $installdir/%libdir%/*.a | ||||
| # Solus doesn't use selinux or apparmor currently. | # Solus doesn't use selinux or apparmor currently. | ||||
| rm -rf $installdir/usr/share/mysql/policy | rm -rf $installdir/usr/share/mysql/policy | ||||
| # Dopey artifacts we don't support... | # Dopey artifacts we don't support... | ||||
| Show All 10 Lines | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.
If you change this section to :
- main : - /usr/bin/mysqldump - /usr/bin/mysql_find_rows - /usr/bin/mysql_plugin - /usr/bin/mysql_waitpidI believe they will go into the mariadb package as originally intended