summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibaut Notteboom <thibaut.notteboom@gmail.com>2017-04-09 22:23:30 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-13 07:27:48 +0700
commit6dc76040112fbffb870f24554bbfe19f92184626 (patch)
treeaf4916b9f158255251b25471be8cdbb7b3b1677b
parent32593a74ac05cf2dcab706557748f03a70db0e7e (diff)
downloadslackbuilds-6dc76040112fbffb870f24554bbfe19f92184626.tar.gz
network/cacti: Updated for version 1.1.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--network/cacti/cacti.SlackBuild9
-rw-r--r--network/cacti/cacti.info6
2 files changed, 8 insertions, 7 deletions
diff --git a/network/cacti/cacti.SlackBuild b/network/cacti/cacti.SlackBuild
index 81d3d19708..dcb48160ca 100644
--- a/network/cacti/cacti.SlackBuild
+++ b/network/cacti/cacti.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=cacti
-VERSION=${VERSION:-1.1.0}
+VERSION=${VERSION:-1.1.2}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,7 +55,7 @@ find -L . \
mkdir -p $PKG/$DOCROOT/$PRGNAM
cp -a \
- *.php include resource lib rra images cli scripts install \
+ *.php cache cli formats images include install lib locales log mibs plugins resource rra scripts \
$PKG/$DOCROOT/$PRGNAM/
chown -R $PHPUSER:$PHPGROUP $PKG/$DOCROOT/$PRGNAM
@@ -66,8 +66,9 @@ ln -sf /etc/$PRGNAM/config.php $PKG/$DOCROOT/$PRGNAM/include/config.php
chmod 640 $PKG/etc/$PRGNAM/config.php.new
# Move log file & create symbolic link
-mkdir -p $PKG/var/log/$PRGNAM
-mv log/cacti.log $PKG/var/log/$PRGNAM/cacti.log.new
+mkdir -p $PKG/var/log
+mv $PKG/$DOCROOT/$PRGNAM/log $PKG/var/log/$PRGNAM
+mv $PKG/var/log/$PRGNAM/cacti.log $PKG/var/log/$PRGNAM/cacti.log.new
ln -sf /var/log/$PRGNAM $PKG/$DOCROOT/$PRGNAM/log
# Copy docs & create symbolic link
diff --git a/network/cacti/cacti.info b/network/cacti/cacti.info
index d815a4d2c6..d7e92dcfcc 100644
--- a/network/cacti/cacti.info
+++ b/network/cacti/cacti.info
@@ -1,8 +1,8 @@
PRGNAM="cacti"
-VERSION="1.1.0"
+VERSION="1.1.2"
HOMEPAGE="http://www.cacti.net/"
-DOWNLOAD="http://www.cacti.net/downloads/cacti-1.1.0.tar.gz"
-MD5SUM="49a87b067c0a1e9e6e2b290f6e92b829"
+DOWNLOAD="http://www.cacti.net/downloads/cacti-1.1.2.tar.gz"
+MD5SUM="2d63821739e648a3fd9830894f72a095"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="rrdtool"