Index: head/www/orangehrm/Makefile =================================================================== --- head/www/orangehrm/Makefile (revision 452413) +++ head/www/orangehrm/Makefile (revision 452414) @@ -1,35 +1,34 @@ # Created by: Wen Heping # $FreeBSD$ PORTNAME= orangehrm -PORTVERSION= 3.3.3 -PORTREVISION= 1 +PORTVERSION= 4.0 CATEGORIES= www misc MASTER_SITES= SF/${PORTNAME}/stable/${PORTVERSION} MAINTAINER= wen@FreeBSD.org COMMENT= Open Source Human Resource Management LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/license/LICENSE.TXT USES= cpe php zip -USE_PHP= pdo_mysql ctype xml simplexml +USE_PHP= iconv json pdo_mysql ctype xml session simplexml NO_BUILD= yes PLIST= ${WRKDIR}/plist SUB_FILES= pkg-message HRMDIR= www/orangehrm pre-install: @${ECHO_CMD} -e '@owner ${WWWOWN}\n@group ${WWWGRP}' > ${PLIST} @${ECHO_CMD} "@mode 755" >> ${PLIST} @${FIND} -s -d ${WRKSRC} -type l | ${SED} "s#${WRKSRC}#${HRMDIR}#g" >>${PLIST} @${FIND} -s -d ${WRKSRC} -type f | ${SED} "s#${WRKSRC}#${HRMDIR}#g" >>${PLIST} @${FIND} -s -d ${WRKSRC} -type d | ${SED} "s#${WRKSRC}#@dir ${HRMDIR}#g" >> ${PLIST} @${ECHO_CMD} "@mode" >> ${PLIST} @${ECHO_CMD} -e '@owner root\n@group wheel' >> ${PLIST} do-install: @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${HRMDIR} .include Index: head/www/orangehrm/distinfo =================================================================== --- head/www/orangehrm/distinfo (revision 452413) +++ head/www/orangehrm/distinfo (revision 452414) @@ -1,3 +1,3 @@ -TIMESTAMP = 1475135186 -SHA256 (orangehrm-3.3.3.zip) = 08d8e75813b70b4f05d8ad9fe6bf0d57d6015a2ea7fdd192acce93d61c10bb1e -SIZE (orangehrm-3.3.3.zip) = 10914723 +TIMESTAMP = 1508428624 +SHA256 (orangehrm-4.0.zip) = 60767921a72fefef746404f79d99eec435c0af7b91eebf001da528e0f4e2314f +SIZE (orangehrm-4.0.zip) = 25295744 Index: head/www/orangehrm/files/pkg-message.in =================================================================== --- head/www/orangehrm/files/pkg-message.in (revision 452413) +++ head/www/orangehrm/files/pkg-message.in (revision 452414) @@ -1,26 +1,36 @@ POST-INSTALL CONFIGURATION FOR OrangeHRM ===================================== 1) Add the following to your Apache configuration, and restart the server: - ### Add the AcceptPathInfo directive only for Apache 2.0.30 or later. + For Apache versions earlier than 2.4: + Alias /orangehrm %%PREFIX%%/www/orangehrm/ AcceptPathInfo On - AllowOverride None + AllowOverride All Order Allow,Deny Allow from all + + + For Apache version 2.4.x or above: + + Alias /orangehrm %%PREFIX%%/www/orangehrm/ + AcceptPathInfo On + + AllowOverride All + Require all granted 2) Visit your OrangeHRM site with a browser (i.e., http://your.server.com/orangehrm), and you should be taken to the setup script, which will lead you through creating a configuration file and then setting up OrangeHRM, creating an admin account, etc. For more information, see the INSTALL DOCUMENTATION: http://www.orangehrm.com/installation-Linux.shtml ================================================================