diff options
author | TBK <tbk@jjtc.eu> | 2019-05-05 14:40:49 +0200 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-05-05 12:53:18 +0000 |
commit | e0c45e67c18f410e8ebb97fc79646ca6229c2799 (patch) | |
tree | a8a786895df6deac8e5c6d41a135813ccb486714 /community | |
parent | edeac2e6023ee5c75e3df39ac67ee09a046d0176 (diff) | |
download | aports-e0c45e67c18f410e8ebb97fc79646ca6229c2799.tar.bz2 aports-e0c45e67c18f410e8ebb97fc79646ca6229c2799.tar.xz |
community/cacti: upgrade to 1.2.3
Diffstat (limited to 'community')
-rw-r--r-- | community/cacti/APKBUILD | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/community/cacti/APKBUILD b/community/cacti/APKBUILD index 294b229d30..d231a1be2b 100644 --- a/community/cacti/APKBUILD +++ b/community/cacti/APKBUILD @@ -2,31 +2,25 @@ # Contributor: Valery Kartel <valery.kartel@gmail.com> # Maintainer: Jeff Bilyk <jbilyk@gmail.com> pkgname=cacti -pkgver=1.1.38 -pkgrel=1 +pkgver=1.2.3 +pkgrel=0 pkgdesc="The complete rrdtool-based graphing solution" -url="http://www.cacti.net" +url="https://www.cacti.net" arch="noarch" license="GPL-2.0-or-later" options="!check" pkgusers=$pkgname pkggroups="www-data" depends="bash perl coreutils net-snmp-tools rrdtool ttf-dejavu" -makedepends="" -subpackages="$pkgname-doc $pkgname-lang $pkgname-setup \ - $pkgname-php7:_php - " +subpackages="$pkgname-doc $pkgname-lang $pkgname-setup $pkgname-php7:_php" install="$pkgname.pre-install $pkgname-setup.post-install" source="https://www.cacti.net/downloads/$pkgname-$pkgver.tar.gz $pkgname.crontab $pkgname.nginx.conf $pkgname.php-fpm.conf " -builddir="$srcdir/$pkgname-$pkgver" package() { - cd "$builddir" - mkdir -p "$pkgdir"/usr/share/webapps/$pkgname \ "$pkgdir"/var/lib/$pkgname \ "$pkgdir"/etc/$pkgname \ @@ -68,13 +62,13 @@ package() { # move config to /etc mv "$pkgdir"/usr/share/webapps/$pkgname/include/config.php \ - "$pkgdir"/etc/$pkgname/config.php || return 1 + "$pkgdir"/etc/$pkgname/config.php ln -s /etc/$pkgname/config.php \ "$pkgdir"/usr/share/webapps/$pkgname/include/config.php } doc() { - default_doc || return 1 + default_doc mkdir -p "$subpkgdir"/usr/share/webapps/$pkgname cd "$pkgdir"/usr/share/webapps/$pkgname @@ -99,7 +93,7 @@ lang() { mkdir -p "$subpkgdir"/usr/share/webapps/$pkgname/locales/LC_MESSAGES \ "$subpkgdir"/usr/share/webapps/$pkgname/include/js/LC_MESSAGES \ - "$subpkgdir"/usr/share/webapps/$pkgname/include/phpmailer/language + "$subpkgdir"/usr/share/webapps/$pkgname/include/vendor/phpmailer/language # cacti l10n mv "$pkgdir"/usr/share/webapps/$pkgname/locales/LC_MESSAGES/* \ @@ -110,8 +104,8 @@ lang() { "$subpkgdir"/usr/share/webapps/$pkgname/include/js/LC_MESSAGES # phpmailer l10n - mv "$pkgdir"/usr/share/webapps/$pkgname/include/phpmailer/language/*lang*.php \ - "$subpkgdir"/usr/share/webapps/$pkgname/include/phpmailer/language + mv "$pkgdir"/usr/share/webapps/$pkgname/include/vendor/phpmailer/language/*lang*.php \ + "$subpkgdir"/usr/share/webapps/$pkgname/include/vendor/phpmailer/language } setup() { @@ -137,7 +131,7 @@ _php() { "$subpkgdir"/etc/$php/php-fpm.d/$pkgname.conf } -sha512sums="1f91156416a9988fa149f9b8fc9fc7df904e4cf6d9a19a62d06c7de1ded99ddaec2f5b5f1a21b0effc4dee7b9c1d1911ca5aaa6113b57edc7e2f42b7969343b5 cacti-1.1.38.tar.gz +sha512sums="195d71a6eb08770211c30985ea3b96e2c4f84d91f16617a15e84fab0959a91f1f7923462ea931724a60580757662e01b335490f563d50e6e938c313dcf2044d0 cacti-1.2.3.tar.gz 70f47dbbca76489fc3a84452ee8065f9571ee627b3e346cd3c866501d723a609372c4fbd7e53c4bdcdb22439d876d78847f8902dfa43f3f66b2329639e795ab9 cacti.crontab 9b3fe765c6196c0e4988efaa7236d8a8b945725548371b4a0e2a371de374c9577a908d58dcef5a4e59e089ca923cfeb7c5ddea9ee983a5115239052cf9b8ab59 cacti.nginx.conf 056358fc69752fb5129729db91a22d06c97ca452068017ccfe0ede8f2bf42f62e5072415c7db2eb5b9346d6bc54092bc147044e40b2156d8037dfee4a7e55e5b cacti.php-fpm.conf" |