summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-08-22 21:18:19 +0200
committerThomas Deutschmann <whissi@gentoo.org>2019-08-22 21:45:24 +0200
commite55b9e4b1b3bba584d408f31b3a514b717696b1c (patch)
treee71b5137d6cdf505fe90d0715de0288a2675b8f3 /dev-db/percona-server
parentdev-db/percona-server: don't install {lz4,zlib}_decompress (diff)
downloadgentoo-e55b9e4b1b3bba584d408f31b3a514b717696b1c.tar.gz
gentoo-e55b9e4b1b3bba584d408f31b3a514b717696b1c.tar.bz2
gentoo-e55b9e4b1b3bba584d408f31b3a514b717696b1c.zip
dev-db/percona-server: migrate to GLEP 81
Package-Manager: Portage-2.3.72, Repoman-2.3.17 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-db/percona-server')
-rw-r--r--dev-db/percona-server/percona-server-5.7.26.29-r1.ebuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/dev-db/percona-server/percona-server-5.7.26.29-r1.ebuild b/dev-db/percona-server/percona-server-5.7.26.29-r1.ebuild
index edd2ef173634..1eccb63ed0ad 100644
--- a/dev-db/percona-server/percona-server-5.7.26.29-r1.ebuild
+++ b/dev-db/percona-server/percona-server-5.7.26.29-r1.ebuild
@@ -12,7 +12,7 @@ PYTHON_COMPAT=( python2_7 )
# Keeping eutils in EAPI=6 for emktemp in pkg_config
inherit eapi7-ver cmake-utils eutils flag-o-matic linux-info \
- prefix python-any-r1 toolchain-funcs user multilib-minimal
+ prefix python-any-r1 toolchain-funcs multilib-minimal
MY_PV=$(ver_rs 3 '-')
MY_PN="Percona-Server"
@@ -132,6 +132,7 @@ DEPEND="${COMMON_DEPEND}
)
static? ( sys-libs/ncurses[static-libs] )
test? (
+ acct-group/mysql acct-user/mysql
$(python_gen_any_dep 'dev-python/mysql-python[${PYTHON_USEDEP}]')
dev-perl/JSON
)
@@ -140,7 +141,12 @@ RDEPEND="${COMMON_DEPEND}
!dev-db/mariadb !dev-db/mariadb-galera !dev-db/mysql !dev-db/mysql-cluster
client-libs? ( !dev-db/mariadb-connector-c[mysqlcompat] !dev-db/mysql-connector-c dev-libs/protobuf:= )
selinux? ( sec-policy/selinux-mysql )
- server? ( !prefix? ( dev-db/mysql-init-scripts ) )
+ server? (
+ !prefix? (
+ acct-group/mysql acct-user/mysql
+ dev-db/mysql-init-scripts
+ )
+ )
"
# For other stuff to bring us in
# dev-perl/DBD-mysql is needed by some scripts installed by MySQL
@@ -237,10 +243,6 @@ pkg_setup() {
use server && ! has userpriv ${FEATURES} ; then
eerror "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
fi
-
- # This should come after all of the die statements
- enewgroup mysql 60 || die "problem adding 'mysql' group"
- enewuser mysql 60 -1 /dev/null mysql || die "problem adding 'mysql' user"
}
pkg_preinst() {