From b17e08a3a9cb53f936fc791837c8345527fadd5f Mon Sep 17 00:00:00 2001 From: Bernard Spil Date: Sat, 24 Oct 2020 11:50:32 +0000 Subject: [PATCH] databases/mariadb104-server: Security update to 10.4.15 * Fix server start on clean install [1] PR: 247413 [1] MFH: 2020Q4 Security: a2565962-1156-11eb-9c9c-d4c9ef517024 --- databases/mariadb104-server/Makefile | 2 +- databases/mariadb104-server/distinfo | 6 +++--- databases/mariadb104-server/files/mysql-server.in | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/databases/mariadb104-server/Makefile b/databases/mariadb104-server/Makefile index 178460348ad2..b1ace392ee3e 100644 --- a/databases/mariadb104-server/Makefile +++ b/databases/mariadb104-server/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME?= mariadb -PORTVERSION= 10.4.14 +PORTVERSION= 10.4.15 PORTREVISION?= 0 CATEGORIES= databases MASTER_SITES= http://mirrors.supportex.net/${SITESDIR}/ \ diff --git a/databases/mariadb104-server/distinfo b/databases/mariadb104-server/distinfo index 2ebfe6d7a8ea..b2b398a2988e 100644 --- a/databases/mariadb104-server/distinfo +++ b/databases/mariadb104-server/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1598735612 -SHA256 (mariadb-10.4.14.tar.gz) = f92fcd59e0122461482f28c67c5ea01c7cf6979494a571db68074396864c86fc -SIZE (mariadb-10.4.14.tar.gz) = 80789865 +TIMESTAMP = 1603535349 +SHA256 (mariadb-10.4.15.tar.gz) = 2783d76d950a259789edc7b43a42b1ee45c350860abff454b26731644efeae31 +SIZE (mariadb-10.4.15.tar.gz) = 80777094 diff --git a/databases/mariadb104-server/files/mysql-server.in b/databases/mariadb104-server/files/mysql-server.in index 3f0fa99d4ad6..9d5844905bdb 100644 --- a/databases/mariadb104-server/files/mysql-server.in +++ b/databases/mariadb104-server/files/mysql-server.in @@ -125,7 +125,7 @@ mysql_prestart() fi [ "${mysql_socket}" = "" ] && mysql_rundir="%%MARIADB_RUNDIR%%" || mysql_rundir="`/usr/bin/dirname ${mysql_socket}`" if [ ! -d "${mysql_rundir}" ]; then - install -d -o ${mysql_user} -g %%MARIADB_GROUP%% "${mysql_rundir}" + install -d -o ${mysql_user} -g $(id -gn $mysql_user) "${mysql_rundir}" fi %%LEGACY_LIMITS%% if checkyesno mysql_limits; then