summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"