Index: head/net-mgmt/ocsinventory-ocsreports/Makefile =================================================================== --- head/net-mgmt/ocsinventory-ocsreports/Makefile (revision 531430) +++ head/net-mgmt/ocsinventory-ocsreports/Makefile (revision 531431) @@ -1,33 +1,41 @@ # $FreeBSD$ PORTNAME= ocsinventory-ocsreports -PORTVERSION= 2.6 +PORTVERSION= 2.7 CATEGORIES= net-mgmt +MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${PORTVERSION}/ +DISTNAME= OCSNG_UNIX_SERVER_${PORTVERSION} MAINTAINER= dgeo@centrale-marseille.fr COMMENT= Webconsole for OCS Inventory NG LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE USES= php:web -USE_PHP= mysqli pcre zlib session xml gd zip openssl mbstring soap +USE_PHP= curl gd mbstring mysqli openssl pcre session simplexml soap xml zip zlib NO_ARCH= yes NO_BUILD= yes -USE_GITHUB= yes GH_ACCOUNT= OCSInventory-NG GH_PROJECT= OCSInventory-ocsreports SUB_FILES= apache.conf pkg-message ETCDIR= ${PREFIX}/etc/ocsinventory-server + +WRKSRC= ${WRKDIR}/${PORTNAME} + +do-extract: + ${TAR} xf ${DISTDIR}/${DISTFILES} -C ${WRKDIR}/ --strip-components=1 \ + --exclude ".git*" ${DISTNAME}/ocsreports + ${MV} ${WRKDIR}/ocsreports ${WRKDIR}/${PORTNAME} do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} ${STAGEDIR}${ETCDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} "! -name dbconfig.inc.php ! -name cas.config.php") ${INSTALL_DATA} ${WRKSRC}/dbconfig.inc.php ${STAGEDIR}${WWWDIR}/dbconfig.inc.php.sample ${INSTALL_DATA} ${WRKSRC}/backend/require/cas.config.php ${STAGEDIR}${WWWDIR}/backend/require/cas.config.php.sample ${INSTALL_DATA} ${WRKDIR}/apache.conf ${STAGEDIR}${ETCDIR}/ocsreports.inc.sample ${MKDIR} ${STAGEDIR}${DATADIR}/packages ${MKDIR} ${STAGEDIR}${DATADIR}/snmp .include Index: head/net-mgmt/ocsinventory-ocsreports/distinfo =================================================================== --- head/net-mgmt/ocsinventory-ocsreports/distinfo (revision 531430) +++ head/net-mgmt/ocsinventory-ocsreports/distinfo (revision 531431) @@ -1,3 +1,3 @@ -TIMESTAMP = 1583417456 -SHA256 (OCSInventory-NG-OCSInventory-ocsreports-2.6_GH0.tar.gz) = bfd9e6e82e54d12e4b29e6a401b80fc9de95a4c7157fa2cc64c29d09f6c81060 -SIZE (OCSInventory-NG-OCSInventory-ocsreports-2.6_GH0.tar.gz) = 2791940 +TIMESTAMP = 1586615337 +SHA256 (OCSNG_UNIX_SERVER_2.7.tar.gz) = 4fbbf1797a7e20245493d7c714b77893ebfec0c5c5f3f4f898c6aa24ce50dda5 +SIZE (OCSNG_UNIX_SERVER_2.7.tar.gz) = 2895184 Index: head/net-mgmt/ocsinventory-ocsreports/files/pkg-message.in =================================================================== --- head/net-mgmt/ocsinventory-ocsreports/files/pkg-message.in (revision 531430) +++ head/net-mgmt/ocsinventory-ocsreports/files/pkg-message.in (revision 531431) @@ -1,11 +1,11 @@ [ { type: install message: <