- Add an official patch: SNMPv3 Privilege Protocol None

- chown recursively in pkg-install script [1]

Requested by:   Paul Beard <paulbeard at gmail.com> [1]
This commit is contained in:
Sergey Matveychuk 2012-06-15 13:53:28 +00:00
parent d470b35fee
commit 2212b0ce55
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299349
3 changed files with 5 additions and 4 deletions

View file

@ -7,16 +7,15 @@
PORTNAME= cacti
PORTVERSION= 0.8.8a${PATCHLEVEL}
PORTREVISION= 1
CATEGORIES= net-mgmt www
MASTER_SITES= http://www.cacti.net/downloads/
DISTFILES= ${PORTNAME}-${SITEDISTVERSION}${EXTRACT_SUFX}
# Vendor's patches
PATCH_SITES= http://www.cacti.net/downloads/patches/${SITEDISTVERSION}/
#PATCHFILES=
PATCHFILES= snmpv3_priv_proto_none.patch
PATCH_DIST_STRIP= -p1
#PATCHLEVEL=
PATCHLEVEL= 1
MAINTAINER= sem@FreeBSD.org
COMMENT= Web-driven graphing interface for RRDTool

View file

@ -1,2 +1,4 @@
SHA256 (cacti-0.8.8a.tar.gz) = 9fea2b6c438ebf2740b5982a6ff7cfd2816e48ea88a347ef0ef238c7b4875955
SIZE (cacti-0.8.8a.tar.gz) = 2273280
SHA256 (snmpv3_priv_proto_none.patch) = 8d48d9cf89f2ba47a6dbce884ab3f3c164b52ed4771b8b76c656a3ae967211f8
SIZE (snmpv3_priv_proto_none.patch) = 1407

View file

@ -39,7 +39,7 @@ PRE-INSTALL)
POST-INSTALL)
chown ${CACTIUSER}:${CACTIGROUP} "${PREFIX}/${CACTIDIR}/rra/"
chown -R ${CACTIUSER}:${CACTIGROUP} "${PREFIX}/${CACTIDIR}/rra/"
[ -d "${PREFIX}/${CACTIDIR}/log/" ] || mkdir -p "${PREFIX}/${CACTIDIR}/log/"
chown -R ${CACTIUSER}:${CACTIGROUP} "${PREFIX}/${CACTIDIR}/log/"
chmod -R a+r "${PREFIX}/${CACTIDIR}/scripts/"