freebsd-ports/www/kanboard/Makefile
Fernando Apesteguía a4f1bfb9fb www/kanboard: update to 1.2.31
ChangeLog: https://github.com/kanboard/kanboard/releases/tag/v1.2.31

Security Fixes:

 * CVE-2023-36813: Avoid potential SQL injections without breaking compatibility
   with plugins

Other fixes and updates:

 * Run tests with PHP 8 on GitHub Actions
 * Bump Symfony dependencies
 * Update Composer dependencies to be able to run tests with PHP 8.2
 * Add /usr/bin/php symlink in the Docker image
 * Replace usage of at() matcher with alternatives in unit tests
 * Adjust plugin directory test case to work on released versions
 * Fix incorrect background dynamic property in captcha library
 * Update translations

Reported by:	portscout
MFH:		2023Q3 (security fix)
Security:	CVE-2023-36813
2023-07-05 13:15:32 +02:00

48 lines
1.1 KiB
Makefile

PORTNAME= kanboard
DISTVERSIONPREFIX= v
DISTVERSION= 1.2.31
CATEGORIES= www
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple visual task board software
WWW= https://kanboard.net/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
USES= cpe php:flavors python
USE_GITHUB= yes
USE_PHP= ctype curl dom filter gd iconv mbstring mcrypt \
pdo session simplexml xml zlib
NO_ARCH= yes
NO_BUILD= yes
PLIST_SUB= KANBOARD_GROUPNAME=${KANBOARD_GROUPNAME} \
KANBOARD_USERNAME=${KANBOARD_USERNAME}
OPTIONS_DEFINE= OPCACHE
OPTIONS_DEFAULT= OPCACHE SQLITE
OPTIONS_MULTI= DB
OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE
OPCACHE_DESC= OPcache support (recommended)
MYSQL_USES= mysql
MYSQL_USE= PHP=mysqli,pdo_mysql
OPCACHE_USE= PHP=opcache
PGSQL_USES= pgsql
PGSQL_USE= PHP=pdo_pgsql,pgsql
SQLITE_USE= PHP=pdo_sqlite,sqlite3
KANBOARD_GROUPNAME?= ${KANBOARD_USERNAME}
KANBOARD_USERNAME?= www
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
.include <bsd.port.mk>