r25001 - /packages/unstable/system-config-printer/debian/patches/0002-Disable-firewall-checks.patch
agx at users.alioth.debian.org
agx at users.alioth.debian.org
Tue Aug 24 13:27:58 UTC 2010
Author: agx
Date: Tue Aug 24 13:27:57 2010
New Revision: 25001
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=25001
Log:
New patch 0002-Disable-firewall-checks.patch
Disable firewall checks
Added:
packages/unstable/system-config-printer/debian/patches/0002-Disable-firewall-checks.patch
Added: packages/unstable/system-config-printer/debian/patches/0002-Disable-firewall-checks.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/system-config-printer/debian/patches/0002-Disable-firewall-checks.patch?rev=25001&op=file
==============================================================================
--- packages/unstable/system-config-printer/debian/patches/0002-Disable-firewall-checks.patch (added)
+++ packages/unstable/system-config-printer/debian/patches/0002-Disable-firewall-checks.patch [utf-8] Tue Aug 24 13:27:57 2010
@@ -1,0 +1,38 @@
+From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx at sigxcpu.org>
+Date: Mon, 26 Jul 2010 17:02:20 +0200
+Subject: [PATCH] Disable firewall checks
+
+---
+ firewall.py | 14 +++-----------
+ 1 files changed, 3 insertions(+), 11 deletions(-)
+
+diff --git a/firewall.py b/firewall.py
+index 512a83d..0466c12 100644
+--- a/firewall.py
++++ b/firewall.py
+@@ -48,21 +48,13 @@ class Firewall:
+ return self._fw_data
+
+ def write (self):
+- self._firewall.write (pickle.dumps (self._fw_data[0]))
++ pass
+
+ def _check_any_allowed (self, search):
+- (args, filename) = self._get_fw_data ()
+- isect = set (search).intersection (set (args))
+- return len (isect) != 0
++ return True
+
+ def add_rule (self, rule):
+- try:
+- (args, filename) = self._fw_data
+- except AttributeError:
+- (args, filename) = self._get_fw_data ()
+-
+- args.append (rule)
+- self._fw_data = (args, filename)
++ pass
+
+ def check_ipp_client_allowed (self):
+ return self._check_any_allowed (set(["--port=631:udp",
+--
More information about the pkg-gnome-commits
mailing list