1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- 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>
This commit is contained in:
Sergey Matveychuk 2005-11-04 07:13:36 +00:00
parent a871c7f0f5
commit adea894c71
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=147192
4 changed files with 6 additions and 8 deletions

View File

@ -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}

View File

@ -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

View File

@ -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}

View File

@ -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