From ae45c501958205e077df9d807d1e7f75a687f1ef Mon Sep 17 00:00:00 2001 From: sem Date: Fri, 4 Nov 2005 07:13:36 +0000 Subject: - Fix permissions for scripts/ Note: I'd like to stick the schema where PORTREVISION reflects a vendor patch level. So first digit(s) will the verndor patch level and second one will a port revision level. Reported by: Anthony Maszeroski --- net-mgmt/cacti/Makefile | 3 +-- net-mgmt/cacti/files/pkg-install.in | 4 ++-- net/cacti/Makefile | 3 +-- net/cacti/files/pkg-install.in | 4 ++-- 4 files changed, 6 insertions(+), 8 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 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 -- cgit