Package Details: nagstamon 3.4.1-1

Git Clone URL: (read-only, click to copy)
Package Base: nagstamon
Description: Nagios status monitor for the desktop
Upstream URL:
Licenses: GPL
Submitter: ghostbuster
Maintainer: ghostbuster
Last Packager: ghostbuster
Votes: 14
Popularity: 0.019172
First Submitted: 2015-08-09 16:15
Last Updated: 2020-01-26 18:43

Latest Comments

1 2 3 Next › Last »

ziopera commented on 2020-01-07 15:00

This is my(working) PKGBUILD for version 3.4

# Maintainer: ghostbuster <>
pkgdesc="Nagios status monitor for the desktop"
depends=('python-pyqt5' 'qt5-multimedia' 'qt5-svg' 'python-requests' 'python-beautifulsoup4' 'python-keyring' 'python-psutil' 'python-requests-kerberos' 'python-lxml' 'python-dbus')

package() {
  cd "$srcdir/$_pkgname"
  # imports AppInfo from Nagstamon.Config which leads to a import of keyring
  # importing keyring fails in a fakeroot environment, which seems to be somehow related to a the keyring connection init triggered by the import
  # to avoid the issue is rewritten here to resolve the need for the AppInfo import
  name=$(sed '0,/class AppInfo/d' Nagstamon/  | grep "NAME " | sed -e "s/^[\t ]*NAME = '//" -e "s/'$//")
  version=$(sed '0,/class AppInfo/d' Nagstamon/  | grep "VERSION " | sed -e "s/^[\t ]*VERSION = '//" -e "s/'$//")
  sed -i -e "s/from Nagstamon.Config import AppInfo//" -e "s/AppInfo.NAME/'${name}'/" -e "s/AppInfo.VERSION/'${version}'/"
  sed -i Nagstamon/ -e "s/from Nagstamon.Config import AppInfo//" -e "s/AppInfo.NAME/'${name}'/" -e "s/AppInfo.VERSION/'${version}'/"
  sed -i -e "s/platform.dist()/('arch', '', '')/g"
  python install --prefix=/usr --root="$pkgdir"
  mv $pkgdir/usr/bin/ $pkgdir/usr/bin/nagstamon

paschty commented on 2020-01-02 10:30

I did this to upgrade to 3.4:

$ git diff origin/master
diff --git a/PKGBUILD b/PKGBUILD
index 657fef8..83f5d1c 100644
@@ -1,7 +1,7 @@
 # Maintainer: ghostbuster
 pkgdesc="Nagios status monitor for the desktop"
 depends=('python-pyqt5' 'qt5-multimedia' 'qt5-svg' 'python-requests' 'python-beautifulsoup4' 'python-keyring' 'python-psutil' 'python-requests-kerberos' 'python-lxml' 'python-dbus')
@@ -12,10 +12,10 @@ source=(
-        '9ab4d49c1bb88c898c3ca2a1fc8a9065'
+        '76c3b7cabb8143e94f6845cd63516ffe'
-        'a834460e78dc01f62171a83c4a11d890702264ed662863dff39edaf14ae98880'
+        '9ad3fa7ad46239bc53f4153e9e8487d2fa93aa8d66085f1c5e9fdef7c5394b7e'

package() {

wuestengecko commented on 2019-12-27 11:04

@maxdevaine, to report a new upstream version please use the "Flag package out of date" link in the box on the right.

maxdevaine commented on 2019-12-27 08:04

Download url not working, there is new version :

ghostbuster commented on 2019-11-19 22:03

package build for nagstamon is working again. I added the workaround wuestengecko proposed.

badpixelbr commented on 2019-11-18 13:23

cant build this package. after makepkg -sriC i got:

Traceback (most recent call last): File "", line 36, in <module> DIST, DIST_VERSION, DIST_NAME = platform.dist() AttributeError: module 'platform' has no attribute 'dist' ==> ERROR: A failure occurred in package(). Aborting...

wuestengecko commented on 2019-11-14 16:54

Python 3.8 removes platform.dist(), which is needed by The following script stubs it out with the value it used to return:

sed -i -e "s/platform.dist()/('arch', '', '')/g"

ghostbuster commented on 2018-07-10 21:49

The observed issues was caused by a keyring connection initialization triggered by a python import in the fakeroot environment used for the package build. I modified the PKGBUILD to work around the not working (but also not really needed) import. Building the package should work again for all environments.

presianbg commented on 2018-07-05 19:14

@ghostbuster Sent on your e-mail. Thanks for looking into this.

ghostbuster commented on 2018-07-05 18:39

I can confirm the posted traceback for my own system but the build does not fail in a clean change root. I assume there is some kind of interference with other python packages in the environment. I'll investigate the issue, but it will take some time. Please build nagstamon in a clean chroot until I figured out the root cause for this traceback.

@presianbg: Could you send me the output of 'python --version' and 'pacman -Qs python' of the affected system by mail?