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:
parent
a871c7f0f5
commit
adea894c71
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=147192
@ -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}
|
||||
|
@ -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
|
||||
|
@ -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}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user