head	1.10;
access;
symbols
	pkgsrc-2026Q1:1.8.0.2
	pkgsrc-2026Q1-base:1.8
	pkgsrc-2025Q4:1.6.0.2
	pkgsrc-2025Q4-base:1.6
	pkgsrc-2025Q3:1.1.0.4
	pkgsrc-2025Q3-base:1.1
	pkgsrc-2025Q2:1.1.0.2
	pkgsrc-2025Q2-base:1.1;
locks; strict;
comment	@# @;


1.10
date	2026.05.15.09.58.45;	author adam;	state Exp;
branches;
next	1.9;
commitid	AbaMQjZsFUtxxTFG;

1.9
date	2026.05.14.16.40.34;	author ryoon;	state Exp;
branches;
next	1.8;
commitid	tKipFjQKzke3NNFG;

1.8
date	2026.02.06.10.04.23;	author wiz;	state Exp;
branches;
next	1.7;
commitid	MwQEYCXeWSFvIitG;

1.7
date	2026.01.07.08.46.11;	author wiz;	state Exp;
branches;
next	1.6;
commitid	1wQ3ICD8eebefrpG;

1.6
date	2025.10.27.20.56.37;	author nia;	state Exp;
branches;
next	1.5;
commitid	qUADGNDwnZ8NBfgG;

1.5
date	2025.10.23.20.36.11;	author wiz;	state Exp;
branches;
next	1.4;
commitid	1V2hBZn9ypXaCJfG;

1.4
date	2025.10.05.19.25.46;	author js;	state Exp;
branches;
next	1.3;
commitid	U70EDQkwOmfbOpdG;

1.3
date	2025.09.27.09.57.11;	author wiz;	state Exp;
branches;
next	1.2;
commitid	GSXfRJoW2938VkcG;

1.2
date	2025.09.21.18.15.05;	author wiz;	state Exp;
branches;
next	1.1;
commitid	tn5f7O3DThG7SBbG;

1.1
date	2025.06.07.08.58.43;	author nia;	state Exp;
branches;
next	;
commitid	vXq1mbQoioDU9WXF;


desc
@@


1.10
log
@revbump for boost-libs
@
text
@# $NetBSD: Makefile,v 1.9 2026/05/14 16:40:34 ryoon Exp $

PKGNAME=	${DISTNAME:S/-/-server-/}
PKGREVISION=	4
COMMENT=	MariaDB 11.8, a free MySQL compatible database (server)

CONFLICTS=	mysql-server-[0-9]*

.include "../../databases/mariadb118-client/Makefile.common"

BUILD_DEFS+=		VARBASE
PLIST_VARS+=		disks

.include "../../mk/bsd.fast.prefs.mk"

# Requires getmntinfo
.if ${OPSYS} != "SunOS"
PRINT_PLIST_AWK+=	/disks.so/ { print "$${PLIST.disks}" $$0; next }
PLIST.disks=		yes
.endif

MARIADB_USER?=		${MYSQL_USER:Umariadb}
MARIADB_GROUP?=		${MYSQL_GROUP:Umariadb}

PKG_USERS_VARS+=	MARIADB_USER
PKG_GROUPS_VARS+=	MARIADB_GROUP

PKG_GROUPS=		${MARIADB_GROUP}
PKG_USERS=		${MARIADB_USER}:${MARIADB_GROUP}

PKG_GECOS.${MARIADB_USER}=	MariaDB administrator
PKG_HOME.${MARIADB_USER}=	${MARIADB_DATADIR}
PKG_SHELL.${MARIADB_USER}=	${SH}

RCD_SCRIPTS=		mariadb
SMF_NAME=		mariadb
SMF_METHODS=		${RCD_SCRIPTS}

CMAKE_CONFIGURE_ARGS+=		-DCONNECT_WITH_MONGO=NO
CMAKE_CONFIGURE_ARGS+=		-DHAVE_LIBCRACK=OFF
CMAKE_CONFIGURE_ARGS+=		-DWITH_SYSTEMD=no

FILES_SUBST+=		HOSTNAME_CMD=${HOSTNAME_CMD:Q}
FILES_SUBST+=		MARIADB_DATADIR=${MARIADB_DATADIR}
FILES_SUBST+=		MARIADB_USER=${MARIADB_USER} MARIADB_GROUP=${MARIADB_GROUP}
BUILD_DEFS+=		MARIADB_DATADIR

OWN_DIRS_PERMS+=	${MARIADB_DATADIR} ${MARIADB_USER} ${MARIADB_GROUP} 0700
OWN_DIRS_PERMS+=	${VARBASE}/log/mariadb ${MARIADB_USER} ${MARIADB_GROUP} 0700

USE_TOOLS+=		bash:run perl:run
REPLACE_BASH+=		scripts/wsrep_sst_*.sh
REPLACE_BASH+=		scripts/mariadb-service-convert

.include "options.mk"
.include "../../databases/mariadb118-client/buildlink3.mk"
.include "../../devel/libexecinfo/buildlink3.mk"
.include "../../security/tcp_wrappers/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.9
log
@*: Recursive revbump from security/nettle-4.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2026/02/06 10:04:23 wiz Exp $
d4 1
a4 1
PKGREVISION=	3
@


1.8
log
@*: recursive bump for nettle 4.0 shlib major bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2026/01/07 08:46:11 wiz Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.7
log
@*: recursive bump for icu 78.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2025/10/27 20:56:37 nia Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.6
log
@mariadb118-client: Update to 11.8.3

The usual bundle of reliability fixes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2025/10/23 20:36:11 wiz Exp $
d4 1
@


1.5
log
@*: recursive bump for pcre2

Running an old binary against the new pcre doesn't work:
/usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/pkg/lib/libglib-2.0.so.0 not defined
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2025/10/05 19:25:46 js Exp $
a3 1
PKGREVISION=	4
@


1.4
log
@*: rev bump for curl
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2025/09/27 09:57:11 wiz Exp $
d4 1
a4 1
PKGREVISION=	3
@


1.3
log
@*: recursive bump for boost 1.89
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2025/09/21 18:15:05 wiz Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.2
log
@*: recursive bump for fmtlib 12
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2025/06/07 08:58:43 nia Exp $
d4 1
a4 1
PKGREVISION=	1
@


1.1
log
@mariadb118: Initial import

MariaDB 11.8 is a long-term release series, maintained until Jun 2028.

Notable features since 11.4, the last LTS branch:

- aarch64 SIMD instructions now supported in Vectors
- Optimizer improvements
- Configure limits on sizes of temporary files
- Y2038 support for TIMESTAMP values on 64-bit platforms
- Added the --dir option to mariadb-import, allowing one to restore all
  tables from a backup directory created using mariadb-dump --dir
- The mariadb-dump --no-autocommit option is now set by default to allow
  faster data loading by InnoDB, writing only one undo log for the whole
  operation
- mariadb-import has a new option, --innodb-optimize-keys to delay
  creation of secondary indexes
- New USERS table in the Information Schema for storing information
  about users
- More columns in Information Schema for greater observability
- SESSION_USER(), which used to be an alias for USER() now shows the value
  of CURRENT_USER() when the session was created

pkgsrc-specific notes:

- This has been verified to build successfully on NetBSD, FreeBSD,
   OpenBSD, macOS (arm & x86), Linux. SunOS tests should happen.
- This now requires a C++17 compiler instead of a C++11 compiler.
- Care should be taken before switching the default MariaDB version
  for the above reasons.
- The new PARSEC plugin is disabled by default to avoid PLIST troubles -
  it depends on specific features added in a specific version of OpenSSL.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2024/12/11 10:32:04 nia Exp $
d4 1
@

