mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +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
58 lines
1.5 KiB
Makefile
58 lines
1.5 KiB
Makefile
PORTNAME= note
|
|
DISTVERSION= 1.3.26
|
|
PORTREVISION= 1
|
|
CATEGORIES= deskutils perl5
|
|
MASTER_SITES= http://www.daemon.de/idisk/Apps/note/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Console based tool to handle encrypted notes
|
|
WWW= https://www.daemon.de/NOTE
|
|
|
|
LICENSE= GPLv1
|
|
|
|
RUN_DEPENDS= p5-YAML>=0.1:textproc/p5-YAML \
|
|
p5-Config-General>0:devel/p5-Config-General
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
NO_ARCH= yes
|
|
|
|
OPTIONS_DEFINE= EXAMPLES MYSQL PWSAFE3
|
|
OPTIONS_DEFAULT= BLOWFISH DES IDEA MYSQL PWSAFE3
|
|
|
|
MYSQL_RUN_DEPENDS= ${DBD_MYSQL} \
|
|
p5-DBI>0:databases/p5-DBI
|
|
MYSQL_USES= mysql
|
|
|
|
PWSAFE3_DESC= Password Safe v3 backend
|
|
PWSAFE3_RUN_DEPENDS= p5-Crypt-PWSafe3>0:security/p5-Crypt-PWSafe3
|
|
|
|
OPTIONS_GROUP= CRYPTO
|
|
OPTIONS_GROUP_CRYPTO= DES IDEA BLOWFISH
|
|
|
|
CRYPTO_DESC= Encryption support
|
|
CRYPTO_RUN_DEPENDS= p5-Crypt-CBC>0:security/p5-Crypt-CBC \
|
|
p5-Crypt-Rijndael>0:security/p5-Crypt-Rijndael
|
|
|
|
BLOWFISH_DESC= BlowFish block cipher support
|
|
BLOWFISH_RUN_DEPENDS= p5-Crypt-Blowfish>0:security/p5-Crypt-Blowfish \
|
|
${CRYPTO_RUN_DEPENDS}
|
|
|
|
DES_DESC= DES block cipher support
|
|
DES_RUN_DEPENDS= p5-Crypt-DES>0:security/p5-Crypt-DES \
|
|
${CRYPTO_RUN_DEPENDS}
|
|
|
|
IDEA_DESC= IDEA block cipher support
|
|
IDEA_RUN_DEPENDS= p5-Crypt-IDEA>0:security/p5-Crypt-IDEA \
|
|
${CRYPTO_RUN_DEPENDS}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|{{(|{\\{(|g' \
|
|
${WRKSRC}/bin/note
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/config && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|