New package: nagstamon-3.0.2

closes #2715
This commit is contained in:
Laszlo Dvornik 2018-09-13 15:40:02 +02:00 committed by maxice8
parent 057350cd2e
commit c90bdf52fb
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
2 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,40 @@
--- Nagstamon/QUI/__init__.py.orig 2018-09-12 16:40:47.350735530 +0200
+++ Nagstamon/QUI/__init__.py 2018-09-12 16:47:18.330913802 +0200
@@ -5279,7 +5279,7 @@
self.ui.button_choose_custom_cert_ca_file.clicked.connect(self.choose_custom_cert_ca_file)
# fill authentication combobox
- self.ui.input_combobox_authentication.addItems(['Basic', 'Digest', 'Kerberos'])
+ self.ui.input_combobox_authentication.addItems(['Basic', 'Digest'])
# detect change of server type which leads to certain options shown or hidden
self.ui.input_combobox_type.activated.connect(self.toggle_type)
--- Nagstamon/Servers/Generic.py,orug 2018-09-12 16:40:47.353735516 +0200
+++ Nagstamon/Servers/Generic.py 2018-09-12 16:47:52.962752440 +0200
@@ -45,7 +45,6 @@
from collections import OrderedDict
import requests
-import requests_kerberos
# disable annoying SubjectAltNameWarning warnings
try:
@@ -231,8 +230,6 @@
self.session.auth = requests.auth.HTTPBasicAuth(self.username, self.password)
elif self.authentication == 'digest':
self.session.auth = requests.auth.HTTPDigestAuth(self.username, self.password)
- elif self.authentication == 'kerberos':
- self.session.auth = requests_kerberos.HTTPKerberosAuth()
# default to check TLS validity
if self.ignore_cert:
--- setup.py.orig 2018-09-12 16:40:47.363735470 +0200
+++ setup.py 2018-09-12 16:48:02.146709650 +0200
@@ -85,7 +85,6 @@
'python3-psutil '
'python3-qt5 '
'python3-requests '
- 'python3-requests-kerberos '
'python3-SecretStorage '
'qt5-qtmultimedia '
'qt5-qtsvg ',

View File

@ -0,0 +1,22 @@
# Template file for 'nagstamon'
pkgname=nagstamon
version=3.0.2
revision=1
noarch=yes
wrksrc=Nagstamon
build_style=python3-module
pycompile_module="Nagstamon"
hostmakedepends="python3-setuptools python3-keyring"
depends="python3-BeautifulSoup4 python3-dbus python3-keyring python3-lxml
python3-psutil python3-PyQt5-multimedia python3-PyQt5-svg python3-requests"
short_desc="Nagios status monitor for the desktop"
maintainer="Laszlo Dvornik <laulicus@zoho.com>"
license="GPL-2.0-or-later"
homepage="https://nagstamon.ifw-dresden.de"
distfiles="https://nagstamon.ifw-dresden.de/files/stable/Nagstamon-${version}.tar.gz"
checksum=a6e9fbb3c4ad8f88ec8540f62457a7d32b6180e6aa0a5ff28ddacb15bc646f9d
post_install() {
chmod 644 ${DESTDIR}/usr/share/pixmaps/nagstamon.svg
mv -v ${DESTDIR}/usr/bin/nagstamon.py ${DESTDIR}/usr/bin/nagstamon
}