mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
92a030dffd
Add a new variable DBD_MYSQL, use that in *_DEPENDS and add mysql to USES where required. DBD_MYSQL will automatically set the correct DBD dependency. Incd16748194
databases/p5-DBD-mysql was updated to 5.x, in 5.x the support for MariaDB was removed and only MySQL >= 8.0 is supported. In the 4.x releases MariaDB is still supported, according to upstream 4.x will still be supported for a while [1], so use that for now when we detect that MYSQL_FLAVOUR is set to mariadb. databases/p5-DBD-mysql4 was added ind95f49cb3b
. DBD:MariaDB would be another alternative, but migrating to it might need more analysis than just staying with the 4.x releases of p5-DBD-mysql. This thread on the amavis-users mailing list has a very good summary [2] from the author of DBD:MariaDB. This includes ideas and suggestions from vvd and mat. Thanks! [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277889#c17 [2] https://lists.amavis.org/pipermail/amavis-users/2024-March/006823.html PR: 275100, 277889 Reviewed by: vvd, mat Fixes:cd16748194
Differential Revision: https://reviews.freebsd.org/D44662
29 lines
491 B
Makefile
29 lines
491 B
Makefile
PORTNAME= mytop
|
|
PORTVERSION= 1.7
|
|
PORTREVISION= 1
|
|
CATEGORIES= databases
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Top clone for MySQL
|
|
WWW= https://jeremy.zawodny.com/mysql/mytop/
|
|
|
|
LICENSE= GPLv2
|
|
|
|
RUN_DEPENDS= ${DBD_MYSQL} \
|
|
p5-DBI>=1.13:databases/p5-DBI \
|
|
p5-Term-ReadKey>=2.10:devel/p5-Term-ReadKey
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= jzawodn
|
|
GH_TAGNAME= 437f2ef
|
|
|
|
NO_ARCH= yes
|
|
|
|
USES+= mysql perl5
|
|
USE_PERL5= configure
|
|
|
|
PLIST_FILES= bin/mytop \
|
|
${SITE_MAN1}/mytop.1.gz
|
|
|
|
.include <bsd.port.mk>
|