Files
ports/www/phpvirtualbox-71/Makefile
T
Vladimir Druzenko c1b7acedba emulators/virtualbox-ose*-71,www/phpvirtualbox-71: Deprecate with expiration date 2026-12-31
"VirtualBox 7.1.x is no longer supported!"
https://www.virtualbox.org/wiki/Changelog-7.1

Upstream EOL reaches on 2025-04-15, use emulators/virtualbox-ose*-72
instead.
Set expiration date to 2026-12-31.

Sponsored by:	UNIS Labs
MFH:		2026Q2
2026-04-24 02:29:36 +03:00

45 lines
1.4 KiB
Makefile

PORTNAME= phpvirtualbox
DISTVERSION= 7.1-2
CATEGORIES= www
SUFFIX= -71
PKGNAMESUFFIX= ${SUFFIX}${PHP_PKGNAMESUFFIX}
MAINTAINER= vbox@FreeBSD.org
COMMENT= AJAX Web Interface for VirtualBox
WWW= https://github.com/phpvirtualbox/phpvirtualbox/
LICENSE= GPLv3
DEPRECATED= Upstream EOL reaches on 2026-04-21, use www/phpvirtualbox-72 instead
EXPIRATION_DATE= 2026-12-31
USES= php:flavors
USE_GITHUB= yes
USE_PHP= session simplexml soap xml
ETCDIR= ${WWWDIR}
WWWDIR= ${PREFIX}/www/${PORTNAME}${SUFFIX}
EXTRA_PATCHES+= ${.CURDIR}/../phpvirtualbox-72/files/patch-endpoints_lib_config.php \
${.CURDIR}/../phpvirtualbox-72/files/patch-endpoints_lib_vboxconnector.php \
${.CURDIR}/../phpvirtualbox-72/files/patch-panes_mediumEncryptionPasswords.html
NO_ARCH= yes
NO_BUILD= yes
PORTSCOUT= limit:^7\.1\.
post-patch:
@${MV} ${WRKSRC}/phpvirtualbox.conf ${WRKSRC}/phpvirtualbox${SUFFIX}.conf
@${REINPLACE_CMD} -e 's#Alias /phpvirtualbox#Alias /phpvirtualbox${SUFFIX}#' \
-e 's#/usr/share/phpvirtualbox#${WWWDIR}#g' \
${WRKSRC}/phpvirtualbox${SUFFIX}.conf
@${REINPLACE_CMD} -e 's#7.1-1#${DISTVERSION}#' \
${WRKSRC}/endpoints/lib/config.php
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "*" ${STAGEDIR}${WWWDIR} \
"-not -name *.orig -not -name config.php-example")
${INSTALL_DATA} ${WRKSRC}/config.php-example \
${STAGEDIR}${WWWDIR}/config.php.sample
.include <bsd.port.mk>