[arch-commits] Commit in cacti/repos/community-any (4 files)
Sergej Pupykin
spupykin at archlinux.org
Mon May 22 11:13:28 UTC 2017
Date: Monday, May 22, 2017 @ 11:13:28
Author: spupykin
Revision: 229045
archrelease: copy trunk to community-any
Added:
cacti/repos/community-any/PKGBUILD
(from rev 229044, cacti/trunk/PKGBUILD)
cacti/repos/community-any/cacti.install
(from rev 229044, cacti/trunk/cacti.install)
Deleted:
cacti/repos/community-any/PKGBUILD
cacti/repos/community-any/cacti.install
---------------+
PKGBUILD | 68 ++++++++++++++++++++++++++++----------------------------
cacti.install | 14 +++++------
2 files changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-05-22 11:13:14 UTC (rev 229044)
+++ PKGBUILD 2017-05-22 11:13:28 UTC (rev 229045)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: tuxbubling <tuxbubling at jabber.fr>
-
-pkgname=cacti
-pkgver=1.1.6
-pkgrel=1
-pkgdesc="complete network graphing solution designed to harness the power of RRDTool's data storage and graphing functionality"
-arch=(any)
-url="http://www.cacti.net"
-license=('GPL')
-depends=('rrdtool' 'mariadb' 'php' 'php-gd' 'net-snmp' 'xorg-fonts-100dpi')
-backup=('etc/webapps/cacti/.htaccess'
- 'etc/webapps/cacti/config.php')
-install=cacti.install
-source=("http://www.cacti.net/downloads/$pkgname-${pkgver/_/}.tar.gz")
-sha256sums=('af7e569a7234b1bf12c124262eacecde3fb3ebd68af4318de19c6d0aaf2ef7e1')
-
-package() {
- mkdir -p "$pkgdir"/usr/share/webapps/cacti "$pkgdir"/etc/webapps/cacti
- mv "$srcdir"/$pkgname-${pkgver/_/}/* "$pkgdir"/usr/share/webapps/cacti
- echo "Require all denied" >> "$pkgdir"/etc/webapps/cacti/.htaccess
- mv "$pkgdir"/usr/share/webapps/cacti/include/config.php "$pkgdir"/etc/webapps/cacti
- ln -s /etc/webapps/cacti/.htaccess "$pkgdir"/usr/share/webapps/cacti/.htaccess
- ln -s /etc/webapps/cacti/config.php "$pkgdir"/usr/share/webapps/cacti/include/config.php
-
- install -dm0755 "$pkgdir"/var/log/ "$pkgdir"/var/lib/cacti/
-
- mv "$pkgdir"/usr/share/webapps/cacti/rra "$pkgdir"/var/lib/cacti/rra
- ln -s /var/lib/cacti/rra "$pkgdir"/usr/share/webapps/cacti/rra
-
- mv "$pkgdir"/usr/share/webapps/cacti/log "$pkgdir"/var/log/cacti
- ln -s /var/log/cacti "$pkgdir"/usr/share/webapps/cacti/log
-}
Copied: cacti/repos/community-any/PKGBUILD (from rev 229044, cacti/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-05-22 11:13:28 UTC (rev 229045)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: tuxbubling <tuxbubling at jabber.fr>
+
+pkgname=cacti
+pkgver=1.1.7
+pkgrel=1
+pkgdesc="complete network graphing solution designed to harness the power of RRDTool's data storage and graphing functionality"
+arch=(any)
+url="http://www.cacti.net"
+license=('GPL')
+depends=('rrdtool' 'mariadb' 'php' 'php-gd' 'net-snmp' 'xorg-fonts-100dpi')
+backup=('etc/webapps/cacti/.htaccess'
+ 'etc/webapps/cacti/config.php')
+install=cacti.install
+source=("http://www.cacti.net/downloads/$pkgname-${pkgver/_/}.tar.gz")
+sha256sums=('e6dcbcef54c42ee7920559d9afc7ba6f53c77a2f7054e8d58a83af304c24f969')
+
+package() {
+ mkdir -p "$pkgdir"/usr/share/webapps/cacti "$pkgdir"/etc/webapps/cacti
+ mv "$srcdir"/$pkgname-${pkgver/_/}/* "$pkgdir"/usr/share/webapps/cacti
+ echo "Require all denied" >> "$pkgdir"/etc/webapps/cacti/.htaccess
+ mv "$pkgdir"/usr/share/webapps/cacti/include/config.php "$pkgdir"/etc/webapps/cacti
+ ln -s /etc/webapps/cacti/.htaccess "$pkgdir"/usr/share/webapps/cacti/.htaccess
+ ln -s /etc/webapps/cacti/config.php "$pkgdir"/usr/share/webapps/cacti/include/config.php
+
+ install -dm0755 "$pkgdir"/var/log/ "$pkgdir"/var/lib/cacti/
+
+ mv "$pkgdir"/usr/share/webapps/cacti/rra "$pkgdir"/var/lib/cacti/rra
+ ln -s /var/lib/cacti/rra "$pkgdir"/usr/share/webapps/cacti/rra
+
+ mv "$pkgdir"/usr/share/webapps/cacti/log "$pkgdir"/var/log/cacti
+ ln -s /var/log/cacti "$pkgdir"/usr/share/webapps/cacti/log
+}
Deleted: cacti.install
===================================================================
--- cacti.install 2017-05-22 11:13:14 UTC (rev 229044)
+++ cacti.install 2017-05-22 11:13:28 UTC (rev 229045)
@@ -1,7 +0,0 @@
-post_upgrade() {
- post_install
-}
-
-post_install() {
- chown -R http:http var/log/cacti var/lib/cacti/rra
-}
Copied: cacti/repos/community-any/cacti.install (from rev 229044, cacti/trunk/cacti.install)
===================================================================
--- cacti.install (rev 0)
+++ cacti.install 2017-05-22 11:13:28 UTC (rev 229045)
@@ -0,0 +1,7 @@
+post_upgrade() {
+ post_install
+}
+
+post_install() {
+ chown -R http:http var/log/cacti var/lib/cacti/rra
+}
More information about the arch-commits
mailing list