Index: net-mgmt/ocsinventory-ocsreports/Makefile =================================================================== --- net-mgmt/ocsinventory-ocsreports/Makefile (revision 481701) +++ net-mgmt/ocsinventory-ocsreports/Makefile (working copy) @@ -2,6 +2,7 @@ PORTNAME= ocsinventory-ocsreports PORTVERSION= 2.5 +PORTREVISION= 1 CATEGORIES= net-mgmt MAINTAINER= dgeo@centrale-marseille.fr @@ -19,7 +20,7 @@ GH_PROJECT= OCSInventory-ocsreports SUB_FILES= apache.conf pkg-message -ETCDIR= ${PREFIX}/etc/OCSInventory +ETCDIR= ${PREFIX}/etc/ocsinventory-server do-install: ${MKDIR} ${STAGEDIR}${WWWDIR} ${STAGEDIR}${ETCDIR} @@ -27,5 +28,7 @@ ${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: net-mgmt/ocsinventory-ocsreports/files/apache.conf.in =================================================================== --- net-mgmt/ocsinventory-ocsreports/files/apache.conf.in (revision 481701) +++ net-mgmt/ocsinventory-ocsreports/files/apache.conf.in (working copy) @@ -64,7 +64,7 @@ # # Alias to put Deployment package files outside Apache document root directory # - + # Apache 2.4 Require all granted @@ -74,7 +74,7 @@ Allow from all -Alias /ocs/packages %%SHAREDIR%%/packages +Alias /ocs/packages %%DATADIR%%/packages ################################################################################ @@ -82,7 +82,7 @@ # # Alias to put Snmp custom Mibs files outside Apache document root directory # - + # Apache 2.4 Require all granted @@ -92,5 +92,5 @@ Allow from all -Alias /ocs/snmp %%SHAREDIR%%/snmp +Alias /ocs/snmp %%DATADIR%%/snmp Index: net-mgmt/ocsinventory-ocsreports/pkg-plist =================================================================== --- net-mgmt/ocsinventory-ocsreports/pkg-plist (revision 481701) +++ net-mgmt/ocsinventory-ocsreports/pkg-plist (working copy) @@ -732,3 +732,5 @@ %%WWWDIR%%/update.php %%WWWDIR%%/upload/README %%WWWDIR%%/var.php +@dir %%DATADIR%%/packages +@dir %%DATADIR%%/snmp