This repository has been archived by the owner on Aug 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
snapcraft.yaml
92 lines (89 loc) · 2.95 KB
/
snapcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
name: mysql
version: "5.7.17"
summary: MySQL Community snap
description: MySQL Snap
Contains the minimal set of binaries needed for the MySQL server and client.
This is meant as a way to try out MySQL with Snappy, and is not to be
considered ready for production environments.
Before running, the process control interface must be connected with the command
snap connect mysql-experimental:process-control core:process-control
confinement: strict
grade: devel
apps:
startup:
command: startup
plugs:
- process-control
- network
- network-bind
server:
command: start-server
plugs:
- process-control
- network
- network-bind
client:
command: start-client
plugs:
- process-control
- network
- network-bind
help:
command: show-help
parts:
mysql-server:
prepare: ./stage_binaries.sh
build-packages: [libaio-dev, libmecab-dev, libnuma-dev, libncurses5-dev, wget, zlib1g-dev]
plugin: dump
source: ./
organize:
staging-files/usr: usr/
snap:
- usr/lib/mysql/plugin/mysql_no_login.so
- usr/lib/mysql/plugin/innodb_engine.so
- usr/lib/mysql/plugin/mypluglib.so
- usr/lib/mysql/plugin/locking_service.so
- usr/lib/mysql/plugin/adt_null.so
- usr/lib/mysql/plugin/rewriter.so
- usr/lib/mysql/plugin/keyring_udf.so
- usr/lib/mysql/plugin/libmemcached.so
- usr/lib/mysql/plugin/auth_socket.so
- usr/lib/mysql/plugin/validate_password.so
- usr/lib/mysql/plugin/semisync_slave.so
- usr/lib/mysql/plugin/semisync_master.so
- usr/lib/mysql/plugin/keyring_file.so
- usr/lib/mysql/plugin/mysqlx.so
- usr/lib/mysql/plugin/version_token.so
- usr/lib/mysql/plugin/libpluginmecab.so
- usr/lib/mysql/plugin/group_replication.so
- usr/sbin/mysqld
- usr/bin/mysqlpump
- usr/bin/mysql
- usr/bin/mysql_ssl_rsa_setup
- usr/bin/my_print_defaults
- usr/bin/mysqldump
- usr/bin/mysql_tzinfo_to_sql
- usr/bin/mysql_upgrade
- usr/share/mysql/*
scripts:
plugin: dump
source: ./scripts
organize:
show-help: bin/show-help
start-server: bin/start-server
start-client: bin/start-client
startup: bin/startup