summaryrefslogtreecommitdiffstats
path: root/libmysql
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-04-03 20:34:39 +0200
committertnut <tnut at nutyx dot com>2012-04-03 20:34:39 +0200
commit9dbdf7708fd32c401b8a9b569e3840302ffbce3e (patch)
tree58931ed2bfdb02dd50a48250177283709572bf16 /libmysql
parent41d5553a4fc8a59664c74125424c90641d67a950 (diff)
downloadnutyx-pakxe-9dbdf7708fd32c401b8a9b569e3840302ffbce3e.tar.gz
nutyx-pakxe-9dbdf7708fd32c401b8a9b569e3840302ffbce3e.tar.bz2
nutyx-pakxe-9dbdf7708fd32c401b8a9b569e3840302ffbce3e.tar.xz
nutyx-pakxe-9dbdf7708fd32c401b8a9b569e3840302ffbce3e.zip
mysql est un service donc dans base
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/.footprint.i68676
-rw-r--r--libmysql/.footprint.x86_6476
-rw-r--r--libmysql/.md5sum.i6861
-rw-r--r--libmysql/.md5sum.x86_641
-rw-r--r--libmysql/Pkgfile65
5 files changed, 219 insertions, 0 deletions
diff --git a/libmysql/.footprint.i686 b/libmysql/.footprint.i686
new file mode 100644
index 000000000..fc7235cfa
--- /dev/null
+++ b/libmysql/.footprint.i686
@@ -0,0 +1,76 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/mysql_config
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/mysql/
+-rw-r--r-- root/root usr/include/mysql/decimal.h
+-rw-r--r-- root/root usr/include/mysql/errmsg.h
+-rw-r--r-- root/root usr/include/mysql/keycache.h
+-rw-r--r-- root/root usr/include/mysql/m_ctype.h
+-rw-r--r-- root/root usr/include/mysql/m_string.h
+-rw-r--r-- root/root usr/include/mysql/my_alloc.h
+-rw-r--r-- root/root usr/include/mysql/my_attribute.h
+-rw-r--r-- root/root usr/include/mysql/my_compiler.h
+-rw-r--r-- root/root usr/include/mysql/my_config.h
+-rw-r--r-- root/root usr/include/mysql/my_dbug.h
+-rw-r--r-- root/root usr/include/mysql/my_dir.h
+-rw-r--r-- root/root usr/include/mysql/my_getopt.h
+-rw-r--r-- root/root usr/include/mysql/my_global.h
+-rw-r--r-- root/root usr/include/mysql/my_list.h
+-rw-r--r-- root/root usr/include/mysql/my_net.h
+-rw-r--r-- root/root usr/include/mysql/my_pthread.h
+-rw-r--r-- root/root usr/include/mysql/my_sys.h
+-rw-r--r-- root/root usr/include/mysql/my_xml.h
+-rw-r--r-- root/root usr/include/mysql/mysql.h
+drwxr-xr-x root/root usr/include/mysql/mysql/
+-rw-r--r-- root/root usr/include/mysql/mysql/client_plugin.h
+-rw-r--r-- root/root usr/include/mysql/mysql/innodb_priv.h
+-rw-r--r-- root/root usr/include/mysql/mysql/plugin.h
+-rw-r--r-- root/root usr/include/mysql/mysql/plugin_audit.h
+-rw-r--r-- root/root usr/include/mysql/mysql/plugin_auth.h
+-rw-r--r-- root/root usr/include/mysql/mysql/plugin_auth_common.h
+-rw-r--r-- root/root usr/include/mysql/mysql/plugin_ftparser.h
+drwxr-xr-x root/root usr/include/mysql/mysql/psi/
+-rw-r--r-- root/root usr/include/mysql/mysql/psi/mysql_file.h
+-rw-r--r-- root/root usr/include/mysql/mysql/psi/mysql_thread.h
+-rw-r--r-- root/root usr/include/mysql/mysql/psi/psi.h
+-rw-r--r-- root/root usr/include/mysql/mysql/psi/psi_abi_v1.h
+-rw-r--r-- root/root usr/include/mysql/mysql/psi/psi_abi_v2.h
+-rw-r--r-- root/root usr/include/mysql/mysql/service_my_snprintf.h
+-rw-r--r-- root/root usr/include/mysql/mysql/service_thd_alloc.h
+-rw-r--r-- root/root usr/include/mysql/mysql/service_thd_wait.h
+-rw-r--r-- root/root usr/include/mysql/mysql/service_thread_scheduler.h
+-rw-r--r-- root/root usr/include/mysql/mysql/services.h
+-rw-r--r-- root/root usr/include/mysql/mysql/thread_pool_priv.h
+-rw-r--r-- root/root usr/include/mysql/mysql_com.h
+-rw-r--r-- root/root usr/include/mysql/mysql_embed.h
+-rw-r--r-- root/root usr/include/mysql/mysql_time.h
+-rw-r--r-- root/root usr/include/mysql/mysql_version.h
+-rw-r--r-- root/root usr/include/mysql/mysqld_ername.h
+-rw-r--r-- root/root usr/include/mysql/mysqld_error.h
+-rw-r--r-- root/root usr/include/mysql/plugin.h
+-rw-r--r-- root/root usr/include/mysql/plugin_audit.h
+-rw-r--r-- root/root usr/include/mysql/plugin_ftparser.h
+-rw-r--r-- root/root usr/include/mysql/sql_common.h
+-rw-r--r-- root/root usr/include/mysql/sql_state.h
+-rw-r--r-- root/root usr/include/mysql/sslopt-case.h
+-rw-r--r-- root/root usr/include/mysql/sslopt-longopts.h
+-rw-r--r-- root/root usr/include/mysql/sslopt-vars.h
+-rw-r--r-- root/root usr/include/mysql/typelib.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libmysqlclient.a
+lrwxrwxrwx root/root usr/lib/libmysqlclient.so -> libmysqlclient.so.18
+lrwxrwxrwx root/root usr/lib/libmysqlclient.so.18 -> libmysqlclient.so.18.0.0
+-rwxr-xr-x root/root usr/lib/libmysqlclient.so.18.0.0
+lrwxrwxrwx root/root usr/lib/libmysqlclient_r.a -> libmysqlclient.a
+lrwxrwxrwx root/root usr/lib/libmysqlclient_r.so -> libmysqlclient.so
+lrwxrwxrwx root/root usr/lib/libmysqlclient_r.so.18 -> libmysqlclient.so
+lrwxrwxrwx root/root usr/lib/libmysqlclient_r.so.18.0.0 -> libmysqlclient.so
+-rw-r--r-- root/root usr/lib/libmysqld.a
+-rw-r--r-- root/root usr/lib/libmysqlservices.a
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/mysql_client_test_embedded.1.gz
+-rw-r--r-- root/root usr/share/man/man1/mysql_config.1.gz
+-rw-r--r-- root/root usr/share/man/man1/mysqltest_embedded.1.gz
diff --git a/libmysql/.footprint.x86_64 b/libmysql/.footprint.x86_64
new file mode 100644
index 000000000..fc7235cfa
--- /dev/null
+++ b/libmysql/.footprint.x86_64
@@ -0,0 +1,76 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/mysql_config
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/mysql/
+-rw-r--r-- root/root usr/include/mysql/decimal.h
+-rw-r--r-- root/root usr/include/mysql/errmsg.h
+-rw-r--r-- root/root usr/include/mysql/keycache.h
+-rw-r--r-- root/root usr/include/mysql/m_ctype.h
+-rw-r--r-- root/root usr/include/mysql/m_string.h
+-rw-r--r-- root/root usr/include/mysql/my_alloc.h
+-rw-r--r-- root/root usr/include/mysql/my_attribute.h
+-rw-r--r-- root/root usr/include/mysql/my_compiler.h
+-rw-r--r-- root/root usr/include/mysql/my_config.h
+-rw-r--r-- root/root usr/include/mysql/my_dbug.h
+-rw-r--r-- root/root usr/include/mysql/my_dir.h
+-rw-r--r-- root/root usr/include/mysql/my_getopt.h
+-rw-r--r-- root/root usr/include/mysql/my_global.h
+-rw-r--r-- root/root usr/include/mysql/my_list.h
+-rw-r--r-- root/root usr/include/mysql/my_net.h
+-rw-r--r-- root/root usr/include/mysql/my_pthread.h
+-rw-r--r-- root/root usr/include/mysql/my_sys.h
+-rw-r--r-- root/root usr/include/mysql/my_xml.h
+-rw-r--r-- root/root usr/include/mysql/mysql.h
+drwxr-xr-x root/root usr/include/mysql/mysql/
+-rw-r--r-- root/root usr/include/mysql/mysql/client_plugin.h
+-rw-r--r-- root/root usr/include/mysql/mysql/innodb_priv.h
+-rw-r--r-- root/root usr/include/mysql/mysql/plugin.h
+-rw-r--r-- root/root usr/include/mysql/mysql/plugin_audit.h
+-rw-r--r-- root/root usr/include/mysql/mysql/plugin_auth.h
+-rw-r--r-- root/root usr/include/mysql/mysql/plugin_auth_common.h
+-rw-r--r-- root/root usr/include/mysql/mysql/plugin_ftparser.h
+drwxr-xr-x root/root usr/include/mysql/mysql/psi/
+-rw-r--r-- root/root usr/include/mysql/mysql/psi/mysql_file.h
+-rw-r--r-- root/root usr/include/mysql/mysql/psi/mysql_thread.h
+-rw-r--r-- root/root usr/include/mysql/mysql/psi/psi.h
+-rw-r--r-- root/root usr/include/mysql/mysql/psi/psi_abi_v1.h
+-rw-r--r-- root/root usr/include/mysql/mysql/psi/psi_abi_v2.h
+-rw-r--r-- root/root usr/include/mysql/mysql/service_my_snprintf.h
+-rw-r--r-- root/root usr/include/mysql/mysql/service_thd_alloc.h
+-rw-r--r-- root/root usr/include/mysql/mysql/service_thd_wait.h
+-rw-r--r-- root/root usr/include/mysql/mysql/service_thread_scheduler.h
+-rw-r--r-- root/root usr/include/mysql/mysql/services.h
+-rw-r--r-- root/root usr/include/mysql/mysql/thread_pool_priv.h
+-rw-r--r-- root/root usr/include/mysql/mysql_com.h
+-rw-r--r-- root/root usr/include/mysql/mysql_embed.h
+-rw-r--r-- root/root usr/include/mysql/mysql_time.h
+-rw-r--r-- root/root usr/include/mysql/mysql_version.h
+-rw-r--r-- root/root usr/include/mysql/mysqld_ername.h
+-rw-r--r-- root/root usr/include/mysql/mysqld_error.h
+-rw-r--r-- root/root usr/include/mysql/plugin.h
+-rw-r--r-- root/root usr/include/mysql/plugin_audit.h
+-rw-r--r-- root/root usr/include/mysql/plugin_ftparser.h
+-rw-r--r-- root/root usr/include/mysql/sql_common.h
+-rw-r--r-- root/root usr/include/mysql/sql_state.h
+-rw-r--r-- root/root usr/include/mysql/sslopt-case.h
+-rw-r--r-- root/root usr/include/mysql/sslopt-longopts.h
+-rw-r--r-- root/root usr/include/mysql/sslopt-vars.h
+-rw-r--r-- root/root usr/include/mysql/typelib.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libmysqlclient.a
+lrwxrwxrwx root/root usr/lib/libmysqlclient.so -> libmysqlclient.so.18
+lrwxrwxrwx root/root usr/lib/libmysqlclient.so.18 -> libmysqlclient.so.18.0.0
+-rwxr-xr-x root/root usr/lib/libmysqlclient.so.18.0.0
+lrwxrwxrwx root/root usr/lib/libmysqlclient_r.a -> libmysqlclient.a
+lrwxrwxrwx root/root usr/lib/libmysqlclient_r.so -> libmysqlclient.so
+lrwxrwxrwx root/root usr/lib/libmysqlclient_r.so.18 -> libmysqlclient.so
+lrwxrwxrwx root/root usr/lib/libmysqlclient_r.so.18.0.0 -> libmysqlclient.so
+-rw-r--r-- root/root usr/lib/libmysqld.a
+-rw-r--r-- root/root usr/lib/libmysqlservices.a
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/mysql_client_test_embedded.1.gz
+-rw-r--r-- root/root usr/share/man/man1/mysql_config.1.gz
+-rw-r--r-- root/root usr/share/man/man1/mysqltest_embedded.1.gz
diff --git a/libmysql/.md5sum.i686 b/libmysql/.md5sum.i686
new file mode 100644
index 000000000..b86f44f06
--- /dev/null
+++ b/libmysql/.md5sum.i686
@@ -0,0 +1 @@
+462ab3752dd666ec06ca32f92673b59e mysql-5.5.16.tar.gz
diff --git a/libmysql/.md5sum.x86_64 b/libmysql/.md5sum.x86_64
new file mode 100644
index 000000000..b86f44f06
--- /dev/null
+++ b/libmysql/.md5sum.x86_64
@@ -0,0 +1 @@
+462ab3752dd666ec06ca32f92673b59e mysql-5.5.16.tar.gz
diff --git a/libmysql/Pkgfile b/libmysql/Pkgfile
new file mode 100644
index 000000000..2ddd378f9
--- /dev/null
+++ b/libmysql/Pkgfile
@@ -0,0 +1,65 @@
+# Description: Librairie de MySQL
+# URL: http://www.mysql.com
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: cmake
+
+name=libmysql
+version=5.5.16
+release=1
+source=(http://mirror.switch.ch/mirror/mysql/Downloads/MySQL-${version%.*}/mysql-$version.tar.gz )
+
+build () {
+ cd $SRC
+ mkdir build
+ cd build
+
+ CFLAGS="-fPIC ${CFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -fomit-frame-pointer"
+ CXXFLAGS="-fPIC ${CXXFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -felide-constructors -fno-rtti"
+
+ cmake ../mysql-$version \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DSYSCONFDIR=/etc/mysql \
+ -DMYSQL_DATADIR=/srv/mysql \
+ -DMYSQL_UNIX_ADDR=/var/run/mysqld/mysqld.sock \
+ -DINSTALL_INFODIR=share/mysql/docs \
+ -DINSTALL_MANDIR=share/man \
+ -DINSTALL_PLUGINDIR=/usr/lib/mysql/plugin \
+ -DINSTALL_SCRIPTDIR=bin \
+ -DINSTALL_INCLUDEDIR=include/mysql \
+ -DINSTALL_DOCREADMEDIR=share/mysql \
+ -DINSTALL_SUPPORTFILESDIR=share/mysql \
+ -DINSTALL_MYSQLSHAREDIR=share/mysql \
+ -DINSTALL_SHAREDIR=share/mysql \
+ -DDEFAULT_CHARSET=utf8 \
+ -DDEFAULT_COLLATION=utf8_general_ci \
+ -DENABLED_LOCAL_INFILE=ON \
+ -DWITH_READLINE=ON \
+ -DWITH_ZLIB=system \
+ -DWITH_SSL=system \
+ -DWITH_LIBWRAP=ON \
+ -DWITH_MYSQLD_LDFLAGS="${LDFLAGS}" \
+ -DWITH_EXTRA_CHARSETS=complex \
+ -DWITH_EMBEDDED_SERVER=ON \
+ -DWITH_INNOBASE_STORAGE_ENGINE=1 \
+ -DWITH_PARTITION_STORAGE_ENGINE=1 \
+ -DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 \
+ -DWITHOUT_ARCHIVE_STORAGE_ENGINE=1 \
+ -DWITHOUT_BLACKHOLE_STORAGE_ENGINE=1 \
+ -DWITHOUT_FEDERATED_STORAGE_ENGINE=1
+
+ make
+
+ cd $SRC/build
+ for dir in include libmysql libmysqld libservices; do
+ make -C $dir DESTDIR=$PKG install
+ done
+
+ install -d $PKG/usr/bin
+ install -m755 scripts/mysql_config $PKG/usr/bin/
+ install -d $PKG/usr/share/man/man1
+ for man in mysql_config mysql_client_test_embedded mysqltest_embedded; do
+ install -m644 $SRC/mysql-$version/man/$man.1 $PKG/usr/share/man/man1/$man.1
+ done
+}