aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/cacti/Makefile3
-rw-r--r--net/cacti/files/pkg-install.in4
2 files changed, 3 insertions, 4 deletions
diff --git a/net/cacti/Makefile b/net/cacti/Makefile
index 59a104679507..131c4b2df5bc 100644
--- a/net/cacti/Makefile
+++ b/net/cacti/Makefile
@@ -7,7 +7,7 @@
PORTNAME= cacti
PORTVERSION= 0.8.6g
-PORTREVISION= 4
+PORTREVISION= 41
CATEGORIES= net www
MASTER_SITES= http://www.cacti.net/downloads/
@@ -56,7 +56,6 @@ do-install:
${PREFIX}/${CACTIDIR}/include/db-settings.php; \
fi
-# Fix permissions
post-install:
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${CAT} ${PKGMESSAGE}
diff --git a/net/cacti/files/pkg-install.in b/net/cacti/files/pkg-install.in
index da76801ae6b9..e33cc5c0bcb9 100644
--- a/net/cacti/files/pkg-install.in
+++ b/net/cacti/files/pkg-install.in
@@ -39,9 +39,9 @@ PRE-INSTALL)
POST-INSTALL)
- chown ${CACTIUSER}:${CACTIGROUP} ${PREFIX}/${CACTIDIR}/log/
- chown ${CACTIUSER}:${CACTIGROUP} ${PREFIX}/${CACTIDIR}/log/*
chown ${CACTIUSER}:${CACTIGROUP} ${PREFIX}/${CACTIDIR}/rra/
+ chown -R ${CACTIUSER}:${CACTIGROUP} ${PREFIX}/${CACTIDIR}/log/
+ chmod -R a+r ${PREFIX}/${CACTIDIR}/scripts/
;;
*)
exit 1