mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
48285c8539
www/phpvirtualbox: Set default cookie expiry date to 7 days after creation Fix the issue "unable to switch servers" A few weeks ago phpVirtualBox started preventing users to switch from one server to another, as you can read in this upstream bug report: https://github.com/phpvirtualbox/phpvirtualbox/issues/267 PR: 253155 Submitted by: andrew.hotlab With hat: ports-secteam Obtained from: phpvirtualbox repo
36 lines
784 B
Makefile
36 lines
784 B
Makefile
# Created by: Bernhard Froehlich <decke@bluelife.at>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= phpvirtualbox
|
|
DISTVERSION= 5.2-1
|
|
PORTREVISION= 1
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= vbox@FreeBSD.org
|
|
COMMENT= AJAX Web Interface for VirtualBox
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USES= dos2unix php
|
|
USE_PHP= json session simplexml soap xml
|
|
|
|
NO_ARCH= yes
|
|
NO_BUILD= yes
|
|
|
|
USE_GITHUB= yes
|
|
|
|
DOS2UNIX_REGEX= .*\.(php|txt|js|css|html)
|
|
ETCDIR= ${WWWDIR}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's#/usr/share/phpvirtualbox#${WWWDIR}#g' ${WRKSRC}/phpvirtualbox.conf
|
|
|
|
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>
|