aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/cacti
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2005-11-04 07:13:36 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2005-11-04 07:13:36 +0000
commitadea894c71d63d7401838072ebdb14a377ade55d (patch)
tree716030215f197c1cff4f760de2737d7710bbe1d5 /net-mgmt/cacti
parenta871c7f0f53ae7bad35e9d8bf3e32cbde53850bb (diff)
downloadports-adea894c71d63d7401838072ebdb14a377ade55d.tar.gz
ports-adea894c71d63d7401838072ebdb14a377ade55d.zip
Notes
Diffstat (limited to 'net-mgmt/cacti')
-rw-r--r--net-mgmt/cacti/Makefile3
-rw-r--r--net-mgmt/cacti/files/pkg-install.in4
2 files changed, 3 insertions, 4 deletions
diff --git a/net-mgmt/cacti/Makefile b/net-mgmt/cacti/Makefile
index 59a104679507..131c4b2df5bc 100644
--- a/net-mgmt/cacti/Makefile
+++ b/net-mgmt/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-mgmt/cacti/files/pkg-install.in b/net-mgmt/cacti/files/pkg-install.in
index da76801ae6b9..e33cc5c0bcb9 100644
--- a/net-mgmt/cacti/files/pkg-install.in
+++ b/net-mgmt/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