Page MenuHomeSolus

0001-Initial-Commit.patch

Authored By
flippedBit
Aug 7 2016, 5:24 AM
Size
18 KB
Referenced Files
None
Subscribers
None

0001-Initial-Commit.patch

From 98e417e55271e3d7e260797dd885d90e7e12ab45 Mon Sep 17 00:00:00 2001
From: Ryan Rushton <rrushton@gmail.com>
Date: Sat, 6 Aug 2016 22:15:02 -0700
Subject: [PATCH 1/2] Initial Commit
---
package.yml | 104 ++++++++++++++++++++++++++++
pspec_x86_64.xml | 201 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 305 insertions(+)
create mode 100644 package.yml
create mode 100644 pspec_x86_64.xml
diff --git a/package.yml b/package.yml
new file mode 100644
index 0000000..9d7e027
--- /dev/null
+++ b/package.yml
@@ -0,0 +1,104 @@
+name : mariadb
+version : 10.1.14
+release : 1
+source :
+ - https://downloads.mariadb.org/f/mariadb-10.1.14/source/mariadb-10.1.14.tar.gz : 18e71974a059a268a3f28281599607344d548714ade823d575576121f76ada13
+license : GPL-2.0
+summary : MariaDB server is a community developed fork of MySQL server.
+description: |
+ MariaDB is designed as a drop-in replacement of MySQL(R) with more features, new storage engines, fewer bugs, and better performance.
+builddeps :
+ - libaio-devel
+ - pkgconfig(jemalloc)
+setup : |
+ %cmake . -DCMAKE_AR=/usr/bin/gcc-ar \
+ -DCMAKE_RANLIB=/usr/bin/gcc-ranlib \
+ -DBUILD_CONFIG=mysql_release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DSYSCONFDIR=/etc/mysql \
+ -DMYSQL_DATADIR=/var/lib64/mysql \
+ -DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock \
+ -DDEFAULT_CHARSET=utf8 \
+ -DDEFAULT_COLLATION=utf8_general_ci \
+ -DENABLED_LOCAL_INFILE=ON \
+ -DINSTALL_INFODIR=share/mysql/docs \
+ -DINSTALL_MANDIR=share/man \
+ -DINSTALL_PLUGINDIR=lib/mysql/plugin \
+ -DINSTALL_SCRIPTDIR=bin \
+ -DINSTALL_INCLUDEDIR=include/mysql \
+ -DINSTALL_DOCREADMEDIR=share/mysql \
+ -DINSTALL_SUPPORTFILESDIR=share/mysql \
+ -DINSTALL_MYSQLSHAREDIR=share/mysql \
+ -DINSTALL_DOCDIR=share/mysql/docs \
+ -DINSTALL_SHAREDIR=share/mysql \
+ -DWITH_READLINE=ON \
+ -DWITH_ZLIB=system \
+ -DWITH_SSL=system \
+ -DWITH_PCRE=system \
+ -DWITH_LIBWRAP=OFF \
+ -DWITH_JEMALLOC=ON \
+ -DCMAKE_EXE_LINKER_FLAGS='-ljemalloc' \
+ -DWITH_EXTRA_CHARSETS=complex \
+ -DWITH_EMBEDDED_SERVER=ON \
+ -DWITH_ARCHIVE_STORAGE_ENGINE=1 \
+ -DWITH_BLACKHOLE_STORAGE_ENGINE=1 \
+ -DWITH_INNOBASE_STORAGE_ENGINE=1 \
+ -DWITH_PARTITION_STORAGE_ENGINE=1 \
+ -DWITH_TOKUDB_STORAGE_ENGINE=1 \
+ -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 \
+ -DWITHOUT_FEDERATED_STORAGE_ENGINE=1 \
+ -DWITHOUT_PBXT_STORAGE_ENGINE=1 \
+ -DCMAKE_C_FLAGS="-fPIC $CFLAGS -fno-strict-aliasing -DBIG_JOINS=1 -fomit-frame-pointer -fno-delete-null-pointer-checks" \
+ -DCMAKE_CXX_FLAGS="-fPIC $CXXFLAGS -fno-strict-aliasing -DBIG_JOINS=1 -felide-constructors -fno-rtti -fno-delete-null-pointer-checks" \
+ -DWITH_MYSQLD_LDFLAGS="-pie ${LDFLAGS},-z,now"
+patterns:
+ - libclient:
+ - /usr/lib/libmysqlclient.so.18
+ - /usr/lib/libmysqlclient.so.18.0.0
+ - /usr/lib/mysql/plugin/mysql_clear_password.so
+ - /usr/lib/mysql/plugin/dialog.so
+ - libclient-devel:
+ - /usr/include/mysql/*
+ - /usr/lib/libmysqlclient.a
+ - /usr/lib/libmysqlclient.so
+ - /usr/lib/libmysqlclient_r.a
+ - /usr/lib/libmysqlclient_r.so
+ - /usr/lib/libmysqlclient_r.so.18
+ - /usr/lib/libmysqlclient_r.so.18.0.0
+ - /usr/lib/libmysqlservices.a
+ - /usr/share/mysql/aclocal/mysql.m4
+ - /usr/share/man/man1/mysql_config.1
+ - /usr/bin/mysql_config
+build : |
+ %make
+install : |
+ %make_install
+
+ install -D -m 00644 $installdir/usr/share/mysql/my-medium.cnf $installdir/etc/mysql/my.cnf
+ install -D -m 00644 $pkgfiles/mysql.conf $installdir/%libdir%/sysusers.d/mysql.conf
+ install -D -m 00644 $pkgfiles/mariadb.service $installdir/%libdir%/systemd/system/mysqld.service
+ install -D -m 00644 $pkgfiles/mysql-tmpfile.conf $installdir/%libdir%/tmpfiles.d/mysql.conf
+ install -D -m 00755 $pkgfiles/mariadb-systemd-start $installdir/usr/bin/mariadb-systemd-start
+
+ mkdir /run/mysqld
+
+ rm -r $installdir/usr/{data,mysql-test,sql-bench}
+ rm $installdir/usr/bin/mysqltest_embedded
+ rm $installdir/usr/bin/mysql_client_test
+ rm $installdir/usr/bin/mysqltest
+ rm $installdir/usr/bin/mysql_client_test_embedded
+ rm $installdir/usr/lib/mysql/plugin/adt_null.so
+ rm $installdir/usr/lib/mysql/plugin/auth_0x0100.so
+ rm $installdir/usr/lib/mysql/plugin/auth_test_plugin.so
+ rm $installdir/usr/lib/mysql/plugin/daemon_example.ini
+ rm $installdir/usr/lib/mysql/plugin/dialog_examples.so
+ rm $installdir/usr/lib/mysql/plugin/ha_test_sql_discovery.so
+ rm $installdir/usr/lib/mysql/plugin/libdaemon_example.so
+ rm $installdir/usr/lib/mysql/plugin/mypluglib.so
+ rm $installdir/usr/lib/mysql/plugin/qa_auth_server.so
+ rm $installdir/usr/lib/mysql/plugin/qa_auth_client.so
+ rm $installdir/usr/lib/mysql/plugin/qa_auth_interface.so
+ rm $installdir/usr/share/man/man1/mysql_client_test_embedded.1
+ rm $installdir/usr/share/man/man1/mysql_client_test.1
+ rm $installdir/usr/share/man/man1/mysqltest.1
+ rm $installdir/usr/share/man/man1/mysqltest_embedded.1
diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml
new file mode 100644
index 0000000..772696e
--- /dev/null
+++ b/pspec_x86_64.xml
@@ -0,0 +1,201 @@
+<PISI>
+ <Source>
+ <Name>mariadb</Name>
+ <Packager>
+ <Name>Ryan Rushton</Name>
+ <Email>rrushton@gmail.com</Email>
+ </Packager>
+ <License>GPL-2.0</License>
+ <Summary xml:lang="en">MariaDB server is a community developed fork of MySQL server.</Summary>
+ <Description xml:lang="en">MariaDB is designed as a drop-in replacement of MySQL(R) with more features, new storage engines, fewer bugs, and better performance.
+</Description>
+ <Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://solus-project.com/sources/README.Solus</Archive>
+ </Source>
+ <Package>
+ <Name>mariadb</Name>
+ <Summary xml:lang="en">MariaDB server is a community developed fork of MySQL server.</Summary>
+ <Description xml:lang="en">MariaDB is designed as a drop-in replacement of MySQL(R) with more features, new storage engines, fewer bugs, and better performance.
+</Description>
+ <Files>
+ <Path fileType="config">/etc/mysql/my.cnf</Path>
+ <Path fileType="executable">/usr/bin</Path>
+ <Path fileType="library">/usr/lib/lib*.so.*</Path>
+ <Path fileType="library">/usr/lib/mysql/plugin/auth_pam.so</Path>
+ <Path fileType="library">/usr/lib/mysql/plugin/auth_socket.so</Path>
+ <Path fileType="library">/usr/lib/mysql/plugin/debug_key_management.so</Path>
+ <Path fileType="library">/usr/lib/mysql/plugin/example_key_management.so</Path>
+ <Path fileType="library">/usr/lib/mysql/plugin/file_key_management.so</Path>
+ <Path fileType="library">/usr/lib/mysql/plugin/ha_connect.so</Path>
+ <Path fileType="library">/usr/lib/mysql/plugin/ha_federatedx.so</Path>
+ <Path fileType="library">/usr/lib/mysql/plugin/ha_innodb.so</Path>
+ <Path fileType="library">/usr/lib/mysql/plugin/ha_mroonga.so</Path>
+ <Path fileType="library">/usr/lib/mysql/plugin/ha_sphinx.so</Path>
+ <Path fileType="library">/usr/lib/mysql/plugin/ha_spider.so</Path>
+ <Path fileType="library">/usr/lib/mysql/plugin/ha_tokudb.so</Path>
+ <Path fileType="library">/usr/lib/mysql/plugin/handlersocket.so</Path>
+ <Path fileType="library">/usr/lib/mysql/plugin/locales.so</Path>
+ <Path fileType="library">/usr/lib/mysql/plugin/metadata_lock_info.so</Path>
+ <Path fileType="library">/usr/lib/mysql/plugin/query_cache_info.so</Path>
+ <Path fileType="library">/usr/lib/mysql/plugin/query_response_time.so</Path>
+ <Path fileType="library">/usr/lib/mysql/plugin/semisync_master.so</Path>
+ <Path fileType="library">/usr/lib/mysql/plugin/semisync_slave.so</Path>
+ <Path fileType="library">/usr/lib/mysql/plugin/server_audit.so</Path>
+ <Path fileType="library">/usr/lib/mysql/plugin/simple_password_check.so</Path>
+ <Path fileType="library">/usr/lib/mysql/plugin/sql_errlog.so</Path>
+ <Path fileType="library">/usr/lib/mysql/plugin/wsrep_info.so</Path>
+ <Path fileType="library">/usr/lib64/systemd/system/mysqld.service</Path>
+ <Path fileType="library">/usr/lib64/sysusers.d/mysql.conf</Path>
+ <Path fileType="library">/usr/lib64/tmpfiles.d/mysql.conf</Path>
+ <Path fileType="man">/usr/share/man</Path>
+ <Path fileType="data">/usr/share/mysql/COPYING</Path>
+ <Path fileType="data">/usr/share/mysql/COPYING.LESSER</Path>
+ <Path fileType="data">/usr/share/mysql/COPYING.thirdparty</Path>
+ <Path fileType="data">/usr/share/mysql/CREDITS</Path>
+ <Path fileType="data">/usr/share/mysql/EXCEPTIONS-CLIENT</Path>
+ <Path fileType="data">/usr/share/mysql/INSTALL-BINARY</Path>
+ <Path fileType="data">/usr/share/mysql/README</Path>
+ <Path fileType="data">/usr/share/mysql/README-wsrep</Path>
+ <Path fileType="data">/usr/share/mysql/binary-configure</Path>
+ <Path fileType="data">/usr/share/mysql/charsets/Index.xml</Path>
+ <Path fileType="data">/usr/share/mysql/charsets/README</Path>
+ <Path fileType="data">/usr/share/mysql/charsets/armscii8.xml</Path>
+ <Path fileType="data">/usr/share/mysql/charsets/ascii.xml</Path>
+ <Path fileType="data">/usr/share/mysql/charsets/cp1250.xml</Path>
+ <Path fileType="data">/usr/share/mysql/charsets/cp1251.xml</Path>
+ <Path fileType="data">/usr/share/mysql/charsets/cp1256.xml</Path>
+ <Path fileType="data">/usr/share/mysql/charsets/cp1257.xml</Path>
+ <Path fileType="data">/usr/share/mysql/charsets/cp850.xml</Path>
+ <Path fileType="data">/usr/share/mysql/charsets/cp852.xml</Path>
+ <Path fileType="data">/usr/share/mysql/charsets/cp866.xml</Path>
+ <Path fileType="data">/usr/share/mysql/charsets/dec8.xml</Path>
+ <Path fileType="data">/usr/share/mysql/charsets/geostd8.xml</Path>
+ <Path fileType="data">/usr/share/mysql/charsets/greek.xml</Path>
+ <Path fileType="data">/usr/share/mysql/charsets/hebrew.xml</Path>
+ <Path fileType="data">/usr/share/mysql/charsets/hp8.xml</Path>
+ <Path fileType="data">/usr/share/mysql/charsets/keybcs2.xml</Path>
+ <Path fileType="data">/usr/share/mysql/charsets/koi8r.xml</Path>
+ <Path fileType="data">/usr/share/mysql/charsets/koi8u.xml</Path>
+ <Path fileType="data">/usr/share/mysql/charsets/latin1.xml</Path>
+ <Path fileType="data">/usr/share/mysql/charsets/latin2.xml</Path>
+ <Path fileType="data">/usr/share/mysql/charsets/latin5.xml</Path>
+ <Path fileType="data">/usr/share/mysql/charsets/latin7.xml</Path>
+ <Path fileType="data">/usr/share/mysql/charsets/macce.xml</Path>
+ <Path fileType="data">/usr/share/mysql/charsets/macroman.xml</Path>
+ <Path fileType="data">/usr/share/mysql/charsets/swe7.xml</Path>
+ <Path fileType="data">/usr/share/mysql/czech/errmsg.sys</Path>
+ <Path fileType="data">/usr/share/mysql/danish/errmsg.sys</Path>
+ <Path fileType="data">/usr/share/mysql/docs/COPYING.AGPLv3</Path>
+ <Path fileType="data">/usr/share/mysql/docs/COPYING.GPLv2</Path>
+ <Path fileType="data">/usr/share/mysql/docs/PATENTS</Path>
+ <Path fileType="data">/usr/share/mysql/docs/README.md</Path>
+ <Path fileType="data">/usr/share/mysql/dutch/errmsg.sys</Path>
+ <Path fileType="data">/usr/share/mysql/english/errmsg.sys</Path>
+ <Path fileType="data">/usr/share/mysql/errmsg-utf8.txt</Path>
+ <Path fileType="data">/usr/share/mysql/estonian/errmsg.sys</Path>
+ <Path fileType="data">/usr/share/mysql/fill_help_tables.sql</Path>
+ <Path fileType="data">/usr/share/mysql/french/errmsg.sys</Path>
+ <Path fileType="data">/usr/share/mysql/german/errmsg.sys</Path>
+ <Path fileType="data">/usr/share/mysql/greek/errmsg.sys</Path>
+ <Path fileType="data">/usr/share/mysql/hungarian/errmsg.sys</Path>
+ <Path fileType="data">/usr/share/mysql/install_spider.sql</Path>
+ <Path fileType="data">/usr/share/mysql/italian/errmsg.sys</Path>
+ <Path fileType="data">/usr/share/mysql/japanese/errmsg.sys</Path>
+ <Path fileType="data">/usr/share/mysql/korean/errmsg.sys</Path>
+ <Path fileType="data">/usr/share/mysql/magic</Path>
+ <Path fileType="data">/usr/share/mysql/maria_add_gis_sp.sql</Path>
+ <Path fileType="data">/usr/share/mysql/maria_add_gis_sp_bootstrap.sql</Path>
+ <Path fileType="data">/usr/share/mysql/mroonga/install.sql</Path>
+ <Path fileType="data">/usr/share/mysql/mroonga/uninstall.sql</Path>
+ <Path fileType="data">/usr/share/mysql/my-huge.cnf</Path>
+ <Path fileType="data">/usr/share/mysql/my-innodb-heavy-4G.cnf</Path>
+ <Path fileType="data">/usr/share/mysql/my-large.cnf</Path>
+ <Path fileType="data">/usr/share/mysql/my-medium.cnf</Path>
+ <Path fileType="data">/usr/share/mysql/my-small.cnf</Path>
+ <Path fileType="data">/usr/share/mysql/mysql-log-rotate</Path>
+ <Path fileType="data">/usr/share/mysql/mysql.server</Path>
+ <Path fileType="data">/usr/share/mysql/mysql_performance_tables.sql</Path>
+ <Path fileType="data">/usr/share/mysql/mysql_system_tables.sql</Path>
+ <Path fileType="data">/usr/share/mysql/mysql_system_tables_data.sql</Path>
+ <Path fileType="data">/usr/share/mysql/mysql_test_data_timezone.sql</Path>
+ <Path fileType="data">/usr/share/mysql/mysql_to_mariadb.sql</Path>
+ <Path fileType="data">/usr/share/mysql/mysqld_multi.server</Path>
+ <Path fileType="data">/usr/share/mysql/norwegian-ny/errmsg.sys</Path>
+ <Path fileType="data">/usr/share/mysql/norwegian/errmsg.sys</Path>
+ <Path fileType="data">/usr/share/mysql/pkgconfig/mariadb.pc</Path>
+ <Path fileType="data">/usr/share/mysql/policy/apparmor/README</Path>
+ <Path fileType="data">/usr/share/mysql/policy/apparmor/usr.sbin.mysqld</Path>
+ <Path fileType="data">/usr/share/mysql/policy/apparmor/usr.sbin.mysqld.local</Path>
+ <Path fileType="data">/usr/share/mysql/policy/selinux/README</Path>
+ <Path fileType="data">/usr/share/mysql/policy/selinux/mariadb-server.fc</Path>
+ <Path fileType="data">/usr/share/mysql/policy/selinux/mariadb-server.te</Path>
+ <Path fileType="data">/usr/share/mysql/polish/errmsg.sys</Path>
+ <Path fileType="data">/usr/share/mysql/portuguese/errmsg.sys</Path>
+ <Path fileType="data">/usr/share/mysql/romanian/errmsg.sys</Path>
+ <Path fileType="data">/usr/share/mysql/russian/errmsg.sys</Path>
+ <Path fileType="data">/usr/share/mysql/serbian/errmsg.sys</Path>
+ <Path fileType="data">/usr/share/mysql/slovak/errmsg.sys</Path>
+ <Path fileType="data">/usr/share/mysql/spanish/errmsg.sys</Path>
+ <Path fileType="data">/usr/share/mysql/swedish/errmsg.sys</Path>
+ <Path fileType="data">/usr/share/mysql/systemd/mariadb.service</Path>
+ <Path fileType="data">/usr/share/mysql/systemd/mariadb@.service</Path>
+ <Path fileType="data">/usr/share/mysql/systemd/use_galera_new_cluster.conf</Path>
+ <Path fileType="data">/usr/share/mysql/ukrainian/errmsg.sys</Path>
+ <Path fileType="data">/usr/share/mysql/wsrep.cnf</Path>
+ <Path fileType="data">/usr/share/mysql/wsrep_notify</Path>
+ </Files>
+ </Package>
+ <Package>
+ <Name>mariadb-devel</Name>
+ <Summary xml:lang="en">Development files for mariadb</Summary>
+ <Description xml:lang="en">MariaDB is designed as a drop-in replacement of MySQL(R) with more features, new storage engines, fewer bugs, and better performance.
+</Description>
+ <PartOf>programming.devel</PartOf>
+ <RuntimeDependencies>
+ <Dependency release="1">mariadb</Dependency>
+ </RuntimeDependencies>
+ <Files>
+ <Path fileType="library">/usr/lib/lib*.a</Path>
+ <Path fileType="library">/usr/lib/lib*.so</Path>
+ </Files>
+ </Package>
+ <Package>
+ <Name>mariadb-libclient</Name>
+ <Summary xml:lang="en">MariaDB server is a community developed fork of MySQL server.</Summary>
+ <Description xml:lang="en">MariaDB is designed as a drop-in replacement of MySQL(R) with more features, new storage engines, fewer bugs, and better performance.
+</Description>
+ <Files>
+ <Path fileType="library">/usr/lib/libmysqlclient.so.18</Path>
+ <Path fileType="library">/usr/lib/libmysqlclient.so.18.0.0</Path>
+ <Path fileType="library">/usr/lib/mysql/plugin/dialog.so</Path>
+ <Path fileType="library">/usr/lib/mysql/plugin/mysql_clear_password.so</Path>
+ </Files>
+ </Package>
+ <Package>
+ <Name>mariadb-libclient-devel</Name>
+ <Summary xml:lang="en">MariaDB server is a community developed fork of MySQL server.</Summary>
+ <Description xml:lang="en">MariaDB is designed as a drop-in replacement of MySQL(R) with more features, new storage engines, fewer bugs, and better performance.
+</Description>
+ <Files>
+ <Path fileType="executable">/usr/bin/mysql_config</Path>
+ <Path fileType="header">/usr/include/mysql/*</Path>
+ <Path fileType="library">/usr/lib/libmysqlclient.a</Path>
+ <Path fileType="library">/usr/lib/libmysqlclient.so</Path>
+ <Path fileType="library">/usr/lib/libmysqlclient_r.a</Path>
+ <Path fileType="library">/usr/lib/libmysqlclient_r.so</Path>
+ <Path fileType="library">/usr/lib/libmysqlclient_r.so.18</Path>
+ <Path fileType="library">/usr/lib/libmysqlclient_r.so.18.0.0</Path>
+ <Path fileType="library">/usr/lib/libmysqlservices.a</Path>
+ <Path fileType="man">/usr/share/man/man1/mysql_config.1</Path>
+ <Path fileType="data">/usr/share/mysql/aclocal/mysql.m4</Path>
+ </Files>
+ </Package>
+ <History>
+ <Update release="1">
+ <Date>2016-08-07</Date>
+ <Version>10.1.14</Version>
+ <Comment>Packaging update</Comment>
+ <Name>Ryan Rushton</Name>
+ <Email>rrushton@gmail.com</Email>
+ </Update>
+ </History>
+</PISI>
\ No newline at end of file
--
2.9.2

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
247
Default Alt Text
0001-Initial-Commit.patch (18 KB)

Event Timeline