diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-05 01:16:44 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-05 01:16:44 -0300 |
commit | c6faf6b8a2f8db0b3308a136352dfc2f5678bf0e (patch) | |
tree | 7c683e4e007c90d8673eaf19239eeb5b71b0c540 /libre/hplip/hplip-CVE-2013-4325.patch | |
parent | ae993cde4a2ed3f55fe66a5fe98e56bf4580ec3c (diff) | |
download | abslibre-c6faf6b8a2f8db0b3308a136352dfc2f5678bf0e.tar.gz abslibre-c6faf6b8a2f8db0b3308a136352dfc2f5678bf0e.tar.bz2 abslibre-c6faf6b8a2f8db0b3308a136352dfc2f5678bf0e.zip |
hplip: remove libre suffix and add complex pkgrel
Diffstat (limited to 'libre/hplip/hplip-CVE-2013-4325.patch')
-rw-r--r-- | libre/hplip/hplip-CVE-2013-4325.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libre/hplip/hplip-CVE-2013-4325.patch b/libre/hplip/hplip-CVE-2013-4325.patch new file mode 100644 index 000000000..85bff893b --- /dev/null +++ b/libre/hplip/hplip-CVE-2013-4325.patch @@ -0,0 +1,22 @@ +diff -up hplip-3.13.7/base/pkit.py.CVE-2013-4325 hplip-3.13.7/base/pkit.py +--- hplip-3.13.7/base/pkit.py.CVE-2013-4325 2013-07-23 06:18:29.000000000 +0100 ++++ hplip-3.13.7/base/pkit.py 2013-09-11 10:54:13.252419283 +0100 +@@ -176,15 +176,10 @@ class PolicyKitService(dbus.service.Obje + "/org/freedesktop/PolicyKit1/Authority", + "org.freedesktop.PolicyKit1.Authority") + policy_kit = dbus.Interface(obj, "org.freedesktop.PolicyKit1.Authority") +- info = dbus.Interface(connection.get_object("org.freedesktop.DBus", +- "/org/freedesktop/DBus/Bus", +- False), +- "org.freedesktop.DBus") +- pid = info.GetConnectionUnixProcessID(sender) + + subject = ( +- 'unix-process', +- { 'pid' : dbus.UInt32(pid, variant_level = 1) } ++ 'system-bus-name', ++ { 'name' : dbus.String(sender, variant_level = 1) } + ) + details = { '' : '' } + flags = dbus.UInt32(1) # AllowUserInteraction = 0x00000001 + |