Update to 3.12.0-1
This commit is contained in:
parent
7d8afbc56c
commit
534cc78c81
3 changed files with 6 additions and 41 deletions
8
.SRCINFO
8
.SRCINFO
|
@ -1,8 +1,6 @@
|
||||||
# Generated by mksrcinfo v8
|
|
||||||
# Thu Mar 14 17:24:35 UTC 2019
|
|
||||||
pkgbase = monitorix
|
pkgbase = monitorix
|
||||||
pkgdesc = A lightweight system monitoring tool that uses rrd databases.
|
pkgdesc = A lightweight system monitoring tool that uses rrd databases.
|
||||||
pkgver = 3.11.0
|
pkgver = 3.12.0
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = http://www.monitorix.org
|
url = http://www.monitorix.org
|
||||||
install = readme.install
|
install = readme.install
|
||||||
|
@ -30,8 +28,8 @@ pkgbase = monitorix
|
||||||
conflicts = monitorix-git
|
conflicts = monitorix-git
|
||||||
backup = etc/monitorix/monitorix.conf
|
backup = etc/monitorix/monitorix.conf
|
||||||
backup = etc/monitorix.conf
|
backup = etc/monitorix.conf
|
||||||
source = http://www.monitorix.org/monitorix-3.11.0.tar.gz
|
source = http://www.monitorix.org/monitorix-3.12.0.tar.gz
|
||||||
sha256sums = 18dc1d49e5fe501ce1eda36011085e80b7630ba31d16c5def9ee1a765f4aefa6
|
sha256sums = 00251cd51748848ee05d8c16b1f4f1f0818309a191ad40a0f711ec13e22a3404
|
||||||
|
|
||||||
pkgname = monitorix
|
pkgname = monitorix
|
||||||
|
|
||||||
|
|
4
PKGBUILD
4
PKGBUILD
|
@ -1,7 +1,7 @@
|
||||||
# Contributor: graysky <graysky AT archlinux dot us>
|
# Contributor: graysky <graysky AT archlinux dot us>
|
||||||
|
|
||||||
pkgname=monitorix
|
pkgname=monitorix
|
||||||
pkgver=3.11.0
|
pkgver=3.12.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='A lightweight system monitoring tool that uses rrd databases.'
|
pkgdesc='A lightweight system monitoring tool that uses rrd databases.'
|
||||||
arch=('any')
|
arch=('any')
|
||||||
|
@ -23,7 +23,7 @@ conflicts=("$pkgname-git")
|
||||||
backup=("etc/$pkgname/$pkgname.conf" "etc/$pkgname.conf")
|
backup=("etc/$pkgname/$pkgname.conf" "etc/$pkgname.conf")
|
||||||
install=readme.install
|
install=readme.install
|
||||||
source=("http://www.$pkgname.org/$pkgname-$pkgver.tar.gz")
|
source=("http://www.$pkgname.org/$pkgname-$pkgver.tar.gz")
|
||||||
sha256sums=('18dc1d49e5fe501ce1eda36011085e80b7630ba31d16c5def9ee1a765f4aefa6')
|
sha256sums=('00251cd51748848ee05d8c16b1f4f1f0818309a191ad40a0f711ec13e22a3404')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$pkgname-$pkgver"
|
cd "$pkgname-$pkgver"
|
||||||
|
|
|
@ -1,39 +1,6 @@
|
||||||
post_install() {
|
|
||||||
echo '----------------------------------------------------------------------'
|
|
||||||
echo 'Consider having your rrd databases for monitorix reside in RAM.'
|
|
||||||
echo 'https://aur.archlinux.org/packages/anything-sync-daemon'
|
|
||||||
echo '----------------------------------------------------------------------'
|
|
||||||
}
|
|
||||||
|
|
||||||
post_remove() {
|
post_remove() {
|
||||||
echo '----------------------------------------------------------------------'
|
echo '----------------------------------------------------------------------'
|
||||||
echo 'To remove all traces of monitorix from your system, you must manually'
|
echo 'To remove all traces of monitorix:'
|
||||||
echo 'remove the following dir trees (doing so will delete your databases):'
|
|
||||||
echo
|
|
||||||
echo 'rm -rf /var/lib/monitorix /srv/http/monitorix /var/log/monitorix'
|
echo 'rm -rf /var/lib/monitorix /srv/http/monitorix /var/log/monitorix'
|
||||||
echo
|
|
||||||
echo 'If you are using anything-sync-daemon, remember to remove the potential'
|
|
||||||
echo 'entry in /etc/asd.conf if you created one for the monitorix db files'
|
|
||||||
echo '----------------------------------------------------------------------'
|
echo '----------------------------------------------------------------------'
|
||||||
}
|
}
|
||||||
|
|
||||||
post_upgrade() {
|
|
||||||
## arg 1: the new package version
|
|
||||||
## arg 2: the old package version
|
|
||||||
oldpkgver=${2%-*}
|
|
||||||
|
|
||||||
if [[ $oldpkgver < 3.5 ]]; then
|
|
||||||
echo '------------------------------------------------------------------------'
|
|
||||||
echo ' WARNING:'
|
|
||||||
echo
|
|
||||||
echo 'Version 3.50 moves /etc/monitorix.conf -> /etc/monitorix/monitorix.conf'
|
|
||||||
echo
|
|
||||||
echo 'Pacman should save your old config file to /etc/monitorix.conf.pacsave'
|
|
||||||
echo 'You MUST compare it to /etc/monitorix/monitorix.conf with a util like vimdiff'
|
|
||||||
echo
|
|
||||||
echo 'Do NOT change two key vars in this file:'
|
|
||||||
echo ' base_dir'
|
|
||||||
echo ' base_cgi'
|
|
||||||
echo '------------------------------------------------------------------------'
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue