From 728e982e48d868bd59955770be70b479415cd715 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 1 Jul 2011 01:10:20 +0000 Subject: =?UTF-8?q?Update=20net/tucan=20to=20new=20upstream=20release=200.?= =?UTF-8?q?3.10.=20Fixes=20more=20file=20permissions,=20courtesy=20Barbara?= =?UTF-8?q?=20.=20Closes=20PR:=20=20=20=20=20?= =?UTF-8?q?=20=20=20=20=20=20ports/155563=20Suggested=20by:=20Barbara=20=20Submitted=20by:=20Gustau=20P=C3=83?= =?UTF-8?q?=C2=A9rez=20(maintainer)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- net/tucan/files/patch-core__service_config.py | 6 +++--- net/tucan/files/patch-core_config.py | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 net/tucan/files/patch-core_config.py (limited to 'net/tucan/files') diff --git a/net/tucan/files/patch-core__service_config.py b/net/tucan/files/patch-core__service_config.py index 28ed918b3ad0..1f036e4cb8fb 100644 --- a/net/tucan/files/patch-core__service_config.py +++ b/net/tucan/files/patch-core__service_config.py @@ -1,5 +1,5 @@ ---- ./core/service_config.py.orig 2009-10-07 01:02:28.000000000 +0200 -+++ ./core/service_config.py 2011-05-22 19:41:52.000000000 +0200 +--- core/service_config.py.orig 2011-06-29 20:00:20.785827385 +0200 ++++ core/service_config.py 2011-06-29 20:00:44.438339926 +0200 @@ -18,7 +18,7 @@ ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ############################################################################### @@ -9,7 +9,7 @@ import pickle import base64 import logging -@@ -157,6 +157,7 @@ +@@ -184,6 +184,7 @@ def save(self): """""" diff --git a/net/tucan/files/patch-core_config.py b/net/tucan/files/patch-core_config.py new file mode 100644 index 000000000000..9493c12a9bc4 --- /dev/null +++ b/net/tucan/files/patch-core_config.py @@ -0,0 +1,20 @@ +--- core/config.py.orig 2011-01-03 20:00:07.000000000 +0100 ++++ core/config.py 2011-06-30 01:58:31.000000000 +0200 +@@ -18,7 +18,7 @@ + ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + ############################################################################### + +-import os ++import os,stat + import uuid + import shutil + import __builtin__ +@@ -91,6 +91,8 @@ + package, icon, name, enabled, config = self.service(path) + if name: + self.set(SECTION_SERVICES, name, path.encode("utf-8")) ++ for service_file in os.listdir(path): ++ os.chmod(path + service_file, stat.S_IRUSR|stat.S_IWUSR) + self.save() + + def check_config(self): -- cgit v1.2.3