LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-24-2019, 08:48 PM   #3196
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 1,134

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346

bind-9.14.1

sources --> https://ftp.isc.org/isc/bind9/9.14.1/bind-9.14.1.tar.gz
notes --> https://ftp.isc.org/isc/bind9/9.14.1...ind-9.14.1.txt

Security Fixes

* In certain configurations, named could crash with an assertion
failure if nxdomain-redirect was in use and a redirected query
resulted in an NXDOMAIN from the cache. This flaw is disclosed in
CVE-2019-6467. [GL #880]
* The TCP client quota set using the tcp-clients option could be
exceeded in some cases. This could lead to exhaustion of file
descriptors. (CVE-2018-5743) [GL #615]
 
2 members found this post helpful.
Old 04-25-2019, 02:13 AM   #3197
franzen
Member
 
Registered: Nov 2012
Distribution: slackware
Posts: 263

Rep: Reputation: 144Reputation: 144
Quote:
Originally Posted by burdi01 View Post
The fix referred to is from Oct 2018 and should have been applied to master then.
My freeze is much more recent.
Anyway, I will have a look and report back.
Here USUARIONUEVO points out, that the fix was commited just yesterday to kernel 4.19(review for 4.19.37).

Last edited by franzen; 04-25-2019 at 02:15 AM.
 
Old 04-25-2019, 04:35 AM   #3198
burdi01
Member
 
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware Current64, Xubuntu
Posts: 291

Rep: Reputation: 39
Quote:
Originally Posted by franzen View Post
Here USUARIONUEVO points out, that the fix was commited just yesterday to kernel 4.19(review for 4.19.37).
I checked the 5.0.9 source and saw that the "{}" is already there. In other words: that fix does not resolve the problem or my 5.0.X freeze is not the same as the 4.19.36 one...
Awaiting things to unroll ...

Last edited by burdi01; 04-25-2019 at 04:39 AM.
 
Old 04-25-2019, 11:51 AM   #3199
mlpa
Member
 
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 526

Rep: Reputation: 45
Dear all,

The new version of network-manager-applet (present in Slackware-current) does not ship the libnm-gtk.
This lib is necessary for NetworkManager-pptp extension (I use it to access the VPN of my University).
I recompiled the package with this extra configuration: --with-libnm_gtk

Can this be added be default to slackware?
 
Old 04-25-2019, 12:32 PM   #3200
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 1,695

Rep: Reputation: 5231Reputation: 5231Reputation: 5231Reputation: 5231Reputation: 5231Reputation: 5231Reputation: 5231Reputation: 5231Reputation: 5231Reputation: 5231Reputation: 5231
Quote:
Originally Posted by mlpa View Post
Dear all,

The new version of network-manager-applet (present in Slackware-current) does not ship the libnm-gtk.
This lib is necessary for NetworkManager-pptp extension (I use it to access the VPN of my University).
I recompiled the package with this extra configuration: --with-libnm_gtk

Can this be added be default to slackware?
libnm-gtk is deprecated, but you should be able to compile NetworkManager-pptp to use libnma (the replacement) instead.
 
2 members found this post helpful.
Old 04-26-2019, 12:12 AM   #3201
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 1,134

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
python-pip-19.1

https://files.pythonhosted.org/packa...ip-19.1.tar.gz
 
Old 04-26-2019, 07:36 PM   #3202
IlyaK
LQ Newbie
 
Registered: Jun 2017
Distribution: Slackware
Posts: 11

Rep: Reputation: Disabled
Do you think it is possible to have OpenJDK-11 and Chromium?
 
Old 04-27-2019, 02:33 AM   #3203
mlpa
Member
 
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 526

Rep: Reputation: 45
Quote:
Originally Posted by volkerdi View Post
libnm-gtk is deprecated, but you should be able to compile NetworkManager-pptp to use libnma (the replacement) instead.
Will try that. Thanks
 
Old 04-27-2019, 05:07 AM   #3204
TurboBlaze
Member
 
Registered: Jan 2018
Location: Russian Federation, Lipetsk region, Dankov
Distribution: Porteus
Posts: 55

Rep: Reputation: Disabled
system-config-printer-applet not compatible with python3
Code:
# system-config-printer-applet
/usr/share/system-config-printer/applet.py:27: DeprecationWarning: Importing dbus.glib to use the GLib main loop with dbus-python is deprecated.
Instead, use this sequence:

    from dbus.mainloop.glib import DBusGMainLoop

    DBusGMainLoop(set_as_default=True)

  import dbus.glib
/usr/share/system-config-printer/applet.py:45: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
  from gi.repository import Notify
system-config-printer-applet: failed to connect to session D-Bus
If look at git https://github.com/zdohnal/system-config-printer
system-config-printer.auth.dialog.2766d74a.patch.gz does not need
Code:
+ zcat /tmp/system-config-printer/system-config-printer.auth.dialog.2766d74a.patch.gz
+ patch -p1 --verbose
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|From 2766d74a98e44693f5e966d541a6303b966c088b Mon Sep 17 00:00:00 2001
|From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
|Date: Thu, 8 Feb 2018 17:01:01 +0100
|Subject: [PATCH] Fix constructing the auth dialog
|
|47973c80 (Remove deprecated Gtk objects) broke the auth dialog.
|
|Fixes https://bugs.archlinux.org/task/57364.
|---
| authconn.py | 2 --
| 1 file changed, 2 deletions(-)
|
|diff --git a/authconn.py b/authconn.py
|index 2a645dccf..0f3021cb3 100644
|--- a/authconn.py
|+++ b/authconn.py
--------------------------
patching file authconn.py
Using Plan A...
Reversed (or previously applied) patch detected!  Assume -R? [n]
Probably it's time to recompile system-config-printer from git?
Code:
1.5.12 changes
--------------
- when you use different component id, add provide for old name (https://github.com/zdohnal/system-config-printer/issues/99)
- fix other issues in system-config-printer.appdata.xml to be completely valid 
  for new format
- make the appstream file validate with version >= 0.6 (https://github.com/zdohnal/system-config-printer/issues/97)
- fixes for scp-dbus-services (https://github.com/zdohnal/system-config-printer/pull/96)
- use ValueError instead of ImportError (https://github.com/zdohnal/system-config-printer/pull/95)
- fix constructing the auth dialog (https://github.com/zdohnal/system-config-printer/pull/93)
- update da.po (https://github.com/zdohnal/system-config-printer/pull/102)
- use utf-8 in fdopen() (https://github.com/zdohnal/system-config-printer/pull/112)
- Fallback to using LC_CTYPE if LC_MESSAGES is empty and fix _language use (https://github.com/zdohnal/system-config-printer/pull/108)
- Update de.po (https://github.com/zdohnal/system-config-printer/pull/106)
- Fix TypeError raised by debugprint call (https://github.com/zdohnal/system-config-printer/pull/121)
- dbus: remove deprecated at_console statement (https://github.com/zdohnal/system-config-printer/pull/123)
- fixed several memory leaks reported by Coverity scan
- temporary fix for error pop up message for IPP2.0+ attributes (https://github.com/zdohnal/system-config-printer/issues/122)
- lpd queue names printed on the console (https://github.com/zdohnal/system-config-printer/issues/132)
https://github.com/zdohnal/system-co...ob/master/NEWS
 
Old 04-27-2019, 11:09 AM   #3205
Lockywolf
Member
 
Registered: Jul 2007
Posts: 196

Rep: Reputation: 40
There is a version conflict between stock python-requests and urllib3 on -current.

Urllib3 has version 1.25.1, and requests 2.21.0 only wants to work with urllib3 <1.25

So I think either a git version of requests2 is needed, or requests3.
 
1 members found this post helpful.
Old 04-27-2019, 11:47 AM   #3206
IlyaK
LQ Newbie
 
Registered: Jun 2017
Distribution: Slackware
Posts: 11

Rep: Reputation: Disabled
There is no qt5 in current, right? I can only see qt4.
There is a SB for qt5, and it is required by many software including TeamViewer.

QT5 released several years ago, could we please include it into current?
 
5 members found this post helpful.
Old 04-27-2019, 11:53 AM   #3207
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" & Xfce.
Posts: 4,666
Blog Entries: 1

Rep: Reputation: 2006Reputation: 2006Reputation: 2006Reputation: 2006Reputation: 2006Reputation: 2006Reputation: 2006Reputation: 2006Reputation: 2006Reputation: 2006Reputation: 2006
Quote:
Originally Posted by IlyaK View Post
There is no qt5 in current, right? I can only see qt4.
There is a SB for qt5, and it is required by many software including TeamViewer.

QT5 released several years ago, could we please include it into current?
In the meantime, you can find qt5 in a slackware package from AlienBob,
http://slackware.uk/people/alien/slackbuilds/
 
1 members found this post helpful.
Old 04-27-2019, 10:00 PM   #3208
petslack
Member
 
Registered: Apr 2009
Location: Sao Paulo, Brazil
Distribution: Slackware64-Current, Arch, OpenBSD, CentOS, Debian
Posts: 43

Rep: Reputation: 13
The version patch for python-requests regarding the warning message informed by Lockywolf is not working yet because the urllib3 version check is hardcoded at __init__.py at the following lines:
Code:
 57     # Check urllib3 for compatibility.
 58     major, minor, patch = urllib3_version  # noqa: F811
 59     major, minor, patch = int(major), int(minor), int(patch)
 60     # urllib3 >= 1.21.1, <= 1.24
 61     assert major == 1
 62     assert minor >= 21
 63     assert minor <= 24
Apllying a patch like this should work:
Code:
--- __init__.py 2019-04-24 19:24:07.526209747 -0300
+++ __init__.py.new     2019-04-27 22:49:34.638644237 -0300
@@ -57,10 +57,10 @@ def check_compatibility(urllib3_version,
     # Check urllib3 for compatibility.
     major, minor, patch = urllib3_version  # noqa: F811
     major, minor, patch = int(major), int(minor), int(patch)
-    # urllib3 >= 1.21.1, <= 1.24
+    # urllib3 >= 1.21.1, <= 1.25
     assert major == 1
     assert minor >= 21
-    assert minor <= 24
+    assert minor <= 25
 
     # Check chardet for compatibility.
     major, minor, patch = chardet_version.split('.')[:3]

Last edited by petslack; 04-27-2019 at 10:30 PM.
 
1 members found this post helpful.
Old 04-28-2019, 06:22 AM   #3209
TurboBlaze
Member
 
Registered: Jan 2018
Location: Russian Federation, Lipetsk region, Dankov
Distribution: Porteus
Posts: 55

Rep: Reputation: Disabled
Ok, I used system-config-printer from git https://github.com/zdohnal/system-config-printer
I builded system-config-printer-1.5.11-x86_64-5.txz via some tweak system-config-printer.SlackBuild

I have these packages:
Code:
dbus-python-1.2.8-x86_64-2.txz
pycups-1.9.74-x86_64-2.txz
pycurl-7.43.0.2-x86_64-2.txz
pysmbc-1.0.16-x86_64-1bl.txz
python-certifi-2019.3.9-x86_64-1.txz
python-chardet-3.0.4-x86_64-3.txz
python-idna-2.8-x86_64-2.txz
python-notify2-0.3.1-x86_64-3.txz
python-requests-2.21.0-x86_64-3.txz
python-urllib3-1.25.1-x86_64-1.txz
system-config-printer-1.5.11-x86_64-5.txz
Code:
# python -V
Python 3.7.3
and now if run system-config-printer-applet - I have this error:
Code:
/usr/share/system-config-printer/applet.py:27: DeprecationWarning: Importing dbus.glib to use the GLib main loop with dbus-python is deprecated.
Instead, use this sequence:

    from dbus.mainloop.glib import DBusGMainLoop

    DBusGMainLoop(set_as_default=True)

  import dbus.glib
/usr/lib64/python3.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.25.1) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)
/usr/share/system-config-printer/applet.py:45: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
  from gi.repository import Notify
system-config-printer-applet: failed to connect to session D-Bus

Last edited by TurboBlaze; 04-29-2019 at 09:01 AM. Reason: system-config-printer-1.5.11-x86_64-5.txz and system-config-printer.SlackBuild have been updated
 
Old 04-29-2019, 09:02 AM   #3210
TurboBlaze
Member
 
Registered: Jan 2018
Location: Russian Federation, Lipetsk region, Dankov
Distribution: Porteus
Posts: 55

Rep: Reputation: Disabled
I have installed python-requests-2.21.0-x86_64-4.txz and tried to apply my patch:
Code:
--- a/applet.py	2019-04-28 12:46:59.000000000 +0000
+++ b/applet.py	2019-04-29 16:35:37.635670851 +0000
@@ -24,7 +24,8 @@
 from debug import *
 
 import dbus
-import dbus.glib
+from dbus.mainloop.glib import DBusGMainLoop
+DBusGMainLoop (set_as_default=True)
 import dbus.service
 from gi.repository import GObject
 from gi.repository import GLib
@@ -42,6 +43,8 @@
     os.environ['LC_ALL'] = 'C'
     locale.setlocale (locale.LC_ALL, "")
 
+import gi
+gi.require_version('Notify', '0.7')
 from gi.repository import Notify
 
 APPDIR="/usr/share/system-config-printer"
but I still have one error:
Code:
# system-config-printer-applet
system-config-printer-applet: failed to connect to session D-Bus
P.S. system-config-printer-1.5.11-x86_64-5.txz and system-config-printer.SlackBuild have been updated in my previous post
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Requests for -current (20151216) rworkman Slackware 3441 12-28-2017 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration