11 |
11 |
|
12 |
12 |
HOMEPAGE="https://mariadb.org/"
|
13 |
13 |
SRC_URI="mirror://mariadb/${PN}-${PV}/source/${P}.tar.gz
|
14 |
|
https://github.com/hydrapolic/gentoo-dist/raw/master/mariadb/mariadb-10.6.13-patches-01.tar.xz"
|
|
14 |
https://github.com/hydrapolic/gentoo-dist/raw/master/mariadb/mariadb-10.11.3-patches-01.tar.xz"
|
15 |
15 |
|
16 |
16 |
DESCRIPTION="An enhanced, drop-in replacement for MySQL"
|
17 |
17 |
LICENSE="GPL-2 LGPL-2.1+"
|
... | ... | |
28 |
28 |
?? ( tcmalloc jemalloc )
|
29 |
29 |
static? ( yassl !pam )"
|
30 |
30 |
|
31 |
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
|
31 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
32 |
32 |
|
33 |
33 |
# Shorten the path because the socket path length must be shorter than 107 chars
|
34 |
34 |
# and we will run a mysql server during test phase
|
... | ... | |
37 |
37 |
# Be warned, *DEPEND are version-dependant
|
38 |
38 |
# These are used for both runtime and compiletime
|
39 |
39 |
COMMON_DEPEND="
|
|
40 |
dev-libs/libfmt:=
|
40 |
41 |
>=dev-libs/libpcre2-10.34:=
|
41 |
42 |
>=sys-apps/texinfo-4.7-r1
|
42 |
43 |
sys-libs/ncurses:0=
|
... | ... | |
96 |
97 |
static? ( sys-libs/ncurses[static-libs] )
|
97 |
98 |
"
|
98 |
99 |
RDEPEND="${COMMON_DEPEND}
|
99 |
|
!dev-db/mysql !dev-db/mariadb-galera !dev-db/percona-server !dev-db/mysql-cluster
|
100 |
|
!dev-db/mariadb:0
|
101 |
|
!dev-db/mariadb:5.5
|
102 |
|
!dev-db/mariadb:10.1
|
103 |
|
!dev-db/mariadb:10.2
|
|
100 |
!dev-db/mysql !dev-db/percona-server
|
104 |
101 |
!dev-db/mariadb:10.3
|
105 |
102 |
!dev-db/mariadb:10.4
|
106 |
103 |
!dev-db/mariadb:10.5
|
|
104 |
!dev-db/mariadb:10.6
|
107 |
105 |
!dev-db/mariadb:10.7
|
108 |
106 |
!dev-db/mariadb:10.8
|
109 |
107 |
!dev-db/mariadb:10.9
|
110 |
108 |
!dev-db/mariadb:10.10
|
111 |
|
!dev-db/mariadb:10.11
|
112 |
109 |
!dev-db/mariadb:11.0
|
113 |
|
!<virtual/mysql-5.6-r11
|
114 |
|
!<virtual/libmysqlclient-18-r1
|
115 |
110 |
selinux? ( sec-policy/selinux-mysql )
|
116 |
111 |
server? (
|
117 |
112 |
columnstore? ( dev-db/mariadb-connector-c )
|
... | ... | |
129 |
124 |
# dev-perl/DBD-mysql is needed by some scripts installed by MySQL
|
130 |
125 |
PDEPEND="perl? ( >=dev-perl/DBD-mysql-2.9004 )"
|
131 |
126 |
|
132 |
|
QA_CONFIG_IMPL_DECL_SKIP=(
|
133 |
|
# These don't exist on Linux
|
134 |
|
pthread_threadid_np
|
135 |
|
getthrid
|
136 |
|
)
|
137 |
|
|
138 |
127 |
mysql_init_vars() {
|
139 |
128 |
MY_SHAREDSTATEDIR=${MY_SHAREDSTATEDIR="${EPREFIX}/usr/share/mariadb"}
|
140 |
129 |
MY_SYSCONFDIR=${MY_SYSCONFDIR="${EPREFIX}/etc/mysql"}
|