diff options
author | sem <sem@FreeBSD.org> | 2005-11-04 15:13:36 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2005-11-04 15:13:36 +0800 |
commit | ae45c501958205e077df9d807d1e7f75a687f1ef (patch) | |
tree | 18017067a1ef7f0b4e6c3ee52d5314f77cb3e073 /net/cacti | |
parent | f42f6edf0af52b352debd51f3d95a4d62109090f (diff) | |
download | freebsd-ports-gnome-ae45c501958205e077df9d807d1e7f75a687f1ef.tar.gz freebsd-ports-gnome-ae45c501958205e077df9d807d1e7f75a687f1ef.tar.zst freebsd-ports-gnome-ae45c501958205e077df9d807d1e7f75a687f1ef.zip |
- 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 <maszeroskia3@Scranton.edu>
Diffstat (limited to 'net/cacti')
-rw-r--r-- | net/cacti/Makefile | 3 | ||||
-rw-r--r-- | net/cacti/files/pkg-install.in | 4 |
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 |